Professional Documents
Culture Documents
Topic 9
Autocorrelation
1
Summary
2
The Nature of Autocorrelation
Autocorrelation is a systematic pattern in the
errors that can be either attracting (positive)
or repelling (negative) autocorrelation.
Autocorrelation refers to lag correlation
of a given series with itself, lagged by a
number of time units.
Autocorrelation and serial correlation
synonymously.
3
ut crosses line not enough (attracting)
Postive
. . .. . . . ..
.. .
Auto. 0
. . .. . . ...
. t
crosses line randomly
ut
No . . .. . . . . . . . .
Auto. 0
. . .. . . . . .. .
. . . . .t
ut . . crosses line .
too much (repelling)
. . .
Negative
0
. . .
Auto.
. . . . . . . t
. . 4
Positive vs. Negative
Autocorrelation
5
Regression Model
Yt = 1 + 2Xt + ut
1. Inertia
2. Specification bias: (1) Excluded variables
bias, (2) Incorrect functional form
3. Lags
4. Cobb-Web Phenomenon
5. Data manipulation
6. Data transformation
7
Order of Autocorrelation
Yt = 1 + 2Xt + ut
11
Durbin-Watson Test
H o: = 0 vs. H1: = 0 , > 0, or < 0
The Durbin-Watson Test statistic, d, is :
n
^ ^
u t-1
2
t=2
u t
d = n
^
t
u 2
t=1
12
Durbin-Watson Test (Cont)
n
^ ^
u t-1
2
t=2
u t
d = n
^
u 2
t=1 t
13
Testing for Autocorrelation
The test statistic, d, is approximately related to ^
as:
d 2(1)
^
14
Durbin-Watson Decision Rule
15
16
Assumption underlying Durbin-
Watson Test
17
Detecting Autocorrelation: Runs Test
18
Detecting Autocorrelation: Breusch-Godfrey Test
19
Remedial Measures
20
Generalized Least Squares
AR(1) : ut = ut1 + t substitute
in for ut
Yt = 1 + 2Xt + ut
Yt = 1 + 2Xt + ut1 + t
Yt = 1 + 2Xt + ut
ut = Yt 12Xt lag the
errors
ut1 = Yt1 12Xt1 once
(continued) 22
Yt = 1 + 2Xt + Yt1 12Xt1 + t
Y*t = 1* + 2Xt2*+ t
*
Yt = Yt Yt1 X*t2 = (XtXt1)
1 = 1(1)
*
23
= Yt Yt1 1 = 1(1)
* *
Yt
X*t2 = Xt Xt1 *
Yt = 1
*
+ 2X*t2 + t
n
^
u 2
t=2 t-1
26
How To Estimate