/Statsmodels

statsmodels.discrete.discrete_model.ProbitResults.resid_response

ProbitResults.resid_response()

The response residuals

Notes

Response residuals are defined to be

$y - p$

where $$p=cdf(X\beta)$$.