@cache_readonly
    def resid_response(self):
        return self.model.endog - self.predict()
The response residuals
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/discrete/discrete_model.py/BinaryResults.resid_response