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
- Returns:
wald_test – the results instance created by wald_test
- Return type:
ContrastResults instance