statsmodels.regression.mixed_linear_model.MixedLMResults.random_effects

MixedLMResults.random_effects()[source]

Returns the conditional means of all random effects given the data.

Returns:

random_effects : DataFrame

A DataFrame with the distinct group values as the index and the conditional means of the random effects in the columns.