Abstract
Multiple 2 by 2 tables often arise in meta-analysis which combines statistical evidence from multiple studies. Two risks within the same study are possibly correlated because they share some common factors such as environment and population structure. This package implements a set of novel Bayesian approaches for multivariate meta-analysis when the risks within the same study are independent or correlated. The exact posterior inference of odds ratio, relative risk, and risk difference given either a single 2 by 2 table or multiple 2 by 2 tables is provided.
Introduction
Meta-analysis is a critical statistical process used to combine evidence from multiple independent studies to derive more powerful and generalized conclusions. However, a significant complication in clinical research arises when a single study reports multiple outcomes, such as two different types of risk. These outcomes are frequently correlated because they share the same environment, population structure, or study design.
Traditional meta-analysis methods often ignore this within-study correlation, treating outcomes as independent. This simplification can lead to biased estimates and overconfident results (narrower confidence intervals than justified). The mmeta package addresses this gap by providing a robust Bayesian framework that explicitly models these dependencies, ensuring more accurate statistical inference.
Modeling Framework
The mmeta package implements two primary modeling strategies to handle multivariate meta-analysis:
- Independent Beta-Binomial Model: This model assumes that the risks within a study are independent, serving as a baseline for comparison.
- Sarmanov Beta-Binomial Model: This sophisticated approach utilizes the Sarmanov bivariate distribution to account for the correlation between risks within the same study. By using the Sarmanov distribution, researchers can treat within-study correlation as a parameter to be estimated rather than a nuisance to be ignored.
Technical Advantages
- Exact Posterior Inference: Unlike many frequentist or Bayesian methods that rely on large-sample approximations—which often fail when events are rare or sample sizes are small—
mmetaprovides exact posterior distributions. - Comprehensive Effect Measures: The package supports the three most common effect measures in clinical research: Odds Ratio (OR), Relative Risk (RR), and Risk Difference (RD).
- Empirical Bayes Integration: The package employs Empirical Bayes methods to estimate hyperparameters by maximizing marginal likelihood across all included studies, providing a data-driven approach to prior selection.
Package Workflow and Visualization
The package is designed with a clean, unified workflow: Create -> Fit -> Summarize/Plot. This pipeline makes complex Bayesian multivariate modeling accessible to researchers without requiring deep expertise in Markov Chain Monte Carlo (MCMC) programming.
Visualization is a core strength of mmeta. It produces high-quality ggplot2 objects, allowing users to visualize the entire posterior density of the effect size rather than just a single point estimate. Key outputs include:
- Forest Plots: Displaying 95% credible intervals across studies.
- Density Plots: Comparing prior and posterior distributions of risks to assess the impact of the data on the model.
Real-World Applications
The package includes several real-world datasets to demonstrate its utility in diverse clinical contexts. These datasets represent the types of multiple 2x2 tables the package is designed to analyze.
colorectal: Data from 20 case-control studies investigating the association between $N$-acetyltransferase 2 (NAT2) acetylation status and colorectal cancer risk.diabetes: Data from 20 cohort studies exploring the association between Gestational Diabetes Mellitus (GDM) and the subsequent development of Type 2 Diabetes (T2DM).
withdrawal: Data from 16 clinical trials investigating patient withdrawal due to adverse events during tricyclic antidepressant treatment.
Conclusion and Future Directions
The mmeta package provides a necessary tool for researchers dealing with correlated outcomes in meta-analysis. While the Sarmanov model imposes certain mathematical constraints on the correlation coefficient ($\rho$), it offers a significant advancement over independence-only models. Future iterations of the package may expand beyond 2x2 tables to accommodate larger contingency tables or continuous variable outcomes, further broadening the scope of Bayesian multivariate meta-analysis.
Summary updated