Exploring residuals for classical linear-regression models

  • Residuals should be normally distributed with mean zero
  • The leverage values from the diagonal of hat matrix H=X(XTX)1XT.

ˆy=Xˆβ=X[(XTX)1XTy]=Hy

  • Expected variance given by: Var(ei)=σ2(1hii)
  • For independent explanatory variables, it should lead to a constant variance of residuals.