New Model Enables Person-Specific Lag Detection in Longitudinal Data

Amartya Bhattacharya· June 15, 2026 View original

Summary

Researchers developed DTVEM-RE, a hierarchical random-effects extension of the Differential Time-Varying Effect Model, allowing for person-specific lag coefficients in intensive longitudinal data. This model, available in Bayesian and continuous-time versions, accurately recovers individual differences in lag effects and provides superior one-step-ahead predictions compared to existing methods.

A new statistical model, DTVEM-RE (Differential Time-Varying Effect Model with Random Effects), has been introduced to address a limitation in existing methods for analyzing intensive longitudinal data. While the original DTVEM is effective for identifying optimal time lags, it assumes a uniform lag structure across all individuals. DTVEM-RE overcomes this by allowing each person to have their own unique lag coefficients, aligning with the modern clinical research premise that individual differences are crucial. The model comes in two versions: a discrete-time hierarchical Bayesian Vector Autoregression (VAR) implemented in Stan, which pools information across individuals to provide calibrated uncertainty estimates, and a continuous-time per-person Ornstein-Uhlenbeck model in ctsem, designed to handle unevenly spaced data directly. Extensive simulations demonstrated that the Bayesian version accurately recovers between-person spread with low bias and high coverage. When applied to a real-world EMA dataset, DTVEM-RE showed that person-specific lag-1 effects varied significantly across mood items, and it provided the best one-step-ahead predictions among several discrete-time methods. Furthermore, a multi-lag version revealed that the lag at which individuals differ most can vary by item, a nuance missed by single-lag methods. The two versions of DTVEM-RE showed strong agreement on person-specific lag-1 estimates, confirming its robustness. This marks the first person-specific implementation of DTVEM-style lag detection.

Why it matters

This model is critical for personalized medicine, behavioral science, and any field dealing with high-frequency individual data, enabling more accurate and tailored interventions or predictions. Professionals can use DTVEM-RE to uncover nuanced individual dynamics that are missed by population-level models, leading to more effective personalized strategies.

How to implement this in your domain

  1. 1Apply DTVEM-RE to intensive longitudinal data in clinical trials to identify personalized treatment response lags.
  2. 2Utilize the model in behavioral science research to understand individual-specific dynamic relationships between psychological variables.
  3. 3Integrate DTVEM-RE into wearable sensor data analysis to detect personalized physiological or activity patterns.
  4. 4Develop personalized intervention strategies based on the unique lag structures identified for each individual.
  5. 5Collaborate with statisticians and data scientists to implement and interpret DTVEM-RE results in your specific domain.

Who benefits

HealthcarePsychologyWearable TechPersonalized MedicineSocial Science

Key takeaways

  • DTVEM-RE allows for person-specific lag detection in intensive longitudinal data.
  • It provides more accurate individual-level insights than population-averaged models.
  • The model is robust, available in Bayesian and continuous-time versions, and handles unevenly spaced data.
  • It has significant implications for personalized medicine and behavioral interventions.

Original post by Amartya Bhattacharya

"arXiv:2606.14116v1 Announce Type: new Abstract: The Differential Time-Varying Effect Model (DTVEM) of Jacobson et al. (2019) is a popular tool for finding the best time lag in intensive longitudinal data, but it assumes everyone shares the same lag structure. The original authors…"

View on X

Originally posted by Amartya Bhattacharya on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses