Posts Tagged ‘ Statistical Graphics ’

Add a prediction ellipse to a scatter plot in SAS

July 21, 2014
By
Add a prediction ellipse to a scatter plot in SAS

It is common in statistical graphics to overlay a prediction ellipse on a scatter plot. This article describes two easy ways to overlay prediction ellipses on a scatter plot by using SAS software. It also describes how to overlay multiple prediction ellipses for subpopulations. What is a prediction ellipse? A […]

Read more »

Stan World Cup update

July 15, 2014
By
Stan World Cup update

The other day I fit a simple model to estimate team abilities from World Cup outcomes. I fit the model to the signed square roots of the score differentials, using the square root on the theory that when the game is less close, it becomes more variable. 0. Background As you might recall, the estimated […] The post Stan World Cup update appeared first on Statistical Modeling, Causal Inference, and…

Read more »

Stan goes to the World Cup

July 13, 2014
By
Stan goes to the World Cup

I thought it would be fun to fit a simple model in Stan to estimate the abilities of the teams in the World Cup, then I could post everything here on the blog, the whole story of the analysis from beginning to end, showing the results of spending a couple hours on a data analysis. […] The post Stan goes to the World Cup appeared first on Statistical Modeling, Causal…

Read more »

Create custom tick marks for axes on the log scale

July 11, 2014
By
Create custom tick marks for axes on the log scale

In my previous blog post, I showed how to use log axes on a scatter plot in SAS to better visualize data that range over several orders of magnitude. Because the data contained counts (some of which were zero), I used a custom transformation x → log10(x+1) to visualize the […]

Read more »

Scatter plots with logarithmic axes…and how to handle zeros in the data

July 9, 2014
By
Scatter plots with logarithmic axes…and how to handle zeros in the data

If you are trying to visualize numerical data that range over several magnitudes, conventional wisdom says that a log transformation of the data can often result in a better visualization. This article shows several ways to create a scatter plot with logarithmic axes in SAS and discusses some of the […]

Read more »

Visualizing sampling error and dynamic graphics

July 5, 2014
By

Robert Grant writes: What do you think of this visualisation from the NYT [in an article by Neil Irwin and Kevin Quealy but I'm not sure if they're the designers of the visualization]? I’m pretty impressed as a method of showing sampling error to a general audience! I agree. P.S. In related news, Antony Unwin […] The post Visualizing sampling error and dynamic graphics appeared first on Statistical Modeling, Causal…

Read more »

Create standard statistical graphs from SAS/IML

June 30, 2014
By
Create standard statistical graphs from SAS/IML

Last week I showed how to use the SUBMIT and ENDSUBMIT statements in the SAS/IML language to call the SGPLOT procedure to create ODS graphs of data that are in SAS/IML vectors and matrices. I also showed how to create a SAS/IML module that hides the details and enables you […]

Read more »

Creating ODS graphics from the SAS/IML language

June 23, 2014
By
Creating ODS graphics from the SAS/IML language

As you develop a program in the SAS/IML language, it is often useful to create graphs to visualize intermediate results. I do this all the time in my preferred development environment, which is SAS/IML Studio. In SAS/IML Studio, you can write a single statement to create a scatter plot, bar […]

Read more »

Avoiding false parallelism in a graph

June 20, 2014
By
Avoiding false parallelism in a graph

“False parallelism”—feel free to come up with a better term here—is when a graph has repeating elements that do not correspond to repeating structure in the underlying topic being graphed. An example appears in the above graphs from Dan Kahan. The content of the graphs is fine (and, more generally, I think he’s making an […] The post Avoiding false parallelism in a graph appeared first on Statistical Modeling, Causal…

Read more »

What’s the algorithm, Kenneth?

June 19, 2014
By
What’s the algorithm, Kenneth?

I can’t figure out what’s the deal with the bars for Corners. The bar labeled “7″ is much less than 7 times the bar labeled “1.” At first I was guessing that maybe they’re not counting the numbered part in the bar width (which would be a pretty weird choice) but that wouldn’t work for […] The post What’s the algorithm, Kenneth? appeared first on Statistical Modeling, Causal Inference, and…

Read more »


Subscribe

Email:

  Subscribe