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

About This Code

This code calculates the minimum sample size necessary for a SMART with a longitudinal, count outcome, in which the primary aim is a comparison of the mean count between two adaptive interventions starting with different interventions.

How can a behavioral scientist use this code?

Behavioral intervention scientists can use this code to calculate the sample size for a SMART with a longitudinal, count outcome.

What method does this code implement?

This code enables users to calculate the relationship between the sample size and power by simulation experiment (the empirical power across Monte Carlo simulations). The data analysis method is a weighted least squares regression approach with a negative binomial link function (which is often used to analyze count outcomes with overdispersion). In a SMART, the weights (which are potentially impacted by treatment) are known, by design.

Upcoming Events

Hybrid Experimental Designs for Developing Mobile Interventions

July 6, 2023
Leibniz Institute for Research and Information in Education
Learn More

Optimization of Adaptive Interventions

July 15, 2023, 10:45 - 12:00 p.m.
NIH Summer Institute on Randomized Behavioral Clinical Trials
Learn More

Leveraging digital technology to improve employee health and well-being: New intervention and experimental approaches

August 15, 2023
Disney Data and Analytics Conference
Learn More

Advances in Adaptive Interventions to Improve Outcomes for Individuals with SUD and HIV

October 3, 2023
UCSF, Center for AIDS Prevention Studies
Learn More

Optimizing the Adaptation and Personalization of SUD Services

October 18, 2023, 1:00 - 2:30 p.m.
Addiction Health Services Research Conference 2023
Learn More

LET’S STAY IN TOUCH

Join the d3center Mailing List

Keep up to date with the latest news, events, software releases, learning modules, and resources from the d3center.