statsmodels.stats.outliers_influence.OLSInfluence.hat_matrix_diag¶ OLSInfluence.hat_matrix_diag¶ Diagonal of the hat_matrix for OLS Notes temporarily calculated here, this should go to model class