statsmodels.gam.generalized_additive_model.GLMGamResults.get_influence¶
-
GLMGamResults.
get_influence
(observed=True)¶ 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 : GLMInfluence instance
The instance has methods to calculate the main influence and outlier measures as attributes.