statsmodels.stats.outliers_influence.OLSInfluence.influence¶ OLSInfluence.influence¶ 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