| Literature DB >> 32755887 |
Jiaxing Liu1, Yang Zhao1,2, Boya Lai1, Hailiang Wang1,2, Kwok Leung Tsui1,2.
Abstract
BACKGROUND: The proliferation of wearable devices that collect activity and heart rate data has facilitated new ways to measure sleeping and waking durations unobtrusively and longitudinally. Most existing sleep/wake identification algorithms are based on activity only and are trained on expensive and laboriously annotated polysomnography (PSG). Heart rate can also be reflective of sleep/wake transitions, which has motivated its investigation herein in an unsupervised algorithm. Moreover, it is necessary to develop a personalized approach to deal with interindividual variance in sleep/wake patterns.Entities:
Keywords: heart rate; hidden Markov model; personalized health; physical activity; sleep; sleep/wake identification; unsupervised learning; wearables
Year: 2020 PMID: 32755887 PMCID: PMC7439146 DOI: 10.2196/18370
Source DB: PubMed Journal: JMIR Mhealth Uhealth ISSN: 2291-5222 Impact factor: 4.773
Figure 1An illustration graph of the structure of multivariate hidden Markov model.
Figure 2Kernel density plots for heart rate and log(X_STEP+1) for all participants.
Figure 3The workflow of our hidden Markov model–based sleep/wake identification approach. S/W: sleep/wake.
Figure 4A 24-hour example plot of step count every 15 minutes and heart rate every 1 minute for participant EL01 from 8 AM to 7:59 AM the following morning. Note: Times are in 24-hour format.
Comparison of models fitted to heart rate and log(XSTEP+1) for EL02.
| Model scheme | Emission distribution |
| Log likelihood | AIC | BIC |
| M1 | Bivariate normal | 13 | –419428.3 | 838882.7 | 839004.3 |
| M2 | Conditional independence | 11 | –424798.5 | 849721.9 | 849721.9 |
Figure 5Quantile-quantile plots of ordinary normal pseudo-residuals in model scheme M2 for EL02 and EL21.
Estimated parameters in model M2 for EL02 and EL21.
| Participant and emission parameters | Wake state | Sleep state | ||
|
|
|
| ||
|
|
|
|
| |
|
|
|
| 2.98 | 0.27 |
|
|
|
| 0.83 | 0.15 |
|
|
|
|
| |
|
|
|
| 110.21 | 74.39 |
|
|
|
| 213.68 | 157.37 |
|
| Correlation, | 0.41 | 0.04 | |
|
|
|
| ||
|
|
|
|
| |
|
|
|
| 2.22 | <0.01 |
|
|
|
| 1.08 | <0.01 |
|
|
|
|
| |
|
|
|
| 80.17 | 56.46 |
|
|
|
| 276.27 | 58.56 |
|
| Correlation, | 0.56 | 0.01 | |
Mean estimated HMM parameters for the sample of participants.
| Parameters | Wake state, mean (SD) | Sleep state, mean (SD) | ||
|
|
|
| ||
|
|
|
|
| |
|
|
|
| 2.24 (0.29) | 0.02 (0.07) |
|
|
|
| 1.16 (0.19) | 0.01 (0.04) |
|
|
|
|
| |
|
|
|
| 87.18 (12.52) | 66.37 (7.82) |
|
|
|
| 241.16 (110.75) | 47.18 (36.91) |
|
| Correlation, | 0.54 (0.07) | 0.01 (0.01) | |
|
|
|
| ||
|
| Wake state | 0.989 (0.003) | 0.011 (0.003) | |
|
| Sleep state | 0.017 (0.002) | 0.983 (0.002) | |
Comparison between the activity HMM, the heart rate HMM, and our fusion approach for participant EL02.
| HMM | Comparison | ||||
| Activity only | Heart rate only | Fusion | Duration | Heart rate, mean (SD) | Activity level, mean (SD) |
| wake | wake | wake | 42,599 (49.30) | 113.37 (11.28) | 3.13 (0.91) |
| wake | wake | sleep | 0 (0) | — | — |
| wake | sleep | wake | 2825 (3.27) | 76.12 (8.94) | 2.14 (0.96) |
| wake | sleep | sleep | 1 (0.00) | 74 (—) | 0.76 (—) |
| sleep | wake | wake | 8768 (10.15) | 101.21 (13.74) | 0.82 (0.67) |
| sleep | wake | sleep | 1 (0.00) | 96 (—) | 0.38 (—) |
| sleep | sleep | wake | 2942 (3.41) | 80.72 (8.37) | 0.97 (0.68) |
| sleep | sleep | sleep | 29,264 (33.87) | 69.62 (5.10) | 0.28 (4.24) |
Figure 6An example plot of observations and scoring results from Heart Rate HMM, Activity HMM, and our approach for EL02. HMM: hidden Markov model.
Figure 7Boxplot of estimated daily total sleep time during bedtime at night from heart rate HMM, activity HMM, and fusion HMM (our approach) for all participants. HMM: hidden Markov model; TST: total sleep time.
Figure 8Boxplot of estimated daily total sleep time during bedtime at night from our approach and Fitbit’s approach for all participants. HMM: hidden Markov model; TST: total sleep time.
P values for t tests on estimated parameter values for weekday and weekend for each participant.
| ID | ||||||||||||||||||
|
| Transitiona | Wake state | Sleep state | |||||||||||||||
|
|
|
| Activity | Heart rate | Corrb | Activity | Heart rate | Corr | ||||||||||
|
| γ12 | γ21 |
|
|
|
|
|
|
|
|
|
| ||||||
| EL01 | .28 | .89 | .30 | .66 | .22 | .72 | .04c | .94 | .33 | .34 | .26 | .83 | ||||||
| EL02 | .64 | .94 | .90 | .85 | .44 | .99 | .74 | .90 | .54 | .63 | .55 | .86 | ||||||
| EL03 | .38 | .55 | .14 | .96 | .18 | .25 | .17 | .16 | .09 | .10 | .08 | .02c | ||||||
| EL04 | .047c | .70 | .53 | .31 | .51 | .63 | .68 | .78 | .50 | .82 | .53 | .08 | ||||||
| EL05 | .45 | .58 | .64 | .48 | .91 | .39 | .69 | .66 | .74 | .70 | .03c | .68 | ||||||
| EL06 | .20 | .95 | .59 | .05 | .96 | .14 | .92 | .33 | .59 | .92 | .39 | .09 | ||||||
| EL08 | .39 | .46 | .12 | .23 | .11 | .73 | .93 | .96 | .06 | .12 | .61 | .53 | ||||||
| EL11 | .70 | .70 | .63 | .002c | .60 | .16 | .17 | .18 | .42 | .73 | .43 | .63 | ||||||
| EL14 | .58 | .11 | .84 | .04c | .34 | .50 | .90 | .56 | .36 | .58 | .78 | .75 | ||||||
| EL21 | .008c | .07 | .86 | .79 | .006c | .94 | .67 | .14 | .07 | .008c | .04c | .006c | ||||||
| EL23 | .97 | .85 | .52 | .56 | .56 | .62 | .54 | .28 | .43 | .32 | .62 | .63 | ||||||
| EL24 | .97 | .98 | .08 | .55 | .002c | .38 | .54 | .07 | .048c | .06 | .33 | .02c | ||||||
| EL25 | .19 | .76 | .55 | .47 | .10 | .21 | .54 | .28 | .50 | .69 | .89 | .38 | ||||||
| EL27 | .66 | .54 | .009c | .08 | .30 | .44 | .01c | >.999 | .54 | .73 | .046c | .32 | ||||||
aγ11 and γ22 are not reported because they have the same results as γ21 and γ21.
bCorr denotes correlation.
cValue is significant P<.05.