Software Application Profile: BKMR-CMA: a novel R command for Bayesian mediation analysis in environmental mixture studies.
Zilan Chai, Arce Domingo-Relloso, Katrina L Devick, Maitreyi Mazumndar, Ana Navas-Acien, Brent A Coull, Linda Valeri
Department of Biostatistics, Columbia University Mailman School of Public Health, New York, NY, United States. · Scottsdale, AZ, United States.
Key points
From the paper's conclusion- Implementation The mediation.bkmr command conducts a mediation analysis evaluating the potential intermediate role of a variable on the association between a mixture of exposures and an outcome.
Abstract
MOTIVATION: Machine learning is becoming increasingly used in high-dimensional mediation settings. In this work, we present software that implements the Bayesian Kernel Machine Regression-Causal Mediation Analysis (BKMR-CMA) algorithm, which extends the popular BKMR methodology to causal mediation analysis in the presence of multiple correlated exposures. Its functions are implemented in the R package causalmixtures. IMPLEMENTATION: The mediation.bkmr command conducts a mediation analysis evaluating the potential intermediate role of a variable on the association between a mixture of exposures and an outcome. The CDE.bkmr command computes controlled direct effects when fixing the mediator to different levels. GENERAL FEATURES: The BKMR-CMA method, implemented in the mediation.bkmr and the CDE.bkmr commands from the causalmixtures R package, is able to decompose the total effect into the natural direct and the natural indirect effect, while evaluating interventions on the mediator, incorporating nonlinear associations between exposure, mediator, and outcome, accounting for correlations between exposures, testing for interactions, and providing tools for detailed visualization of results. AVAILABILITY: The causalmixtures R package is freely available for download on Github: https://arcedr.github.io/causalmixtures/. Details of implementation can be found in the quick start guide: https://arcedr.github.io/causalmixtures/articles/BKMRCMA_QuickStart.html.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Estimand Alignment and Implementation Sensitivity in Causal Mediation Analysis of Environmental Mixtures: Simulation, Plasmode, and Applied StudyStats · 2026
- A comparison and evaluation of statistical methods for mediation analysis with mixtures of environmental exposuresBMC Medical Research Methodology · 2026
- KernelMix: Bayesian kernel machine regression in PythonarXiv · 2026
- Bayesian Mediation Analysis With Bayesian Additive Regression TreesEnvironmetrics · 2026
- Spatially varying effect estimates of mediation in the presence of spatial auto-correlationmedRxiv · 2026
- Semiparametric causal mediation analysis in cluster-randomized trials with post-treatment confoundingarXiv · 2026