SAS

Blogs on the SAS software

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 Use the EFFECTPLOT statement to visualize regression models in SAS appeared first on The DO Loop.

Read more »

The SELECT statement in the SAS DATA step

June 20, 2016
By
The SELECT statement in the SAS DATA step

Every beginning SAS programmer learns the simple IF-THEN/ELSE statement for conditional processing in the SAS DATA step. The basic If-THEN statement handles two cases: if a condition is true, the program does one thing, otherwise the program does something else. Of course, you can handle more cases by using multiple […] The post The SELECT statement in the SAS DATA step appeared first on The DO Loop.

Read more »

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 Overlay plots on a box plot in SAS: Continuous X axis appeared first on The DO Loop.

Read more »

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 Overlay plots on a box plot in SAS: Discrete X axis appeared first on The DO Loop.

Read more »

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 Lasagna plots in SAS: When spaghetti plots don't suffice appeared first on The DO Loop.

Read more »

R Passes SAS in Scholarly Use (finally)

June 8, 2016
By
R Passes SAS in Scholarly Use (finally)

Way back in 2012 I published a forecast that showed that the use of R for scholarly publications would likely pass the use of SAS in 2015. But I didn’t believe the forecast since I expected the sharp decline in SAS … Continue reading →

Read more »

Rexer Data Science Survey: Satisfaction Results

June 6, 2016
By
Rexer Data Science Survey: Satisfaction Results

by Bob Muenchen I previously reported on the initial results of Rexer Analytics’ 2015 survey of data science tools here. More results are now available, and the comprehensive report should be released soon.  One of the more interesting questions on the survey … Continue reading →

Read more »

How to write CONTRAST and ESTIMATE statements in SAS regression procedures

June 6, 2016
By
How to write CONTRAST and ESTIMATE statements in SAS regression procedures

I got several positive comments about a recent tip, "How to fit a variety of logistic regression models in SAS." A reader asked if I knew any other similar resources about statistical analysis in SAS. Absolutely! One gem that comes to mind is "Examples of writing CONTRAST and ESTIMATE statements." […] The post How to write CONTRAST and ESTIMATE statements in SAS regression procedures appeared first on The DO Loop.

Read more »

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 Create spaghetti plots in SAS appeared first on The DO Loop.

Read more »

Grids and linear subspaces

May 31, 2016
By
Grids and linear subspaces

A grid is a set of evenly spaced points. You can use SAS to create a grid of points on an interval, in a rectangular region in the plane, or even in higher-dimensional regions like the parallelepiped shown at the left, which is generated by three vectors. You can use […] The post Grids and linear subspaces appeared first on The DO Loop.

Read more »


Subscribe

Email:

  Subscribe