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.5)regmedint_1.0.1.zip(r-4.4)regmedint_1.0.1.zip(r-4.3)
regmedint_1.0.1.tgz(r-4.4-any)regmedint_1.0.1.tgz(r-4.3-any)
regmedint_1.0.1.tar.gz(r-4.5-noble)regmedint_1.0.1.tar.gz(r-4.4-noble)
regmedint_1.0.1.tgz(r-4.4-emscripten)regmedint_1.0.1.tgz(r-4.3-emscripten)
regmedint.pdf |regmedint.html✨
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
- vv2015 - Example dataset from Valeri and VanderWeele 2015.
causal-inferencemediation-analysis
Last updated 11 months agofrom:5c5270b6d6. Checks:OK: 1 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 03 2024 |
R-4.5-win | NOTE | Nov 03 2024 |
R-4.5-linux | NOTE | Nov 03 2024 |
R-4.4-win | NOTE | Nov 03 2024 |
R-4.4-mac | NOTE | Nov 03 2024 |
R-4.3-win | NOTE | Nov 03 2024 |
R-4.3-mac | NOTE | Nov 03 2024 |
Exports:regmedint
Dependencies:assertthatDerivlatticeMASSMatrixsandwichsurvivalzoo
Implementation of extended formulas when there are effect measure modifiers
Rendered fromvig_05_emm.Rmd
usingknitr::rmarkdown
on Nov 03 2024.Last update: 2022-02-18
Started: 2022-02-03
Implementation of formulas
Rendered fromvig_02_formulas.Rmd
usingknitr::rmarkdown
on Nov 03 2024.Last update: 2021-05-11
Started: 2020-04-26
Introduction to user interface functions
Rendered fromvig_01_introduction.Rmd
usingknitr::rmarkdown
on Nov 03 2024.Last update: 2022-02-03
Started: 2020-04-26
Using bootstrapping with regemedint
Rendered fromvig_03_bootstrap.Rmd
usingknitr::rmarkdown
on Nov 03 2024.Last update: 2021-05-11
Started: 2020-04-26
Using multiple imputation with regmedint
Rendered fromvig_04_mi.Rmd
usingknitr::rmarkdown
on Nov 03 2024.Last update: 2021-05-11
Started: 2020-04-26
Validation of extended formuals with effect modification using bootstrap
Rendered fromvig_06_delta_boot.Rmd
usingknitr::rmarkdown
on Nov 03 2024.Last update: 2022-03-11
Started: 2022-02-03