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.