Skip to content
Prev 10630 / 20628 Next

lmer (lme4) predictions and confidence interval, help with existing code

Ron Stone <ronstone1980 at ...> writes:
[snip]
Since you just have two independent intercept effects, it does
seem that just adding the two RE variances is appropriate. Vector-valued
random effects or random effects on slopes (rather than intercepts)
is where things would get trickier.  (There's probably a closed-form
solution based on VarCorr and Z, but I haven't thought about it.)