Abstract
Wearable computing devices allow collection of densely sampled real-time information on movement enabling researchers and medical experts to obtain objective and non-obtrusive records of actual activity of a subject in the real world over many days. Our interest here is motivated by the use of activity data for evaluating and monitoring the circadian rhythmicity of subjects for research in chronobiology and chronotherapeutic healthcare. In order to translate the information from such high-volume data arising we propose the use of a Markov modelling approach which (i) naturally captures the notable square wave form observed in activity data along with heterogeneous ultradian variances over the circadian cycle of human activity, (ii) thresholds activity into different states in a probabilistic way while respecting time dependence and (iii) gives rise to circadian rhythm parameter estimates, based on probabilities of transitions between rest and activity, that are interpretable and of interest to circadian research.
Keywords: circadian rhythm in rest–activity, activity counts, accelerometer data, hidden Markov models
1. Introduction
Questions of interest regarding the research of sleep–wake cycles in humans and mammals are commonly studied by measuring activity through gross motor movement where accelerometers have become a feasible and affordable way to obtain objective non-obtrusive recordings of rest–activity rhythms of free living individuals over many days [1–3]. Accelerometers measure the acceleration of the part of the body to which they are attached, often as part of a small communicative wearable device. The signal is preprocessed by the device to obtain physical activity (PA) time-series data accumulated over a specified time interval, called epoch. Time-series PA data from such monitoring devices are subject to circadian rhythms and are of interest to the circadian research community.
Our current understanding of circadian rhythms as a network of molecular clocks and their relevance for human health has quickly progressed [4,5] now demanding their integration into medical and care decision processes [6–8]. The circadian timing system contains a network of molecular oscillators generated by a set of specific clock genes in almost each cell of the body [9–11]. This network is coordinated by a hypothalamic pacemaker, the supra-chiasmatic nuclei (SCN), the principal circadian clock in the brain of mammals which is entrained by visual afferents and input from other brain and peripheral oscillators. Regarding the molecular genetics of circadian rhythms it is now well established that molecular clocks within the cell consist of transcriptional–translational feedback loops involving about 15 clock genes, which generate approximately 24-h oscillations in many cellular functions at cell population or whole-organism levels [12]. The master clock in the brain synchronizes the cellular clocks in all the peripheral tissues including eye, brain, heart, lung, gastrointestinal tract, liver, kidney, bone marrow and immune system. The overall system, referred to as the circadian timing system (CTS), controls several critical molecular pathways which regulate cell cycle. Mounting evidence supports a link between circadian misalignment or disruption and increased risk for an array of chronic diseases including cardiovascular disease, cancer [6], metabolic syndrome (obesity, hypertension, arteriosclerosis, diabetes) and psychiatric disorders (depression, bipolar disorder, schizophrenia, attention deficit) [13]. Circadian rhythm alterations have also been consistently associated with poor quality of life, more severe and frequent symptoms and poor overall survival in large cohorts of cancer patients [6]. Here, we are interested in modelling PA time series with a view to evaluating and monitoring the circadian rhythmicity of subjects for research in chronobiology and chronotherapeutic healthcare, in particular cancer patients receiving a chronomodulated chemotherapy while they are in their own home and in their usual environment [14]. However, the development of relevant metrics and quantifiers of circadian rhythm that can be passively obtained from mobile sensing could potentially improve the efficacy of chronotherapeutic methods applied to a wide variety of clinical conditions including bipolar disorder, where the interpersonal and social rhythm therapy (IPSRT) is designed to help patients maintain a stable circadian rhythm and sleep–wake cycle to prevent relapse [15], Parkinson's disease, stroke, epilepsy, anxiety disorders and other conditions where treatment therapies involve monitoring patients' rhythms of daily life [16].
There has been a proliferation towards a multitude of wearable computing devices at increasing commercial availability and popularity. Today, activity tracking is omnipresent, usually in wrist worn devices, such as smart watches, bracelets or smart phones. The fact that they can provide frequent and non-obtrusive recording of PA in a real-world environment offers tremendous opportunities for health and makes them ideal instruments in a large variety of applications including mobile health monitoring (mhealth) [16], e.g. of chronically ill or elderly patients [17], sensing behavioural symptoms of mental health [18], self-monitoring for promoting PA levels [19,20] or studies of sentinel behaviour [21]. Wearable devices usually contain an accelerometer and, with increased computing power, more functions may be included such as heart rate sensors, ambient light sensors, temperature sensors, altimeters, etc., potentially providing very rich and complex data scenarios. Accelerometers themselves have experienced development, in particular as in 2009 the leading brand ActiGraph developed the detection of acceleration from uniaxial to triaxial. PA can now be collected at short epoch lengths, such as every minute or every 15 s, over many days. The sensor used in our study (Move3, Movisens GmbH, Germany) is fixed to the chest and contains a triaxial accelerator model (ADXL345, Analog Devices, MA, USA). The device produces activity counts defined as the number of times an accelerometer waveform computed by the device, according to specifications of the frequency and filters that are specific to the manufacturer, crosses zero over the epoch length of 1 min. Figure 1 gives an example of PA counts recorded every minute for a healthy individual over 4 days. Translating information from such high volume and complex data into interpretable and useful statistics is a challenging task, in particular if the aim is to perform long term, i.e. over many days and weeks, monitoring of an individual.
Apart from visually inspecting time plots, the data are generally analysed by deriving statistics, termed non-parametric variables [22,23], to quantify characteristics of interest to clinicians, sleep researchers and chronobiologists. These are generally focussed around the intradaily variability, which measures the disruption of the rhythm, and interdaily variability which quantifies the entrainment to the 24-h light/dark cycle. An R-package to compute these alongside other statistics, such as relative amplitude of activity, average activity values of the 10 h with maximal activity and the 5 h with least activity, is provided by [24]. Evidence exists in the literature [25,26] for hourly PA count data that the intradaily variability is a particularly important variable that is correlated with decreased sleep quality and cognitive functions as patients with Alzheimer's disease were found to have higher intradaily variability values [27]. In a clinical context, a series of studies [28–31] found that the dichotomy index I < O, which reports the percentage of epochs during the rest span when activity is lower than the median activity during wakefulness, was the most relevant statistic in predicting survival rates in cancer patients. An I < O value of 100% corresponds to a non-disrupted rest pattern and the lower the I < O value the more severe the disruption of the rest–activity rhythm. Lévi et al. [32] found that median survival was nearly twice as high in patients with metastatic colorectal cancer whose baseline I < O exceeded 97.5% when compared with those with a lower I < O before chemotherapy delivery [33].
While there exist numerous non-parametric variables to quantify the (mis)timing of sleep–wake rhythms, and new ones continue to be proposed [34], it is a challenging task to quantify their variability, which is important, in particular if such variables are used in assisting with the decision-making process of a health expert about an individual's therapy. An additional complication arises because most nonparametric variables discussed above rely on being able to mark the beginning and end of prolonged rest periods which, in many cases, cannot be determined unequivocally.
Fourier based methods such as the Lomb–Scargle periodogram [35], the fast Fourier transform-nonlinear least squares (FFT-NLLS) algorithm [36], harmonic regression [37] and the spectrum resampling method [38] can be used to extract further parameters, namely acrophase, amplitude and period, that are typically of interest to studies of circadian rhythmicity. Spectral estimation using the methods proposed in [38] confirms that the activity data for healthy individuals usually exhibit a strong 24-h periodicity (see electronic supplementary material, figure S1) as can be expected due the entrained endogenous circadian rhythmicity endorsed by the timing of the work and social environment. Although spectral analysis is well able to extract the circadian period, smooth functional forms, such as harmonic functions or splines, are not ideal for modelling the abrupt appearance of the transitions between the active and inactive states and will not detect short bouts of transitions caused, e.g. by daytime naps or active behaviour during nighttime. The data also show time changing variances in that PA values during the day show a markedly larger variability than over the prolonged rest period. The marginal histogram (see electronic supplementary material, figure S2 (b) for an example) displays two modes, namely a sharp peak around zero, which corresponds to the non-active period, and a wider second mode corresponding to the active period. Here we shall propose the use of hidden Markov models (HMMs), a class of time-series models that are essentially an extension of mixture models by taking into account temporal dependencies, to analyse such PA time series.
HMMs are now a well-developed area of statistics with books and papers such as [39,40] providing in-depth explanations of the models, from basic definitions to estimation to results. These processes, also known as probabilistic functions of Markov chains and hidden Markov processes, came into prominence in the 1960s by the work of Baum & Petrie [41] and 1970s where [42,43] developed the Baum–Welch algorithm for estimation. Earlier applications of HMMs were in character and speech recognition [44–46], and HMMs have since been used in many different areas such as biology and engineering (see, e.g. [47] for an application in genome sequencing). Regarding accelerometer data, HMMs have been used, among other methods such as Gaussian mixture models and K-means clustering, as an unsupervised machine learning technique for the task of recognition and classification of specific human activity modes such as standing, walking, running, ascending/descending, sitting, cycling etc. This scenario is different to ours, in particular as data acquisition in these cases is much denser at epoch lengths in units of small fractions of a second over a short time span of typically less than an hour, and the research questions is aimed at being able to recognize a specific kind of activity (see, e.g. [48–51] and review in [52]). Similarly, HMMs have been applied to other physiological data acquired at high frequency, in particular the applications to polysomnographic (PSG) recordings, including electroencephalogram (EEG), electrooculogram (EOG) and electromyogram (EMG) signals, by [53–55] to classify and score stages of (rapid eye movement) REM and non-REM sleep, although it is not foreseen that such measurements can be taken for the purpose of long-term monitoring. We shall show that HMMs naturally provide the necessary tools to model the features observed in the type of data we are interested in, and can be further extended toward a dynamic Markov process which is influenced by a circadian oscillator, the strength and nature of which can be inferred from an individual's PA data from a sensing device, that can be unobtrusively worn over many days/weeks.
2. Model and inference
Let Y(T) = {Y1, …, Yt−1, Yt, …, YT} denote the observations on activity where t ∈ {1, …, T} and T is the sample size. Let St ∈ {1, …, m} denote the unobserved activity state at time t. The notation P( · ) stands for the probability mass function or density function, whichever appropriate. We shall use the short notation X(t) = {X1, …, Xt} for arbitrary variable X. The probabilistic structure of a HMM is represented by the well-known conditional independence graph seen in figure 2, which is a special case of a directed acyclic graph (DAG), and is based on the following two assumptions:
(A1) the sequence of states St is a Markov chain satisfying the Markov property: P(St | S(t−1)) = P(St | St−1),
(A2) conditionally on St, the Yt's are independent and Yt depends on St only: P(Y t | S(t), Y(t−1)) = P(Y t | St).
It is straightforward to see that the joint distribution of the observations and the hidden states of the DAG is
2.1 |
from which the data likelihood can be obtained by summing over the possible combination of states (see [39])
2.2 |
where is the conditional probability matrix with j'th diagonal entries P(Yt | St)j,j = P(Yt | St = j), is the Markov chain transition matrix with elements Γj,k = P(St = k | St−1 = j) and whose rows sum to one, is the initial state distribution and is a vector of ones.
The HMM is hence parametrized by the non-zero entries in δ, P(Yt | St) and Γ which are unknown. Given the output observation sequence Y(T), the maximum-likelihood estimator of the unknown parameters can be efficiently found, either through direct maximization or based on an expectation maximization (EM) algorithm, called the Baum–Welch algorithm [39], for which closed-form expressions and computationally fast steps exist when the observational distribution P(Yt | St) is Gaussian. However, caution is necessary as the likelihood may have local maxima and it is advised to test different starting values for the parameters.
3. Application to activity data from healthy subjects
3.1. Data and data pre-processing
We shall show results of fitting HMMs to PA count data recorded by the Move3 sensor for 46 healthy individuals (19 male, 27 female; aged 21–75 years, median 35 years) from two countries (UK and France) who volunteered to wear the sensor over a period of 4–7 days. All subjects were asked to keep their usual daily routines, besides carrying the sensor day and night for the whole monitoring duration. In addition to activity, this device also provides 5-min recordings of the skin temperature. Missing values occur as the individuals remove the device to avoid contact with water—typically this happens once a day for around 20 min. The missing values can be marked retrospectively by noting that the contemporaneous temperature records show a sudden decrease towards room temperature. Generally the missing data ratio is around 1%–3% in this dataset. The estimation algorithm is adapted in a straightforward way by propagating the transition matrix corresponding to the last time point preceding the missing values [48].
Collected over many days the data are of considerable size and it is desirable to be able to apply computationally efficient methodologies. In this study, we will assume Gaussianity of the observational densities of the square root transformed 5-min averaged PA count data (see electronic supplementary material, figure S2). We note that the assumption of Gaussianity for the observational densities of the square root transformation corresponds to the assumption of a mixture of non-central chi-square distributions which can account for both, non-negative domain and positive skewness, on the original scale of averaged PA counts.
3.2. Number of states
An obvious question is how many states m should the model have? The Bayesian information criterion (BIC) suggested models with 2–5 states, with four being chosen in about two thirds of the cases, while Akaike's information criterion (AIC), known to be less parsimonious, tended to generally prefer one more state than the BIC. We speculate that some inter-individual variation in the number of states may be due to the fact that some individuals have a larger range of types of activities than others, however such deductions will largely depend on the measurement process, i.e. the specifications and positions of the accelerometer used, and a controlled study would be needed to substantiate this. Our results on the range of the number of states are in broad agreement with an extensive review [56] which compiled results from more than 40 studies on PA data, covering different types of accelerometers and their position on the body1. The majority of these studies developed cut-off points to achieve 2–3 states for adults and older adults. However, one major difference to studies, which derive general cut-off points for PA classification, is that in our study the HMMs produce an individual-specific probabilistic classification of PA. This is in line with our interest in identifying and monitoring the personal long-term circadian rhythm of subjects whose individual lifestyles may be heterogeneous covering a range from sedentary to active. We note that the estimated conditional means and duration of the states can however be used to quantify how active a lifestyle a person leads in comparison to others.
While one needs at least two states to distinguish between rest and activity, the results here consistently indicate that better model fits are achieved if more than two states are assumed. On the other hand, choosing a parsimonious number of states will be more robust to the fact that the day-to-day variability of different particular activities may be substantial and may appear non-circadian despite the presence of a regular circadian rest–activity rhythm. For the purpose of our study, we specified m = 3 for all individuals, which not only addresses this compromise in complexity but also achieves a consistent interpretation across all individuals in the sample in that for each individual the lowest activity state corresponds to the prolonged rest period, which normally occurs at nighttime, while the other two stages are predominantly associated with the active daytime.
3.3. Parameter estimates
The parameter estimates contain useful interpretable information about the individual's sleep–wake behaviour. We shall discuss typical results of fitting a HMM for two example subjects, 16 and 18, with m = 3 states that can be interpreted as inactive (IA) for St = 1, moderately active (MA) for St = 2 and highly active (HA) for St = 3, where St = j;j = 1, 2, 3 also denotes the entry number of the corresponding state in all vectors and matrices.
The estimated model parameters for subject 16 are as follows: the transition probabilities are
with conditional observation densities for IA state: Yt | (St = 1)∼N(0.92, 0.682), for MA state: Yt | (St = 2)∼N(3.1, 1.112) and Yt | (St = 3)∼N(5.37, 0.742) for HA state. The initial state distribution is , i.e. the initial state is estimated to be MA. For subject 18 the estimated model parameters are:
with conditional observation densities for IA state: Yt | (St = 1) ∼ N(1.25, 1.262), for MA state Yt | (St = 2) ∼ N(6.98, 2.232) and for HA state Yt|(St = 3) ∼ N(12.06, 0.922). The initial state distribution is , i.e. the initial state is estimated to be HA.
The results for the probabilities in the transition matrix for all 46 individuals are plotted in figure 3. The high probabilities along the diagonal suggest a high chance of staying in the current state which highlights the dependence between successive observations and clearly justifies the use of a time-series modelling approach such as provided by the HMM. The probability is highest for the IA state, as estimated by , due to the prolonged period of rest at night. The slightly lower values for and , together with the elevated off-diagonal values for and , indicate that there is a higher chance of switching between the two active states. In fact, it is these transitions that account for the high variability observed in the data during the day and is due to the fact that people undertake different physical actions in their wake period. The transition from the two active states, HA and MA, to rest is found to happen almost exclusively via the MA state as is estimated to be zero, or very close to zero, for all individuals in the sample. A particular transition of interest is from IA to either of the active states with estimated probability , where high values indicate many episodes where the person is likely to have interrupted sleep and one can hence assume that the estimated transition probability from IA to any active state contains information about the quality of sleep of a person. For example, it is estimated to be 0.02 for subject 16 and 0.055 for subject 18, which suggests that subject 18 has experienced about twice as many sleep interruptions as subject 16 during the study time. We found a pronounced positive correlation (0.86 for Spearman rank correlation) between and , i.e. the transitions into and out of the IA state, due to the fact that subjects who often interrupt their IA state also often attempt to get back into it.
The estimated conditional observation densities confirm our visual impression that the IA state has a relatively low value. The MA state usually is characterized by a higher variance also in comparison to the HA state. The latter may be due to the dampening effect of the square root transformation. Figure 4 hence plots the mean and central 90% range of the three estimated observational densities for all 46 individuals, where the results are transformed to the non-central χ2 distribution on the original scale of the average 5-min PA counts. The mean of the HA state provides an alternative estimator of the amplitude without having to rely on Fourier methods. The three states identified by the HMM are specific to the subject and we can see a large variability in the intensity of the three states between the individuals. This may be due to heterogeneous lifestyles regarding activity although it should be noted that such interpretation is likely to also depend on the settings of the accelerometer and where it is positioned on the body2.
3.4. State estimation
Local decoding [39] can be used to estimate the predicted state at time t by
where the estimated conditional state probabilities P(St = j | Y(T)) are conveniently available as part of the inference algorithm. The predicted sequence of the most likely states for the two example individuals can be seen in figures 5a and 6a, which show that for both individuals the IA state is predominant at night and that during the day there are many transitions between the MA and HA states. For a more informative visualization, we propose to plot P(St = j | Y(T)) for j = 1, 2, 3 (which add to 1) cumulatively for each t, and associate with each state a different colour (blue for IA, light red for MA, dark red for HA). We shall refer to the resulting plot as state probability (SP) plot. Figures 5b and 6b show the SP plots for the example subjects. These diagrams allow us to quickly assess how probable the most likely state is and what other states have noticeable probability and give us visual information on how well a person has rested. In particular, if they have solid blue areas, i.e. rarely move into the active states during night, then we might deduce that the person has obtained a good night's rest, as the example subject 16 seems to have done. In contrast, subject 18 (figure 6) has experienced many interruptions at night which may be indicative of relatively poor quality of sleep.
We may so far conclude that a homogeneous HMM achieves satisfactory model fits (see electronic supplementary material, §1 for details on analysis of pseudo residuals) where estimation results of the parameters are interpretable and the estimated state probabilities from the HMM provide a retrospective analysis of the time-varying characteristics of a person's sleep–wake cycle as they are locally decoded given the observed data, and as such can be used to generate stochastic simulations, e.g. to obtain approximate bootstrap confidence intervals. However, in order to be able to explicitly infer and quantify the circadian nature of the rest–activity cycle we proceed by suggesting a circadian parametrization of the HMM.
4. Circadian harmonic Markov model
As in mathematical modelling (see, e.g. [57]) the sleep–wake behaviour is a result of the dynamic behaviour of the model, here it would be natural to assume that the transition probabilities of the dynamic Markov process are influenced by a circadian oscillator where we are interested in estimating the strength and nature of this influence from an individual's activity data. If one views the m possible outcomes of the state as a multinomial variable, then the prediction of the probabilities of the different possible outcomes, given a set of independent variables Xt, is addressed by the standard multinomial logistic link function. In the framework of HMMs the logistic link between Xt and the entries of Γ is given by (see [58])
4.1 |
where γ0j,k, γ1j,k are coefficients such that, for identification, one of each per row k is fixed, e.g. we set γ0k,k = 0, γ1k,k = 0, k = 1, …, m. The entries of the transition matrix each follow a periodic circadian rhythm if Xt is a circadian oscillator, where here we chose the 24-h cosine function as a basis. We did not include any further subharmonics as the number of parameters increases quickly, i.e. proportionally with dim(Xt)(m2 − m). We note that the functional form of equation (4.1) is flexible in that even in the case of using only the first harmonic the resulting oscillations in the transition probabilities can be polyphasic and markedly different from simple sinusoidal curves. We shall refer to this modelling approach as the harmonic HMM for short. Incorporating a harmonic into the transition probability matrix makes inference a more challenging task as there are no closed-form solutions for the EM algorithm. We proceeded by resorting to numerical optimization methods, where we used the solnp routine provided by the R package depmixS43.
While one can in principle study the estimated circadian variation of each probability in the transition matrix, we suggest that the information can be efficiently summarized by plotting the 24-h periodic profile of the state probabilities, which can be computed by applying for i = 1, …, m from the estimated initial state, in a manner analogous to the SP plots above. Figure 7 gives four examples of the resulting plots which give a precise summary of a subject's typical daily profiles of the circadian state probabilities:
The prolonged period of rest starts during 00.00–01.00 and finishes around 08.00 with no noticeable probability of interruption for subject 9 (a). The sharp incline as well as decline of the blue profile at the start and end of the rest period are strongly indicative of the subject's starting and finishing their rest at a regular time every day. Subject 42 (b) has a less regular start of the resting time as the probability of rest increases gradually after dinner time. This is in line with the person having reported that she watched TV for several hours every night. The subject has a probability of around 5% of interrupting their rest during the night. The subject is also likely to have used an alarm clock, set at around 07.00, when there is a sudden increase of the HA probability. However, one can also also discern a weekend effect where the subject did not use the alarm clock and tended to sleep longer. Subject 20 (c) has a substantial probability of 40–50% of interrupting their night rest and obtains only an amount of about 5.5 h of rest as can be estimated by the size of the blue area. This subject reported to have taken antidepressant and anti-anxiety medication, and the profiles indicate that this person is suffering from a highly interrupted rest pattern at night and a lower total amount of rest. Finally, subject 21 (d) can be seen to have experienced an extraordinary large amount of rest (over 11 h) which is centred around 08.00 as the individual starts resting very late and rises in the afternoon. This subject reported to have taken an anti-depressant and a sleeping pill which is particularly known in the press to leave people drowsy in the morning. Generally, we can deduce from the more gradual changes in the IA probability at the start and end of the rest periods that subjects 42, 20 and 21 all start and finish their rest period at more irregular times and have a more interrupted resting pattern than subject 9. The circadian probability profiles for all 46 individuals in the sample can be inspected in the electronic supplementary material, figure S5.
5. Circadian parameters
The harmonic HMM provides a model on the basis of which statistics can be derived that quantify an individual's rest–activity rhythm. The amount of rest, a (hours) say, can be estimated by the blue area or integral under the function P(St = 1), while the midpoint or centre of rest, c say, corresponds to the gravity centre of the blue area. Furthermore, given a subject's values for a and c, one can construct an index on the unit interval, which assumes a value of 1 for the strongest circadian rhythm characterised by a rest period with no interruptions, i.e. P(St = 1) = 1, and perfectly regular start and end times at [c − a/2] and [c + a/2], respectively, as shown by the rectangular profile of width a, centred at c in figure 8. On the other hand, a complete lack of circadian rhythm refers to the case where the probability of rest is constant and hence equal to a/24 (see black shaded profile in figure 8). Typically an individual's profile will lie between these two extreme cases, and we can therefore construct a rest–activity rhythm index RI such that 0 ≤ RI ≤ 1 where
5.1 |
where Ic = [c − a/2, c + a/2]. It is easy to verify that RI assumes a value of 1 when , i.e. the strongest case of circadian rhythm, and a value of 0 when , i.e. absence of circadian rhythm. In our 46 healthy subjects, RI ranges from 0.47 to 0.96 with a median of 0.78 (see electronic supplementary material, figure S6 for a plot of RI values against each subject ID). Returning to the four examples in figure 7 we note that subject 9 has an RI of 0.96, the highest value in our sample, while subject 20, has an RI of 0.53, the second lowest value in our sample.
We computed the various circadian parameters discussed above, as well as the conditional mean value of the HA state, which serves as an estimate of the amplitude, and the dichotomy index I < O for all 46 subjects and investigated simple correlations (see figure 9) where five subjects were treated as outliers due to their irregular rhythm and were omitted from the correlation analysis4. Significant and interpretable correlations are found between them. As can be expected there is clear positive correlation between the probability of staying in IA and the RI (figure 9b) as both measures decrease when the subject suffers from sleep interruptions. They are both positively correlated with the dichotomy index I < O (figure 9a,c). The dichotomy index I < O is widely used, but requires the PA data to be partitioned into prolonged IA and active periods. Such a classification depends on the clustering algorithm used, where we provide a clustering algorithm for this in the electronic supplementary material, §2. However, it is not rare that individuals have one or more episodes of rest interrupted by activity at times that are close to the main rest period (for instance, by sleeping in front of TV in the evening). The question of whether or not these episodes are part of the night rest is not clear-cut, so that different values of the dichotomy index I < O may be obtained depending on the outcomes of hand-tuning the clustering algorithm. The RI proposed here is similar in spirit to the I < O but can be estimated in a more straightforward way on the basis of the harmonic HMM and we are planning to compare both indices in future work.
An interesting negative correlation was found between the amount of rest and the RI index (figure 9d) which indicates that a person with a good rest–activity rhythm seems to require less rest. Figure 9e indicates that the rest amount is negatively correlated with the centre of the rest time. However, the latter correlation is not significant and a larger sample size would be needed to substantiate this trend. We also found that the mean of HA state is negatively correlated with age, as shown in figure 9f which is in line with elderly people being less active. An emerging correlation was detected between the RI and the mean of the HA state, or amplitude of activity, with (p-value 0.09, plot not shown here) and between the RI and amount of HA, as estimated by the size of the dark red area scaled by the expected HA counts (p-value 0.06, plot not shown) indicating that more physical exercise might lead to a better rest, but again a larger sample size would be needed to substantiate this. We also considered differences in sex (figure 10) between our rest–activity rhythm related parameters, using simple two-sample t-tests, but did not find significant differences although it should be noted that some lower p-values were found indicating that females tend to have a slightly larger amount of rest with a slightly earlier midpoint. A larger sample size would be needed to investigate this further.
6. Cancer patients on chronotherapy
We are interested in the circadian rhythm of cancer patients and how it is affected by the administration of anticancer drugs which are characterized by a high degree of toxicity [59]. In a clinical context, the European project inCASA [14] obtained, amongst other variables, recordings of rest–activity of cancer patients receiving a multidrug chemotherapy at home [60,61] where the activity of patients with any cancer requiring chemotherapy was recorded every minute with a wrist-watch accelerometer (ActiGraph, Micro MotionLogger, Ambulatory Monitoring Inc, Ardsley, NY, USA), and data were transmitted daily to a server via a dedicated platform installed in the home of the patient. The patients were subject to a chronotherapy, i.e. a chronomodulated delivery of chemotherapeutic agents, while in their own environment.
We fitted a circadian harmonic HMM with m = 3 to the square root of the 5-min averaged PA counts, which was extended by adding, subject to an indicator function It ∈ Tchemo that equals one during the time of the chemotherapy treatment Tchemo, a second circadian harmonic whose Fourier coefficients, and hence amplitude and phase, may assume different values during Tchemo, i.e. we set
6.1 |
where P = 24 h and α and β are arbitrary coefficients that capture changes in the associated γ coefficients in equation (4.1) for the time of the chemotherapy. Figure 11 gives results for three patients, A, B and C, on chronotherapy each with over 2 weeks of PA recordings from a wristwatch. We can see that, before the chemotherapy, the circadian rhythm for patients A and C is relatively regular and their baseline values for RI are well compatible with the healthy individuals above. There is evidence of a more sedentary behaviour during the treatment in that patients tend to replace higher by lower activity levels along with elevated probabilities of daytime rest. All three patients have a decline in their RI although this is least pronounced for patient C who has the highest baseline RI value among the three patients and whose RI decreases from 0.78 to 0.70 which is due to some deterioration occurring during the later phase of the chemo. Patient B, whose baseline RI of 0.59 is already low in comparison to our healthy individuals, experiences the most pronounced decrease towards an RI of 0.44 which is predominantly due to a more interrupted night rest. The SP plots for A and B indicate that the circadian interruption might last until several days after the chemotherapy and future work of ours will consider how to assess whether a patient returns to their baseline circadian rhythm and the length of time that this may take.
These examples show that the harmonic HMM can be extended to quantify changes in the spectral behaviour of the circadian rhythm in PA due to external covariates such as treatment time. Although we have not demonstrated this here, an analogous approach as above may be taken to draw inference about a weekend effect. One can hence further envisage that, on the basis of such a routinely estimated circadian HMM, it will be possible to construct a system that can monitor, in real time, the patient's circadian rhythm during and in-between chemotherapeutic courses taken in the patient's home or own environment. Such a monitoring system could be instructed to issue warning signals to a health expert if the patient drastically changes rhythm or does not return to the baseline rhythm after a treatment course.
7. Summary and discussion
In this paper we propose the use of a HMM approach which can address the challenges of modelling activity data, and provides a natural framework for extracting information from them. The model can capture the characteristic features discernible in time series of activity measured over days, such as the notable square wave form with heterogeneous ultradian variances over the circadian cycle of human activity. The estimated parameters can be used to characterize the individual of rest–activity pattern and to study the inter-individual variability. We have further proposed a circadian harmonic HMM which incorporates a circadian oscillator, the nature and strength of which can be quantified from an individual's observed PA data, and plots and parameters, in particular a novel RI, that are of interest and relevant to circadian monitoring of human activity over many days. The possibility of assuming that the state transition probabilities may change over time according to covariate information and that the response may be multidimensional allows for a wide range of further modelling approaches with a potential to deal with the multivariate complex and large physiological data sets that may in the near future be acquired regularly and cheaply due to the rapidly developing technology of wearable devices [20]. Parameter inference via maximum likelihood requires the use of optimization procedures for which computationally accessible methodologies exist at least for some standard distributional choices. We note that we have assumed Gaussianity for a suitable transformation of the data and hence our HMMs were relatively easy to implement in particular since some R packages such as (HiddenMarkov and depmixS4) are already available.
Activity counts taken at very short lengths of epochs display a large proportion of zero and low integer counts during the prolonged IA states. Hence the development of estimation algorithms for mixtures of zero-inflated discrete distributions and Gaussian distributions for the active states may provide an interesting avenue to pursue in order to deal with shorter epoch lengths. However, as Bai et al. [21] point out, there are also significant differences in the computation of PA counts between manufacturers and even for new devices from the same manufacturer. Wearable devices are developing rapidly gaining increasing market attention via smart watches, mobile phones and bracelets where there is currently no consensus about their quality in assessing activity duration and sleep quality [62]. Activity recordings mark the beginning of sleep periods by immobility of the subject and therefore tend to overestimate sleep and underestimate wake time [2,63] in comparison to polysomnography (PSG), the current gold standard for measuring sleep, which will mark the onset of sleep through changes of electrical activity patterns in the brain. Hence, the accuracy of activity recordings obtained by accelerometers in measuring actual sleep continues to be investigated [64,65]. Migueles et al. [56] uncover significant effects on data comparability with respect to placement, epoch length, sampling frequency, frequency setting of the filtering process that selects the acceleration measured and treatment of missing data (usually due to removal to avoid contact with water) for different generations of accelerometer devices. Although it cannot address differences in the quality of data resulting from different types of measuring devices, an advantage of the HMM approach lies in its ability to translate the information from the observed data into probabilities of being in, and transferring between, different activity states allowing, in principle, for a comparison between studies that may be based on fundamentally different ways of measuring activity. Furthermore, the HMM approach solves the problem of ‘thresholding’ activity into different states in an appropriate way through a probabilistic model whilst respecting the dependencies in time which is a fundamental property of the observed time-series data.
Although we have not discussed this in detail here, it is important to note that the HMM provides a model on the basis of which one can compute theoretically justified confidence intervals which quantify the individual-specific variability of estimated model parameters. Moreover, the estimated harmonic HMM provides a simulation model for realistic data that can, for instance, be used to compute approximate confidence intervals for any non-parametric statistics of interest, such as the I < O or the RI developed here. This is an important task essential to evaluating the risk associated with the use of any such statistics for therapeutic treatment decisions in clinic. Such appropriate statistical modelling approaches are needed and the whole approach has the potential to serve as routine model in an online monitoring system that could be implemented to monitor, in real time, the daily rhythm of a cancer patient during chronotherapy in their own home.
Further data are foreseen to be collected as part of an e-health circadian platform created by the French project PiCADo which allows automatic and non-invasive monitoring of circadian biomarkers in cancer patients receiving treatment in their own environment. The platform and the HMM modelling approach suggested here are currently being used and further developed by us in two projects namely to investigate circadian rhythm in cancer patients and in night-shift working individuals.
Supplementary Material
Acknowledgements
We wish to thank three anonymous referees for their insightful and valuable comments. Initial work for this study was commenced by D.C. in an MSc dissertation project supervised by B.F., for which D.C. was awarded a prize for the best MSc thesis by Department of Statistics, University of Warwick.
Endnotes
The majority of accelerometers in these studies were positioned on the hip, four studies used the non-dominant wrist.
For example, a person who often moves their wrist rather than the central body will appear more active if the accelerometer is positioned on the wrist.
Convergence should be assessed for different starting values.
The five outliers are subjects 2 (travelled between Europe and US), 8 (suffered from insomnia), 20 (suffered from depression and anxiety), 21 (suffered from insomnia and depression) and 29 (student working at night).
Data accessibility
R-codes to obtain results for homogeneous and harmonic HMMs along with three example data sets are available at https://github.com/huang1010/hmms.
Author's contributions
Q.H. and D.C. developed and performed statistical modelling under supervision of B.F. S.K. provided technical support to subjects regarding the wearing of the sensor, performed data collection and analysis. X.M.L. performed chronobiological experiments on rodents and provided further PA data sets to develop the methodology. P.I. and F.L. directed the biological part of the study and provided guidance on relevant chronobiological methods for sensor data including the dichotomy index. B.F. directed the statistical part of the study and wrote the paper with the help of Q.H. and D.C. All authors helped recruit volunteers and contributed to the editing of the paper.
Competing interests
The authors declare that they have no competing interests.
Funding
This project was supported by the Medical Research Council, Grant reference: MR/M013170/1 (to B.F.). F.L. and S.K. were partly supported by the Conseil Régional d'Ile de France, the Conseil Régional de Champagne-Ardenne, Mairie de Paris and the Banque Publique d'Investissement (BPI France) through the Fonds Unique Interministériel 12 (PiCADo, Contract 11017951), and the Institut de Recherche en Santé Publique from France (CLOCK-DOM1, grant 2014-BDCR-EC).
References
- 1.Sadeh A. 2011. The role and validity of actigraphy in sleep medicine: an update. Sleep Med. Rev. 15, 259–267. (doi:10.1016/j.smrv.2010.10.001) [DOI] [PubMed] [Google Scholar]
- 2.Ancoli-Israel S, Cole R, Alessi C, Chambers M, Moorcroft W, Pollak C. 2003. The role of actigraphy in the study of sleep and circadian rhythms. Sleep 26, 342–392. American Academy of Sleep Medicine Review Paper. [DOI] [PubMed] [Google Scholar]
- 3.Ancoli-Israel S, Martin JL, Blackwell T, Buenaver L, Liu L, Meltzer LJ, Sadeh A, Spira AP, Taylor DJ. 2015. The SBSM guide to actigraphy monitoring: clinical and research applications. Behav. Sleep Med. 13(suppl. 1), S4–S38. (doi:10.1080/15402002.2015) [DOI] [PubMed] [Google Scholar]
- 4.Foster RG, Kreitzman L. 2014. The rhythms of life: what your body clock means to you! Exp. Physiol. 99, 599–606. (doi:10.1113/expphysiol.2012.071118) [DOI] [PubMed] [Google Scholar]
- 5.Roenneberg T, Merrow M. 2016. The circadian clock and human health. Curr. Biol. 26, R432–R443. (doi:10.1016/j.cub.2016.04.011) [DOI] [PubMed] [Google Scholar]
- 6.Innominato PF, Roche VP, Palesh OG, Ulusakarya A, Spiegel D, Lévi FA. 2014. The circadian timing system in clinical oncology. Ann. Med. 46, 191–207. (doi:10.3109/07853890.2014.916990) [DOI] [PubMed] [Google Scholar]
- 7.Reddy AB, ONeill JS. 2010. Healthy clocks, healthy body, healthy mind. Trends. Cell Biol. 20, 36–44. (doi:10.1016/j.tcb.2009.10.005) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Dallmann R, Okyar A, Lévi F. 2016. Dosing-time makes the poison: circadian regulation and pharmacotherapy. Trends. Mol. Med. 22, 430–445. (doi:10.1016/j.molmed.2016.03.004) [DOI] [PubMed] [Google Scholar]
- 9.Partch CL, Green CB, Takahashi JS. 2014. Molecular architecture of the mammalian circadian clock. Trends. Cell Biol. 24, 90–99. (doi:10.1016/j.tcb.2013.07.002) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Zhang EE, Kay SA. 2010. Clocks not winding down: unravelling circadian networks. Nat. Rev. Mol. Cell Biol. 11, 764–776. (doi:10.1038/nrm2995) [DOI] [PubMed] [Google Scholar]
- 11.Schibler U. et al. 2015. Clock-talk: interactions between central and peripheral circadian oscillators in mammals. In Cold Spring Harbor symposia on quantitative biology, vol. 80, pp. 223–232. Cold Spring Harbor, NY: Cold Spring Harbor Laboratory Press. [DOI] [PubMed] [Google Scholar]
- 12.Dibner C, Schibler U. 2015. Circadian timing of metabolism in animal models and humans. J. Intern. Med. 277, 513–527. (doi:10.1111/joim.12347) [DOI] [PubMed] [Google Scholar]
- 13.Rajaratnam SM, Arendt J. 2001. Health in a 24-h society. Lancet 358, 999–1005. (doi:10.1016/S0140-6736(01)06108-6) [DOI] [PubMed] [Google Scholar]
- 14.Innominato PF. et al. 2016. Clinical relevance of the first domomedicine platform securing multidrug chronotherapy delivery in metastatic cancer patients at home: the inCASA European project. J. Med. Internet. Res. 18, e305 (doi:10.2196/jmir.6303) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Frank E, Swartz HA, Kupfer DJ. 2000. Interpersonal and social rhythm therapy: managing the chaos of bipolar disorder. Biol. Psychiatry 48, 593–604. [DOI] [PubMed] [Google Scholar]
- 16.Abdullah S, Murnane EL, Matthews M, Choudhury T. 2017. Circadian computing: sensing, modeling, and maintaining biological rhythms. In (eds Rehg J, Murphy S, Kumar S) Mobile health, pp. 35–58. Cham, Switzerland: Springer; (doi:10.1007/978-3-319-51394-2_3) [Google Scholar]
- 17.Vallance J, Eurich D, Gardiner P, Taylor L, Johnson S. 2016. Associations of daily pedometer steps and self-reported physical activity with health-related quality of life: results from the Alberta Older Adult Health Survey. J. Aging Health 28, 661–674. (doi:10.1177/0898264315609905) [DOI] [PubMed] [Google Scholar]
- 18.Aung MH, Matthews M, Choudhury T. 2017. Sensing behavioral symptoms of mental health and delivering personalized interventions using mobile technologies. Depress Anxiety 34, 603–609. (doi:10.1002/da.22646) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Ridgers ND, McNarry MA, Mackintosh KA. 2016. Feasibility and effectiveness of using wearable activity trackers in youth: a systematic review. JMIR. Mhealth Uhealth 4, e129 (doi:10.2196/mhealth.6540) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Sanders JP, Loveday A, Pearson N, Edwardson C, Yates T, Biddle SJ, Esliger DW. 2016. Devices for self-monitoring sedentary time or physical activity: a scoping review. J. Med. Internet. Res. 18, e90 (doi:10.2196/jmir.5373) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Bai J, He B, Shou H, Zipunnikov V, Glass TA, Crainiceanu CM. 2013. Normalization and extraction of interpretable metrics from raw accelerometry data. Biostatistics 15, 102–116. (doi:10.1093/biostatistics/kxt029) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Goncalves BSB, Cavalcanti PRA, Tavares GR, Campos TF, Araujo JF. 2014. Nonparametric methods in actigraphy: an update. Sleep Sci. 7, 158–164. (doi:10.1016/j.slsci.2014.09.013) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Goncalves BSB, Adamowiczc T, Mazzilli Louzadac F, Roberta Moreno C, Araujo JF. 2015. A fresh look at the use of nonparametric analysis in actimetry. Sleep. Med. Rev. 20, 84–91. (doi:10.1016/j.smrv.2014.06.002) [DOI] [PubMed] [Google Scholar]
- 24.Blume C, Santhi N, Schabus M. 2016. nparACT package for R: a free software tool for the non-parametric analysis of actigraphy data. MethodsX 3, 430–435. (doi:10.1016/j.mex.2016.05.006) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Bromundt V, Köster M, Georgiev-Kill A, Opwis K, Wirz-Justice A, Stoppe G, Cajochen C. 2011. Sleep/awake cycles and cognitive functioning in schizophrenia. Br. J. Psychiatry 198, 269–276. (doi:10.1192/bjp.bp.110.078022) [DOI] [PubMed] [Google Scholar]
- 26.Oosterman J, van Someren E, Vogels R, Van Harten B, Scherder E. 2009. Fragmentation of the rest/activity rhythm correlates with age-related cognitive deficits. J. Sleep Res. 18, 129–135. (doi:10.1111/j.1365-2869.2008.00704.x) [DOI] [PubMed] [Google Scholar]
- 27.Hatfield C, Herbert J, van Someren E, Hodges J, Hastings M. 2004. Disrupted daily activity–rest cycles in relation to daily cortisol rhythms of home-dwelling patients with early Alzheimer's dementia. Brain 127, 1061–1074. (doi:10.1093/brain/awh129) [DOI] [PubMed] [Google Scholar]
- 28.Minors D, Akerstedt T, Atkinson G, Dahlitz M, Folkard S, Lévi F, Mormont C, Parkes D, Waterhouse J. 1996. The difference between activity when in bed and out of bed. I. Healthy subjects and selected patients. Chronobiol. Int. 13, 27–34. (doi:10.3109/07420529609040839) [DOI] [PubMed] [Google Scholar]
- 29.Natale V, Innominato PF, Boreggiani M, Tonetti L, Filardi M, Parganiha A, Fabbri M, Martoni M, Lévi F. 2015. The difference between in bed and out of bed activity as a behavioral marker of cancer patients: a comparative actigraphic study. Chronobiol. Int. 32, 925–933. (doi:10.3109/07420528.2015.1053909) [DOI] [PubMed] [Google Scholar]
- 30.Lévi F. et al. 2014. Wrist actimetry circadian rhythm as a robust predictor of colorectal cancer patients survival. Chronobiol. Int. 31, 891–900. (doi:10.3109/07420528.2014.924523) [DOI] [PubMed] [Google Scholar]
- 31.Chang WP, Lin CC. 2014. Correlation between rest–activity rhythm and survival in cancer patients experiencing pain. Chronobiol. Int. 31, 926–934. (doi:10.3109/07420528.2014.931412) [DOI] [PubMed] [Google Scholar]
- 32.Lévi F. et al. 2012. Circadian robustness as an independent predictor of prolonged progression-free survival (PFS) and overall survival (OS) in 436 patients with metastatic colorectal cancer (mCRC). J. Clin. Oncol. 30, 464–464. [Google Scholar]
- 33.Innominato PF. et al. 2009. Circadian rhythm in rest and activity: a biological correlate of quality of life and a predictor of survival in patients with metastatic colorectal cancer. Cancer Res. 69, 4700–4707. (doi:10.1158/0008-5472.CAN-08-4747) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Fischer D, Vetter C, Roenneberg T. 2016. A novel method to visualise and quantify circadian misalignment. Sci. Rep. 6, 38601 (doi:10.1038/srep38601) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Ruf T. 1999. The Lomb–Scargle periodogram in biological rhythm research: analysis of incomplete and unequally spaced time-series. Biol. Rhythm. Res. 30, 178–201. [Google Scholar]
- 36.Straume M, Frasier-Cadoret SG, Johnson ML. 2002. Least-squares analysis of fluorescence data, pp. 177–240. Berlin, Germany: Springer [Google Scholar]
- 37.Wang J. et al. 2011. Measuring the impact of apnea and obesity on circadian activity patterns using functional linear modeling of actigraphy data. J. Circadian Rhythms 9, 11 (doi:10.1186/1740-3391-9-11) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Costa MJ, Finkenstädt B, Roche V, Lévi F, Gould PD, Foreman J, Halliday K, Hall A, Rand DA. 2013. Inference on periodicity of circadian time series. Biostatistics 14, 792–806. (doi:10.1093/biostatistics/kxt020) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Zucchini W, MacDonald IL. 2009. Hidden Markov models for time series: an introduction using R. Boca Raton, FL: CRC Press. [Google Scholar]
- 40.Ephraim Y, Merhav N. 2002. Hidden markov processes. IEEE Trans. Info. Theory 48, 1518–1569. (doi:10.1109/TIT.2002.1003838) [Google Scholar]
- 41.Baum LE, Petrie T. 1966. Statistical inference for probabilistic functions of finite state Markov chains. Ann. Math. Stat. 37, 1554–1563. (doi:10.1214/aoms/1177699147) [Google Scholar]
- 42.Baum LE, Petrie T, Soules G, Weiss N. 1970. A maximization technique occurring in the statistical analysis of probabilistic functions of Markov chains. Ann. Math. Stat. 41, 164–171. (doi:10.1214/aoms/1177697196) [Google Scholar]
- 43.Baum LE. 1972. An inequality and associated maximization technique in statistical estimation for probabilistic functions of Markov processes. Inequalities 3, 1–8. [Google Scholar]
- 44.Raviv J. 1967. Decision making in Markov chains applied to the problem of pattern recognition. IEEE Trans. Info. Theory 13, 536–551. (doi:10.1109/TIT.1967.1054060) [Google Scholar]
- 45.Rabiner LR. 1989. A tutorial on hidden Markov models and selected applications in speech recognition. Proc. IEEE 77, 257–286. (doi:10.1109/5.18626) [Google Scholar]
- 46.Rabiner LR, Wilpon JG, Soong FK. 1990. High performance connected digit recognition using hidden Markov models, pp. 320–331. Amsterdam, The Netherlands: Elsevier. [Google Scholar]
- 47.Durbin R, Eddy SR, Krogh A, Mitchison G. 1998. Biological sequence analysis: probabilistic models of proteins and nucleic acids. Cambridge, UK: Cambridge university press. [Google Scholar]
- 48.Peursum P, Bui HH, Venkatesh S, West G. 2004. Human action segmentation via controlled use of missing data in HMMs. In Proceedings of the 17th International Conference on Pattern Recognition, 2004 ICPR 2004 vol. 4, pp. 440–445. New York, NY: IEEE. [Google Scholar]
- 49.Pober DM, Staudenmayer J, Raphael C, Freedson PS. 2006. Development of novel techniques to classify physical activity mode using accelerometers. Med. Sci. Sports. Exerc. 38, 1626–1634. (doi:10.1249/01.mss.0000227542.43669.45) [DOI] [PubMed] [Google Scholar]
- 50.Mannini A, Sabatini AM. 2010. Machine learning methods for classifying human physical activity from on-body accelerometers. Sensors 10, 1154–1175. (doi:10.3390/s100201154) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51.Lee YS, Cho SB. 2011. Activity recognition using hierarchical hidden Markov models on a smartphone with 3D accelerometer. In International Conference on Hybrid Artificial Intelligence Systems (eds Corchado E, Kurzyński M, Woźniak M), pp. 460–467. Berlin, Germany: Springer. [Google Scholar]
- 52.Attal F, Mohammed S, Dedabrishvili M, Chamroukhi F, Oukhellou L, Amirat Y. 2015. Physical human activity recognition using wearable sensors. Sensors 15, 31 314–31 338. (doi:10.3390/s151229858) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 53.Pan ST, Kuo CE, Zeng JH, Liang SF. 2012. A transition-constrained discrete hidden Markov model for automatic sleep staging. Biomed. Eng. Online 11, 52 (doi10.1186/1475-925X-11-52) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54.Yaghouby F, Sunderam S. 2015. Quasi-supervised scoring of human sleep in polysomnograms using augmented input variables. Comput. Biol. Med. 59, 54–63. (doi:10.1016/j.compbiomed.2015.01.012) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 55.Langrock R, Swihart BJ, Caffo BS, Punjabi NM, Crainiceanu CM. 2013. Combining hidden Markov models for comparing the dynamics of multiple sleep electroencephalograms. Stat. Med. 32, 3342–3356. (doi:10.1002/sim.5747) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Migueles JH, Cadenas-Sanchez C, Ekelund U, Nyström CD, Mora-Gonzalez J, Löf M, Labayen I, Ruiz JR, Ortega FB. 2017. Accelerometer data collection and processing criteria to assess physical activity and other outcomes: a systematic review and practical considerations. Sports Med. 47, 1821–1845. (doi:10.1007/s40279-017-0716-0) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 57.Skeldon AC, Dijk DJ, Derks G. 2014. Mathematical models for sleep-wake dynamics: comparison of the two-process model and a mutual inhibition neuronal model. PLoS ONE 9, e103877 (doi:10.1371/journal.pone.0103877) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Banachewicz K, Lucas A, van der Vaart A. 2008. Modelling portfolio defaults using hidden Markov models with covariates. Econom. J. 11, 155–171. (doi:10.1111/j.1368-423X.2008.00232.x) [Google Scholar]
- 59.Ortiz-Tudela E, Iurisci I, Beau J, Karaboue A, Moreau T, Rol MA, Madrid JA, Lévi F, Innominato PF. 2014. The circadian rest-activity rhythm, a potential safety pharmacology endpoint of cancer chemotherapy. Int. J. Cancer 134, 2717–2725. (doi:10.1002/ijc.28587) [DOI] [PubMed] [Google Scholar]
- 60.Innominato PF, Lévi FA, Bjarnason GA. 2010. Chronotherapy and the molecular clock: clinical implications in oncology. Adv. Drug. Deliv. Rev. 62, 979–1001. (doi:10.1016/j.addr.2010.06.002) [DOI] [PubMed] [Google Scholar]
- 61.Lévi F, Okyar A, Dulong S, Innominato PF, Clairambault J. 2010. Circadian timing in cancer treatments. Annu. Rev. Pharmacol. Toxicol. 50, 377–421. (doi:10.1146/annurev.pharmtox.48.113006.094626) [DOI] [PubMed] [Google Scholar]
- 62.Wen D, Zhang X, Liu X, Lei J. 2017. Evaluating the consistency of current mainstream wearable devices in health monitoring: a comparison under free-living conditions. J. Med. Internet. Res. 19, e68 (doi:10.2196/jmir.6874) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 63.Tryon WW. 2004. Issues of validity in actigraphic sleep assessment. Sleep 27, 158–165. (doi:10.1093/sleep/27.1.158) [DOI] [PubMed] [Google Scholar]
- 64.Marino M, Li Y, Rueschman MN, Winkelman J, Ellenbogen JM, Solet J, Dulin H, Berkman LF, Buxton OM. 2013. Measuring sleep: accuracy, sensitivity, and specificity of wrist actigraphy compared to polysomnography. Sleep 36, 1747–1755. (doi:10.5665/sleep.3142) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 65.Toon E, Davey MJ, Hollis SL, Nixon GM, Horne R, Biggs SN. 2015. Comparison of commercial wrist-based and smartphone accelerometers, actigraphy, and PSG in a clinical cohort of children and adolescents. J. Clin. Sleep Med. 12, 343–350. (doi:10.5664/jcsm.5580) [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
R-codes to obtain results for homogeneous and harmonic HMMs along with three example data sets are available at https://github.com/huang1010/hmms.