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: Dec 16, 2024