statsmodels.discrete.discrete_model.LogitResults.resid_generalized

LogitResults.resid_generalized() [source]

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.

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.discrete.discrete_model.LogitResults.resid_generalized.html