Posts Tagged ‘ Statistical Graphics ’

Truncate response surfaces

March 20, 2019
By
Truncate response surfaces

An analyst was using SAS to analyze some data from an experiment. He noticed that the response variable is always positive (such as volume, size, or weight), but his statistical model predicts some negative responses. He posted the data and asked if it is possible to modify the graph so

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Truncate response surfaces

Use PROC BOXPLOT to display hundreds of box plots

March 6, 2019
By
Use PROC BOXPLOT to display hundreds of box plots

A previous article shows how to use a scatter plot to visualize the average SAT scores for all high schools in North Carolina. The schools are grouped by school districts and ranked according to the median value of the schools in the district. For the school districts that have many

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Use PROC BOXPLOT to display hundreds of box plots

Visualize SAT scores in North Carolina

March 4, 2019
By
Visualize SAT scores in North Carolina

Standardized tests like the SAT and ACT can cause stress for both high school students and their parents, but according to a Wall Street Journal article, the SAT and ACT "provide an invaluable measure of how students are likely to perform in college and beyond." Naturally, students wonder how their

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Visualize SAT scores in North Carolina

3 ways to create nested box plots in SAS

February 27, 2019
By
3 ways to create nested box plots in SAS

Box plots are a great way to compare the distributions of several subpopulations of your data. For example, box plots are often used in clinical studies to visualize the response of patients in various cohorts. This article describes three techniques to visualize responses when the cohorts have a nested or

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on 3 ways to create nested box plots in SAS

How to align the Y and Y2 axes in PROC SGPLOT

January 14, 2019
By
How to align the Y and Y2 axes in PROC SGPLOT

When you overlay two series in PROC SGPLOT, you can either plot both series on the same axis or you can assign one series to the main axis (Y) and another to a secondary axis (Y2). If you use the Y and Y2 axes, they are scaled independently by default,

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on How to align the Y and Y2 axes in PROC SGPLOT

10 posts from 2018 that deserve a second look

January 9, 2019
By
10 posts from 2018 that deserve a second look

Numbers don't lie, but sometimes they don't reveal the full story. Last week I wrote about the most popular articles from The DO Loop in 2018. The popular articles are inevitably about elementary topics in SAS programming or statistics because those topics have broad appeal. However, I also write about

The post Read more »

Tags: , , , ,
Posted in SAS | Comments Off on 10 posts from 2018 that deserve a second look

Top posts from The DO Loop in 2018

January 2, 2019
By
Top posts from The DO Loop in 2018

Last year, I wrote more than 100 posts for The DO Loop blog. Of these, the most popular articles were about data visualization, SAS programming tips, and statistical data analysis. Here are the most popular articles from 2018 in each category. Data Visualization Visualize repetition in song lyrics: In one

The post Read more »

Tags: , , , ,
Posted in SAS | Comments Off on Top posts from The DO Loop in 2018

Visualize a mixed model that has repeated measures or random coefficients

December 19, 2018
By
Visualize a mixed model that has repeated measures or random coefficients

I regularly see questions on a SAS discussion forum about how to visualize the predicted values for a mixed model that has at least one continuous variable, a categorical variable, and possibly an interaction term. SAS procedures such as GLM, GENMOD, and LOGISTIC can automatically produce plots of the predicted

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Visualize a mixed model that has repeated measures or random coefficients

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.