|
Chapter Contents |
Previous |
Next |
| The REG Procedure |
This example illustrates how you can display diagnostics for checking
the adequacy of a regression model. The following statements plot the
studentized deleted residuals against the observation number for
the full model. Vertical reference lines at
are added to identify
possible outlying Oxygen values. A vertical reference line is
displayed at zero by default when the RSTUDENT option is specified.
The graph is shown in Output 55.7.1. Observations 15 and 17
are indicated as possible outliers.
title 'Check for Outlying Observations';
symbol v=dot h=1 c=green;
proc reg data=fitness;
model Oxygen=Age Weight RunTime RunPulse RestPulse MaxPulse;
plot rstudent.*obs.
/ vref= -1.714 1.714 cvref=blue lvref=1
HREF=0 to 30 by 5 cHREF=red cframe=ligr;
run;
Output 55.7.1: Plotting Model Diagnostic Statistics
|
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.