# Posts Tagged ‘ Statistical Graphics ’

## Order variables in a heat map or scatter plot matrix

May 2, 2018
By

Order matters. When you create a graph that has a categorical axis (such as a bar chart), it is important to consider the order in which the categories appear. Most software defaults to alphabetical order, which typically gives no insight into how the categories relate to each other. Alphabetical order

Tags: , ,
Posted in SAS | Comments Off on Order variables in a heat map or scatter plot matrix

## The 80-20 rule for blogs

April 23, 2018
By

You've probably heard about the "80-20 Rule," which describes many natural and manmade phenomena. This rule is sometimes called the "Pareto Principle" because it was discovered by Vilfredo Pareto (1848–1923) who used it to describe the unequal distribution of wealth. Specifically, in his study, 80% of the wealth was held

Tags: , ,
Posted in SAS | Comments Off on The 80-20 rule for blogs

## A zipper plot for visualizing coverage probability in simulation studies

March 26, 2018
By

Simulation studies are used for many purposes, one of which is to examine how distributional assumptions affect the coverage probability of a confidence interval. This article describes the "zipper plot," which enables you to compare the coverage probability of a confidence interval when the data do or do not follow

Tags: , ,
Posted in SAS | Comments Off on A zipper plot for visualizing coverage probability in simulation studies

## Merged legends: Overlay a symbol and line in a legend item

February 12, 2018
By

Did you know that SAS can combine or "merge" a symbol and a line pattern into a single legend item, as shown below? This kind of legend is useful when you are overlaying a group of curves onto a scatter plot. It enables the reader to quickly associate values of

Tags: ,
Posted in SAS | Comments Off on Merged legends: Overlay a symbol and line in a legend item

## Create a stacked band plot in SAS

January 31, 2018
By

This article shows how to construct a "stacked band plot" in SAS, as shown to the right. (Click to enlarge.) You are probably familiar with a stacked bar chart in which the cumulative amount of some quantity is displayed by stacking the contributions of several groups. A canonical example is

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

## How much does it cost to give birth in the US?

January 17, 2018
By

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

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

## 10 posts from 2017 that deserve a second look

January 10, 2018
By

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

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

## Label multiple regression lines in SAS

January 8, 2018
By

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

Tags: , ,
Posted in SAS | Comments Off on Label multiple regression lines 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.