The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
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[@]dogado.de.

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 three 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.48550/arXiv.2502.13500>; and (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>.

Version: 0.3.0
Depends: R (≥ 4.2)
Imports: rootSolve, stats, geepack, sandwich, mgcv, randomForest, ranger
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), SuperLearner, earth, dplyr
Published: 2025-09-09
DOI: 10.32614/CRAN.package.MRTAnalysis
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)
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)

Downloads:

Package source: MRTAnalysis_0.3.0.tar.gz
Windows binaries: r-devel: MRTAnalysis_0.3.0.zip, r-release: MRTAnalysis_0.2.0.zip, r-oldrel: MRTAnalysis_0.3.0.zip
macOS binaries: r-release (arm64): MRTAnalysis_0.3.0.tgz, r-oldrel (arm64): MRTAnalysis_0.3.0.tgz, r-release (x86_64): MRTAnalysis_0.3.0.tgz, r-oldrel (x86_64): MRTAnalysis_0.3.0.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.
Health stats visible at Monitor.