statsmodels.discrete.discrete_model.LogitResults.resid_generalized

LogitResults.resid_generalized

Generalized residuals

Notes

The generalized residuals for the Logit model are defined

\[y - p\]

where \(p=cdf(X\beta)\). This is the same as the resid_response for the Logit model.


Last update: May 25, 2024