'Generalized residuals
Notes
The generalized residuals for the Logit model are defined
.. math:: y - p
where :math:`p=cdf(X\beta)`. This is the same as the `resid_response`
for the Logit model.'

@cache_readonly
def resid_generalized(self):

    return (self.model.endog - self.predict())
