Posts Tagged ‘ Statistical Graphics ’

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 NYT inadvertently demonstrates how not to make a graph

June 18, 2016
By
The NYT inadvertently demonstrates how not to make a graph

Andrew Hacker writes: I have the class prepare a report on how many households in the United States have telephones, land and cell. After studying census data, they focus on two: Connecticut and Arkansas, with respective ownerships of 98.9 percent and 94.6 percent. They are told they have to choose one of the following charts […] The post The NYT inadvertently demonstrates how not to make a graph appeared first…

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 »

“Smaller Share of Women Ages 65 and Older Are Living Alone,” before and after age adjusment

June 14, 2016
By
“Smaller Share of Women Ages 65 and Older Are Living Alone,” before and after age adjusment

After noticing this from a recent Pew Research report: Ben Hanowell wrote: This made me [Hanowell] think of your critique of Case and Deaton’s finding about non-Hispanic mortality. I wonder how much these results are driven by the fact that the population of adults aged 65 and older has gotten older with increasing lifespans, etc […] The post “Smaller Share of Women Ages 65 and Older Are Living Alone,” before…

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 »

A Primer on Bayesian Multilevel Modeling using PyStan

June 9, 2016
By
A Primer on Bayesian Multilevel Modeling using PyStan

Chris Fonnesbeck contributed our first PyStan case study (I wrote the abstract), in the form of a very nice Jupyter notebook. Daniel Lee and I had the pleasure of seeing him present it live as part of a course we were doing at Vanderbilt last week. A Primer on Bayesian Multilevel Modeling using PyStan This […] The post A Primer on Bayesian Multilevel Modeling using PyStan appeared first on Statistical…

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 »

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 »

Who marries whom?

May 31, 2016
By
Who marries whom?

Elizabeth Heyman points us to this display by Adam Pearce and Dorothy Gambrell who write, “We scanned data from the U.S. Census Bureau’s 2014 American Community Survey—which covers 3.5 million households—to find out how people are pairing up.” They continue: For any selected occupation, the chart highlights the five most common occupation/relationship matchups. (For example, […] The post Who marries whom? appeared first on Statistical Modeling, Causal Inference, and Social…

Read more »

Ramanujan notes

May 30, 2016
By

A new movie on Ramanujan is coming out; mathematician Peter Woit gives it a very positive review, while film critic Anthony Lane is not so impressed. Both these reactions make sense, I guess (or so I say without having actually seen the movie myself). I’ll take this as an occasion to plug my article on […] The post Ramanujan notes appeared first on Statistical Modeling, Causal Inference, and Social Science.

Read more »


Subscribe

Email:

  Subscribe