regmedint

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

CRAN Package

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.

  • Version1.0.1
  • R versionunknown
  • LicenseGPL-2
  • Needs compilation?No
  • Last release01/13/2024

Documentation


Team


Insights

Last 30 days

This package has been downloaded 311 times in the last 30 days. Now we're getting somewhere! Enough downloads to populate a lively group chat. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 12 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsFeb 23, 2025
0 downloadsFeb 24, 2025
0 downloadsFeb 25, 2025
0 downloadsFeb 26, 2025
0 downloadsFeb 27, 2025
0 downloadsFeb 28, 2025
8 downloadsMar 1, 2025
6 downloadsMar 2, 2025
13 downloadsMar 3, 2025
15 downloadsMar 4, 2025
13 downloadsMar 5, 2025
12 downloadsMar 6, 2025
11 downloadsMar 7, 2025
7 downloadsMar 8, 2025
0 downloadsMar 9, 2025
9 downloadsMar 10, 2025
14 downloadsMar 11, 2025
8 downloadsMar 12, 2025
12 downloadsMar 13, 2025
10 downloadsMar 14, 2025
14 downloadsMar 15, 2025
4 downloadsMar 16, 2025
2 downloadsMar 17, 2025
17 downloadsMar 18, 2025
13 downloadsMar 19, 2025
18 downloadsMar 20, 2025
13 downloadsMar 21, 2025
8 downloadsMar 22, 2025
3 downloadsMar 23, 2025
12 downloadsMar 24, 2025
4 downloadsMar 25, 2025
6 downloadsMar 26, 2025
12 downloadsMar 27, 2025
28 downloadsMar 28, 2025
7 downloadsMar 29, 2025
12 downloadsMar 30, 2025
0 downloadsMar 31, 2025
0 downloadsApr 1, 2025
0 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
0
28

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 3,892 times in the last 365 days. Now we’re talking! This work is officially 'heard of in academic circles', just like those wild research papers on synthetic bananas. The day with the most downloads was Sep 11, 2024 with 43 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports6 packages
  • Suggests17 packages