LogitResults.
resid_dev
Deviance residuals
Notes
Deviance residuals are defined
where
and is the total number of observations sharing the covariate pattern .
For now is always set to 1.
statsmodels.discrete.discrete_model.LogitResults.remove_data
statsmodels.discrete.discrete_model.LogitResults.resid_generalized