Package: regmedint 1.0.1
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.
Authors:
regmedint_1.0.1.tar.gz
regmedint_1.0.1.zip(r-4.7)regmedint_1.0.1.zip(r-4.6)regmedint_1.0.1.zip(r-4.5)
regmedint_1.0.1.tgz(r-4.6-any)regmedint_1.0.1.tgz(r-4.5-any)
regmedint_1.0.1.tar.gz(r-4.7-any)regmedint_1.0.1.tar.gz(r-4.6-any)
regmedint_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
regmedint/json (API)
NEWS
| # Install 'regmedint' in R: |
| install.packages('regmedint', repos = c('https://kaz-yos.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/kaz-yos/regmedint/issues
Pkgdown/docs site:https://kaz-yos.github.io
- vv2015 - Example dataset from Valeri and VanderWeele 2015.
causal-inferencemediation-analysis
Last updated from:78a14701a4. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 195 | ||
| source / vignettes | OK | 228 | ||
| linux-release-x86_64 | OK | 185 | ||
| macos-release-arm64 | OK | 144 | ||
| macos-oldrel-arm64 | OK | 186 | ||
| windows-devel | OK | 189 | ||
| windows-release | OK | 135 | ||
| windows-oldrel | OK | 139 | ||
| wasm-release | OK | 130 |
Dependencies:assertthatDerivlatticeMASSMatrixsandwichsurvivalzoo
Implementation of extended formulas when there are effect measure modifiers
Rendered fromvig_05_emm.Rmdusingknitr::rmarkdownon May 06 2026.Last update: 2022-02-18
Started: 2022-02-03
Implementation of formulas
Rendered fromvig_02_formulas.Rmdusingknitr::rmarkdownon May 06 2026.Last update: 2021-05-11
Started: 2020-04-26
Introduction to user interface functions
Rendered fromvig_01_introduction.Rmdusingknitr::rmarkdownon May 06 2026.Last update: 2022-02-03
Started: 2020-04-26
Using bootstrapping with regemedint
Rendered fromvig_03_bootstrap.Rmdusingknitr::rmarkdownon May 06 2026.Last update: 2021-05-11
Started: 2020-04-26
Using multiple imputation with regmedint
Rendered fromvig_04_mi.Rmdusingknitr::rmarkdownon May 06 2026.Last update: 2021-05-11
Started: 2020-04-26
Validation of extended formuals with effect modification using bootstrap
Rendered fromvig_06_delta_boot.Rmdusingknitr::rmarkdownon May 06 2026.Last update: 2022-03-11
Started: 2022-02-03
