statsmodels.discrete.discrete_model.LogitResults.resid_response

LogitResults.resid_response()

The response residuals

Notes

Response residuals are defined to be

y - p

where p=cdf(X\beta).