statsmodels.gam.generalized_additive_model.GLMGamResults.resid_deviance

method

GLMGamResults.resid_deviance()

Deviance residuals. See statsmodels.families.family for distribution- specific deviance residuals.