Posts Tagged ‘ Statistical Graphics ’

Three ways to add a smoothing spline to a scatter plot in SAS

February 24, 2014
By

Like many SAS programmers, I use the Statistical Graphics (SG) procedures to graph my data in SAS. To me, the SGPLOT and SGRENDER procedures are powerful, easy to use, and produce fabulous ODS graphics. I was therefore surprised when a SAS customer told me that he continues to use the
Read more »

Tags: , ,
Posted in SAS | Comments Off on Three ways to add a smoothing spline to a scatter plot in SAS

How to specify mosaic plot colors in SAS

November 6, 2013
By

The mosaic plot is a graphical visualization of a frequency table. In a previous post, I showed how to use the FREQ procedure to create a mosaic plot. This article shows how to create a mosaic plot by using the MOSAICPARM statement in the graph template language (GTL). (The MOSAICPARM
Read more »

Tags: , , , ,
Posted in SAS | Comments Off on How to specify mosaic plot colors in SAS

Create mosaic plots in SAS by using PROC FREQ

November 4, 2013
By

Mosaic plots (Hartigan and Kleiner, 1981; Friendly, 1994, JASA) are used for exploratory data analysis of categorical data. Mosaic plots have been available for decades in SAS products such as JMP, SAS/INSIGHT, and SAS/IML Studio. However, not all SAS customers have access to these specialized products, so I am pleased
Read more »

Tags: , , , ,
Posted in SAS | Comments Off on Create mosaic plots in SAS by using PROC FREQ

How old is your version of SAS? Release dates for SAS software

August 2, 2013
By

How old is your version of SAS software? The graph on the left shows the release dates for various releases of SAS software, beginning with SAS 8.0. The graph is based on a graph on Jiangtang Hu's blog that shows the major SAS releases. As this graph demonstrates, SAS software
Read more »

Tags: , ,
Posted in SAS | Comments Off on How old is your version of SAS? Release dates for SAS software

How to color clusters in a dendogram

June 26, 2013
By

The CLUSTER procedure in SAS/STAT software creates a dendogram automatically. The black-and-white dendogram is nice, but plain. A SAS customer wanted to know whether it is possible to add color to the dendogram to emphasize certain clusters. For example, the plot at the left emphasizes a four-cluster scenario for clustering
Read more »

Tags: , ,
Posted in SAS | Comments Off on How to color clusters in a dendogram

Visually comparing different data distributions: The spread plot

June 10, 2013
By

Suppose that you have several data distributions that you want to compare. Questions you might ask include "Which variable has the largest spread?" and "Which variables exhibit skewness?" More generally, you might be interested in visualizing how the distribution of one variable differs from the distribution of other variables. The
Read more »

Tags: , ,
Posted in SAS | Comments Off on Visually comparing different data distributions: The spread plot

A three-panel visualization of a distribution

May 8, 2013
By

At a recent conference, I talked with a SAS customer who told me that he was using an R package to create a three-panel visualization of a distribution. Unfortunately, he couldn't remember the name of the package, and he has not returned my e-mails, so the purpose of today's article
Read more »

Tags: , ,
Posted in SAS | Comments Off on A three-panel visualization of a distribution

How to overlay a custom density curve on a histogram in SAS

April 24, 2013
By

I've previously described how to overlay two or more density curves on a single plot. I've also written about how to use PROC SGPLOT to overlay custom curves on a graph. This article describes how to overlay a density curve on a histogram. For common distributions, you can overlay a
Read more »

Tags: , ,
Posted in SAS | Comments Off on How to overlay a custom density curve on a histogram 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.

Sponsors







Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: tal.galili@gmail.com
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.