statsmodels.discrete.discrete_model.CountResults.resid_response

method

CountResults.resid_response()

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