statsmodels.stats.outliers_influence.OLSInfluence.hat_diag_factor

OLSInfluence.hat_diag_factor()[source]

(cached attribute) factor of diagonal of hat_matrix used in influence

this might be useful for internal reuse h / (1 - h)