{'fraction_non_alphanumeric': 0.031096563011456628, 'fraction_numerical': 0.014184397163120567, 'mean_word_length': 5.4125874125874125, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Fully automated waist-worn accelerometer algorithm for detecting children's sleep-period time separate from 24-h physical activity or sedentary behaviors.

Analysis of 24-h waist-worn accelerometer data for physical activity and sedentary behavior requires that sleep-period time (from sleep onset to the end of sleep, including all sleep epochs and wakefulness after onset) is first identified. To identify sleep-period time in children in this study, we evaluated the validity of a published automated algorithm that requires nonaccelerometer bed- and wake-time inputs, relative to a criterion expert visual analysis of minute-by-minute waist-worn accelerometer data, and validated a refined fully automated algorithm. Thirty grade 4 schoolchildren (50% girls) provided 24-h waist-worn accelerometry data. Expert visual inspection (criterion), a published algorithm (Algorithm 1), and 2 additional automated refinements (Algorithm 2, which draws on the instrument's inclinometer function, and Algorithm 3, which focuses on bedtime and wake time points) were applied to a standardized 24-h time block. Paired t tests were used to evaluate differences in mean sleep time (expert criterion minus algorithm estimate). Compared with the criterion, Algorithm 1 and Algorithm 2 significantly overestimated sleep time by 43 min and 90 min, respectively. Algorithm 3 produced the smallest mean difference (2 min), and was not significantly different from the criterion. Relative to expert visual inspection, our automated Algorithm 3 produced an estimate that was precise and within expected values for similarly aged children. This fully automated algorithm for 24-h waist-worn accelerometer data will facilitate the separation of sleep time from sedentary behavior and physical activity of all intensities during the remainder of the day.