Calculate the sample size for a SMART with a continuous, longitudinal outcome, in which the primary aim is to compare the mean between two adaptive interventions

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.

Access / Downloads

View Publications
Computer Code
Figures and Data