The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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

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.

Version: 0.4.1
Depends: R (≥ 4.2)
Imports: rootSolve, stats, geepack, sandwich, mgcv, randomForest, ranger, boot
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), SuperLearner, earth, dplyr
Published: 2026-01-24
DOI: 10.32614/CRAN.package.MRTAnalysis
Author: Tianchen Qian ORCID iD [aut, cre], Shaolin Xiang [aut], Zhaoxi Cheng [aut], Xinyi Song [aut], John Dziak [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)
Time-Varying Causal Excursion Effect Mediation in MRT: Continuous Distal Outcomes (source, R code)
Primary and Secondary Analysis for Micro-Randomized Trial (MRT): Proximal Outcomes (source, R code)
Standardized Proximal Effect Size in MRTAnalysis (source, R code)

Downloads:

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

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.