About this code
This code is used to estimate and compare the mean of a continuous end-of-study 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 statistical inferences about the relative causal effects of one adaptive intervention versus another using data from a SMART with a continuous outcome that is not longitudinal.
What method does this code implement?
This code implements a weighted least squares regression approach. In a SMART, the weights (which are potentially impacted by treatment) are known, by design.