statsmodels.stats.outliers_influence.OLSInfluence.influence

OLSInfluence.influence()[source]

(cached attribute) influence measure

matches the influence measure that gretl reports u * h / (1 - h) where u are the residuals and h is the diagonal of the hat_matrix