statsmodels.gam.generalized_additive_model.GLMGamResults.resid_pearson

method

GLMGamResults.resid_pearson()

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.