Package: MRTAnalysis 0.4.1
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.
Authors:
MRTAnalysis_0.4.1.tar.gz
MRTAnalysis_0.4.1.zip(r-4.7-any)MRTAnalysis_0.4.1.zip(r-4.6-any)MRTAnalysis_0.4.1.zip(r-4.5-any)
MRTAnalysis_0.4.1.tgz(r-4.6-any)MRTAnalysis_0.4.1.tgz(r-4.5-any)
MRTAnalysis_0.4.1.tar.gz(r-4.7-any)MRTAnalysis_0.4.1.tar.gz(r-4.6-any)
MRTAnalysis_0.4.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
MRTAnalysis/json (API)
| # Install 'MRTAnalysis' in R: |
| install.packages('MRTAnalysis', repos = c('https://tqian.r-universe.dev', 'https://cloud.r-project.org')) |
- data_binary - A synthetic data set of an MRT with binary proximal outcomes
- data_distal_continuous - A synthetic data set of an MRT with continuous distal outcome
- data_example_for_standardized_effect - Example micro-randomized trial (MRT) data for standardized effect size
- data_mimicHeartSteps - A synthetic data set that mimics the HeartSteps V1 data structure to illustrate the use of [wcls()] function for continuous proximal outcomes
- data_time_varying_mediator_distal_outcome - Example longitudinal dataset with time-varying mediator and distal outcome
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:ca29864ce9. Checks:2 NOTE, 7 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | NOTE | 137 | ||
| source / vignettes | OK | 226 | ||
| linux-release | OK | 168 | ||
| macos-release | OK | 244 | ||
| macos-oldrel | OK | 169 | ||
| windows-devel | NOTE | 119 | ||
| windows-release | OK | 112 | ||
| windows-oldrel | OK | 121 | ||
| wasm-release | OK | 102 |
Exports:calculate_mrt_effect_sizedceeemeeemee2mceemcee_config_gammcee_config_glmmcee_config_knownmcee_config_lmmcee_config_makermcee_config_rangermcee_config_rfmcee_config_slmcee_config_sl_usermcee_generalmcee_userfit_nuisancewcls
Dependencies:backportsbootbroomclicpp11dplyrgeepackgenericsgluelatticelifecyclemagrittrMASSMatrixmgcvnlmepillarpkgconfigpurrrR6randomForestrangerRcppRcppEigenrlangrootSolvesandwichstringistringrtibbletidyrtidyselectutf8vctrswithrzoo
Last update: 2026-01-24
Started: 2026-01-24
Last update: 2025-09-09
Started: 2025-09-09
Last update: 2025-08-29
Started: 2025-08-29
Last update: 2025-08-29
Started: 2025-08-29
