Recipe

Testing for heteroskedasticity

Steps

  1. Run OLS to get residuals u^i\hat{u}_i.
  2. Square the residuals: u^i2\hat{u}_i^2.
  3. Regress u^i2\hat{u}_i^2 on your regressors (Breusch–Pagan) or on regressors plus their squares and cross-products (White).
  4. Compute nR2nR^2 from this auxiliary regression.
  5. Compare to χ2\chi^2 with kk degrees of freedom (number of regressors in the auxiliary regression, excluding the constant).
  6. Reject H0H_0 of homoskedasticity if nR2>χk,0.052nR^2 > \chi^2_{k, 0.05}.

Common pitfalls

  • Forgetting that White's test is more general — it also picks up specification errors, not just heteroskedasticity.
  • Reporting non-robust standard errors after rejecting the null.