Dynamic Time Warp (DTW) as a scalable, data-efficient, and clinically relevant analysis of dynamic processes in patients with psychiatric disorders: a tutorial.
{"title":"Dynamic Time Warp (DTW) as a scalable, data-efficient, and clinically relevant analysis of dynamic processes in patients with psychiatric disorders: a tutorial.","authors":"Maren C G Kopland, Erik J Giltay","doi":"10.1186/s40337-025-01414-8","DOIUrl":null,"url":null,"abstract":"<p><p>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.</p>","PeriodicalId":48605,"journal":{"name":"Journal of Eating Disorders","volume":"13 1","pages":"230"},"PeriodicalIF":4.5000,"publicationDate":"2025-10-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12538969/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Eating Disorders","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s40337-025-01414-8","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"NUTRITION & DIETETICS","Score":null,"Total":0}
引用次数: 0
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.
期刊介绍:
Journal of Eating Disorders is the first open access, peer-reviewed journal publishing leading research in the science and clinical practice of eating disorders. It disseminates research that provides answers to the important issues and key challenges in the field of eating disorders and to facilitate translation of evidence into practice.
The journal publishes research on all aspects of eating disorders namely their epidemiology, nature, determinants, neurobiology, prevention, treatment and outcomes. The scope includes, but is not limited to anorexia nervosa, bulimia nervosa, binge eating disorder and other eating disorders. Related areas such as important co-morbidities, obesity, body image, appetite, food and eating are also included. Articles about research methodology and assessment are welcomed where they advance the field of eating disorders.