Posts Tagged ‘ Statistical Graphics ’

Create an animation with the BY statement in PROC SGPLOT

August 22, 2016
By
Create an animation with the BY statement in PROC SGPLOT

It is easy to use PROC SGPLOT and BY-group processing to create an animated graph in SAS 9.4. Sanjay Matange previously discussed how to create an animated plot in SAS 9.4, but he used a macro loop to call PROC SGPLOT many times. It is often easier to use the […] The post Create an animation with the BY statement in PROC SGPLOT appeared first on The DO Loop.

Read more »

DrawMyData

August 8, 2016
By

Robert Grant writes: This web page is something I constructed recently. You might find it useful for making artificial datasets that demonstrate a particular point for students. At any rate, if you have any feedback on it I’d be interested to hear it. I’ve tried to keep it as simple as possible but in due […] The post DrawMyData appeared first on Statistical Modeling, Causal Inference, and Social Science.

Read more »

All maps of parameter estimates remain misleading

August 2, 2016
By
All maps of parameter estimates remain misleading

Roland Rau writes: After many years of applying frequentist statistical methods in mortality research, I just began to learn about the application of Bayesian methods in demography. Since I also wanted to change a part of my research focus on spatial models, I discovered your 1999 paper with Phil Price, All maps of parameter estimates […] The post All maps of parameter estimates remain misleading appeared first on Statistical Modeling,…

Read more »

Female world leaders by year of election

July 29, 2016
By
Female world leaders by year of election

This week Hillary Clinton became the first woman to be nominated for president of the US by a major political party. Although this is a first for the US, many other countries have already passed this milestone. In fact, 60 countries have already elected women as presidents and prime ministers. […] The post Female world leaders by year of election appeared first on The DO Loop.

Read more »

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 »


Subscribe

Email:

  Subscribe