# Posts Tagged ‘ Statistical Graphics ’

## Append data to add markers to SAS graphs

November 30, 2016
By

Do you want to create customized SAS graphs by using PROC SGPLOT and the other ODS graphics procedures? An essential skill that you need to learn is how to merge, join, append, and concatenate SAS data sets that come from different sources. The SAS statistical graphics procedures (SG procedures) enable

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Append data to add markers to SAS graphs

## Highlight forecast regions in graphs

November 21, 2016
By

A SAS customer asked how to uses background colors and a dashed line to emphasize the forecast region for a graph that shows a time series model. The task requires the following steps: Use the ATTRPRIORITY=NONE option on the ODS GRAPHICS statement to make sure that the current ODS style

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Highlight forecast regions in graphs

## Visualize the ages of US presidents

November 14, 2016
By

Who was the oldest person elected president of the United States? How about the youngest? Who was the oldest when he left office? Let's look at some data. Wikipedia has a page that presents a table of the presidents of the US by age. It lists the dates for which

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Visualize the ages of US presidents

## Visualize a torus in SAS

November 9, 2016
By

This article uses graphical techniques to visualize one of my favorite geometric objects: the surface of a three-dimensional torus. Along the way, this article demonstrates techniques that are useful for visualizing more mundane 3-D point clouds that arise in statistical data analysis. Define points on a torus A torus is

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Visualize a torus in SAS

## Rotation matrices and 3-D data

November 7, 2016
By

Rotation matrices are used in computer graphics and in statistical analyses. A rotation matrix is especially easy to implement in a matrix language such as the SAS Interactive Matrix Language (SAS/IML). This article shows how to implement three-dimensional rotation matrices and use them to rotate a 3-D point cloud. Define

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Rotation matrices and 3-D data

## Ahh, that’s smooth! Anti-aliasing in SAS statistical graphics

October 24, 2016
By

I've written several articles about scatter plot smoothers: nonparametric regression curves that reveal small- and large-scale features of a response variable as a function of an explanatory variable. However, there is another kind of "smoothness" that you might care about, and that is the apparent smoothness of curves and markers

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Ahh, that’s smooth! Anti-aliasing in SAS statistical graphics

## Let PROC FREQ create graphs of your two-way tables

October 3, 2016
By

The recent releases of SAS 9.4 have featured major enhancements to the ODS statistical graphics procedures such as PROC SGPLOT. In fact, PROC SGPLOT (and the underlying Graph Template Language (GTL)) are so versatile and powerful that you might forget to consider whether you can create a graph automatically by

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Let PROC FREQ create graphs of your two-way tables

## Overlay a curve on a bar chart in SAS

September 12, 2016
By

One of the strengths of the SGPLOT procedure in SAS is the ease with which you can overlay multiple plots on the same graph. For example, you can easily combine the SCATTER and SERIES statements to add a curve to a scatter plot. However, if you try to overlay incompatible

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Overlay a curve on a bar chart in SAS

## Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.