Posts Tagged ‘ Statistical Graphics ’

Visualize the 68-95-99.7 rule in SAS

April 17, 2017
By
Visualize the 68-95-99.7 rule in SAS

A reader commented on last week's article about constructing symmetric intervals. He wanted to know if I created it in SAS. Yes, the graph, which illustrates the so-called 68-95-99.7 rule for the normal distribution, was created by using several statements in the SGPLOT procedure in Base SAS The SERIES statement [...] The post Visualize the 68-95-99.7 rule in SAS appeared first on The DO Loop.

Read more »

Aggregate age-adjusted trends in death rates for non-Hispanic whites and minorities in the U.S.

March 31, 2017
By
Aggregate age-adjusted trends in death rates for non-Hispanic whites and minorities in the U.S.

Following up on our recent Slate article, Jonathan Auerbach made some graphs of mortality rate trends by sex, ethnicity, and age group, aggregating over the entire country. Earlier we’d graphed the trends within each state but there was so much going on there, it was hard to see the big picture. All our graphs are […] The post Aggregate age-adjusted trends in death rates for non-Hispanic whites and minorities in…

Read more »

Easier-to-download graphs of age-adjusted mortality trends by sex, ethnicity, and age group

March 29, 2017
By
Easier-to-download graphs of age-adjusted mortality trends by sex, ethnicity, and age group

Jonathan Auerbach and I recently created graphs of smoothed age-adjusted mortality trends from 1999-2014 for: – 50 states – men and women – non-hispanic whites, blacks, and hispanics – age categories 0-1, 1-4, 5-14, 15-24, 25-34, 35-44, 45-54, 55-64, 65-74, 75-84. We posted about this on the blog and also wrote an article for Slate […] The post Easier-to-download graphs of age-adjusted mortality trends by sex, ethnicity, and age group…

Read more »

Crack Shot

March 29, 2017
By
Crack Shot

Raghu Parthasarathy writes: You might find this interesting, an article (and related essay) on the steadily declining percentage of NIH awards going to mid-career scientists and the steadily increasing percentage going to older researchers. The key figure is below. The part that may be of particular interest to you, since you’ve written about age-adjustment in demographic work: does […] The post Crack Shot appeared first on Statistical Modeling, Causal Inference, and Social Science.

Read more »

What colors does PROC SGPLOT use for markers?

February 6, 2017
By
What colors does PROC SGPLOT use for markers?

Suppose you create a scatter plot in SAS with PROC SGPLOT. What color does PROC SGPLOT use for the markers? If you specify the GROUP= option so that markers are colored by a grouping variable, what colors are used to represent the various groups? The following scatter plot shows the [...] The post What colors does PROC SGPLOT use for markers? appeared first on The DO Loop.

Read more »

Automate the creation of a discrete attribute map

January 30, 2017
By
Automate the creation of a discrete attribute map

If you are a SAS programmer and use the GROUP= option in PROC SGPLOT, you might have encountered a thorny issue: if you use a WHERE clause to omit certain observations, then the marker colors for groups might change from one plot to another. This happens because the marker colors [...] The post Automate the creation of a discrete attribute map appeared first on The DO Loop.

Read more »

Is "La Quinta" Spanish for "Next to Denny’s"?

January 6, 2017
By
Is "La Quinta" Spanish for "Next to Denny’s"?

“La Quinta” is Spanish for “next to Denny’s.”      -- Mitch Hedberg, comedian Mitch Hedberg's joke resonates with travelers who drive on the US interstate system because many highway exits feature both a La Quinta Inn™ and a Denny's® restaurant within a short distance of each other. But does a […] The post Is "La Quinta" Spanish for "Next to Denny's"? appeared first on The DO Loop.

Read more »

Some U.S. demographic data at zipcode level conveniently in R

December 2, 2016
By

Ari Lamstein writes: I chuckled when I read your recent “R Sucks” post. Some of the comments were a bit … heated … so I thought to send you an email instead. I agree with your point that some of the datasets in R are not particularly relevant. The way that I’ve addressed that is […] The post Some U.S. demographic data at zipcode level conveniently in R appeared first…

Read more »

An exciting new entry in the “clueless graphs from clueless rich guys” competition

November 30, 2016
By
An exciting new entry in the “clueless graphs from clueless rich guys” competition

Jeff Lax points to this post from Matt Novak linking to a post by Matt Taibbi that shares the above graph from newspaper columnist / rich guy Thomas Friedman. I’m not one to spend precious blog space mocking bad graphs, so I’ll refer you to Novak and Taibbi for the details. One thing I do […] The post An exciting new entry in the “clueless graphs from clueless rich guys”…

Read more »

Append data to add markers to SAS graphs

November 30, 2016
By
Append data to add markers to SAS graphs

Do you want to create customized SAS graphs by using PROC SGPLOT and the other ODS graphics procedures? An essential skill that you need to learn is how to merge, join, append, and concatenate SAS data sets that come from different sources. The SAS statistical graphics procedures (SG procedures) enable […] The post Append data to add markers to SAS graphs appeared first on The DO Loop.

Read more »


Subscribe

Email:

  Subscribe