stats
MLEInfluence.
hat_matrix_diag
Diagonal of the generalized leverage
This is the analogue of the hat matrix diagonal for general MLE.