Calculate the sample size for a SMART with a binary, longitudinal outcome, in which the primary aim is to compare the log-odds of success between two adaptive interventions
This code calculates the minimum sample size necessary for a SMART with a binary longitudinal outcome, in which the primary aim is a comparison of the log-odds of sucess between two adaptive interventions starting with different interventions.