Posts Tagged ‘ Statistical Graphics ’

Compute the multivariate normal denstity in SAS

July 5, 2012
By

I've been working on a new book about Simulating Data with SAS. In researching the chapter on simulation of multivariate data, I've noticed that the probability density function (PDF) of multivariate distributions is often specified in a matrix form. Consequently, the multivariate density can usually be computed by using the
Read more »

Tags: , , ,
Posted in SAS | Comments Off on Compute the multivariate normal denstity in SAS

Create a contour plot in SAS

July 2, 2012
By

When I need to graph a function of two variables, I often choose to use a contour plot. A surface plot is probably easier for many people to understand, but it has several disadvantages when compared to a contour plot. For example, the following statements in SAS/IML Studio displays a
Read more »

Tags: ,
Posted in SAS | Comments Off on Create a contour plot in SAS

The Poissonness plot: A goodness-of-fit diagnostic

April 12, 2012
By

Last week I discussed how to fit a Poisson distribution to data. The technique, which involves using the GENMOD procedure, produces a table of some goodness-of-fit statistics, but I find it useful to also produce a graph that indicates the goodness of fit. For continuous distributions, the quantile-quantile (Q-Q) plot
Read more »

Tags: , , ,
Posted in SAS | Comments Off on The Poissonness plot: A goodness-of-fit diagnostic

Smoothers for periodic data

April 5, 2012
By

Over at the SAS and R blog, Ken Kleinman discussed using polar coordinates to plot time series data for multiple years. The time series plot was reproduced in SAS by my colleague Robert Allison. The idea of plotting periodic data on a circle is not new. In fact it goes
Read more »

Tags: , , ,
Posted in SAS | Comments Off on Smoothers for periodic data

Random Number Seeds: NOT only the first one matters!

January 30, 2012
By

Today, Rick (blog @ here) wrote an article about random number seed in SAS to be used in random number functions in DATA Step. Rick noticed when multiple random number functions are called using different seeds, only the first one matters. Thi...
Read more »

Tags: ,
Posted in SAS | Comments Off on Random Number Seeds: NOT only the first one matters!

Creating tooltips for scatter plots with PROC SGPLOT

December 9, 2011
By

Some SAS products such as SAS/IML Studio (which is included FREE as part of SAS/IML software) have interactive graphics. This makes it easy to interrogate a graph to determine values of "hidden" variables that might not appear in the graph. For example, in a scatter plot in SAS/IML Studio, you
Read more »

Tags: ,
Posted in SAS | Comments Off on Creating tooltips for scatter plots with PROC SGPLOT

Some SAS Samples have long titles, but what is the length of the longest title that has appeared so far?

December 2, 2011
By

Recently the "SAS Sample of the Day" was a Knowledge Base article with an impressively long title: Sample 42165: Using a stored process to eliminate duplicate values caused by multiple group memberships when creating a group-based, identity-driven filter in SAS® Information Map Studio "Wow," I thought. "This is the longest
Read more »

Tags: , , ,
Posted in SAS | Comments Off on Some SAS Samples have long titles, but what is the length of the longest title that has appeared so far?

Funnel plots for proportions

November 23, 2011
By

I have previously written about how to create funnel plots in SAS software. A funnel plot is a way to compare the aggregated performance of many groups without ranking them. The groups can be states, counties, schools, hospitals, doctors, airlines, and so forth. A funnel plot graphs a performance metric
Read more »

Tags: , ,
Posted in SAS | Comments Off on Funnel plots for proportions

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.