statsmodels.stats.outliers_influence.OLSInfluence.resid_var¶ OLSInfluence.resid_var¶ estimate of variance of the residuals sigma2 = sigma2_OLS * (1 - hii) where hii is the diagonal of the hat matrix Last update: Oct 03, 2024