About this code

This code is used to estimate and compare the mean change in a longitudinal outcome for the adaptive interventions embedded in a SMART.

How can a behavioral scientist use this code?

Behavioral intervention scientists can use this code to make inferences about the relative causal effects of one adaptive intevention versus another using data from a SMART with a longitudinal, continuous outcome.

What method does this code implement?

This code implements a weighted least squares regression approach that is similar to longitudinal regression analyses using GEE. In a SMART, the weights (which are potentially impacted by treatment) are known, by design.

Related References

Nahum-Shani, I., Almirall, D., Yap, J. R. T., McKay, J. R., Lynch, K. G., Freiheit, E. A., & Dziak, J. J. (2020). SMART longitudinal analysis: A tutorial for using repeated outcome measures from SMART studies to compare adaptive interventions. Psychological methods25(1), 1–29. doi:10.1037/met0000219

Join the d3center Mailing List

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