Skip to main content

Measures of fragmentation of rest activity patterns: mathematical properties and interpretability based on accelerometer real life data

Abstract

Accelerometers, devices that measure body movements, have become valuable tools for studying the fragmentation of rest-activity patterns, a core circadian rhythm dimension, using metrics such as inter-daily stability (IS), intradaily variability (IV), transition probability (TP), and self-similarity parameter (named \(\alpha\)). However, their use remains mainly empirical. Therefore, we investigated the mathematical properties and interpretability of rest-activity fragmentation metrics by providing mathematical proofs for the ranges of IS and IV, proposing maximum likelihood and Bayesian estimators for TP, introducing the activity balance index (ABI) metric, a transformation of \(\alpha\), and describing distributions of these metrics in real-life setting. Analysis of accelerometer data from 2,859 individuals (age=60-83 years, 21.1% women) from the Whitehall II cohort (UK) shows modest correlations between the metrics, except for ABI and \(\alpha\). Sociodemographic (age, sex, education, employment status) and clinical (body mass index (BMI), and number of morbidities) factors were associated with these metrics, with differences observed according to metrics. For example, a difference of 5 units in BMI was associated with all metrics (differences ranging between -0.261 (95% CI -0.302, -0.220) to 0.228 (0.18, 0.268) for standardised TP rest to activity during the awake period and TP activity to rest during the awake period, respectively). These results reinforce the value of these rest-activity fragmentation metrics in epidemiological and clinical studies to examine their role for health. This paper expands on a set of methods that have previously demonstrated empirical value, improves the theoretical foundation for these methods, and evaluates their empirical use in a large dataset.

Peer Review reports

Introduction

A large number of human behaviours and physiological functions follow a circadian rhythmicity, such as for examples sleep/wake cycles, body temperature, and hormonal levels [1]. Circadian regulation of these processes is critical to maintaining homeostasis; prolonged disruptions are detrimental to health [2, 3], highlighting the importance of precise, scalable measures of human circadian rhythm (CR). Accelerometers, devices that record acceleration of the part of the body to which they are attached, have emerged as valuable tools to measure dimensions of CR based on movements in free-living conditions [4, 5].

An important dimension of CR is the fragmentation of rest-activity patterns over several consecutive days [6, 7]. Over time several metrics have been proposed to quantity the rest-activity fragmentation using accelerometry data. The first and now commonly used metrics are inter-daily stability (IS) and intradaily variability (IV). IS provides information on how constant the rest-activity pattern is between days and IV quantifies the fragmentation of activity pattern between consecutive hours over the observation period [6, 8]. Later the transition probability (TP) has been proposed to measure the likelihood of transitioning from a state of rest to a state of activity, or vice versa [7, 9]. Overall, the metrics described above are increasingly used in the context of fragmentation of rest-activity patterns but they can be used in different contexts involving series of dichotomous states, apart for IS and IV that are more specific to organisation of activity during a period of time. In parallel, the detrended fluctuation analysis (DFA) [10] initially used in genomics has been used to identify hidden patterns where activity fluctuations are used as proxy for rest-activity fragmentation [11, 12]. In DFA, the self-similarity parameter, also known as the scaling exponent or \(\alpha\), is a key metric for description of time series, such as stationary and non-stationary time series, random noise and fractal noise, among others [13].

Although metrics of rest-activity fragmentation are increasingly used in the literature, mathematical properties of these metrics and their interpretation have not been entirely described. First, although the range of IS in [0, 1] and IV in [0, 2] has been suggested by van Someren et al. (1999) [14], no proper mathematical proof is available, limiting confidence in interpretability, particularly for extreme values. Second, Lim et al. (2011) [7] and Di et al. (2017) [9] have proposed different estimations of TP, both based on heuristic estimators, limiting their mathematical properties as compared to estimators based on maximum likelihood (ML) or Bayesian inference. In addition, the properties of these two estimators have not been compared. Third, interpretation of DFA-derived metrics is not straightforward. Finally, to our knowledge, only one study has shown the correlation between IS, IV, TP (based on Lim et al. (2011) definition [7]) and DFA within a unique sample, older adults living in residential facilities, limiting generalisability of findings [7].

In order to overcome limitations of the current evidence on rest-activity fragmentation metrics, the present study aims to 1) provide mathematical proof of the range of IS and IV, 2) propose a ML estimator, the gold standard of estimation, and a Bayesian estimator, with good properties, for TP, and 3) propose a new metric, that is a transformation of DFA-derived self-similarity parameter, named activity balance index (ABI), that reflects how balanced is the activity over several days, and 4) describe these metrics using data from the population-based Whitehall II accelerometer sub-study.

Materials and methods

Preliminary definitions

Rest-activity fragmentation metrics are calculated based on different time series derived from raw acceleration signals (Table 1). These time series differ as a function of units (eg minute or hour) and outcomes considered (acceleration, dichotomous state (rest/activity), or proportion of the epoch in a state). Here are some preliminary definitions of these time series.

Table 1 Key information of each time series

Definition 1

For each individual, a discrete stochastic process representing the intensity of movement over a time period [0, T] is defined as \(\{X_t\}_{t \in T}\), with \(X_t \in [0, \delta _x]\), \(\delta _x<\infty\), and t corresponds to an epoch. The observed time series is a vector represented as \(\varvec{x} = (x_1, \dots , x_T)'\). In the case of accelerometry data, \(x_t\) corresponds to the acceleration recorded at the \(t^{th}\) epoch and \(\delta _x\) is the maximum measurable record for \(x_t\).

Definition 2

For each individual, a second stochastic process representing the active (a) and rest (r) states is defined as \(\{Y_t\}_{t \in T}\), with \(Y_t \in \{r,a\}\), where \(Y_t = a\) if \(X_t > \delta _y\), and \(\delta _y\) is the threshold which separates active and rest based on the amount of acceleration per epoch. The observed time series is a vector represented as \(\varvec{y} = (y_1, \dots , y_T)'\).

Definition 3

For each individual, a third stochastic process representing the proportion of active states per hour is defined as \(\{Z_p\}_{p \in P}\), with \(Z_p \in [0, 1]\), where \(Z_p = \delta _z^{-1}\sum \nolimits _{t=1}^{\delta _z} I(y_{t + \delta _z(p-1)}=a)\), \(I(\cdot )\) is an indicator function equal to one if the condition is true and zero otherwise, \(\delta _z\) is the number of epochs which build 1 hour (eg if one epoch corresponds to 1 minute then \(\delta _z = 60\)), p corresponds to a period of 1 hour, and P is the total number of hours during the period [0, T]. The observed time series is a vector represented as \(\varvec{z} = (z_1, \dots , z_P)'\).

Data

The Whitehall II study is an ongoing prospective cohort study established in 1985-1988 among 10308 British civil servants with clinical examinations every four-five years since inception. A written informed consent for participation was obtained at each contact. Research ethics approval was obtained from the University College London ethics committee (latest reference number 85/0938). An accelerometer measure was added to the 2012-2013 wave of data collection (age range 60 to 83 years) for participants seen at the London clinic and those living in the south-eastern regions of England who underwent clinical examination at home. Participants were requested to wear a tri-axial accelerometer (GENEActiv Original; Activinsights Ltd, Kimbolton, UK) on their non-dominant arm for nine consecutive 24-hour days. Accelerometer data, sampled at 85.7Hz and expressed relative to gravity (\(1g = 9.81m/s^2\)), were processed using GGIR v2.9-0 [15]. The Euclidean norm minus one (ENMO) of raw acceleration was calculated and corrected for calibration error and non-wear time. These acceleration values were averaged over 60-second epochs and we used a 40 mg cut-point to differentiate between rest and active periods as previously done in studies using wrist-worn raw acceleration devices [16, 17]. This cut-point was proposed in a study to differentiate between inactive periods and activities of light or moderate-to-vigorous intensities where adult participants undertook series of activities in a laboratory and mimic postures and behaviours from free-living conditions [18]. This cut-point is in agreement with a more recent study among older adults that showed good classification accuracy based on oxygen consumption during nine laboratory-based activities of daily living [19].

Waking periods (ie, periods between waking and sleep onset) for each day were identified using an algorithm for sleep detection based on wrist movement along with self-reported sleep onset and waking time using a sleep diary. This algorithm has been previously described and evaluated against polysomnography data [20]. Data from waking onset on day 2 to same time on day 8 were retained, resulting in seven days of data. Non-wear time was detected using an algorithm that has been previously described [21], and for the present study 2859 participants who wore the accelerometer over the full seven consecutive days were included in analyses.

For each individual, three time series were considered: the time series corresponding to the 1-minute epoch acceleration over seven days \(x_t\), \(t = 1, \dots , 10080\) (the number of minutes over seven days), see Definition 1; the time series corresponding to the 1-minute epoch active state over seven days, \(y_t\), \(t = 1, \dots , 10080\), see Definition 2; and the time series corresponding to 1-hour proportion of active state over seven days, \(z_p\), \(p = 1, \dots , 168\) (the number of hours over seven days), see Definition 3. A summary of the three considered time series is available in Table 1, and an illustration is displayed in Fig. 1. For illustrative purposes, ten participant profiles were selected to highlight differences in metrics observed in real-life situations (six of them are displayed in Figs. 4, 5, 6, 7, 8, and 9 and four in the Supplementary material (figures S2-S5)). They were chosen based on their lowest or highest value in the metrics.

Fig. 1
figure 1

Example of three time series from the same individual

Measures of socio-demographic (age, sex, education) and health-related (body mass index (BMI), prevalent morbidities) factors were collected along with the accelerometer data in 2012-2013. Education was categorised as zero if the individual has less than secondary school education and one otherwise. BMI was based on measured weight and height (kg/m\(^2\)), and the number of prevalent morbidities was assessed using clinical examinations in the study and linkage to electronic health records and includes coronary heart disease, stroke, heart failure.

A total of 4,880 individuals were invited to participate to the Whitehall accelerometer sub-study. Out of these, 4,282 agreed to wear the accelerometer and had no contraindications (allergy to plastic or travelling abroad). Among them, 2,859 individuals had complete data without any non-wear period for a continuous period of seven days corresponding to a total of 10,080 one-minute epochs. The mean age of the participants was 69.2 years, with a standard deviation (SD) of 5.7 years. A total of 602 were women (21.1%), 1170 (40.9%) had less than secondary school education level, 495 (17.3%) were currently employed, and 1140 (39.9%) had at least one morbidity. The mean body mass index (BMI) in the study sample was 26.7 (SD=4.3) kg/m\(^2\).

Inter-daily stability and intradaily variability

Properties of IS and IV

IS measures how constant the rest-activity pattern is between days [8]. Considering that we measure H hours over D days, we have a total number of hours \(P = H \times D\) over a full observation period. For IS, it is useful to organize the vector \(\varvec{z}\) from Definition 3 in a matrix form as

$$\begin{aligned} \dot{\varvec{z}} = \left[ \begin{array}{ccc} z_{1,1} &{} \cdots &{} z_{1,H} \\ \vdots &{} &{} \vdots \\ z_{D,1} &{} \cdots &{} z_{D,H} \end{array}\right] , \end{aligned}$$

where \(z_{d,h}\) is an element for the \(d^{th}\) line and \(h^{th}\) column, where \(d = 1,\dots , D\) and \(h = 1,\dots , H\). IS is computed as

$$\begin{aligned} \text {IS}(\varvec{z}) = \frac{P \sum \nolimits _{h=1}^{H} (\bar{z}_h-\bar{z})^2}{H \sum \nolimits _{p=1}^{P} (z_p-\bar{z})^2} = \frac{D \sum \nolimits _{h=1}^{H} (\bar{z}_h-\bar{z})^2}{ \sum \nolimits _{h=1}^{H}\sum \nolimits _{d=1}^{D} (z_{d,h}-\bar{z})^2}, \end{aligned}$$

where \(\bar{z}_h = \frac{1}{D} \sum \nolimits _{d=1}^{D} z_{d,h}\) is the hour mean over the D days of measurement, and \(\bar{z} = \frac{1}{P} \sum \nolimits _{p=1}^{P} z_p\) is the general mean over the full observed period.

IV represents the fragmentation of the rest-activity pattern over a long period, it measures the variability between consecutive hours (Fig. 1c) [8]. IV is calculated as

$$\begin{aligned} \text {IV}(\varvec{z}) = \frac{P \sum \nolimits _{p=2}^{P} (z_p-z_{p-1})^2}{(P-1) \sum \nolimits _{p=1}^{P} (z_p-\bar{z})^2}. \end{aligned}$$
(1)

Some mild conditions should be established to derive the properties of IS and IV metrics. They are:

  1. (A1)

    \(Z_p\) follows an autoregressive model of order 1 (AR(1) model) as

    $$\begin{aligned} Z_p = \mu + \phi Z_{p-1} + \epsilon _p, \end{aligned}$$

    where \(\mu\) is the mean of the stochastic process, \(\phi\) is a fixed but unknown parameter with \(|\phi |<1\), \(\epsilon _p\) is a Gaussian noise.

  2. (A2)

    \(0 \le \phi < 1\) and \(P \rightarrow \infty\).

The assumption (A1) is required to define the IV range, because we need to determine the relationship between \(Z_p\) and \(Z_{p-1}\), and the AR(1) model is a very simple and flexible model, which can fit several different real situations. Although, we assume a stationary process, see unit root conditions in Dickey and Fuller (1979) [22]. The assumption (A2) is imposed to guarantee a positive auto-correlation \(0 \le \phi\), and a long period of observation, P, of the time series.

Theorem 1

Given a stochastic process \(\{Z_p\}_{p \in P}\), \(\text {IS}(\varvec{z}) \in [0,1]\).

Theorem 2

Given a stochastic process \(\{Z_p\}_{p \in P}\) and under assumption (A1), \(\text {IV}(\varvec{z}) \in [0,\infty )\).

Theorem 3

Given a stochastic process \(\{Z_p\}_{p \in P}\) and under assumptions (A1) and (A2), \(\lim _{P \rightarrow \infty }(\text {IV}(\varvec{z})) \in [0,2]\).

The proofs of these theorems are provided in the Supplementary material (Section 1).

Interpretation of IS and IV

In the demonstration of Theorem 1 (Supplementary material - Section 1), we showed that a higher value of IS reflects a rest-active pattern that is more constant between days, see (Table 2).

Table 2 Range, interpretability, strengths and limitations of rest-activity fragmentation metrics

In the demonstration of Theorem 2 (Supplementary material - Section 1), we showed that 1) if \(\phi\) goes to one (perfect autocorrelation), then IV goes to zero, reflecting a low rest-activity fragmentation between hours; 2) if \(\phi\) goes to zero (uncorrelated random noise), then IV goes to two, representing a high rest-activity fragmentation between hours; 3) in some specific cases, IV can be greater than two, this can occur when the sample size P is too small, or \(\phi < 0\) which may be seen in ultradian rhythm, which means that the rhythm cycle lasts less than a day [14], or in the case of use of high frequency data [23]. These statements agree with the previous claims given by van Someren et al. (1999) about IS and IV [14]. Some authors use IV based on the \(\varvec{x}\) time series [24,25,26]. In that case, the present properties do not hold anymore as the assumptions (A1) and (A2) are verified exclusively for \(\varvec{z}\).

Transition probability

Properties of TP

The TP in dichotomous stochastic processes represents the probability of a state change given a period of time spent in a specific state. A formal characterization of TP of changes in rest/activity state is given in Definition 4.

Definition 4

For each individual, given a stochastic process determined by Definition 2 the TP from r to a given an uninterrupted period of rest with length equal to s is

$$\begin{aligned} \pi _{ra}(s) = \mathcal {P} (Y_t=a|Y_{t-1}=r,\dots , Y_{t-s} = r), \end{aligned}$$

and the TP from a to r given an uninterrupted period of activity with length equal to s is

$$\begin{aligned} \pi _{ar}(s) = \mathcal {P} (Y_t=r|Y_{t-1}=a,\dots , Y_{t-s}=a). \end{aligned}$$

The two conditional probabilities from Definition 4 are proposed by Lim et al. (2011) [7]. The specific cases of \(s=1\) returns two probabilities proposed by Di et al. (2017) [9]. We aim to propose a ML estimator to TP because if the model assumptions are aligned, there is no better estimation than ML, being a gold standard. Although, if there is available knowledge, we can aggregate this information and build a Bayesian estimator that is even more accurate than ML. Beforehand, some notations need to be introduced for readability.

Definition 5

\(\varvec{r} = (r_1, \dots , r_{n_{r}})'\) is a \(n_{r}\)-vector that records the length of each consecutive bout of rest, where \(n_r\) is the number of bouts of rest \((n_r \le T)\) so that \(r_1\) is the length of the first bout of rest, \(r_2\) of the 2\(^{nd}\) bout of the rest, and \(r_{n_r}\) the length of the last bout of rest. \(T_{r} = \sum \nolimits _{i=1}^{n_{r}}r_i\) is the total length of rest (in epochs unit), \(r_i \in \{1, \dots , S_r\}\), \(S_r\) is the duration of the longest bout of rest.

Definition 6

\(\varvec{a} = (a_1, \dots , a_{n_{a}})'\) is a \(n_{a}\)-vector that records the length of each consecutive bout of activity, where \(n_a\) is the number of bouts of activity \((n_a \le T)\). \(T_{a} = \sum \nolimits _{i=1}^{n_{a}}a_i = T -T_{r}\) is the total length of activity (in epochs unit), \(a_i \in \{1, \dots , S_a\}\), \(S_a\) is the duration of the longest bout of activity.

Here are two assumptions:

  1. (B1)

    The stochastic process \(\{Y_t\}_{t \in T}\) is stationary.

  2. (B2)

    The stochastic process \(\{Y_t\}_{t \in T}\) has a finite memory equal to \(s \ge 1\).

Theorem 4

Given a stochastic process \(\{Y_t\}_{t \in T}\), under assumptions (B1) and (B2), the ML estimators of \(\pi _{ra}(s)\) and \(\pi _{ar}(s)\) are \(\hat{\pi }_{ra}(s)_{ML} = \frac{\sum \nolimits _{i=1}^{n_{r}} I(r_i \ge s)-I(y_T=r)}{\sum \nolimits _{i=1}^{n_{r}}(r_i-s+1) I(r_i \ge s)-I(y_T=r)}\) and \(\hat{\pi }_{ar}(s)_{ML} = \frac{\sum \nolimits _{i=1}^{n_{a}} I(a_i \ge s)-I(y_T=a)}{\sum \nolimits _{i=1}^{n_{a}}(a_i-s+1) I(a_i \ge s)-I(y_T=a)}\), for \(s=1,\dots ,S_r - 1\), and \(s=1,\dots ,S_a - 1\), respectively.

Corollary 1

Given a stochastic process \(\{Y_t\}_{t \in T}\), under assumptions (B1) and (B2), the ML estimators of \(\pi _{ra}(1)\) and \(\pi _{ar}(1)\) are \(\hat{\pi }_{ra}(1)_{ML} = \frac{n_{r}-I(y_T=r)}{T_{r}-I(y_T=r)}\) and \(\hat{\pi }_{ar}(1)_{ML} = \frac{n_{a}-I(y_T=a)}{T_{a}-I(y_T=a)}\).

Corollary 2

Given a stochastic process \(\{Y_t\}_{t \in T}\), under assumptions (B1) and (B2), the Bayesian estimators of \(\pi _{ra}(1)\) and \(\pi _{ar}(1)\) are \(\hat{\pi }_{ra}(1)_{B} = \frac{n_{r}-I(y_T=r)+\lambda }{T_{r}-I(y_T=r)+\lambda }\) and \(\hat{\pi }_{ar}(1)_{B} = \frac{n_{a}-I(y_T=a)+\lambda }{T_{a}-I(y_T=a)+\lambda }\), for any hyperparameter \(\lambda >0\).

The proof of Theorem 4 is provided in Supplementary material - Section 1 using as a main argument the properties of a Bernoulli stochastic process [27]. Also the proof of Corollary 1 is given in Supplementary material - Section 1. The proof of the Corollary 2 is a direct application from Corollary 1 for a Binomial model. Then the Beta-Binomial posterior estimator is a well-known result ([28], page 104).

Corollary 1 makes evident the intuitive relation between the number of transitions per total time in a specific state, which is a gain in terms of interpretability. In the Bayesian estimator introduced in Corollary 2, \(\lambda\), present both in the numerator and denominator, is a pre-specified hyperparameter to the Beta prior distribution for the transition probability. This parameter allows the Bayesian estimator to always exist even if any of \(T_{r}\) or \(T_{a}\) is zero. If \(\lambda =1\), corresponding to the Uniform distribution prior, we assume that in a sequence of nights there is at least one epoch of activity and in a sequence of days there is at least one epoch of rest. Other values might be explored such as \(\lambda =0.5\) corresponding to the Horseshoe prior [29], or \(\lambda =10^{-6}\) which returns a numerically insignificant difference between ML and Bayesian estimators. Larger values than one for \(\lambda\) may not be relevant in this context as they are likely to deviate too much from the ML estimators.

Remark 1

Even without any assumption about the stochastic process in terms of memory and stationary, some nonparametric measures are avaliable as the reciprocal average duration (RAD) of rest, \(\text {RAD}_r\), and the RAD of activity, \(\text {RAD}_a\), which are defined as

$$\begin{aligned} \text {RAD}_{r} = \frac{n_{r}}{T_{r}}, \; \text {RAD}_{a} = \frac{n_{a}}{T_{a}}. \end{aligned}$$
(2)

This metric appears in previous work [30], but it was used to approximate the target probabilities \(\pi _{ra}(1)\) and \(\pi _{ar}(1)\) [9]. If \(y_T = r\), then \(\text {RAD}_{a} = \hat{\pi }_{ar}(1)_{ML}\) and \(\text {RAD}_{r} > \hat{\pi }_{ra}(1)_{ML}\) as \(T_{r} > n_{r}\); if \(y_T = a\), then \(\text {RAD}_{r} = \hat{\pi }_{ra}(1)_{ML}\) and \(\text {RAD}_{a} > \hat{\pi }_{ar}(1)_{ML}\) as \(T_{a} > n_{a}\).

Let us give a hypothetical example for a small sample size \(T=15\) as \(\varvec{y} = (a,a,a,r,r,a,r,a,a,a,r,r,a, r,r)'\) to illustrate the difference between \(\hat{\pi }_{ra}(1)_{ML}\), \(\hat{\pi }_{ra}(1)_{B}\) and \(\text {RAD}_{r}\), as well as \(\hat{\pi }_{ar}(1)_{ML}\), \(\hat{\pi }_{ar}(1)_{B}\) and \(\text {RAD}_{a}\), with hyperparameter \(\lambda =0.5\). Here we have \(\varvec{r} = (2,1,2,2)'\) and \(\varvec{a} = (3,1,3,1)'\), this corresponds to \(n_r=4\), \(n_r-I(y_T=r)=3\), \(n_a=4\), \(n_a-I(y_T=a)=4\), \(T_r=7\), \(T_r-I(y_T=r)=6\), \(T_a=8\), \(T_a-I(y_T=a)=8\). So we have three changes (\(n_r-I(y_T=r)\)) in six opportunities (\(T_r-I(y_T=r)\)) ie 50% of transitions from r to a by the ML estimator, the \(\text {RAD}_{r}\) inflates this result to 57% by adding a transition for the last observation, but actually we don’t know what would happen in \(y_{16}\). From a to r, \(\text {RAD}_a\) and ML estimators are the same, and Bayesian estimator is also really close. For convenience, these values are available in Table 3.

Table 3 Hypothetical example

The conditional probabilities \(\pi _{ar}(1)\) and \(\pi _{ra}(1)\) are more convenient to interpret than \(\pi _{ar}(s)\) and \(\pi _{ra}(s)\). In the aim of summarizing TP, Lim et al. (2011) proposed a bounded average calculated by LOWESS smoothing over a range of s values [7]. This method requires to determine the boundary of the s values for which there is not a straightforward method. In the application part of this paper, we chose \(s=1\) and partitioned the observed vector \(\varvec{y}\) in waking and sleep periods as described in Remark 2.

Remark 2

We propose a Bayesian estimator that compared to ML or RAD, avoids to have values that cannot be computed in case of no time spent in a state (denominator null). For an epidemiological motivation, we split these metrics by wake and sleep windows (that is the period between waking and sleep onset (wake), and between sleep and next waking for the day to start (sleep), respectively), as

$$\begin{aligned} \text {TP}_{ra, \texttt{w}} = \frac{n_{r, \texttt{w}}-I(y_T=r)+\lambda }{T_{r, \texttt{w}}-I(y_T=r)+\lambda }, \; \;\text {TP}_{ra, \texttt{s}} = \frac{n_{r, \texttt{s}}-I(y_T=r)+\lambda }{T_{r, \texttt{s}}-I(y_T=r)+\lambda }, \end{aligned}$$

the TP from rest to active period during the waking window, and the TP from rest to active period during the sleep window, respectively, and

$$\begin{aligned} \text {TP}_{ar, \texttt{w}} = \frac{n_{a, \texttt{w}}-I(y_T=a)+\lambda }{T_{a, \texttt{w}}-I(y_T=a)+\lambda }, \; \; \text {TP}_{ar, \texttt{s}} = \frac{n_{a, \texttt{s}}-I(y_T=a)+\lambda }{T_{a, \texttt{s}}-I(y_T=a)+\lambda }, \end{aligned}$$

the TP from active to rest period during the waking window, and the TP from active to rest period during the sleep window, respectively, where \(\lambda \in (0,1]\), \(n_{a, \texttt{w}}\) is the number of bouts of activity during the awake time, \(n_{a, \texttt{s}}\) is the number of bouts of activity during the sleep time, \(n_{r, \texttt{w}}\) is the number of bouts of rest during the awake time, \(n_{r, \texttt{s}}\) is the number of bouts of rest during the sleep time, \(T_{r, \texttt{w}}\) is the total rest time during the awake time, \(T_{r, \texttt{s}}\) is the total rest time during the sleep time, \(T_{a, \texttt{w}}\) is the total activity time during the awake time, and \(T_{a, \texttt{s}}\) is the total activity time during the sleep time.

Interpretation of TP

When using a small \(\lambda\) and a long period of observation, higher \(\text {TP}_{ra, \texttt{w}}\) corresponds to more transitions from rest to active periods during the awake window, reflecting a more fragmented pattern of rest, higher \(\text {TP}_{ar, \texttt{w}}\) corresponds to more transitions from active to rest periods during the awake window, denoting a more fragmented pattern of activity. A similar interpretation applies to the metrics defined during the sleep window (Table 2). In case of one state not being observed during a window as for example no activity at all during the sleep window, the TP exists and transition from this unobserved state to the observed state is equal to 1. This means that in case this person moves to this unobserved state, it is highly likely that he or she will return to the observed state quickly.

Detrended fluctuation analysis

Introduction to DFA

The DFA is a powerful analytical tool for time series analysis initially proposed by Peng et al. (1994) to analyse long-term correlation of nucleotides [10]. More recently it has been used in the context of movement behaviour to quantity fractal fluctuations in activity over a range of time scales [12, 31]. In practise, it aims to evaluate to which extent the activity pattern (in terms of temporal and structural properties) is similar at different time scales. Estimating the self-similarity parameter allows differentiating stationary and nonstationary stochastic processes and identifying white, pink (fractal), or brown noise patterns. These key properties might be hidden in complex time series, but DFA is a way to reveal them.

Let us consider a bounded stochastic process \(\{X_t\}_{t \in T}\) from Definition 1. Take the accumulated signal with zero mean as

$$\begin{aligned} c_t = \sum \limits _{i=1}^{t}(x_i - \bar{x}), \; t \le T, \end{aligned}$$

where \(\bar{x} = T^{-1}\sum \nolimits _{t=1}^{T}x_t\). Divide \(\varvec{c} = (c_1, \dots , c_T)'\) in B nonoverlapping boxes of equal n-size as \(\varvec{c}_1 = (c_1, \dots , c_n)'\), \(\varvec{c}_2 = (c_{n+1}, \dots , c_{2n})'\), until \(\varvec{c}_B = (c_{(B-1)n+1}, \dots , c_{Bn})'\). For each box, we fit a polynomial of order l, eg, the polynomial for the \(j^{th}\) box is fit using an ordinary least squares regression as

$$\begin{aligned} f_t(n) = \hat{\beta }_0 + \hat{\beta }_1 t + \dots + \hat{\beta }_l t^l, \end{aligned}$$
(3)

where \(t= (j-1)n+1, \dots , jn\). In the application section of this paper, we restricted our analysis to \(l=1\) as in previous works [26, 32]. In the Supplementary material (Section 3), we replicated the analysis using \(l=2\) for comparison. A polynomial order higher than two is not expected to change the results [33]. Note that \(\varvec{\beta }=(\beta _0, \dots , \beta _l)'\) is different to each \(j^{th}\) box and each n-size, consequently \(f_t(n)\) depends of t and n. To detrend the integrated time series, ie, remove the trend of \(c_t\), we take the difference of each pair \(c_t\) and \(f_t(n)\). For a given n-size box, the root mean square fluctuation is

$$\begin{aligned} F(n) = \sqrt{\frac{1}{T} \sum \limits _{t=1}^{T}(c_t - f_t(n))^2}. \end{aligned}$$
(4)

Repeat the operation for a broad range of n-size boxes, eg, Mesquita et al. (2020) recommend taking a sample on the grid between \(4 \le n \le T/4\) [34, 35]. The Fig. 2 displays the steps of DFA for two n-size boxes, the first with 60 minutes (Fig. 2c) and the second with 30 minutes (Fig. 2d).

Fig. 2
figure 2

Example of DFA procedure

Summary statistic for DFA and interpretation

Instead of displaying a function of F(n) for a grid of n, we can summarize this information by the self-similarity parameter. The root mean square fluctuation in (4) is proportional to the n-size, \(F(n) \propto n^\alpha\), where \(\alpha\) is called the scaling exponent or self-similarity parameter, which is estimated using

$$\begin{aligned} \log (F(n)) = \mu + \alpha \log (n) + \epsilon _n, \; 4 \le n \le T/4, \end{aligned}$$

where \(\epsilon _n\) follows an independent Gaussian error, \(\mu\) is an intercept, and an ordinary least squares regression (OLS) is used to calculate \(\hat{\alpha }\).

The interpretation of \(\alpha\) is quite precise, but requires much mathematical jargon. Given a stochastic process as determined by Definition 1, the self-similarity parameter belongs to the range \(0< \alpha <1\) for stationary stochastic processes, and \(1< \alpha <2\) for nonstationary as proofed by Løvsletten (2017) [36]. Some critical values of the scaling exponent are of distinct mathematical importance as \(\alpha =0.5\) means that the stochastic processes is white noise, \(\alpha =1\) is related to pink or fractal noise, \(\alpha =1.5\) is the case of a random walk [32].

Activity balance index: a new DFA-derived metric

Given previous empirical results, Hausdorff et al. (1996) hypothesized that many biological systems present a fractal nature, ie, \(\alpha =1\) [37]. A further hypothesis that healthy people presents fractal noise for heart and walking rates has been elaborated by Peng et al. (2000) [38]. In the context of activity behaviour, we have introduced a novel metric named activity balance index (ABI), that measures how the activity over the observed period is balanced, higher values reflect a more balanced pattern of activity. It is a transformation of \(\hat{\alpha }\) as

$$\begin{aligned} \text {ABI}(\hat{\alpha }) = \exp \left\{ \frac{-|\hat{\alpha }-1|}{\exp (-2)} \right\} , \end{aligned}$$
(5)

where \(\hat{\alpha } \in (0,2)\). If \(\hat{\alpha }\) goes to one, then \(|\hat{\alpha }-1|\) goes to zero and \(\text {ABI}(\hat{\alpha })\) goes to one. On the other direction, as \(\hat{\alpha }\) goes to two or zero, which are the extremes for \(\alpha\) [36], \(|\hat{\alpha }-1|\) goes to one and \(\text {ABI}(\hat{\alpha })\) goes to 0.0006. The ABI has two advantages: it penalizes the scattering of \(\hat{\alpha }\) in both directions and spreads its values over a large range between (0.0006, 1] or (0, 1] for simplicity.

We introduced the ABI that focusses on the fractal noise nature of the signal to evaluate how the activity is balanced over the observation period. If fractal noise represents an optimum balance for activity behaviour, then healthy individuals would present higher values for their ABI metric than unhealthy people (Table 2). Both \(\hat{\alpha }\) and ABI are influenced by the choice of the epoch lengths, larger epoch values will naturally tend to smooth acceleration signal, implying lower chance of observing a fractal noise (that is \(\hat{\alpha }\) and ABI closer to one).

Strengths and limitations of IS, IV, TP and DFA

The strengths and limitations of rest-activity fragmentation metrics are summarized in Table 2.

Remark 3

The metrics mentioned above rely on transitions between rest and active states and do not capture other dimensions of the circadian rhythm. These metrics can be used in complement to other circadian rhythm variables that capture different aspects of the rhythm such as timing or amplitude.

Results

Figure 3 shows the distribution of IS, IV, TP, \(\hat{\alpha }\) and ABI in the total sample. All empirical ranges are within the theoretical ones proposed in Table 2. For IV, two individuals have a value that exceeds two, these outliers correspond to two of the three individuals whose \(\hat{\phi }\) value is not within the [0, 1] interval, suggesting a minority of cases with ultradian rhythm in the dataset.

Fig. 3
figure 3

Boxplot of inter-daily stability (IS), intradaily variability (IV), estimated autocorrelation parameter of AR(1) model (\(\hat{\phi }\)), transition probability (TP) from activity to rest during the awake period (\(\text {TP}_{ar,\texttt{w}}\)), TP from activity to rest during the sleep period (\(\text {TP}_{ar,\texttt{s}}\)), TP from rest to activity during the awake period (\(\text {TP}_{ra,\texttt{w}}\)), TP from rest to activity during the sleep period (\(\text {TP}_{ra,\texttt{s}}\)), estimated self-similarity (\(\hat{\alpha }\)), and activity balance index (ABI)

When examining how rest-activity fragmentation metrics differ by sex (Table 4), we found that men have on average a less constant rest-activity pattern as denoted by smaller IS compared to women (0.529 vs 0.546, \(p=0.001\)). During the day, men tend to transition less from rest to active periods while during the night men are more likely to transition from active to rest periods as indicated by lower \(\text {TP}_{ra,\texttt{w}}\) (\(p<0.001\)) and higher \(\text {TP}_{ar,\texttt{s}}\) (\(p<0.001\)) than in women. Finally, on average they tend to have a less balanced activity behaviour than women as shown by lower \(\hat{\alpha }\) (\(p=0.022\)) and ABI (\(p<0.001\)).

Fewer differences were observed as a function of age, although we found that older people tend to have a more fragmented rest-activity pattern (IV 1.039 vs 0.946 for age \(\ge\) 70 vs <70), to transition more from activity to rest during waking periods (\(\text {TP}_{ar,\texttt{w}}\) 0.305 vs 0.273), and to transition less from rest to active periods during the day (\(\text {TP}_{ra,\texttt{w}}\) 0.098 vs 0.109), but more during the night (\(\text {TP}_{ra,\texttt{s}}\) 0.08 vs 0.007); all \(p<0.001\).

Table 4 Mean (SD) of inter-daily stability (IS), intradaily variability (IV), transition probability (TP) from activity to rest during the awake period (\(\text {TP}_{ar,\texttt{w}}\)), TP from activity to rest during the sleep (\(\text {TP}_{ar,\texttt{s}}\)), TP from rest to activity during the awake (\(\text {TP}_{ra,\texttt{w}}\)), TP from rest to activity during the sleep (\(\text {TP}_{ra,\texttt{s}}\)), estimated self-similarity parameter (\(\hat{\alpha }\)), and activity balance index (ABI) in the total population (N=2857), by sex and age groups

Table 5 shows one fitted multivariate regression for each standardized rest-activity fragmentation metric. Being a woman, aged around 70 years old (see Figure S1 in Supplementary additional results for association with age), with lower educational level, not currently employed, having lower BMI and less prevalence morbidities were associated with a more constant rest-activity pattern (all \(p<0.05\)). The same variables (except for sex) were associated with IV, but in the opposite direction, denoting a less fragmented rest-activity pattern. \(\text {TP}_{ar,\texttt{w}}\) was associated with all socio-demographic and health-related factors (except for sex and employment status), and \(\text {TP}_{ar,\texttt{s}}\), in a complementary way, was only significantly associated with sex and employment status. Higher \(\text {TP}_{ra,\texttt{w}}\) was associated with being a woman, lower BMI and less morbidities while higher \(\text {TP}_{ra,\texttt{s}}\) was associated with higher BMI and more prevalent morbidities. Both \(\hat{\alpha }\) and ABI were associated with all socio-demographic (except education) and health-related factors.

Table 5 Association of socio-demographic and health-related factors with standardized rest-activity fragmentation metrics, results from multivariate linear regressions

Table 6 presents Pearson’s correlation coefficients between IS, IV, TPs, \(\hat{\alpha }\), and ABI metrics. We observe one moderate correlation between \(\hat{\alpha }\) and ABI that is expected as ABI is a transformation of \(\hat{\alpha }\). All the remaining correlations are considered fair or poor [39].

Table 6 Pearson’s correlation between inter-daily stability (IS), intradaily variability (IV), transition probability (TP) from activity to rest during the awake period (\(\text {TP}_{ar,\texttt{w}}\)), TP from activity to rest during the sleep (\(\text {TP}_{ar,\texttt{s}}\)), TP from rest to activity during the awake (\(\text {TP}_{ra,\texttt{w}}\)), TP from rest to activity during the sleep (\(\text {TP}_{ra,\texttt{s}}\)), estimated self-similarity parameter (\(\hat{\alpha }\)), and activity balance index (ABI)

The sensitivity analysis on the impact of the l parameter for the DFA-derived metrics is presented in Supplementary material (Section 3). Although both \(\hat{\alpha }\) and ABI values for \(l=1\) and \(l=2\) were highly correlated (\(|r| > 0.8\)), associations with sociodemographic and health-related factors were more consistent when using \(l=1\) than \(l=2\).

Figures 4, 5, 6, 7, 8, and 9 show the time series processes of individuals with extreme IS, IV, TP, and DFA values. In footnotes, a short description of what characterized these time series is provided. More figures are available in the Supplementary material (Section 2, Figures S2 to S5).

Fig. 4
figure 4

The sedentary: this individual presents the highest \(\text {TP}_{ar,\texttt{w}}\). Note that the black blocks in the non-blue region of figure (b) are short, ie, this individual has short bouts of activity

Fig. 5
figure 5

The active: this individual presents the lowest \(\text {TP}_{ar,\texttt{w}}\). Note that the black blocks in the non-blue region of figure (b) are very long, ie, this individual has long bouts of activity

Fig. 6
figure 6

The good sleeper: this individual presents the lowest \(\text {TP}_{ra,\texttt{s}}\) and a high \(\text {TP}_{ar,\texttt{s}}\). Note that the black (white) blocks in the blue region of figure (b) are very brief (long), ie, during the night this individual almost does not display activity

Fig. 7
figure 7

The insomniac: this individual presents the lowest \(\text {TP}_{ar,\texttt{s}}\). Note some large black blocks in the blue region of figure (b), specially at the third and fifth sleep windows, ie, during the night this individual presents long periods of activity

Fig. 8
figure 8

The unbalanced rest-activity person, this individual presents the lowest IS, a high IV, both \(\hat{\alpha }\) and ABI low. Note the flat time series in figure (c) displays a weak rest-activity pattern and high rhythm fragmentation. Note that the time series in figure (a) seems very random (constant spikes without clear difference between day and night), denoting a stationary random noise, ie, low \(\hat{\alpha }\) and ABI

Fig. 9
figure 9

The balanced rest-activity person, this individual presents the highest IS, a low IV and a high ABI. Note the very regular waves in figure (c) denoting a high IS and low IV, ie, strong rest-activity pattern and low rhythm fragmentation. Note that the time series in figure (a) is very well balanced between smoothness and spikes, display a fractal noise and balanced motion, ie, \(\hat{\alpha }\) and ABI close to one

Discussion

This study provides theoretical ranges and guidance on the interpretation of rest-activity fragmentation metrics. We extended previous research on TP [7, 40] by proposing ML and Bayesian estimators for TP. We also proposed a transformation of DFA-derived self-similarity parameter, the ABI, to reflect the balance of activity behaviours over the observation period. This metric is complementary to the \(\alpha\) metric that ought to be used when interest is in characterising the stationarity of the activity pattern. Finally, using accelerometer data from around 2,859 individuals aged 60 to 83 years, we showed that most of the correlations between IS, IV, TP, and ABI were modest. We also found sociodemographic and health-related differences in some of the rest-activity fragmentation metrics but not all, highlighting the fact that they measure different features.

We proposed Bayesian estimators of TP to estimate the probability of change from rest to active period and reversely, defined separately during the awake (day) and the sleep (night) windows. We observed, as expected, a higher TP from activity to rest during the sleep window than during the awake window and, on the reverse, a higher TP from rest to activity during the awake window than during sleep window [41]. We applied these metrics to rest/activity states defined by a threshold of acceleration [17, 18]. These metrics might also be relevant using methods that differentiate sleep and wake states instead of rest and activity states to evaluate the fragmentation of sleep during the night.

When comparing rest-activity fragmentation metrics using data from adults aged 60 to 83 years, we found low to moderate correlations among the variables(\(|r|<0.6\)), except for \(\hat{\alpha }\) and ABI (\(r=0.789\)). Although calculated differently, these estimated correlations are in accordance with those found in the previous studies [7, 25, 26, 42,43,44]. These modest correlations suggest that these metrics capture distinct features of individuals’ rest-activity patterns. The graphical analysis of the extreme cases of each metric (see Figs. 4, 5, 6, 7, 8, and 9 and Figures S2 to S5 in Section 2 of the Supplementary material) displays several behaviour profiles: sedentary, active, good sleeper, insomniac, (un)balanced rest-activity person, tireless person, and a person with ultradian rhythm. We examined the robustness of our findings regarding the parameter l for the DFA-derived metrics (\(\alpha\) and ABI) and found that although values for \(l=1\) and \(l=2\) were highly correlated, associations with sociodemographic and health-related factors were more consistent when using \(l=1\), as previously done in other studies [33, 45].

Few studies have examined factors associated with specific rest-activity fragmentation metrics among older adults using data from the Rush Memory and Aging Project [7, 31, 43], the National Health and Nutrition Examination Survey (NHANES) [46, 47], and the Rotterdam study [42]. In these studies, women tended to have higher IS [42, 43, 47] and lower IV [42, 43], higher TP from rest to active state and lower TP from activity to rest [7], while women were found to have a higher \(\alpha\) in the NHANES [46] but not in the Rush Memory and Aging Project [31]. Overall, older age was associated with higher IS [42, 43], higher IV [42, 43, 47], higher TPs [7] and lower \(\alpha\) [31], although not systematically [47]. In the Rotterdam study, being in employment was associated with lower IS and IV [42] while we found the reverse for IV. Health-related factors such as higher BMI and prevalence of chronic diseases were consistently found associated with lower IS [42, 47, 48], higher IV [42, 47, 48], and higher TP from activity to rest [7], as in the present study. Differences in some of the reported associations might arise from differences in the methods to derive the different metrics and in the sample characteristics. Overall, there is evidence of differences in the rest-activity fragmentation metrics by sociodemographic and health-related factors, supporting future studies to investigate their association with further health outcomes.

The study has several strengths, including the use of both theoretical and empirical demonstrations of the range of the rest-activity fragmentation metrics, using a large sample size. The combination of the approaches increases the validity of our findings. Second, using multiple metrics in the same study population allows for a comprehensive comparison of these metrics. The study has also limitations. We used data from participants who had complete data for seven days. This may have resulted in a selection of the participants, highlighting the need to further investigate the impact of non-wear time on these metrics to allow the use of these metrics in a large sample. In addition, participants were aged between 60 and 83 years and most of them were Caucasian and relatively healthy; whether results are valid in other age and ethnic subgroups requires further investigations. The empirical application is restricted to one type of device, a specific cut-point, 40 mg, to differentiate rest from activity, and a specific algorithm to differentiate the sleep from the waking window, and should be replicated in studies using different settings.

Conclusion

This study provided properties of rest-activity fragmentation metrics previously used and proposed new metrics. Their properties were evaluated using both theorical and empirical approaches among more than 2800 older adults. Overall this study shows that the rest-activity fragmentation metrics examined in this paper - IS, IV, TPs (\(\text {TP}_{ra, \texttt{w}}\), \(\text {TP}_{ra, \texttt{s}}\), \(\text {TP}_{ar, \texttt{w}}\), \(\text {TP}_{ar, \texttt{s}}\)), \(\hat{\alpha }\) and ABI - are modestly correlated, apart for ABI and \(\hat{\alpha }\). Additionally, these metrics are differently associated with socio-demographic and health-related factors. Thus, they might reflect different aspects of individual behaviours. However, consideration should be given to their strengths and limitations, as summarized in Table 2. We encourage the use of these metrics in future studies in order to get insight into the role of rest-activity fragmentation for health in complementarity to other circadian rhythm features such as phase and amplitude.

Availability of data and materials

Data, protocols, and other metadata of the Whitehall II study are available to the scientific community either via the Whitehall II study data sharing portal (https://www.ucl.ac.uk/psychiatry/research/mental-health-older-people/whitehall-ii/data-sharing). All metrics discussed here were calculated using R software and the codes are available on GitHub (https://github.com/iandanilevicz/frag_metrics), they are available on GGIR (\(\ge\)3.0-9) R package (https://cran.r-project.org/web/packages/GGIR/index.html), and DFA-\(\alpha\) and DFA-ABI are available on DFA (\(\ge\)1.0-0) R package (https://cran.r-project.org/web/packages/DFA/index.html).

Abbreviations

ABI:

Activity balance index

AR(1):

Autoregressive model of order 1

BMI:

Body mass index

CI:

Confidence interval

CR:

Circadian rhythm

DFA:

Detrended fluctuation analysis

ENMO:

Euclidean norm minus one

IS:

Inter-daily stability

IV:

Intradaily variability

ML:

Maximum likelihood

NHANES:

National Health and Nutrition Examination Survey

RAD:

Reciprocal average duration

SD:

Standard deviation

TP:

Transition probability

UK:

United Kingdom

References

  1. Hood S, Amir S. The aging clock: circadian rhythms and later life. J Clin Invest. 2017;127(2):437–46. https://doi.org/10.1172/JCI90328.

    Article  PubMed  PubMed Central  Google Scholar 

  2. Leng Y, Musiek ES, Hu K, Cappuccio FP, Yaffe K. Association between circadian rhythms and neurodegenerative diseases. Lancet Neurol. 2019;18(3):307–18. https://doi.org/10.1016/S1474-4422(18)30461-7.

    Article  PubMed  PubMed Central  Google Scholar 

  3. Hou Y, Liu L, Chen X, Li Q, Li J. Association between circadian disruption and diseases: A narrative review. Life Sci. 2020;262:118512. https://doi.org/10.1016/j.lfs.2020.118512.

    Article  CAS  PubMed  Google Scholar 

  4. Littner M, Kushida CA, Anderson WM, Bailey D, Berry RB, Davila DG, et al. Practice parameters for the role of actigraphy in the study of sleep and circadian rhythms: an update for 2002. Sleep. 2003;26(3):337–41. https://doi.org/10.1093/sleep/26.3.337.

    Article  PubMed  Google Scholar 

  5. Liguori C, Mombelli S, Fernandes M, Zucconi M, Plazzi G, Ferini-Strambi L, et al. The evolving role of quantitative actigraphy in clinical sleep medicine. Sleep Med Rev. 2023;68:101762. https://doi.org/10.1016/j.smrv.2023.101762.

    Article  PubMed  Google Scholar 

  6. Witting W, Kwa IH, Eikelenboom P, Mirmiran M, Swaab DF. Alterations in the circadian rest-activity rhythm in aging and Alzheimer’s disease. Biol Psychiatry. 1990;27(6):563–72. https://doi.org/10.1016/0006-3223(90)90523-5.

    Article  CAS  PubMed  Google Scholar 

  7. Lim AS, Yu L, Costa MD, Buchman AS, Bennett DA, Leurgans SE, et al. Quantification of the fragmentation of rest-activity patterns in elderly individuals using a state transition analysis. Sleep. 2011;1(34):1569–81. https://doi.org/10.5665/sleep.1400.

    Article  Google Scholar 

  8. van Someren EJW, Hagebeuk EEO, Lijzenga C, Scheltens P, de Rooij SEJA, Jonker C, et al. Circadian rest-activity rhythm disturbances in alzheimer’s disease. Biol Psychiatry. 1996;40(4):259–70. https://doi.org/10.1016/0006-3223(95)00370-3.

    Article  PubMed  Google Scholar 

  9. Di J, Leroux A, Urbanek JK, Varadhan R, Spira AP, Schrack JA, et al. Patterns of sedentary and active time accumulation are associated with mortality in US adults: The NHANES study. bioRxiv. 2017. https://doi.org/10.1101/182337.

  10. Peng CK, Buldyrev SV, Havlin S, Simons M, Stanley HE, Goldberger AL. Mosaic organization of DNA nucleotides. Phys Rev E. 1994;49:1685–9. https://doi.org/10.1103/PhysRevE.49.1685.

    Article  CAS  Google Scholar 

  11. Hu K, Ivanov PCh, Chen Z, Hilton MF, Stanley HE, Shea SA. Non-random fluctuations and multi-scale dynamics regulation of human activity. Phys A. 2004;337(1–2):307–18. https://doi.org/10.1016/j.physa.2004.01.042.

    Article  Google Scholar 

  12. Hu K, Harper DG, Shea SA, Stopa EG, Scheer FAJL. Noninvasive fractal biomarker of clock neurotransmitter disturbance in humans with dementia. Sci Rep. 2013;3. https://doi.org/10.1038/srep02229.

  13. Prass TS, Pumi G. On the behavior of the DFA and DCCA in trend-stationary processes. J Multivariate Anal. 2021;182:104703. https://doi.org/10.1016/j.jmva.2020.104703.

    Article  Google Scholar 

  14. van Someren EJW, Swaab DF, Colenda CC, Cohen W, McCall WV, Rosenquist PB. Bright Light Therapy: Improved Sensitivity to Its Effects on Rest-Activity Rhythms in Alzheimer Patients by Application of Nonparametric Methods. Chronobiol Int. 1999;16(4):505–18. https://doi.org/10.3109/07420529908998724.

    Article  PubMed  Google Scholar 

  15. van Hees VT, Fang Z, Zhao JH, Heywood J, Mirkes E, Sabia S, et al. GGIR: Raw Accelerometer Data Analysis. 2023. R package version 2.9-0. https://doi.org/10.5281/zenodo.1051064.

  16. Chastin S, McGregor D, Palarea-Albaladejo J, Diaz KM, Hagströmer M, Hallal PC, et al. Joint association between accelerometry-measured daily combination of time spent in physical activity, sedentary behaviour and sleep and all-cause mortality: a pooled analysis of six prospective cohorts using compositional analysis. Br J Sports Med. 2021;55(22):1277–85. https://doi.org/10.1136/bjsports-2020-102345.

    Article  PubMed  Google Scholar 

  17. Chen M, Landré B, Marques-Vidal P, van Hees VT, van Gennip ACE, Bloomberg M, et al. Identification of physical activity and sedentary behaviour dimensions that predict mortality risk in older adults: Development of a machine learning model in the Whitehall II accelerometer sub-study and external validation in the CoLaus study. EClinicalMedicine. 2022;55:101773. https://doi.org/10.1016/j.eclinm.2022.101773.

    Article  PubMed  PubMed Central  Google Scholar 

  18. Rowlands AV, Edwardson CL, Davies MJ, Khunti K, Harrington DM, Yates T. Beyond Cut Points: Accelerometer Metrics that Capture the Physical Activity Profile. Med Sci Sports Exerc. 2018;50(6):1323–32. https://doi.org/10.1249/MSS.0000000000001561.

    Article  PubMed  Google Scholar 

  19. Fraysse F, Post D, Eston R, Kasai D, Rowlands AV, Parfitt G. Physical activity intensity cut-points for wrist-worn GENEActiv in older adults. Front Sports Act Living. 2020;2:579278. https://doi.org/10.3389/fspor.2020.579278.

    Article  PubMed  Google Scholar 

  20. van Hees VT, Sabia S, Anderson KN, Denton SJ, Oliver J, Catt M, et al. A Novel, Open Access Method to Assess Sleep Duration Using a Wrist-Worn Accelerometer. PLoS ONE. 2015;10(11):e0142533. https://doi.org/10.1371/journal.pone.0142533.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  21. van Hees VT, Gorzelniak L, Dean León EC, Eder M, Pias M, Taherian S, et al. Separating Movement and Gravity Components in an Acceleration Signal and Implications for the Assessment of Human Daily Physical Activity. PLoS ONE. 2013;8(4):1–10. https://doi.org/10.1371/journal.pone.0061691.

    Article  CAS  Google Scholar 

  22. Dickey DA, Fuller WA. Distribution of the Estimators for Autoregressive Time Series with a Unit Root. J Am Stat Assoc. 1979;74(366a):427–31. https://doi.org/10.1080/01621459.1979.10482531.

    Article  Google Scholar 

  23. Cont R, de Larrard A. Price Dynamics in a Markovian Limit Order Market. SIAM J Financ Math. 2013;4(1):1–25. https://doi.org/10.1137/110856605.

    Article  Google Scholar 

  24. Gonçalves BSB, Cavalcanti PRA, Tavares GR, Campos TF, Araujo JF. Nonparametric methods in actigraphy: An update. Sleep Sci. 2014;7(3):158–64. https://doi.org/10.1016/j.slsci.2014.09.013.

    Article  PubMed  PubMed Central  Google Scholar 

  25. Maas MB, Lizza BD, Kim M, Abbott SM, Gendy M, Reid KJ, et al. Stress-Induced Behavioral Quiescence and Abnormal Rest-Activity Rhythms During Critical Illness. Crit Care Med. 2020;48(6):862–71. https://doi.org/10.1097/CCM.0000000000004334.

    Article  PubMed  PubMed Central  Google Scholar 

  26. Suibkitwanchai K, Sykulski AM, Perez Algorta G, Waller D, Walshe C. Nonparametric time series summary statistics for high-frequency accelerometry data from individuals with advanced dementia. PLoS ONE. 2020;15(9):e0239368. https://doi.org/10.1371/journal.pone.0239368.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  27. Anderson TW, Goodman LA. Statistical Inference about Markov Chains. Ann Math Stat. 1957;28(1):89–110. https://doi.org/10.1214/aoms/1177707039.

    Article  Google Scholar 

  28. Robert C. The Bayesian Choice: From Decision-Theoretic Foundations to Computational Implementation. Berlin: Springer Science and Business Media; 1994. https://doi.org/10.1007/978-1-4757-4314-2.

  29. Carvalho CM, Polson NG, Scott JG. The horseshoe estimator for sparse signals. Biometrika. 2010;97:465–80. https://doi.org/10.1093/BIOMET/ASQ017.

    Article  Google Scholar 

  30. Chastin SF, Granat MH. Methods for objective measure, quantification and analysis of sedentary behaviour and inactivity. Gait Posture. 2010;31(1):82–6. https://doi.org/10.1016/j.gaitpost.2009.09.002.

    Article  CAS  PubMed  Google Scholar 

  31. Li P, Lim ASP, Gao L, Hu C, Yu L, Bennett DA, et al. More random motor activity fluctuations predict incident frailty, disability, and mortality. Sci Transl Med. 2019;11(516):eaax1977. https://doi.org/10.1126/scitranslmed.aax1977.

    Article  PubMed  PubMed Central  Google Scholar 

  32. Peng CK, Havlin S, Stanley HE, Goldberger AL. Quantification of scaling exponents and crossover phenomena in nonstationary heartbeat time series. Chaos. 1995;5(1):82–7. https://doi.org/10.1063/1.166141.

    Article  CAS  PubMed  Google Scholar 

  33. Peng CK, Mietus JE, Liu Y, Lee C, Hausdorff JM, Stanley HE, et al. Quantifying fractal dynamics of human respiration: age and gender effects. Ann Biomed Eng. 2002;30(5):683–92. https://doi.org/10.1114/1.1481053.

    Article  CAS  PubMed  Google Scholar 

  34. Mesquita VB, Oliveira Filho FM, Rodrigues PC. Detection of crossover points in detrended fluctuation analysis: an application to EEG signals of patients with epilepsy. Bioinformatics. 2020;37(9):1278–84. https://doi.org/10.1093/bioinformatics/btaa955.

    Article  CAS  Google Scholar 

  35. Mesquita VB, Oliveira Filho FM, Rodrigues PC, Danilevicz IM. DFA: Detrended Fluctuation Analysis. 2024. R package version 1.0.0. https://CRAN.R-project.org/package=DFA. Accessed 5 Mar 2024.

  36. Løvsletten O. Consistency of detrended fluctuation analysis. Phys Rev E. 2017;96:012141. https://doi.org/10.1103/PhysRevE.96.012141.

    Article  PubMed  Google Scholar 

  37. Hausdorff JM, Peng C. Multiscaled randomness: A possible source of 1/f noise in biology. Phys Rev E. 1996;54(2):2154–7. https://doi.org/10.1103/physreve.54.2154.

    Article  CAS  Google Scholar 

  38. Peng CK, Hausdorff JM, Goldberger AL. Fractal mechanisms in neuronal control: human heartbeat and gait dynamics in health and disease. In: Walleczek J, editor. Self-Organized Biological Dynamics and Nonlinear Control: Toward Understanding Complexity, Chaos and Emergent Function in Living Systems. Cambridge: Cambridge University Press; 2010. p. 66–96.

    Google Scholar 

  39. Akoglu H. User’s guide to correlation coefficients. Turk J Emerg Med. 2018;18(3):91–3. https://doi.org/10.1016/j.tjem.2018.08.001.

    Article  PubMed  PubMed Central  Google Scholar 

  40. Di J, Spira A, Bai J, Urbanek J, Leroux A, Wu M, et al. Joint and Individual Representation of Domains of Physical Activity, Sleep, and Circadian Rhythmicity. Stat Biosci. 2019;11(2):371–402. https://doi.org/10.1007/s12561-019-09236-4.

    Article  PubMed  PubMed Central  Google Scholar 

  41. Lim AS, Yu L, Costa MD, Leurgans SE, Buchman AS, Bennett DA, et al. Increased fragmentation of rest-activity patterns is associated with a characteristic pattern of cognitive impairment in older individuals. Sleep. 2012;35(5):633-40B. https://doi.org/10.5665/sleep.1820.

    Article  PubMed  PubMed Central  Google Scholar 

  42. Luik AI, Zuurbier LA, Hofman A, Van Someren EJW, Tiemeier H. Stability and Fragmentation of the Activity Rhythm Across the Sleep-Wake Cycle: The Importance of Age, Lifestyle, and Mental Health. Chronobiol Int. 2013;30(10):1223–30. https://doi.org/10.3109/07420528.2013.813528.

    Article  PubMed  Google Scholar 

  43. Li P, Gao L, Gaba A, Yu L, Cui L, Fan W, et al. Circadian disturbances in Alzheimer’s disease progression: a prospective observational cohort study of community-based older adults. Lancet Healthy Longev. 2020;1(3):e96–105. https://doi.org/10.1016/s2666-7568(20)30015-5.

    Article  PubMed  PubMed Central  Google Scholar 

  44. Li J, Vungarala S, Somers VK, Di J, Lopez-Jimenez F, Covassin N. Rest-Activity Rhythm Is Associated With Obesity Phenotypes: A Cross-Sectional Analysis. Front Endocrinol. 2022;13:907360. https://doi.org/10.3389/fendo.2022.907360.

    Article  Google Scholar 

  45. Hu K, Ivanov PC, Chen Z, Carpena P, Eugene Stanley H. Effect of trends on detrended fluctuation analysis. Phys Rev E. 2001;64:011114. https://doi.org/10.1103/PhysRevE.64.011114.

    Article  CAS  Google Scholar 

  46. Raichlen DA, Klimentidis YC, Hsu CH, Alexander GE. Fractal Complexity of Daily Physical Activity Patterns Differs With Age Over the Life Span and Is Associated With Mortality in Older Adults. J Gerontol A Biol Sci Med Sci. 2019;74(9):1461–7. https://doi.org/10.1093/gerona/gly247.

    Article  PubMed  Google Scholar 

  47. Wallace DA, Johnson DA, Redline S, Sofer T, Kossowsky J. Rest-activity rhythms across the lifespan: cross-sectional findings from the US representative National Health and Nutrition Examination Survey. Sleep. 2023;46(11):zsad220. https://doi.org/10.1093/sleep/zsad220.

    Article  PubMed  Google Scholar 

  48. Makarem N, German CA, Zhang Z, Diaz KM, Palta P, Duncan DT, et al. Rest-Activity Rhythms Are Associated With Prevalent Cardiovascular Disease, Hypertension, Obesity, and Central Adiposity in a Nationally Representative Sample of US Adults. J Am Heart Assoc. 2024;13(1):e032073. https://doi.org/10.1161/JAHA.122.032073.

    Article  PubMed  Google Scholar 

Download references

Acknowledgements

We thank all of the participating civil service departments and their welfare, personnel, and establishment officers; the British Occupational Health and Safety Agency; the British Council of Civil Service Unions; all participating civil servants in the Whitehall II study; and all members of the Whitehall II study team. The Whitehall II Study team comprises research scientists, statisticians, study coordinators, nurses, data managers, administrative assistants and data entry staff, who make the study possible.

Funding

The Whitehall II study is and was supported by grants from the National Institute on Aging, NIH (R01AG056477, R01AG062553); UK Medical Research Council (R024227, S011676), and the Wellcome Trust (221854/Z/20/Z). SS is supported by the French National Research Agency (ANR-19-CE36-0004-01) and by the European Union (ERC grant number101043884). The funding agencies had no role in the study design, data collection, analyses, and interpretation of the data or writing of the manuscript. Views and opinions expressed are however those of the authors only and do not necessarily reflect those of the funding agencies. Neither the European Union nor the granting authority can be held responsible for them.

Author information

Authors and Affiliations

Authors

Contributions

IMD and SS developed the hypothesis and study design. IMD and VTvH conducted data analysis. IMD and MAB demonstrated the theorems. IMD and SS wrote the first and successive drafts of the manuscript. IMD, VTvH, FvdH, LJ, BL, MAB and SS were involved in the conception, and design of the study, analysis and interpretation of the data, and drafting or critically revising the manuscript for important intellectual content, or, in addition, acquired data. All authors have read and approved the final manuscript. MAB and SS contributed equally.

Corresponding author

Correspondence to Séverine Sabia.

Ethics declarations

Ethics approval and consent to participate

Written informed consent for participation was obtained at each contact. Research ethics approval was obtained from the University College London ethics committee (latest reference number 85/0938).

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Danilevicz, I., van Hees, V., van der Heide, F. et al. Measures of fragmentation of rest activity patterns: mathematical properties and interpretability based on accelerometer real life data. BMC Med Res Methodol 24, 132 (2024). https://doi.org/10.1186/s12874-024-02255-w

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12874-024-02255-w

Keywords