regmedint: Regression-Based Causal Mediation Analysis with Interaction and Effect Modification Terms

This is an extension of the regression-based causal mediation analysis first proposed by Valeri and VanderWeele (2013) <doi:10.1037/a0031034> and Valeri and VanderWeele (2015) <doi:10.1097/EDE.0000000000000253>). It 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 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.

Package details

AuthorKazuki Yoshida [cre, aut] (<https://orcid.org/0000-0002-2030-3549>), Yi Li [ctb, aut] (<https://orcid.org/0000-0002-9359-210X>), Maya Mathur [ctb] (<https://orcid.org/0000-0001-6698-2607>)
MaintainerKazuki Yoshida <kazukiyoshida@mail.harvard.edu>
LicenseGPL-2
Version1.0.0
URL https://kaz-yos.github.io/regmedint/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("regmedint")

Try the regmedint package in your browser

Any scripts or data that you put into this service are public.

regmedint documentation built on April 7, 2022, 1:17 a.m.