About this code
This code calculates the minimum sample size necessary for a SMART with a continuous longitudinal outcome, in which the primary aim is a comparison of the mean of the outcome between two adaptive interventions starting with different interventions.
How can a behavioral scientist use this code?
Behavioral scientists can use this code to calculate the sample size for a SMART with a longitudinal continuous outcome.
What method does this code implement?
This code implements sample size formulae based on a test of the null hypothesis that the difference in means between two adaptive interventions is zero.
Related References
Seewald NJ, Kidwell KM, Nahum-Shani I, Wu T, McKay JR, Almirall D. (2020). Sample size considerations for comparing dynamic treatment regimens in a sequential multiple-assignment randomized trial with a continuous longitudinal outcome. Statistical Methods in Medical Research, doi:10.1177/0962280219877520