The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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) as proposed by Li et al (2023) <doi:10.1097/EDE.0000000000001643>. 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.

Version: 1.0.1
Depends: R (≥ 2.10)
Imports: Deriv, MASS, Matrix, assertthat, sandwich, survival
Suggests: boot, furrr, future, geepack, knitr, mice, mitools, modelr, purrr, rlang, rmarkdown, stringr, testthat, tidyverse, magic, formattable, kableExtra
Published: 2024-01-13
DOI: 10.32614/CRAN.package.regmedint
Author: Kazuki Yoshida ORCID iD [ctb, aut], Yi Li ORCID iD [cre, aut], Maya Mathur ORCID iD [ctb]
Maintainer: Yi Li <yi.li10 at mail.mcgill.ca>
BugReports: https://github.com/kaz-yos/regmedint/issues
License: GPL-2
URL: https://kaz-yos.github.io/regmedint/
NeedsCompilation: no
Materials: NEWS
In views: CausalInference
CRAN checks: regmedint results

Documentation:

Reference manual: regmedint.pdf
Vignettes: Introduction to user interface functions
Implementation of formulas
Using bootstrapping with regemedint
Using multiple imputation with regmedint
Implementation of extended formulas when there are effect measure modifiers
Validation of extended formuals with effect modification using bootstrap

Downloads:

Package source: regmedint_1.0.1.tar.gz
Windows binaries: r-devel: regmedint_1.0.1.zip, r-release: regmedint_1.0.1.zip, r-oldrel: regmedint_1.0.1.zip
macOS binaries: r-release (arm64): regmedint_1.0.1.tgz, r-oldrel (arm64): regmedint_1.0.1.tgz, r-release (x86_64): regmedint_1.0.1.tgz, r-oldrel (x86_64): regmedint_1.0.1.tgz
Old sources: regmedint archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=regmedint to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.