Exploratory and Graphical Methods of Data Analysis
Michael Friendly

SAS macro programs

The SAS macro programs described here are available for use on the Phoenix system under unix and on SAS for Windows on the PAVLOV server for the Psych Lab.

To make them automatically available on Phoenix, type the command,

setenv SAS_OPTIONS "-autoexec /courses/as/psyc/autoexec.sas"
If you add this line to your .cshrc file, this will be setup each time you login. This step is unnecessary on PAVLOV Then to use one (say, BOXPLOT) in your SAS program, simply call the macro as, for example,
%boxplot(data=nations, var=imr, class=region);

Programs

The following programs are currently available:

BIPLOT
Biplot technique
BOXANNO
Marginal boxplot annotations for scatterplots
BOXCOX
Box-Cox transformations for regression models
BOXGLM
Box-Cox transformations for GLMs
BOXPLOT
Boxplots and notched boxplots
CONTOUR
Elliptical contours for scatterplots
DOTPLOT
Dot charts
INFLPLOT
Influence plots for regression models
LOWESS
Lowess scatterplot smoothing
NQPLOT
Normal Q-Q plots
OUTLIER
Multivariate outlier detection
PARTIAL
Partial regression residual plots
RESLINE
Resistant lines by 3-point method, with transformations
SCATMAT
Scatterplot matrices
STARS
Star plots
SYMPLOT
Symmetry transformation plots
These and other methods for graphical display of data are described in my book, SAS System for Statistical Graphics, First Edition available from SAS Institute.

Documentation is available on the WWW at:


[Previous] Course outline. [Next] Next section.
© 1995 Michael Friendly
Email<friendly@yorku.ca>