DRESIDUALS procedure
Plots residuals (R.W. Payne).
Options
Parameters
Description
Procedure DRESIDUALS provides up to four types of plots of residuals. These are selected using the METHOD parameter, with settings: fitted for residuals versus fitted values, normal for a Normal plot, halfnormal for a half-Normal plot, histogram for a histogram of residuals, absresidual for a plot of the absolute values of the residuals versus the fitted values, and index for a plot against an "index" variable (specified by the INDEX option). The PEN parameter can specify the graphics pen or pens to use for each plot.
The residuals and fitted values must be supplied, in variates, using the RESIDUALS and FITTEDVALUES options, respectively. The TITLE option can supply an overall title for the plots. By default, high-resolution graphics are used. Line-printer graphics can be requested instead, by setting option GRAPHICS=lineprinter.
Options: RESIDUALS, FITTEDVALUES, INDEX, GRAPHICS, TITLE.
Parameters: METHOD, PEN.
Method
For a Normal plot, the Normal quantiles are calculated as follows:
qi = NED( (i-0.375) / (n+0.25) )
while for a half-Normal plot they are given by
qi = NED( 0.5 + 0.5 × (i-0.375) / (n+0.25) )
Action with
RESTRICT
If the variates are restricted, only the units not excluded by the restriction will be included in the graphs.