Money magazine (Jan/Feb 2018) contains an article about how much it costs to give birth in the US. The costs, which are based on insurance data, include prenatal care and hospital delivery but exclude infant care. The data are compiled for each state (including Washington, DC) and by type of

The post Read more »

Tags: Statistical Graphics, Uncategorized

Posted in SAS | Comments Off on How much does it cost to give birth in the US?

Last week I wrote about the 10 most popular articles from The DO Loop in 2017. My most popular articles tend to be about elementary statistics or SAS programming tips. Less popular are the articles about advanced statistical and programming techniques. However, these technical articles fill an important niche. Not

The post Read more »

Tags: data analysis, Statistical Graphics, Statistical Programming, Uncategorized

Posted in SAS | Comments Off on 10 posts from 2017 that deserve a second look

A SAS programmer asked how to label multiple regression lines that are overlaid on a single scatter plot. Specifically, he asked to label the curves that are produced by using the REG statement with the GROUP= option in PROC SGPLOT. He wanted the labels to be the slope and intercept

The post Read more »

Tags: data analysis, Statistical Graphics, Uncategorized

Posted in SAS | Comments Off on Label multiple regression lines in SAS

I previously showed an easy way to visualize a regression model that has several continuous explanatory variables: use the SLICEFIT option in the EFFECTPLOT statement in SAS to create a sliced fit plot. The EFFECTPLOT statement is directly supported by the syntax of the GENMOD, LOGISTIC, and ORTHOREG procedures in

The post Read more »

Tags: data analysis, Statistical Graphics, Uncategorized

Posted in SAS | Comments Off on How to create a sliced fit plot in SAS

Missing values present challenges for the statistical analyst and data scientist. Many modeling techniques (such as regression) exclude observations that contain missing values, which can reduce the sample size and reduce the power of a statistical analysis. Before you try to deal with missing values in an analysis (for example,

The post Read more »

Tags: 14.3, data analysis, missing data, Statistical Graphics, Uncategorized

Posted in SAS | Comments Off on Visualize patterns of missing values

This article demonstrates a SAS programming technique that I call Kuhfeld's template modification technique. The technique enables you to dynamically modify an ODS template and immediately call the modified template to produce a new graph or table. By following the five steps in this article, you can implement the technique

The post Read more »

Tags: sas programming, Statistical Graphics, Uncategorized

Posted in SAS | Comments Off on A SAS programming technique to modify ODS templates

In a previous article, I discussed the lines plot for multiple comparisons of means. Another graph that is frequently used for multiple comparisons is the diffogram, which indicates whether the pairwise differences between means of groups are statistically significant. This article discusses how to interpret a diffogram. Two related plots

The post Read more »

Tags: data analysis, Statistical Graphics, Uncategorized

Posted in SAS | Comments Off on The diffogram and other graphs for multiple comparisons of means

Last week Warren Kuhfeld wrote about a graph called the "lines plot" that is produced by SAS/STAT procedures in SAS 9.4M5. (Notice that the "lines plot" has an 's'; it is not a line plot!) The lines plot is produced as part of an analysis that performs multiple comparisons of

The post Read more »

Tags: data analysis, Statistical Graphics, Uncategorized

Posted in SAS | Comments Off on Graphs for multiple comparisons of means: The lines plot