Re: [R] Interpreting the result of a model with random effects

2022-06-11 Thread Mitchell Maltenfort
Looks like the center effect improves overall accuracy while being independent of the other terms. A few things to try Compare coef(model.fix) to fixef(model.rand). Add center as a fixed effect to model .fix Try a conditional logit (clogit from survival) See how consistent the coefficients

[R] Interpreting the result of a model with random effects

2022-06-11 Thread Frank S .
Dear R users, I'm analyzing a particular score "y" among several individuals, each of which belongs to a center, a factor with three different levels (3 possible centers). I have treated the "center" as a fixed effect, and as a random term (package lme4): 1) model.fix <- glm(y ~ var.1 + var.2