Previous: LOWESS Next: OUTLIER Up: Usage Notes Top: SAS System for Stati...
SAS Macro Programs for Statistical Graphics: NQPLOT
$Version: 1.3 (27 Sep 2001)
Michael Friendly
York University
NQPLOT produces normal Q-Q plots for single variable. The
parameters MU= and SIGMA= determine how the comparison line,
representing a perfect fit to a normal distribution, is estimated.
Usage
nqplot is a macro program. A variable name must be supplied for the
VAR= parameter.
The arguments may be listed within parentheses in any order, separated
by commas. For example:
%nqplot(data=results, var=residual);
Parameters
- DATA=_LAST_
- Name of the input data set
- VAR=X
- Name of the variable to be plotted
- OUT=NQPLOT
- Name of the output data set
- MU=MEDIAN
- Estimate of the of mean of the reference
normal distribution: Specify MU=MEAN,
MU=MEDIAN, or MU=numeric value.
- SIGMA=HSPR
- Estimate of the standard deviation of the
reference normal distribution: Specify
SIGMA=STD, SIGMA=HSPR, or SIGMA=numeric value.
- STDERR=YES
- Plot std errors around curves?
- DETREND=YES
- Plot detrended version? If DETREND=YES the
detrended version is plotted too.
- LH=1.5
- Height, in character cells, for the axis
labels.
- ANNO=
- Name of an optional input Annotate data set
- NAME=NQPLOT
- The name assigned to the graph(s) in the
graphic catalog.
- GOUT=
- The name of the graphic catalog used to
store the graph(s) for later replay.