[Paper Review] Linear mixed models with endogenous covariates: modeling sequential treatment effects with application to a mobile health study
This paper proposes a method for fitting linear mixed models with endogenous time-varying covariates in micro-randomized trials (MRTs), where covariates like prior activity levels are correlated with past treatments and outcomes. Under a conditional independence assumption, standard LMM software can be used to estimate fixed effects and predict random effects, enabling valid inference on person-specific treatment effect heterogeneity despite endogeneity.
Mobile health is a rapidly developing field in which behavioral treatments are delivered to individuals via wearables or smartphones to facilitate health-related behavior change. Micro-randomized trials (MRT) are an experimental design for developing mobile health interventions. In an MRT the treatments are randomized numerous times for each individual over course of the trial. Along with assessing treatment effects, behavioral scientists aim to understand between-person heterogeneity in the treatment effect. A natural approach is the familiar linear mixed model. However, directly applying linear mixed models is problematic because potential moderators of the treatment effect are frequently endogenous---that is, may depend on prior treatment. We discuss model interpretation and biases that arise in the absence of additional assumptions when endogenous covariates are included in a linear mixed model. In particular, when there are endogenous covariates, the coefficients no longer have the customary marginal interpretation. However, these coefficients still have a conditional-on-the-random-effect interpretation. We provide an additional assumption that, if true, allows scientists to use standard software to fit linear mixed model with endogenous covariates, and person-specific predictions of effects can be provided. As an illustration, we assess the effect of activity suggestion in the HeartSteps MRT and analyze the between-person treatment effect heterogeneity.
Motivation & Objective
- To address the challenge of biased inference in linear mixed models when time-varying covariates are endogenous, i.e., correlated with past treatments or outcomes.
- To enable the use of standard linear mixed model (LMM) software for estimating treatment effects and predicting person-specific random effects in micro-randomized trials (MRTs).
- To provide a formal model interpretation that clarifies the conditional-on-random-effect meaning of coefficients when covariates are endogenous.
- To demonstrate the method’s validity through simulation and application to the HeartSteps MRT, assessing the effect of activity suggestions on physical activity.
Proposed method
- Proposes a hierarchical model where the outcome depends on time-varying treatments, endogenous covariates, and individual-specific random effects.
- Imposes a conditional independence assumption (Equation 10) that ensures the likelihood factorizes into a form compatible with standard LMM estimation.
- Derives the marginal likelihood for variance components, showing it matches that of a standard LMM, enabling REML estimation via standard software.
- Uses empirical Bayes and MAP estimation for random effects, showing that posterior distributions of random effects are equivalent to those in standard LMMs when covariates are treated as fixed.
- Employs a joint likelihood approach that integrates over latent random effects and hyperparameters, allowing estimation of fixed and variance components.
- Validates the method through simulations across varying sample sizes and time points, assessing bias, standard deviation, and coverage of confidence intervals.
Experimental results
Research questions
- RQ1How does endogeneity of time-varying covariates affect the interpretation and validity of standard linear mixed models in micro-randomized trials?
- RQ2Under what assumptions can standard LMM software be used to estimate treatment effects and predict random effects when covariates are endogenous?
- RQ3What is the impact of violating the conditional independence assumption on the consistency of variance component estimates?
- RQ4How well do the proposed methods perform in estimating fixed effects and variance components under realistic MRT data-generating processes?
Key findings
- When the conditional independence assumption holds, standard LMM software can be used to estimate fixed effects and predict random effects without bias.
- Coefficients in the model retain a conditional-on-random-effect interpretation, even though they lack a marginal causal interpretation when covariates are endogenous.
- Simulations show consistent estimation of variance components under the conditional independence assumption (GM 1 and GM 2), but inconsistent estimates when the assumption is violated (GM 3).
- The method successfully recovers the true treatment effect and person-specific heterogeneity in the HeartSteps MRT application, where prior physical activity levels were endogenous covariates.
- Coverage probabilities of 95% confidence intervals for fixed effects were close to nominal levels in simulations, indicating valid frequentist inference.
- The approach enables efficient control for endogenous covariates in MRTs, reducing variance in treatment effect estimation while maintaining valid inference.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.