Top "Mixed-models" questions

Programming problems related to the analysis of statistical models with random-effects terms, also variously: repeated measures, hierarchical, multilevel models

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
Error: Invalid grouping factor specification

I am trying to use glmer to model coral recruitment and get the error "Error: Invalid grouping factor specification, Site" …

r lme4 mixed-models
test for significance of interaction in linear mixed models in nlme in R

I use lme function in the nlme R package to test if levels of factor items has significant interaction with …

r mixed-models
Understand warning messages for mixed model in r lme4

I have built and run a mixed effects logistic regression model in the lme4 package for r to estimate the …

r lme4 mixed-models
Incorporating time series into a mixed effects model in R (using lme4)

I've had a search for similar questions and come up short so apologies if there are related questions that I've …

r time-series lme4 mixed-models
Speed up lmer function in R

I would like to share some of my thoughts when trying to improve the model fitting time of a linear …

r performance lme4 mixed-models
Extracting coefficients and their standard error for each unit in an lme model fit

How could I extract coefficients (b0 and b1) with their respectively standard errors for each experimental unit (plot )in a …

r mixed-models nlme coefficients
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
Plotting predicted values from a lme model (with polynomials) in R

I am using linear mixed-effect model (run with the lme() function in the nlme package in R) that has one …

r predict mixed-models polynomials nlme