statsmodels.regression.mixed_linear_model.MixedLMResults.resid

method

MixedLMResults.resid()[source]

Returns the residuals for the model.

The residuals reflect the mean structure specified by the fixed effects and the predicted random effects.