Plot Mixed Effect Model Results By Group In Python
I'm using a Mixed effect model with statsmodel in python and I cannot find a way to plot the results by group level. My goal is to get to this kind of plot: which is possible in R
Solution 1:
I found a way to get the results at group level, at least for the random effects.
mdf.random_effects
and to plot it a lollipop plot with matplotlib after converting the data to a dataframe and transposing.
Post a Comment for "Plot Mixed Effect Model Results By Group In Python"