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 statsmodels.families.family and statsmodels.families.varfuncs for more information.