Professional Documents
Culture Documents
Fall 2008
0 2 4 6
x
Environmental Econometrics (GR03) yHetero - Autocorr
Linear prediction Fall 2008 4 / 17
How Does the Heteroskedasticity Look?
bi with Xi . Is there a
Alternatively, we can graph the residuals u
constant spread across values of X ?
10
5
Residuals
0
-5
-10
0 2 4 6
x
Environmental Econometrics (GR03) Hetero - Autocorr Fall 2008 5 / 17
Testing for Heteroskedasticity: Breusch-Pagan Test
bi2 = δ0 + δ1 Xi 1 +
u + δk Xik + vi .
bi2 = δ0 + δ1 Xi 1 +
u + δk Xik + vi .
BP test: N Rub22 a
Xk2 .
2
∑N Xi X σ2i
Var b
β1 jX = n i =1 o .
N 2 2
∑ i =1 i
X X
2
\ ∑N Xi X u bi2
Var b
β1 jX = n i =1 o .
2 2
∑N i =1 Xi X
GLS ∑N
i =1 Xi X Yi Y
b
β1 = 2
∑N
i =1 Xi X
σ2i = f (Xi )
bi using the following OLS regression:
Estimate σ
bi2 = f (Xi ) + vi
u
σ2i = f (Xi )
bi using the following OLS regression:
Estimate σ
bi2 = f (Xi ) + vi
u
FGLS ∑N
i =1 Xi X Yi Y
b
β1 = ,
2
∑N
i =1 Xi X
where Xi = Xi /b
σi and Yi = Yi /b
σi .
Environmental Econometrics (GR03) Hetero - Autocorr Fall 2008 10 / 17
Autocorrelation
(Time Series Data) The error term at one date can be correlated
with the error terms in the previous periods:
Autoregressive process of order k = 1, 2, ...,
AR (k ) : ut = ρ1 ut 1 + ρ2 ut 2 + + ρk ut k + vt .
MA (k ) : ut = vt + λ1 vt 1 + + λ k vt k.
where
l
wl = 1 .
L+1
The correlation between ut and ut l is approximated with
1 L +l 1 ubt u
bt 1 .
The above standard error is also robust to arbitrary heteroskedasticity.
H0 : ρ = 0.
ut = ρ1 ut 1 + ρ2 ut 2 + + ρq ut q + vt .
H0 : ρ 1 = = ρq = 0.
Yt = β0 + β1 Xt + ut , ut = ρut 1 + vt