Top "Random-effects" questions

How to get coefficients and their confidence intervals in mixed effects models?

In lm and glm models, I use functions coef and confint to achieve the goal: m = lm(resp ~ 0 + var1 + var1:…

r lme4 random-effects mixed-models
Plot random effects from lmer (lme4 package) using qqmath or dotplot: How to make it look fancy?

The qqmath function makes great caterpillar plots of random effects using the output from the lmer package. That is, qqmath …

r ggplot2 lme4 random-effects
Prediction with lme4 on new levels

I'm trying to fit a mixed effects model and then use that model to generate estimates on a new dataset …

r prediction lme4 mixed-models random-effects
Python Statsmodels Mixedlm (Mixed Linear Model) random effects

I am a bit confused about the output of Statsmodels Mixedlm and am hoping someone could explain. I have a …

python statsmodels mixed-models random-effects
How to plot random intercept and slope in a mixed model with multiple predictors?

Is it possible to plot the random intercept or slope of a mixed model when it has more than one …

r plot mixed-models lmer random-effects