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 | 
| Maintainer: | Tianchen Qian <t.qian at uci.edu> | 
| License: | GPL-3 | 
| NeedsCompilation: | no | 
| Materials: | README, NEWS | 
| CRAN checks: | MRTAnalysis results | 
| Package source: | MRTAnalysis_0.3.0.tar.gz | 
| Windows binaries: | r-devel: MRTAnalysis_0.3.0.zip, r-release: MRTAnalysis_0.3.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 | 
Please use the canonical form https://CRAN.R-project.org/package=MRTAnalysis to link to this page.