Agus Salim, Christian J Brakenridge, Dulari Hakamuwa Lekamlage, Erin Howden, Ruth Grigg, Hayley T Dillon, Howard D Bondell, Julie A Simpson, Genevieve N Healy, Neville Owen, David W Dunstan, Elisabeth A H Winkler
{"title":"使用消费级腕戴式设备检测久坐时间和时间间隔:一个隐藏的半马尔科夫模型。","authors":"Agus Salim, Christian J Brakenridge, Dulari Hakamuwa Lekamlage, Erin Howden, Ruth Grigg, Hayley T Dillon, Howard D Bondell, Julie A Simpson, Genevieve N Healy, Neville Owen, David W Dunstan, Elisabeth A H Winkler","doi":"10.1186/s12874-024-02311-5","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Wrist-worn data from commercially available devices has potential to characterize sedentary time for research and for clinical and public health applications. We propose a model that utilizes heart rate in addition to step count data to estimate the proportion of time spent being sedentary and the usual length of sedentary bouts.</p><p><strong>Methods: </strong>We developed and trained two Hidden semi-Markov models, STEPHEN (STEP and Heart ENcoder) and STEPCODE (STEP enCODEr; a steps-only based model) using consumer-grade Fitbit device data from participants under free living conditions, and validated model performance using two external datasets. We used the median absolute percentage error (MDAPE) to measure the accuracy of the proposed models against research-grade activPAL device data as the referent. Bland-Altman plots summarized the individual-level agreement with activPAL.</p><p><strong>Results: </strong>In OPTIMISE cohort, STEPHEN's estimates of the proportion of time spent sedentary had significantly (p < 0.001) better accuracy (MDAPE [IQR] = 0.15 [0.06-0.25] vs. 0.23 [0.13-0.53)]) and agreement (Bias Mean [SD]=-0.03[0.11] vs. 0.14 [0.11]) than the proprietary software, estimated the usual sedentary bout duration more accurately (MDAPE[IQR] = 0.11[0.06-0.26] vs. 0.42[0.32-0.48]), and had better agreement (Bias Mean [SD] = 3.91[5.67] minutes vs. -11.93[5.07] minutes). With the ALLO-Active dataset, STEPHEN and STEPCODE did not improve the estimation of proportion of time spent sedentary, but STEPHEN estimated usual sedentary bout duration more accurately than the proprietary software (MDAPE[IQR] = 0.19[0.03-0.25] vs. 0.36[0.15-0.48]) and had smaller bias (Bias Mean[SD] = 0.70[8.89] minutes vs. -11.35[9.17] minutes).</p><p><strong>Conclusions: </strong>STEPHEN can characterize the proportion of time spent being sedentary and usual sedentary bout length. The methodology is available as an open access R package available from https://github.com/limfuxing/stephen/ . The package includes trained models, but users have the flexibility to train their own models.</p>","PeriodicalId":9114,"journal":{"name":"BMC Medical Research Methodology","volume":"24 1","pages":"222"},"PeriodicalIF":3.9000,"publicationDate":"2024-09-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11440759/pdf/","citationCount":"0","resultStr":"{\"title\":\"Detection of sedentary time and bouts using consumer-grade wrist-worn devices: a hidden semi-Markov model.\",\"authors\":\"Agus Salim, Christian J Brakenridge, Dulari Hakamuwa Lekamlage, Erin Howden, Ruth Grigg, Hayley T Dillon, Howard D Bondell, Julie A Simpson, Genevieve N Healy, Neville Owen, David W Dunstan, Elisabeth A H Winkler\",\"doi\":\"10.1186/s12874-024-02311-5\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><strong>Background: </strong>Wrist-worn data from commercially available devices has potential to characterize sedentary time for research and for clinical and public health applications. We propose a model that utilizes heart rate in addition to step count data to estimate the proportion of time spent being sedentary and the usual length of sedentary bouts.</p><p><strong>Methods: </strong>We developed and trained two Hidden semi-Markov models, STEPHEN (STEP and Heart ENcoder) and STEPCODE (STEP enCODEr; a steps-only based model) using consumer-grade Fitbit device data from participants under free living conditions, and validated model performance using two external datasets. We used the median absolute percentage error (MDAPE) to measure the accuracy of the proposed models against research-grade activPAL device data as the referent. Bland-Altman plots summarized the individual-level agreement with activPAL.</p><p><strong>Results: </strong>In OPTIMISE cohort, STEPHEN's estimates of the proportion of time spent sedentary had significantly (p < 0.001) better accuracy (MDAPE [IQR] = 0.15 [0.06-0.25] vs. 0.23 [0.13-0.53)]) and agreement (Bias Mean [SD]=-0.03[0.11] vs. 0.14 [0.11]) than the proprietary software, estimated the usual sedentary bout duration more accurately (MDAPE[IQR] = 0.11[0.06-0.26] vs. 0.42[0.32-0.48]), and had better agreement (Bias Mean [SD] = 3.91[5.67] minutes vs. -11.93[5.07] minutes). With the ALLO-Active dataset, STEPHEN and STEPCODE did not improve the estimation of proportion of time spent sedentary, but STEPHEN estimated usual sedentary bout duration more accurately than the proprietary software (MDAPE[IQR] = 0.19[0.03-0.25] vs. 0.36[0.15-0.48]) and had smaller bias (Bias Mean[SD] = 0.70[8.89] minutes vs. -11.35[9.17] minutes).</p><p><strong>Conclusions: </strong>STEPHEN can characterize the proportion of time spent being sedentary and usual sedentary bout length. The methodology is available as an open access R package available from https://github.com/limfuxing/stephen/ . The package includes trained models, but users have the flexibility to train their own models.</p>\",\"PeriodicalId\":9114,\"journal\":{\"name\":\"BMC Medical Research Methodology\",\"volume\":\"24 1\",\"pages\":\"222\"},\"PeriodicalIF\":3.9000,\"publicationDate\":\"2024-09-30\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11440759/pdf/\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"BMC Medical Research Methodology\",\"FirstCategoryId\":\"3\",\"ListUrlMain\":\"https://doi.org/10.1186/s12874-024-02311-5\",\"RegionNum\":3,\"RegionCategory\":\"医学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"HEALTH CARE SCIENCES & SERVICES\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMC Medical Research Methodology","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12874-024-02311-5","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"HEALTH CARE SCIENCES & SERVICES","Score":null,"Total":0}
Detection of sedentary time and bouts using consumer-grade wrist-worn devices: a hidden semi-Markov model.
Background: Wrist-worn data from commercially available devices has potential to characterize sedentary time for research and for clinical and public health applications. We propose a model that utilizes heart rate in addition to step count data to estimate the proportion of time spent being sedentary and the usual length of sedentary bouts.
Methods: We developed and trained two Hidden semi-Markov models, STEPHEN (STEP and Heart ENcoder) and STEPCODE (STEP enCODEr; a steps-only based model) using consumer-grade Fitbit device data from participants under free living conditions, and validated model performance using two external datasets. We used the median absolute percentage error (MDAPE) to measure the accuracy of the proposed models against research-grade activPAL device data as the referent. Bland-Altman plots summarized the individual-level agreement with activPAL.
Results: In OPTIMISE cohort, STEPHEN's estimates of the proportion of time spent sedentary had significantly (p < 0.001) better accuracy (MDAPE [IQR] = 0.15 [0.06-0.25] vs. 0.23 [0.13-0.53)]) and agreement (Bias Mean [SD]=-0.03[0.11] vs. 0.14 [0.11]) than the proprietary software, estimated the usual sedentary bout duration more accurately (MDAPE[IQR] = 0.11[0.06-0.26] vs. 0.42[0.32-0.48]), and had better agreement (Bias Mean [SD] = 3.91[5.67] minutes vs. -11.93[5.07] minutes). With the ALLO-Active dataset, STEPHEN and STEPCODE did not improve the estimation of proportion of time spent sedentary, but STEPHEN estimated usual sedentary bout duration more accurately than the proprietary software (MDAPE[IQR] = 0.19[0.03-0.25] vs. 0.36[0.15-0.48]) and had smaller bias (Bias Mean[SD] = 0.70[8.89] minutes vs. -11.35[9.17] minutes).
Conclusions: STEPHEN can characterize the proportion of time spent being sedentary and usual sedentary bout length. The methodology is available as an open access R package available from https://github.com/limfuxing/stephen/ . The package includes trained models, but users have the flexibility to train their own models.
期刊介绍:
BMC Medical Research Methodology is an open access journal publishing original peer-reviewed research articles in methodological approaches to healthcare research. Articles on the methodology of epidemiological research, clinical trials and meta-analysis/systematic review are particularly encouraged, as are empirical studies of the associations between choice of methodology and study outcomes. BMC Medical Research Methodology does not aim to publish articles describing scientific methods or techniques: these should be directed to the BMC journal covering the relevant biomedical subject area.