BMC Med Res Methodol. 2024 Sep 30;24(1):222. doi: 10.1186/s12874-024-02311-5.

ABSTRACT

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.

PMID:39350114 | PMC:PMC11440759 | DOI:10.1186/s12874-024-02311-5