Dynamic Time Warp (DTW) as a scalable, data-efficient, and clinically relevant analysis of dynamic processes in patients with psychiatric disorders: a tutorial
Maren C. G. Kopland, Erik J. Giltay
University of Oslo · Leiden University Medical Center
Key points
From the paper's conclusion- We illustrate the workflow using clinical case data from patients with eating disorders, to capture temporal patterns that cannot be detected with conventional network analysis techniques, as these require more intensive time-series data.
Abstract
Dynamic Time Warping (DTW) is an emerging analytic technique that offers a flexible approach to modeling symptom dynamics in psychological and psychiatric research. Unlike traditional network models, which often rely on linear associations, DTW aligns symptom trajectories even when changes unfold at slightly different speeds or time intervals. This tutorial offers a brief introduction into DTW and demonstrates how to apply DTW to panel or time series data. We illustrate the workflow using clinical case data from patients with eating disorders, to capture temporal patterns that cannot be detected with conventional network analysis techniques, as these require more intensive time-series data. Key advantages include its applicability to non-stationary data, flexibility in handling irregular time intervals, and reduced reliance on frequent assessments, which patients often cannot maintain due to the burden. We also discuss some of the limitations such as noise, scaling decisions and lack of Granger causality associations. Finally, we outline directions for future research. By expanding the methodological toolkit available for studying therapy processes, DTW holds promise for advancing both research and clinical practice in personalized mental health care.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- From Population Averages to Individual Realities: A Debate on Using Intensive Longitudinal Methods in Mental Health Nursing ResearchJournal of Psychiatric and Mental Health Nursing · 2026
- Passive Digital Phenotyping for Identifying Dynamic Symptom Patterns: Toward Precision Monitoring in Psychiatry2026
- Developing Clinically Useful Applications of Network Analysis in Mood Disorders PsychiatryPsychiatric Annals · 2026
- Parsing inter-individual variability in the digital phenotype across the menstrual cycle.medRxiv : the preprint server for health sciences · 2026
- Subject-Aware Detection of Depression from Wrist Actigraphy Using Per-Subject Distributional Aggregation and Interpretable Biomarker AnalysisAlgorithms · 2026
- Time series machine learning for idionomic process-based treatment planning: A tutorial on tsBorutaJournal of Contextual Behavioral Science · 2026