Estimate the proximal and distal causal effects of a just-in-time intervention component on a continuous outcome using data from a Micro Randomized Trial

About This Code

This code is used to estimate the causal effect of a just-in-time intervention component on the mean of a continuous proximal or distal outcome using data from an MRT.

How can a behavioral scientist use this code?

Behavioral intervention scientists can use this code to make statistical inferences about the proximal and lagged causal effects of a JITAI intervention component on a continuous outcome. This code can also be used by behavioral intervention scientists to assess how the causal effect of a just-in-time intervention component is moderated by time-varying factors.

What method does this code implement?

This code implements an easy-to-use, weighted least squares regression estimator for assessing causal effects of just-in-time components in an MRT. In an MRT, the weights (which are potentially impacted by prior treatment) are known, by design.

Access Links

View Code on GitHub
Related Publication

Upcoming Events

View All Events

Introduction to MAISYs

Prevention Science and Methodology Group Virtual Grand Rounds
January 24, 2023

Introduction to MAISYs

University of Florida Health Outcomes and Biomedical Informatics Grand Rounds
February 13, 2023
Training Institute

Getting SMART

Comprehensive Program for Adaptive Interventions Training in Education (CATIE)
March 14, 2023
View All Events


Join the d3center Mailing List

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