statsmodels.gam.generalized_additive_model.GLMGamResults.resid_deviance¶ GLMGamResults.resid_deviance¶ Deviance residuals. See statsmodels.families.family for distribution- specific deviance residuals.