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) and the estimator for marginal excursion effect (EMEE) for binary proximal outcomes by Qian et al. (2021) ; (2) distal causal excursion effects (DCEE) for continuous distal outcomes using a two-stage estimator by Qian (2025) ; (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) ; and (4) standardized proximal effect size estimation for continuous proximal outcomes, generalizing the approach in Luers et al. (2019) 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-10-05 08:36:47 UTC; root Author: Tianchen Qian [aut, cre] (ORCID: ), Shaolin Xiang [aut], Zhaoxi Cheng [aut], Xinyi Song [aut], John Dziak [aut], Audrey Boruvka [ctb] Maintainer: Tianchen Qian Config/pak/sysreqs: libicu-dev Repository: https://tqian.r-universe.dev Date/Publication: 2026-01-24 22:00:02 UTC RemoteUrl: https://github.com/cran/MRTAnalysis RemoteRef: HEAD RemoteSha: ca29864ce922a282faba351a1479a278c6269984