Chapter Contents |
Previous |
Next |
The REG Procedure |
plot predicted.*residual.;
plot (y1 y2)*(x1 x2); plot y1*x1 y1*x2 y2*x1 y2*x2;
plot;
Keyword | Description |
Diagnostic Statistics | |
COOKD. | Cook's D influence statistics |
COVRATIO. | standard influence of observation on covariance of betas |
DFFITS. | standard influence of observation on predicted value |
H. | leverage |
LCL. | lower bound of % confidence interval for individual prediction |
LCLM. | lower bound of % confidence interval for the mean of the dependent variable |
PREDICTED. | PRED. | P. | predicted values |
PRESS. | residuals from refitting the model with current observation deleted |
RESIDUAL. | R. | residuals |
RSTUDENT. | studentized residuals with the current observation deleted |
STDI. | standard error of the individual predicted value |
STDP. | standard error of the mean predicted value |
STDR. | standard error of the residual |
STUDENT. | residuals divided by their standard errors |
UCL. | upper bound of % confidence interval for individual prediction |
UCLM. | upper bound of % confidence interval for the mean of the dependent variables |
Other Keywords used with Diagnostic Statistics | |
NPP. | normal probability-probability plot |
NQQ. | normal quantile-quantile plot |
OBS. | observation number (cannot plot against OUTEST= statistics) |
Model Fit Summary Statistics | |
ADJRSQ. | adjusted R-square |
AIC. | Akaike's information criterion |
BIC. | Sawa's Bayesian information criterion |
CP. | Mallows' C_{p} statistic |
EDF. | error degrees of freedom |
GMSEP. | estimated MSE of prediction, assuming multivariate normality |
IN. | number of regressors in the model not including the intercept |
JP. | final prediction error |
MSE. | mean squared error |
NP. | number of parameters in the model (including the intercept) |
PC. | Amemiya's prediction criterion |
RMSE. | root MSE |
RSQ. | R-square |
SBC. | SBC statistic |
SP. | SP statistic |
SSE. | error sum of squares |
Option | Description |
General Graphics Options | |
ANNOTATE= SAS-data-set | specifies the annotate data set |
CHOCKING=color | requests a reference line for C_{p} model selection criteria |
CMALLOWS=color | requests a reference line for the C_{p} model selection criterion |
CONF | requests plots of % confidence intervals for the mean |
DESCRIPTION= 'string' | specifies a description for graphics catalog member |
NAME='string' | names the plot in graphics catalog |
OVERLAY | overlays plots from the same model |
PRED | requests plots of % prediction intervals for individual responses |
RIDGEPLOT | requests the ridge trace for ridge regression |
Axis and Legend Options | |
LEGEND=LEGENDn | specifies LEGEND statement to be used |
HAXIS=values | specifies tick mark values for horizontal axis |
VAXIS=values | specifies tick mark values for vertical axis |
Reference Line Options | |
HREF=values | specifies reference lines perpendicular to horizontal axis |
LHREF=linetype | specifies line style for HREF=lines |
LLINE=linetype | specifies line style for lines displayed by default |
LVREF=linetype | specifies line style for VREF= lines |
NOLINE | suppresses display of any default reference line |
VREF=values | specifies reference lines perpendicular to vertical axis |
Color Options | |
CAXIS=color | specifies color for axis line and tick marks |
CFRAME=color | specifies color for frame |
CHREF=color | specifies color for HREF=lines |
CLINE=color | specifies color for lines displayed by default |
CTEXT=color | specifies color for text |
CVREF=color | specifies color for VREF= lines |
Options for Displaying the Fitted Model Equation | |
MODELFONT=font | specifies font of model equation and model label |
MODELHT=value | specifies text height of model equation and model label |
MODELLAB='label' | specifies model label |
NOMODEL | suppresses display of the fitted model and the label |
Options for Displaying Statistics in the Plot Margin | |
AIC | displays Akaike's information criterion |
BIC | displays Sawa's Bayesian information criterion |
CP | displays Mallows' C_{p} statistic |
EDF | displays the error degrees of freedom |
GMSEP | displays the estimated MSE of prediction assuming multivariate normality |
IN | displays the number of regressors in the model not including the intercept |
JP | displays the J_{p} statistic |
MSE | displays the mean squared error |
NOSTAT | suppresses display of the default statistics: the number of observations, R-square, adjusted R-square, and the root mean square error |
NP | displays the number of parameters in the model including the intercept, if any |
PC | displays the PC statistic |
SBC | displays the SBC statistic |
SP | displays the S(p) statistic |
SSE | displays the error sum of squares |
STATFONT=font | specifies font of text displayed in the margin |
STATHT=value | specifies height of text displayed in the margin |
plot residual.*predicted. y*x / collect; run;
plot residual.*x; run;
plot y*x / symbol='1';
plot y*x y*v='.' / symbol='*';
plot y1*x1 y1*x2 y1*x3 y2*x1 y2*x2 y2*x3 / hplots=3 vplots=2; run;
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.