Posts Tagged ‘ Statistical Graphics ’

Perceptions of probability

May 3, 2017
By

If a financial analyst says it is "likely" that a company will be profitable next year, what probability would you ascribe to that statement? If an intelligence report claims that there is "little chance" of a terrorist attack against an embassy, should the ambassador interpret this as a one-in-a-hundred chance,

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Perceptions of probability

Visualize a design matrix

April 26, 2017
By

Most SAS regression procedures support a CLASS statement which internally generates dummy variables for categorical variables. I have previously described what dummy variables are and how are they used. I have also written about how to create design matrices that contain dummy variables in SAS, and in particular how to

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Visualize a design matrix

Visualize an ANOVA with two-way interactions

April 24, 2017
By

There are several ways to visualize data in a two-way ANOVA model. Most visualizations show a statistical summary of the response variable for each category. However, for small data sets, it can be useful to overlay the raw data. This article shows a simple trick that you can use to

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Visualize an ANOVA with two-way interactions

Visualize the 68-95-99.7 rule in SAS

April 17, 2017
By

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 Read more »

Tags: ,
Posted in SAS | Comments Off on Visualize the 68-95-99.7 rule in SAS

What colors does PROC SGPLOT use for markers?

February 6, 2017
By

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 Read more »

Tags: , ,
Posted in SAS | Comments Off on What colors does PROC SGPLOT use for markers?

Automate the creation of a discrete attribute map

January 30, 2017
By

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 Read more »

Tags: , ,
Posted in SAS | Comments Off on Automate the creation of a discrete attribute map

Is “La Quinta” Spanish for “Next to Denny’s”?

January 6, 2017
By

“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 Read more »

Tags: , , ,
Posted in SAS | Comments Off on Is “La Quinta” Spanish for “Next to Denny’s”?

Append data to add markers to SAS graphs

November 30, 2016
By

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 Read more »

Tags: , , ,
Posted in SAS | Comments Off on Append data to add markers to SAS graphs

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

Sponsors







Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: tal.galili@gmail.com
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.