Posts Tagged ‘ Statistical Graphics ’

Color markers in a scatter plot by a third variable in SAS

July 18, 2016
By
Color markers in a scatter plot by a third variable in SAS

One of my favorite new features in PROC SGPLOT in SAS 9.4m2 is addition of the COLORRESPONSE= and COLORMODEL= options to the SCATTER statement. By using these options, it is easy to color markers in a scatter plot so that the colors indicate the values of a continuous third variable.

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Color markers in a scatter plot by a third variable in SAS

In praise of simple graphics

June 27, 2016
By

'Tis a gift to be simple. -- Shaker hymn In June 2015 I published a short article for Significance, a magazine that features statistical and data-related articles that are of general interest to a wide a range of scientists. The title of my article is "In Praise of Simple Graphics."

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on In praise of simple graphics

Use the EFFECTPLOT statement to visualize regression models in SAS

June 22, 2016
By
Use the EFFECTPLOT statement to visualize regression models in SAS

Graphs enable you to visualize how the predicted values for a regression model depend on the model effects. You can gain an intuitive understanding of a model by using the EFFECTPLOT statement in SAS to create graphs like the one shown at the top of this article. Many SAS regression

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Use the EFFECTPLOT statement to visualize regression models in SAS

Overlay plots on a box plot in SAS: Continuous X axis

June 15, 2016
By
Overlay plots on a box plot in SAS: Continuous X axis

I have previously shown how to overlay basic plots on box plots when all plots share a common discrete X axis. It is interesting to note that box plots can also be overlaid on a continuous (interval) axis. You often need to bin the data before you create the plot.

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Overlay plots on a box plot in SAS: Continuous X axis

Overlay plots on a box plot in SAS: Discrete X axis

June 13, 2016
By
Overlay plots on a box plot in SAS: Discrete X axis

Box plots summarize the distribution of a continuous variable. You can display multiple box plots in a single graph by specifying a categorical variable. The resulting graph shows the distribution of subpopulations, such as different experimental groups. In the SGPLOT procedure, you can use the CATEGORY= option on the VBOX

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Overlay plots on a box plot in SAS: Discrete X axis

Lasagna plots in SAS: When spaghetti plots don’t suffice

June 8, 2016
By
Lasagna plots in SAS: When spaghetti plots don’t suffice

Last week I discussed how to create spaghetti plots in SAS. A spaghetti plot is a type of line plot that contains many lines. Spaghetti plots are used in longitudinal studies to show trends among individual subjects, which can be patients, hospitals, companies, states, or countries. I showed ways to

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Lasagna plots in SAS: When spaghetti plots don’t suffice

Create spaghetti plots in SAS

June 2, 2016
By
Create spaghetti plots in SAS

What is a spaghetti plot? Spaghetti plots are line plots that involve many overlapping lines. Like spaghetti on your plate, they can be hard to unravel, yet for many analysts they are a delicious staple of data visualization. This article presents the good, the bad, and the messy about spaghetti

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Create spaghetti plots in SAS

How much do New Yorkers tip taxi drivers?

May 2, 2016
By
How much do New Yorkers tip taxi drivers?

When I read Robert Allison's article about the cost of a taxi ride in New York City, I was struck by the scatter plot (shown at right; click to enlarge) that plots the tip amount against the total bill for 12 million taxi rides. The graph clearly reveals diagonal and

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on How much do New Yorkers tip taxi drivers?

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.