MRTAnalysis: Assessing Proximal and Distal Causal Excursion Effects for Micro-Randomized Trials

Estimates marginal causal excursion effects and moderated causal excursion effects for micro-randomized trial (MRT). Applicable to MRT with binary treatment options and continuous or binary outcomes. The method for MRT with continuous outcomes is the weighted centered least squares (WCLS) by Boruvka et al. (2018) <doi:10.1080/01621459.2017.1305274>. The method for MRT with binary outcomes is the estimator for marginal excursion effect (EMEE) by Qian et al. (2021) <doi:10.1093/biomet/asaa070>. Estimates marginal and moderated causal excursion effects for micro-randomized trials (MRTs) with binary treatment options. Supports continuous and binary proximal outcomes as well as distal outcomes. Methods include weighted and centered least squares (WCLS) for continuous proximal outcomes by Boruvka et al. (2018) <doi:10.1080/01621459.2017.1305274>, the estimator for marginal excursion effect (EMEE) for binary proximal outcomes by Qian et al. (2021) <doi:10.1093/biomet/asaa070>, and two-stage estimation of distal causal excursion effects (DCEE) for continuous distal outcomes <doi:10.48550/arXiv.2502.13500>.

Version: 0.2.0
Depends: R (≥ 4.2)
Imports: rootSolve, stats, geepack, sandwich, mgcv, randomForest, ranger
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), SuperLearner, earth
Published: 2025-08-29
Author: Tianchen Qian ORCID iD [aut, cre], Shaolin Xiang [aut], Zhaoxi Cheng [aut], Audrey Boruvka [ctb]
Maintainer: Tianchen Qian <t.qian at uci.edu>
License: GPL-3
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: MRTAnalysis results

Documentation:

Reference manual: MRTAnalysis.html , MRTAnalysis.pdf
Vignettes: Exploratory Analysis for Micro-Randomized Trial (MRT): Continuous Distal Outcomes (source, R code)
Primary and Secondary Analysis for Micro-Randomized Trial (MRT): Proximal Outcomes (source, R code)

Downloads:

Package source: MRTAnalysis_0.2.0.tar.gz
Windows binaries: r-devel: MRTAnalysis_0.1.2.zip, r-release: MRTAnalysis_0.1.2.zip, r-oldrel: MRTAnalysis_0.1.2.zip
macOS binaries: r-release (arm64): MRTAnalysis_0.1.2.tgz, r-oldrel (arm64): MRTAnalysis_0.1.2.tgz, r-release (x86_64): MRTAnalysis_0.2.0.tgz, r-oldrel (x86_64): MRTAnalysis_0.2.0.tgz
Old sources: MRTAnalysis archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=MRTAnalysis to link to this page.