statsmodels.stats.outliers_influence.OLSInfluence.hat_matrix_diag# OLSInfluence.hat_matrix_diag[source]# Diagonal of the hat_matrix for OLS