Package: regmedint
Title: Regression-Based Causal Mediation Analysis with Interaction and
        Effect Modification Terms
Version: 1.0.2
Authors@R: c(  
    person("Kazuki", "Yoshida",
    email = "kazukiyoshida@mail.harvard.edu",
    role = c("ctb","aut"),
    comment = c(ORCID = "0000-0002-2030-3549")),
    person("Yi", "Li",
    email = "yi.li10@mail.mcgill.ca",
    role = c("cre","aut"),
    comment = c(ORCID = "0000-0002-9359-210X")),
    person("Maya", "Mathur",
    role = c("ctb"),
    comment = c(ORCID = "0000-0001-6698-2607"))
    )
Description: 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.
License: GPL-2
Encoding: UTF-8
LazyData: true
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
RoxygenNote: 7.3.3
VignetteBuilder: knitr
URL: https://kaz-yos.github.io/regmedint/
BugReports: https://github.com/kaz-yos/regmedint/issues
Depends: R (>= 2.10)
NeedsCompilation: no
Packaged: 2026-03-06 05:49:11 UTC; yili
Author: Kazuki Yoshida [ctb, aut] (ORCID:
    <https://orcid.org/0000-0002-2030-3549>),
  Yi Li [cre, aut] (ORCID: <https://orcid.org/0000-0002-9359-210X>),
  Maya Mathur [ctb] (ORCID: <https://orcid.org/0000-0001-6698-2607>)
Maintainer: Yi Li <yi.li10@mail.mcgill.ca>
Repository: CRAN
Date/Publication: 2026-03-06 08:00:02 UTC
Built: R 4.6.0; ; 2026-04-26 04:39:25 UTC; unix
