# Posts Tagged ‘ Statistical Graphics ’

## Create a density curve with shaded tails

July 20, 2015
By

A SAS programmer wanted to plot the normal distribution and highlight the area under curve that corresponds to the tails of the distribution. For example, the following plot shows the lower decile shaded in blue and the upper decile shaded in red. An easy way to do this in SAS

Tags: , ,
Posted in SAS | Comments Off on Create a density curve with shaded tails

## Visualizing the distribution of ACT scores

July 17, 2015
By

My son is in high school and plans to take the ACT, a standardized test to assess college aptitude and readiness. My wife asked, "What is a good score for the ACT?" I didn't know, but I did a quick internet search and discovered a tabulation of scores for the

Tags: , ,
Posted in SAS | Comments Off on Visualizing the distribution of ACT scores

## The mystery of the density curve that was too short

June 3, 2015
By

I was reading a statistics book when I encountered a histogram that caught my eye. The histogram looked similar to the one at the left. It contained a normal density estimate overlaid on a histogram, but the height of the density curve seemed too short when compared to the heights

Tags: , ,
Posted in SAS | Comments Off on The mystery of the density curve that was too short

## Improving the NC vehicle inspection pie chart

May 18, 2015
By

North Carolina is a state that requires yearly inspections of motor vehicles. An inspection checks for safety features (lights, brakes, tires,....) as well as checking vehicle emissions to ensure that vehicles meet air pollution standards. I recently had a car inspected and noticed a pie chart on the inspection's summary

Tags: ,
Posted in SAS | Comments Off on Improving the NC vehicle inspection pie chart

## Create a cascade chart in SAS

April 27, 2015
By

Sometimes different communities use the same name for different objects. To a soldier, "boots" are rugged, heavy, high-top foot coverings. To a soccer (football) player, "boots" are lightweight cleats. So it is with the term "waterfall plot." To researchers in the medical field, a "waterfall plot" is a sorted bar

Tags: ,
Posted in SAS | Comments Off on Create a cascade chart in SAS

## Create a waterfall plot in SAS

April 20, 2015
By

In clinical trials, a waterfall plot is often used to indicate how patients in the study responded to treatment. In oncology trials, the response variable might be the percent change in the size of a tumor from the individual's baseline value at the start of the trial. The percent change

Tags: ,
Posted in SAS | Comments Off on Create a waterfall plot in SAS

## Visualizing the causes of airline crashes

March 30, 2015
By

There has been a spate of recent high-profile airline crashes (Malaysia Airlines, TransAsia Airways, Germanwings,...) so I was surprised when I saw a time series plot of the number of airline crashes by year, which indicates that the annual number of airline crashes has been decreasing since 1993. The data

Tags: ,
Posted in SAS | Comments Off on Visualizing the causes of airline crashes

## How to automatically select a smooth curve for a scatter plot in SAS

February 26, 2014
By

My last blog post described three ways to add a smoothing spline to a scatter plot in SAS. I ended the post with a cautionary note: From a statistical point of view, the smoothing spline is less than ideal because the smoothing parameter must be chosen manually by the user.

Tags: , ,
Posted in SAS | Comments Off on How to automatically select a smooth curve for a scatter plot 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.