statsmodels.regression.mixed_linear_model.MixedLMResults.resid#

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.