@cache_readonly
    def resid(self):
        return self.model.endog - self.fittedvalues
Returns the residuals for the model.
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/regression/mixed_linear_model.py/MixedLMResults.resid