Posts Tagged ‘ Statistical Graphics ’

Banking to 45 degrees: Aspect ratios for time series plots

January 20, 2016
By
Banking to 45 degrees: Aspect ratios for time series plots

In SAS, the aspect ratio of a graph is the physical height of the graph divided by the physical width. Recently I demonstrated how to set the aspect ratio of graphs in SAS by using the ASPECT= option in PROC SGPLOT or by using the OVERLAYEQUATED statement in the Graph

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Banking to 45 degrees: Aspect ratios for time series plots

Twelve posts from 2015 that deserve a second look

January 11, 2016
By

I began 2016 by compiling a list of popular articles from my blog in 2015. This "People's Choice" list contains many interesting articles, but some of my personal favorites did not make the list. Today I present the "Editor's Choice" list of articles that deserve a second look. I've grouped

The post Read more »

Tags: , , , ,
Posted in SAS | Comments Off on Twelve posts from 2015 that deserve a second look

Overlay categories on a histogram

December 9, 2015
By
Overlay categories on a histogram

Recently Sanjay Matange blogged about how to color the bars of a histogram according to a gradient color ramp. Using the fact that bar charts and histograms look similar, he showed how to use PROC SGPLOT in SAS to plot a bar chart in which each bar is colored according

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Overlay categories on a histogram

Size matters: Preserving the aspect ratio of the data in ODS graphics

November 30, 2015
By
Size matters: Preserving the aspect ratio of the data in ODS graphics

When creating a statistical graphic such as a line plot or a scatter plot, it is sometimes important to preserve the aspect ratio of the data. For example, if the range of the X and Y variables are equal, it can be useful to display a graph in which the

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Size matters: Preserving the aspect ratio of the data in ODS graphics

Create a map with PROC SGPLOT

November 18, 2015
By
Create a map with PROC SGPLOT

Did you know that you can use the POLYGON statement in PROC SGPLOT to draw a map? The graph at the left shows the 48 contiguous states of the US, overlaid with markers that indicate the locations of major cities. The plot was created by using the POLYGON statement, which

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Create a map with PROC SGPLOT

Label markers in graphs by using the values of several variables

November 16, 2015
By
Label markers in graphs by using the values of several variables

In many procedures, the ID statement is used to identify observations by specifying an identifying variable, such as a name or a patient ID. In many regression procedures, you can specify multiple ID variables, and all variables are copied into output data sets that contain observation-wise statistics such as predicted

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Label markers in graphs by using the values of several variables

Create a surface plot in SAS

October 12, 2015
By
Create a surface plot in SAS

This article shows how to visualize a surface in SAS. You can use the SURFACEPLOTPARM statement in the Graph Template Language (GTL) to create a surface plot. But don't worry, you don't need to know anything about GTL: just copy the code in this article and replace the names of

The post Read more »

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

Error distributions and exponential regression models

September 16, 2015
By
Error distributions and exponential regression models

Last week I discussed ordinary least squares (OLS) regression models and showed how to illustrate the assumptions about the conditional distribution of the response variable. For a single continuous explanatory variable, the illustration is a scatter plot with a regression line and several normal probability distributions along the line. The

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Error distributions and exponential regression models

Proc-x is looking for 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



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.

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.