About this applet
This web applet calculates the minimum sample size necessary for a Micro Randomized Trial with continuous proximal outcome.
How can a behavioral scientist use this applet?
Behavioral intervention scientists can use this code to calculate the sample size for an MRT with a continuous proximal outcome.
What method does this applet implement?
This code implements a sample size formula based on a test of the null hypothesis that the proximal effect (possibly a function of time) is zero. The method includes multiple small sample adjustments.
Related References
1. Seewald, N. J., Sun, J., & Liao, P. (2016). MRT-SS Calculator: An R shiny application for sample size calculation in micro-randomized trials. arXiv preprint arXiv:1609.00695.
2. Liao, P., Klasnja, P., Tewari, A., & Murphy, S. A. (2016). Sample size calculations for micro-randomized trials in mHealth. Statistics in medicine, 35(12), 1944–1971. https://doi.org/10.1002/sim.6847