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
observedbool

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
inflGLMInfluence instance

The instance has methods to calculate the main influence and outlier measures as attributes.