statsmodels.genmod.generalized_linear_model.GLMResults.resid_pearson#

GLMResults.resid_pearson[source]#

Pearson residuals. The Pearson residuals are defined as (endog - mu)/sqrt(VAR(mu)) where VAR is the distribution specific variance function. See sm.families.family and sm.families.varfuncs for more information.