proc plot;
plot r*id=‘*’/vref=0;
title 'Plot of Residuals vs Case Number (id)';
run;
The SAS output is shown in Figure 8.4.
Figure 8.4: Plot of residuals vs. case
number (ID) for data in Table 8.2
A check on the adequacy of model fit can be seen visually by plotting the residuals
against each independent variable. Output for this plot is shown in Figure 8.5.
Inferences involving continuous data 273