This is an extension of the regression-based causal mediation analysis first proposed by Valeri and VanderWeele (2013) and Valeri and VanderWeele (2015). The current version supports including effect measure modification by covariates (treatment-covariate and mediator-covariate product terms in mediator and outcome regression models). It also accommodates the original ‘SAS’ macro (can be found at Dr. VanderWeele’s Tools and Tutorials) and PROC CAUSALMED procedure in ‘SAS’ when there is no effect measure modification. 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.
To cite this software, please use: regmedint (v1.0.0; Yoshida, Li, & Mathur, 2021)
The following grid of models are implemented. yreg
refers to the
outcome model and mreg
refers to the mediator model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.