arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.04084stat.COstat.ME

使用glmmTMB R包进行元分析

Meta-analysis with the glmmTMB R package

Evolution & Ecology Research Centre, UNSW(新南威尔士大学进化与生态研究中心);School of Mathematics and Statistics, UNSW(新南威尔士大学数学与统计学院);Stats Central, Mark Wainwright Analytical Centre, UNSW(新南威尔士大学Mark Wainwright分析中心统计中心);National Institute of Aquatic Resources, Danish Technical University(丹麦技术大学国家水产研究所);Department of Mathematics & Statistics, McMaster University(麦克马斯特大学数学与统计系);Department of Biology, McMaster University(麦克马斯特大学生物学系);Department of Biological Sciences, Faculty of Science, The University of Alberta(阿尔伯塔大学理学院生物科学系);Department of Biosystems Engineering, Zhejiang University(浙江大学农业生物系统工程系);Department of Psychiatry and Neuropsychology, Maastricht University(马斯特里赫特大学精神病学与神经心理学系)

Coralie Williams, Maeve McGillycuddy, Mollie Brooks, Benjamin M. Bolker, Ayumi Mizuno, Yefeng Yang, Wolfgang Viechtbauer, David I. Warton, Shinichi Nakagawa

AI总结:

本文提出equalto新协方差结构,使glmmTMB能处理已知采样方差,支持异方差和采样误差间依赖建模,通过模拟验证其与metafor结果一致,拓展了R在证据综合中的应用。

摘要:

元分析模型通常被建模为混合效应模型,其中效应大小的采样方差被视为已知。原则上,此类模型可以使用标准混合建模软件如glmmTMB R包拟合。该通用包为广义线性混合模型(GLMMs)提供灵活性,通过模板模型构建器(TMB)实现分布和随机效应协方差结构的灵活性。然而,将已知采样方差纳入传统反方差公式元分析的常规实现之前在glmmTMB中并不容易。本文引入equalto,一种新的glmmTMB协方差结构,允许用户在拟合元分析模型时提供已知的采样误差方差-协方差矩阵。这使能够显式建模异方差和采样误差间的依赖关系。新的实现提供了一种替代方法来拟合元分析模型,对已熟悉glmmTMB的用户而言非常方便。通过模拟,我们展示新实现产生的模型估计与已建立的metafor包结果一致,并通过医学、进化生态学和社会科学中的出版元分析示例说明其适用性。此外,glmmTMB中的这一新实现支持更灵活的元分析数据建模,扩展了可用于证据综合的R工具包。

英文摘要:

Two common formulations of meta-analytical models include the standard two-stage normal-normal models, which synthesise estimated effect sizes, and the one-stage generalised linear mixed model (GLMM), which directly model the underlying outcome data across studies. The general-purpose glmmTMB R package provides flexible response distributions and random-effect covariance structures through Template Model Builder (TMB). Its existing functionality can fit one-stage meta-analytic GLMM specifications. However, incorporating known sampling variances and covariances in the conventional two-stage 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. Using simulations, we show that glmmTMB produces estimates identical to those from the corresponding metafor package functions for normal-normal models and similar estimates for GLMM specifications. We illustrate these models using published meta-analysis datasets in medicine, evolutionary ecology, and the social sciences. With the addition of the equalto covariance structure, glmmTMB now provides a unified and flexible framework for fitting two-stage normal-normal models and one-stage meta-analytic GLMMs, including multivariate specifications. These models can be fitted using the same glmmTMB() function, expanding the R toolkit available for evidence synthesis.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑