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_indexint

index of the smooth term within list of smooth terms

Returns:
wald_testContrastResults instance

the results instance created by wald_test


Last update: Jun 14, 2024