Skip to content
Prev 2698 / 5632 Next

[R-meta] Help specifying a three-level model

Thanks for that reference, Frank.

I think we should have a contest as to the most complex multilevel model fitted in a meta-analysis.

My contribution: In https://link.springer.com/article/10.3758/s13423-020-01762-3 we used a 5-level model, that is, the estimates with their sampling variances at level 1, then random effects for the estimates at level 2, which in turn were nested within samples at level 3, which in turn were nested within experiments at level 4, which in turn were nested within articles at level 5. To top things off, the model also included a crossed random effect for pairs of comparisons (within experiments nested within articles). For those who are curious, the appendix shows how the data structure was coded. The actual model is essentially:

rma.mv(yi, vi, mods = ~ [...], random = list(~ 1 | article/experiment/sample/id, ~ 1 | article.experiment.pairing), data=dat)

where dat$article.experiment.pairing <- interaction(dat$article, dat$experiment, dat$pairing).

Fun stuff!

Best,
Wolfgang