statsmodels.genmod.generalized_linear_model.GLMResults.get_influence¶ GLMResults.get_influence(observed=True)[source]¶ Get an instance of GLMInfluence with influence and outlier measures Parameters:¶ observed : bool¶If true, then observed hessian is used in the hat matrix computation. If false, then the expected hessian is used. In the case of a canonical link function both are the same. Returns:¶ infl – The instance has methods to calculate the main influence and outlier measures as attributes. Return type:¶ GLMInfluence instance See also statsmodels.stats.outliers_influence.GLMInfluence