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