Regression-Based Causal Mediation Analysis with an Interaction Term

'R' implementation of the regression-based causal mediation analysis with a treatment-mediator interaction term, as originally implemented in the 'SAS' macro by Valeri and VanderWeele (2013) and Valeri and VanderWeele (2015) . Linear and logistic models are supported for the mediator model. Linear, logistic, loglinear, Poisson, negative binomial, Cox, and accelerated failure time (exponential and Weibull) models are supported for the outcome model.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.1 by Kazuki Yoshida, 5 months ago

Report a bug at

Browse source code at

Authors: Kazuki Yoshida [cre, aut] , Yi Li [ctb, aut] , Maya Mathur [ctb]

Documentation:   PDF Manual  

GPL-2 license

Imports Deriv, MASS, Matrix, assertthat, sandwich, survival

Suggests boot, furrr, future, geepack, knitr, mice, mitools, modelr, purrr, rlang, rmarkdown, stringr, testthat, tidyverse

See at CRAN