

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!


M 374G/384G, Fall 04
Questions :
We've discussed some techniques to study these questions. (e.g., __________________)
Some more:
( Caution : These are not guaranteed to catch all problems, but can catch some.)
We've looked at these a little in cases with one or two terms, where arc easily generates
them ("Remove Linear Trend"). Several types of residual plots can also be made fairly
easily when more terms are involved.
Recall the error formulation of the models :
Ordinary Linear:
Y| x = η
T
u + e| x
e| x ~ N(0, σ
2
), independent of x
Weighted linear:
Y| x
i
= η
T
u
i
e
i
w
i
e
i
~ N(0, σ
2
), independent of i
Recall the Least Squares fits
y
i
T
u
i
e
i
= y
i
y
i
y
i
T
u
i
e
i
= w
i
(y
i
y
i
Intuitively,
e
i
is an estimate of e
i
( = y
i
T
u
i
for the ordinary model.) We know E(e
i
) and
e
i
) are both zero, so
e
i
is an unbiased estimate of E(e
i
). Thus it seems reasonable to
plot the
e
i
's against various things to give some check on whether the model assumptions
are reasonable.
However :
Recall : (Section 7.6 of book; also true for WLS)
Var(
e
i
|x
i
) = σ
2
(1 - h
i
), where h
i
is the i
th
leverage (whereas Var(e
i
|x
i
) = σ
2
Thus
i
's are all small, then Var(
e
i
|x
i
) ≈ Var(e
i
|x
i
), so a plot using the
e
i
's
should approximate a plot using the e
i
's.
i
's are all approximately equal, then Var(ˆ e
i
|x
i
) is approximately a
constant times Var(e
i
|x
i
), so a plot using the
e
i
's should approximate a
rescaled plot using the e
i
's
i
's vary noticeably, then a plot using the
e
i
's will not give a good
approximation of a plot using the e
i
's. In this case, use instead studentized
residuals
e
i
" 1 # h
i
. (These are automatic in some software; not in arc.)
distribution, so they are also helpful in identifying extreme cases.
Types of Residual Plots (roughly in order of importance)
y
i
Suggestions for Residual Plots for Specific Purposes
Checking linearity
Plot against fitted values
y
i
. (Like "remove linear trend")
Checking constant variance
Plot against fitted values, predictors, pairs of predictors, other possible predictors.
Caution : What looke l ike non-constant variance can sometimes be caused
by non-linearity.
Checking independence
Plot against other possible predictors (especially time, location)
Checking normality
Use a normal probability plot.
Cautions:
e
i
= 0, the
e
i
's are not independent.