Session Autocorrelation
Session Autocorrelation
1. What is Autocorrelation
2. What Causes Autocorrelation
3. Types of Autocorrelation:
First and Higher Orders Autocorrelation
4. Consequences of Autocorrelation
5. Detecting Autocorrelation
6. Resolving Autocorrelation
2
Review of the Classical Assumption
Yt = 1 + 2X2t + 3X3t + Ut
In general
E(Ut, Ut-s) 0
What is Autocorrelation
Second-order when:
ut=ρ1ut-1+ ρ2ut-2+et
Third-order when
ut=ρ1ut-1+ ρ2ut-2+ρ3ut-3 +et
p-th order when:
ut=ρ1ut-1+ ρ2ut-2+ρ3ut-3 +…+ ρput-p +et
Consequences of Autocorrelation
t
2 2
x
xt xt
2 2
.08
.04
.00
-.04
-.08
85 86 87 88 89 90 91 92 93
RES01
Detecting Autocorrelation
Residual (t) vs Residual (t-1)
.12
.08
.04
RES01
.00
-.04
-.08
-.08 -.04 .00 .04 .08 .12
RES01(-1)
The Durbin Watson Test
Zone of in Zone of in
decision decision
(+) autoc (-) autoc
No autocorrelation
0 dL dU 2 4-dU 4-dL 4
• Autocorrelation usually exists if:
• The value of d is much smaller than 2 → (+) autocorrelation
• The value of d is much greater than 2 → (-) autocorrelation
• The model is free from autocorrelation if the value of d close to 2.
The Durbin Watson Test
DW n
h = 1 −
2 1 − n 2ˆ
DW n
h = 1 −
2 1 − n 2ˆ
1.658 37
= 1 − = 1.2971
2 1 − 37 * 0.089 2
Resolving Autocorrelation
Yt=β1+β2X2t+β3X3t+β4X4t+…+βkXkt+ut
where
ut=ρ1ut-1+et
Resolving Autocorrelation
(when ρ is known)
Yt=β1+β2X2t+β3X3t+β4X4t+…+βkXkt+ut
Write the model of t-1:
Yt-1=β1+β2X2t-1+β3X3t-1+β4X4t-1+…+βkXkt-1+ut-1
Multiply both sides by ρ to get
ρYt-1= ρβ1+ ρβ2X2t-1+ ρβ3X3t-1+ ρβ4X4t-1
+…+ ρ βkXkt-1+ ρut-1
Resolving Autocorrelation
(when ρ is known)