



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Statistics 3115/ Handout 4
Most of the regression diagnostics is based on the analysis of various types of residuals. We proceed to deÖne these residuals and discuss their properties and applications. The raw residuals or just residuals have been deÖned as
ei = Yi Yci:
Pn i=1 ei^ = 0:
S Y^2 jX =
n 2
X^ n
i=
e^2 i = M SE;
and E(S Y^2 jX ) = ^2 :
To simplify the presentation of the results we adopt the following notation:
S^2 = S^2 Y jX :
zi =
ei S
The standardized residuals have unit sample variance in the sense that
1 n 2
X^ n
i=
z i^2 =
n 2
X^ n
i=
e^2 i S^2
E(ei) = 0
and V ar(ei) = ^2 (1 hi);
where for a straight line model with the intercept
hi =
n
(Xi X)
2 Pn i=1(Xi^ ^ X)
2
is called the leverage of the ith observation. Also, one can show that the e^0 is are linear combination of Y 1 ; ::::; Yn and therefore have a normal distribution.
ei S
p 1 hi
In some books these are called internally studentized residuals. The reason for that is that S is a function of ei and therefore not independent of it. Studentized residuals have a mean that is close to zero and its variance can be estimated by 1 n 2
X^ n
i=
r^2 i ;
which slightly greater than 1. For large n ri have an approximate t-distribution with n 2 degrees of freedom. Also, r^2 i =(n 1) have a beta distribution with parameters 1 = 2 and (n 2)= 2.
r( i) =
ei S( i)
p 1 hi
= ri
s n 3 n 2 r^2 i
where S^2 ( i) is the residual variance computed with the ith observation deleted, i.e.
S^2 ( i) =
n 3
X^ n
j=1;j 6 =i
e^2 j :
jacknifed residuals to detect ináuential observations that may corrupt the e§ectiveness of the Ötted model.
Outliers. Outliers are extreme observations that do not belong to the data set. To detect outliers one examines the various residuals. For example, if we decide to examine the jacknifed residuals the fact that they have a t distribution with n 3 degrees of freedom is helpful. For example if we have a data set of n = 10 observations and we want to test if any of these observations are outliers, then we have to perform 10 tests simultaneously. The critical values are given in Table A-8A on page 729.
Outliers detection based on the leverages has been discussed by Hoaglin and Welsch (1978). They recommend to look carefully at any observation with an leverage hi > 4 =n:
In Table A-9 provides leverage critical values for the following statistics
Fi =
hi 1 =n (1 hi)=(n 2)
adjusted for the multiple testing of the n leverages.
Ináuential Observations. One of the most popular measures for evaluating ináuence of an obser- vation is Cookís distance. It measures the extent of change in the estimates of the regression coe¢ cients if a particular observation is deleted. Cookís distance for the ith observation is given by
di =
r i^2
hi 1 hi
e^2 i hi 2 S^2 (1 hi)^2
One can show that di is proportional to [c 0 d 0( i)]^2 + [c 1 d 1( i)]^2 : Cook and Weisberg (1982) recommend to scrutinize any observation with di > 1 : In Table A-10 critical values for examining the maximum of a set of Cookís distances for di(n 2):
Another measure to examine ináuence of observations is
DF F IT Si =
Ybi Yd( i) S( i)
p hi
S( i)
p 2 di = ri
r hi 1 hi
If jDF F IT Si)j > 2 the observation has to be scrutinized.