statsmodels.stats.outliers_influence.OLSInfluence.hat_matrix_diag

OLSInfluence.hat_matrix_diag()[source]

(cached attribute) diagonal of the hat_matrix for OLS

Notes

temporarily calculated here, this should go to model class