All Questions
2 questions with no upvoted or accepted answers
2
votes
0
answers
24
views
How to construct GLMM with differing random effect variance structure by group?
I have a longitudinal dataset with a normally distributed outcome variable, a normally distributed predictor variable, and a binary grouping variable. I am trying to construct a GLMM with differing ...
0
votes
0
answers
252
views
How does lme4 calculate residual variance for an LMM?
How does the lmer() function calculate residual variance for an LMM? If I code a model and then try to manually calculate residuals, the variance of the manually ...