A00-240 · Question #32
Which SAS program will best identify influential observations in a multiple regression application?
The correct answer is C. proc reg data = SASUSER.RETAIL plots(only)=(RSTUDENTBYPREDICTED); model Purchase = Gender Age Income; run;. Option C is correct because the RSTUDENTBYPREDICTED plot displays externally studentized residuals (which account for the observation's own influence on the model) against predicted values, making it the standard diagnostic tool for visually identifying influential observations -
Question
Options
- Aproc reg data = SASUSER.RETAIL; model Purchase = Gender Age Income / lackfit; run;
- Bproc reg data = SASUSER.RETAIL; model Purchase = Gender Age Income / vif; run;
- Cproc reg data = SASUSER.RETAIL plots(only)=(RSTUDENTBYPREDICTED); model Purchase = Gender Age Income; run;
- Dproc reg data = SASUSER.RETAIL plots(only)=(COOKSD); model Purchase = Gender Age Income; run;
How the community answered
(24 responses)- A17% (4)
- B4% (1)
- C71% (17)
- D8% (2)
Explanation
Option C is correct because the RSTUDENTBYPREDICTED plot displays externally studentized residuals (which account for the observation's own influence on the model) against predicted values, making it the standard diagnostic tool for visually identifying influential observations - those with unusually large residuals that disproportionately affect the regression results.
Why the distractors are wrong:
- A (
lackfit) tests whether the model has a lack of fit against a pure error estimate - it evaluates model adequacy, not individual observation influence. - B (
vif) computes Variance Inflation Factors, a diagnostic for multicollinearity among predictors, not for spotting influential data points. - D (
COOKSD) plots Cook's Distance, which does measure influence, but it summarizes influence as a single scalar per observation; the RSTUDENTBYPREDICTED scatterplot is preferred in this context because it simultaneously reveals both the direction and magnitude of residual influence across the range of predicted values.
Memory tip: Think of the RSTUDENT in option C as "Rogue Student" - a student whose answers (residuals) are so far from the class norm that they skew the teacher's grading curve (the regression model). When you need to find those rogue students visually, you plot them against what the model predicted.
Topics
Community Discussion
No community discussion yet for this question.