ch11 Heteroscedasticity
ch11 Heteroscedasticity
Chapter 11
The nature of heteroscedasticity
ˆ
2
xi yi n X iYi X i Yi
i n X i X i
x 2 2 2
var ˆ2
i i
x 2
x
2
2
i
1 constant = homoscedastic
2
Minimize uˆ2
i Yi 1 X 2 X i
0i
2 2
uˆi Yi X 0i X i
1 2
i i i i
ˆ w w X Y w X wY
i i i i i i i i
w w X w X
2 2
2
i i i i i
var ˆ
w i
w w X w X
2 2
2
i i i i i
1
where wi 2
i
uˆ
2
2
i Yi ˆ1 ˆ2 X i
in GLS we minimize a weighted sum of residual squares
with wi 1 i2
2
w uˆ wi Yi ˆ1 ˆ2 X i
2
i i
var 2 var ˆ2
ˆ
Formal methods
1. Park test
2. Glejser test
3. Spearman’s rank correlation test
4. Goldfeld-Quandt test
5. Breusch-Pagan-Godfrey test
6. White’s general heteroscedasticity test
7. Koenker-Basset test
X X X
u2 u2
X X
di2
rs 1 6 2
n n 1
where:
di = difference in the rank assigned to two
different characteristic of the i-th individual
or phenomenon
n = number of individuals or phenomenon
ranked
i2 2 X i2
where is a constant
2
n c k or
n c 2k
df
2 2
01/06/22 Prepared by Sri Yani K 18
Goldfeld-Quandt test
4. Compute the ratio
RSS2 df
RSS1 df
If ui are assumed to be normally distributed and if the
assumption of homoscedasticity is valid, then it can be
shown that follows the F distribution with df each of
(n-c-2k)/2. If > the critical F, reject the hypothesis of
homoscedasticity.
The success of the GQ test depends on the value of c
and identifying the correct X with which to order the
observations
2
uˆi2 i 2 Yˆi i
H0: 2=0
If this is not rejected, conclude that there is no
heteroscedasticity
It is applicable if the error term in the original model
is not normally distributed
E uˆi2 2 X i
The model can be transformed:
Yi 1 ui 1
2 X i 1 2 X i i
Xi Xi Xi Xi
2
ui 1 1
E i
2
E
X
Xi
E ui
2
Xi
2 Xi 2
i
E uˆ E Yi
2 2 2
i
4. A log transformation
ln Yi 1 2 ln X i ui
very often reduces heteroscedasticity
log transformation compresses the scales of
variables
The slope coefficient 2 measures the
elasticity of Y respect to Xi