statsmodels.gam.generalized_additive_model.GLMGamResults.resid_response

method

GLMGamResults.resid_response()

Respnose residuals. The response residuals are defined as endog - fittedvalues