statsmodels.gam.generalized_additive_model.GLMGamResults.test_significance¶
- GLMGamResults.test_significance(smooth_index)[source]¶
hypothesis test that a smooth component is zero.
This calls wald_test to compute the hypothesis test, but uses effective degrees of freedom.
- Parameters:
- smooth_index
int
index of the smooth term within list of smooth terms
- smooth_index
- Returns:
- wald_test
ContrastResults
instance
the results instance created by wald_test
- wald_test