statsmodels.stats.outliers_influence.GLMInfluence.hat_matrix_diag# GLMInfluence.hat_matrix_diag[source]# Diagonal of the hat_matrix for GLM This returns the diagonal of the hat matrix that was provided as argument to GLMInfluence or computes it using the results method get_hat_matrix.