statsmodels.stats.outliers_influence.MLEInfluence.hat_matrix_diag# MLEInfluence.hat_matrix_diag[source]# Diagonal of the generalized leverage This is the analogue of the hat matrix diagonal for general MLE.