Meta-analysis with the glmmTMB R package
Coralie Williams, Maeve McGillycuddy, Mollie Brooks, Benjamin M. Bolker, Ayumi Mizuno, Yefeng Yang, Wolfgang Viechtbauer, David I. Warton, and Shinichi Nakagawa

TL;DR
This paper introduces a new covariance structure 'equalto' in the glmmTMB R package, enabling explicit modeling of sampling variances in meta-analyses, thus expanding the package's flexibility.
Contribution
It presents the 'equalto' covariance structure in glmmTMB, allowing users to incorporate known sampling variances directly into meta-analytical models.
Findings
The implementation produces estimates identical to the metafor package.
It enables modeling heteroscedasticity and dependence among sampling errors.
Demonstrated with meta-analyses from medicine, ecology, and social sciences.
Abstract
Meta-analytical models are typically formulated as a mixed-effects model where the sampling variances of the effect sizes are treated as known. In principle, such models could be fitted with standard mixed-modelling software such as the glmmTMB R package. This general-purpose package for generalized linear mixed models (GLMMs) provides flexibility in distributions and random effect covariance structures through the Template Model Builder (TMB). However, incorporating known sampling variances in the conventional inverse-variance formulation of meta-analysis was previously not easily accomplished in glmmTMB. Here, we introduce equalto, a new covariance structure in glmmTMB that allows users to supply a known sampling error variance-covariance matrix when fitting meta-analytic models. This enables explicit modelling of heteroscedasticity and dependence among sampling errors. The new…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
