statsmodels.genmod.generalized_linear_model.GLMResults.resid_deviance¶ GLMResults.resid_deviance¶ Deviance residuals. See statsmodels.families.family for distribution- specific deviance residuals.