Professional Documents
Culture Documents
Heteroscedasticity: L. Dhliwayo
Heteroscedasticity: L. Dhliwayo
Lecture 3
L. Dhliwayo
University of Zimbabwe
ldhliwayo@science.uz.ac.zw
October 5, 2018
1 Heteroscedasticity
5 Goldfeld-Quandt Test
Barttlet’s Test
prediction,
planning and
control can be effected.
The degree of success or failure in achieving these goals depends to a large
extent, on the degree of success achieved at the specification, estimation
and diagnostic stages of the model building process. At the estimation and
inferential stages, efficiency of parameter estimates and validity of
inference resulting therefrom, depend largely on whether or not the
fundamental assumptions of the GLM are satisfied
Y = X0 β + ut
one of the basic assumptions is that the disturbance or error terms {ut }
are homoscedastic i.e. σ 2 (t) = var(ut ) = σ 2 is a constant for all t or
equivalently
Ω = E (uu0 ) = σ 2 I
where u = (u1 , u2 , . . . , un )0 . This assumption among other things, that the
least squares estimator
β̂ = (X0 X)−1 XY
is an efficient estimator of β and that the conventional t-test and F-test
used to make inference about the model are valid statistical procedures. If
the error terms in the regression model have unequal variances we say that
there is heteroscedasticity.
Yt = β0 + β1 X1t + β2 X2t + ut
is wrongly specified as
Yt = β0 + β1 X1t + vt .
H0 : σ12 = σ22 = · · · = σm
2
versus H1 : σ12 ≤ σ22 ≤ · · · ≤ σm
2
1. The hypothesis is
H0 : σ12 = σ22 = · · · = σg2
2. The Test statistics is
λ
Q=
C
where
hP i
1 m 1 Pm 1
C = 1+ g =1 ng −1 −
3(m−1) g =1 (ng −1)
hP i
m 2
Pm 2
λ= g =1 (ng − 1) ln s − g =1 (ng − 1) ln sg
1 Png 1 Png
sg2 = ng −1 j=1 (ygj − ȳg )2 ȳg = ng j=1 ygj
Pm
s2 = Pm 1 − 1)sg2
g =1 (ng −1)
g =1 (ng
L. Dhliwayo (UZ) Econometrics October 5, 2018 18 / 24
3. Under H0 , Q follows an approximate χ2 -distribution with m-1 degrees
of freedom. Thus H0 is rejected at the α signfificance level if
Q > χ2m−1,α .
Pn
− n1 ( ni=1 x)( ni=1 y ) = 1200 − 51 (45)(134) = −6
P P
Sxy = i=1 xy
Pn Pn
Sxx = i=1 x
2 − n1 ( i=1 x)
2 = 539 − 51 (45)2 = 134
Pn 2 − n1 ( ni=1 y )2 = 3676 − 15 (134)2 = 84.8
P
Syy = i=1 y
2
Sxy (−6)2
SST1 = Syy = 84.8 SSR1 = Sxx = 134 = 0.2687
2
Sxy (−75.8)2
SST2 = Syy = 225.2 SSR2 = Sxx = 59.2 = 97.0547
Pm
s2 = Pm 1 − 1)sg2
g =1 (ng −1)
g =1 (ng
1
= 9 [3(206667) + 3(9) + 3(53.6667)] = 21.7779
h i
1
=1+ (3)(2) ( 13 + 1
3 + 13 ) − 1
3+3+3 = 31
27
hP i
m Pm
λ = g =1 (ng − 1) ln s 2 − 2
g =1 (ng − 1) ln sg
λ 6.2455
Q = C = 31/27 = 5.4396