English

MRT-SS Calculator: An R Shiny Application for Sample Size Calculation in Micro-Randomized Trials

Methodology 2020-08-07 v3

Abstract

The micro-randomized trial (MRT) is a new experimental design which allows for the investigation of the proximal effects of a "just-in-time" treatment, often provided via a mobile device as part of a mobile health intervention. As with a traditional randomized controlled trial, computing the minimum required sample size to achieve a desired power is a crucial step in designing an MRT. We present MRT-SS Calculator, an online sample-size calculator for micro-randomized trials, built with R Shiny. MRT-SS Calculator requires specification of time-varying patterns for the proximal treatment effect and expected treatment availability. We illustrate the implementation of MRT-SS Calculator using a mobile health trial, HeartSteps. The application can be accessed from https://pengliao.shinyapps.io/mrt-calculator.

Cite

@article{arxiv.1609.00695,
  title  = {MRT-SS Calculator: An R Shiny Application for Sample Size Calculation in Micro-Randomized Trials},
  author = {Nicholas J. Seewald and Ji Sun and Peng Liao},
  journal= {arXiv preprint arXiv:1609.00695},
  year   = {2020}
}

Comments

20 pages. Source code for the application is available at https://github.com/pengliao/mrt-ss-calculator

R2 v1 2026-06-22T15:38:54.691Z