VPLOT procedure

Plots residuals from a REML analysis (S.J. Welham).


Options

INDEX = variate or factor
X-variable for an index plot; default !(1,2...)

GRAPHICS = string
What type of graphics to use (lineprinter, highresolution); default high

TITLE = text
Overall title for the plots; if unset, the identifier of the y-variate is used

SAVE = REML save structure
Specifies the (REML) save structure from which the residuals and fitted values are to be taken; default * uses the SAVE structure from the most recent REML analysis


Parameters

METHOD = strings
Type of residual plot (fittedvalues, normal, halfnormal, histogram, absresidual, index); default fitt, norm, half, hist

PEN = scalars, variates or factors
Pen(s) to use for each plot


Description

Procedure VPLOT provides up to four types of residual plots from a REML analysis. 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 TITLE option can supply an overall title. If this is not set, the identifier of the y-variate is used.

   The residuals and fitted values are accessed automatically from the structure specified by the SAVE option. If the SAVE option has not been set, they are taken from the last SAVE structure from the most recent REML analysis.

   By default, high-resolution graphics are used. Line-printer graphics can be used by setting option GRAPHICS=lineprinter.


Options: INDEX, GRAPHICS, TITLE, SAVE. Parameters: METHOD, PEN.


Method

Residuals and fitted values effects are accessed, using VKEEP, from the REML analysis specified by the SAVE option. The plots are produced using the DRESIDUALS procedure.


Action with RESTRICT

If the y-variate in the REML analysis was restricted, then only units included by the restriction will be used in the graphs.