10.3 Heteroskedasticity

10.3.1 Breusch-Pagan test

A4 implies

E(ϵ2i|xi)=σ2

ϵ2i=γ0+xi1γ1+...+xik1γk1+error

and determining whether or not xi has any predictive value

  • if xi has predictive value, then the variance changes over the levels of xi which is evidence of heteroskedasticity
  • if xi does not have predictive value, the variance is constant for all levels of xi

The Breusch-Pagan test for heteroskedasticity would compute the F-test of total significance for the following model

e2i=γ0+xi1γ1+...+xik1γk1+error

A low p-value means we reject the null of homoskedasticity

However, Breusch-Pagan test cannot detect heteroskedasticity in non-linear form

10.3.2 White test

test heteroskedasticity would allow for a non-linear relationship by computing the F-test of total significance for the following model (assume there are three independent random variables)

e2i=γ0+xiγ1+xi2γ2+xi3γ3+x2i1γ4+x2i2γ5+x2i3γ6+(xi1×xi2)γ7+(xi1×xi3)γ8+(xi2×xi3)γ9+error

A low p-value means we reject the null of homoskedasticity

Equivalently, we can compute LM as LM=nR2e2 where the R2e2 come from the regression with the squared residual as the outcome

  • The LM statistic has a [χ2k][Chi-squared] distribution