statsmodels.genmod.bayes_mixed_glm.BayesMixedGLMResults.random_effects

BayesMixedGLMResults.random_effects(term=None)[source]

Posterior mean and standard deviation of random effects.

Parameters:
termint or None

If None, results for all random effects are returned. If an integer, returns results for a given set of random effects. The value of term refers to an element of the ident vector, or to a position in the vc_formulas list.

Returns:
Data frame of posterior means and posterior standard
deviations of random effects.