Skip to content
Prev 10117 / 20628 Next

categorical random effects correlation in lme4

Hi Andrew,

in Baayen, Davidson, & Bates (2008) they discuss a situation very similar to yours and in which they perform similar steps as you have done (full model has a correlation of slopes of -1, then remove correlation between random slopes, and then remove random slopes altogether) and then decide for the smallest model (only random intercepts) as it provides the best account in terms of a LRT .

In your case it now seems to be the case that the full model and intercept only model are identical (as predicted by slide 38 of the presentation you linked).

So you basically only have the options between:
- a model with (0 + factor(white) | primary_ther) [or equivalently (factor(white) | primary_ther)],
- (1|primary_ther) + (0+white|primary_ther) [as I suggested and which should have less random parameters as the model before, which is done by Baayen et al. (2008), and also recommended by Barr et al. (2013) in case of nonconvergence],
- and the random intercept only model (1 | primary_ther).

What does the LRT [i.e., anova()] now say to these three options?

I hope this helps and I really liked the Barr article (also I would not trust their recommendation on how to obtain p-values but resort on either afex or car::Anova(..., test = "F") which are equivalent).

I hope that helps and sorry if you did also this already,
Henrik

Note: Baayen et al use slightly different syntax.

References:
Baayen, R. H., Davidson, D. J., & Bates, D. M. (2008). Mixed-effects modeling with crossed random effects for subjects and items. Journal of Memory and Language, 59(4), 390?412. doi:10.1016/j.jml.2007.12.005

Barr, D. J., Levy, R., Scheepers, C., & Tily, H. J. (2013). Random effects structure for confirmatory hypothesis testing: Keep it maximal. Journal of Memory and Language, 68(3), 255?278. doi:10.1016/j.jml.2012.11.001



Am 22/05/2013 20:22, schrieb Andrew McAleavey: