Posts Tagged ‘ Statistical Graphics ’

How to visualize a kernel density estimate

July 27, 2016
By
How to visualize a kernel density estimate

A kernel density estimate (KDE) is a nonparametric estimate for the density of a data sample. A KDE can help an analyst determine how to model the data: Does the KDE look like a normal curve? Like a mixture of normals? Is there evidence of outliers in the data? In […] The post How to visualize a kernel density estimate appeared first on The DO Loop.

Read more »

Color markers in a scatter plot by a third variable in SAS

July 18, 2016
By
Color markers in a scatter plot by a third variable in SAS

One of my favorite new features in PROC SGPLOT in SAS 9.4m2 is addition of the COLORRESPONSE= and COLORMODEL= options to the SCATTER statement. By using these options, it is easy to color markers in a scatter plot so that the colors indicate the values of a continuous third variable. […] The post Color markers in a scatter plot by a third variable in SAS appeared first on The DO…

Read more »

In praise of simple graphics

June 27, 2016
By
In praise of simple graphics

'Tis a gift to be simple. -- Shaker hymn In June 2015 I published a short article for Significance, a magazine that features statistical and data-related articles that are of general interest to a wide a range of scientists. The title of my article is "In Praise of Simple Graphics." […] The post In praise of simple graphics appeared first on The DO Loop.

Read more »

Euro 2016 update

June 26, 2016
By
Euro 2016 update

Big news out of Europe, everyone’s talking about soccer. Leo Egidi updated his model and now has predictions for the Round of 16: Here’s Leo’s report, and here’s his zipfile with data and Stan code. The report contains some ugly histograms showing the predictive distributions of goals to be scored in each game. The R […] The post Euro 2016 update appeared first on Statistical Modeling, Causal Inference, and Social…

Read more »

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 »


Subscribe

Email:

  Subscribe