Package: MRTAnalysis
Type: Package
Title: Assessing Proximal, Distal, and Mediated Causal Excursion
        Effects for Micro-Randomized Trials
Version: 0.4.1
Date: 2026-01-24
Authors@R: c(
    person("Tianchen", "Qian", , "t.qian@uci.edu", role = c("aut", "cre"),
           comment = c(ORCID = "0000-0003-4282-7826")),
    person("Shaolin", "Xiang", role = "aut"),
    person("Zhaoxi", "Cheng", role = "aut"),
    person("Xinyi", "Song", , "songx12@uci.edu", role = "aut"),
    person("John", "Dziak", , "dziakj1@gmail.com", role = "aut"),
    person("Audrey", "Boruvka", role = "ctb")
  )
Description: 
	Provides methods to analyze micro-randomized trials (MRTs) with binary treatment options.  Supports four types of analyses: (1) proximal causal excursion effects, including weighted and centered least squares (WCLS) for continuous proximal outcomes by Boruvka et al. (2018) <doi:10.1080/01621459.2017.1305274> and the estimator for marginal excursion effect (EMEE) for binary proximal outcomes by Qian et al. (2021) <doi:10.1093/biomet/asaa070>; (2) distal causal excursion effects (DCEE) for continuous distal outcomes using a two-stage estimator by Qian (2025) <doi:10.1093/biomtc/ujaf134>; (3) mediated causal excursion effects (MCEE) for continuous distal outcomes, estimating natural direct and indirect excursion effects in the presence of time-varying mediators by Qian (2025) <doi:10.48550/arXiv.2506.20027>; and (4) standardized proximal effect size estimation for continuous proximal outcomes, generalizing the approach in Luers et al. (2019) <doi:10.1007/s11121-017-0862-5> to allow adjustment for baseline and time-varying covariates for improved efficiency.
License: GPL-3
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.3
Imports: rootSolve, stats, geepack, sandwich, mgcv, randomForest,
        ranger, boot
Depends: R (>= 4.2)
Suggests: knitr, rmarkdown, testthat (>= 3.0.0), SuperLearner, earth,
        dplyr
VignetteBuilder: knitr
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2026-01-24 20:27:41 UTC; tqian
Author: Tianchen Qian [aut, cre] (ORCID:
    <https://orcid.org/0000-0003-4282-7826>),
  Shaolin Xiang [aut],
  Zhaoxi Cheng [aut],
  Xinyi Song [aut],
  John Dziak [aut],
  Audrey Boruvka [ctb]
Maintainer: Tianchen Qian <t.qian@uci.edu>
Repository: CRAN
Date/Publication: 2026-01-24 22:00:02 UTC
Built: R 4.6.0; ; 2026-04-30 14:04:41 UTC; unix
