statsmodels.gam.generalized_additive_model.GLMGamResults.resid_response¶ GLMGamResults.resid_response¶ Response residuals. The response residuals are defined as endog - fittedvalues