Abstract
Recently developed actigraphy devices have made it possible for continuous and objective monitoring of sleep over multiple nights. Sleep variables captured by wrist actigraphy devices include sleep onset, sleep end, total sleep time, wake time after sleep onset, number of awakenings, etc. Currently available statistical methods to analyze such actigraphy data have limitations. First, averages over multiple nights are used to summarize sleep activities, ignoring variability over multiple nights from the same subject. Second, sleep variables are often analyzed independently. However, sleep variables tend to be correlated with each other. For example, how long a subject sleeps at night can be correlated with how long and how frequent he/she wakes up during that night. It is important to understand these inter-relationships. We therefore propose a joint mixed effect model on total sleep time, number of awakenings, and wake time. We develop an estimating procedure based upon a sequence of generalized linear mixed effects models, which can be implemented using existing software. The use of these models not only avoids computational intensity and instability that may occur by directly applying a numerical algorithm on a complicated joint likelihood function, but also provides additional insights on sleep activities. We demonstrated in simulation studies that the proposed estimating procedure performed well in estimating both fixed and random effects’ parameters. We applied the proposed model to data from the Women’s Interagency HIV Sleep Study to examine the association of employment status and age with overall sleep quality assessed by several actigraphy measured sleep variables.
Keywords: compound Poisson gamma distribution, generalized linear mixed effects model, Poisson distribution with over-dispersion, Tweedie distribution
1 |. INTRODUCTION
Over recent years, there has been considerable interest in examining the relationship between sleep and health outcomes. Traditionally, self-reported sleep information is collected via questionnaires. Short sleep duration measured subjectively has been shown to be associated with increased BMI,1 impaired glucose tolerance,2 diabetes,3,4 and all-cause mortality.5 The availability of wrist actigraphy allows an objective and continuous assessment of sleep parameters6–8 and permits multiple nights of recording at home with minimal participant burden.6,9,10 Compared to objectively measured sleep duration, subjectively measured sleep duration is less accurate and therefore tends to bias the association between sleep duration and health outcomes towards the null. For example, a study on individuals with insomnia showed that objectively measured but not subjectively measured short sleep duration increased their risk for hypertension.11 In this study, using the mean of 2 nights of polysomnography measured total sleep time as the gold standard, the mean of total sleep time based on 2 weeks of subjective sleep diary reports had 60% of sensitivity and 64% specificity in detecting short sleep duration, that is, total sleep time less than 6 hours. Because of the low inaccuracy in the subjectively measured total sleep time, the area under the ROC curve for hypertension was only 0.639 using the subjectively measured total sleep time. Furthermore, actigraphy can be used to continuously measure sleep and wake patterns at night. Sleep and wake patterns measured by actigraphy showed that decreased sleep efficiency and increased sleep fragmentation are associated with hypertension.12 Actigraphic estimates of sleep-related problems including wake after sleep onset and number of awakenings were shown to be higher among HIV-infected children than HIV-uninfected children.13
Our work was motivated by the Women’s Interagency HIV Sleep Study, an ongoing longitudinal study started in 2018 to examine the relationship between sleep, circadian disruption and the tryptophan-kynurenine (TRP-KYN) pathway. The study enrolled over 300 women primarily from the Women’s Interagency HIV Study (WIHS), a multi-site longitudinal observational study of midlife women living with HIV and demographically similar HIV-uninfected women with history of risk of HIV.14 A small number of additional women at the Chicago site of WIHS were recruited from the same clinical care setting as WIHS women. The study population is predominantly low-income urban dwelling women of color. Participants were asked to wear a wrist actigraphy monitor (Actiwatch Spectrum Plus, 30-second epochs) for multiple nights (details of actigraphy data extraction and interpretation are given in Section 4). Objective actigraphic estimates of sleep timing (sleep onset time, sleep end time) and total sleep time were extracted. Sleep onset is the clock time of the first epoch scored as sleep during the rest interval; sleep end is the clock time of the last epoch scored as sleep, that is, the final wake time, during the rest interval. Total sleep time is the sum of all epochs scored as sleep between sleep onset and sleep end. Measures of sleep continuity included sleep efficiency, wake after sleep onset (WASO), and the number of wake bouts were also extracted. Sleep efficiency is defined as the proportion of time between sleep onset and sleep end time scored as sleep in the rest interval, expressed as a percentage. WASO is defined as the sum of all epochs scored as wake within the rest interval. Wake bout is defined as the continuous period of wake, at least 30 seconds long during the rest interval. Because the actigraphy collects data every 30 seconds, the number of wake bouts equals to the number of awakenings.
Sleep variables are typically averaged over multiple nights to summarize a subject’s sleep activites,15 ignoring repeated measures from the same subject. Furthermore, sleep variables are often analyzed separately.16,17 However, a single sleep variable does not provide a full assessment of sleep. In addition, sleep variables tend to be correlated with each other. For example, total sleep time can be related to how many times and how long a subject wakes up at night, and how frequent and how long a subject wakes up at night may also be related to each other. In this article, we propose to analyze all repeated observations from the same subject together and to analyze total sleep time, number of awakenings, and WASO simultaneously. We aim to gain insight on how risk factors affect the overall quality of sleep measured by several sleep variables and how improvement in one sleep variable may affect the others.
Sleep data are somewhat similar to data on use of healthcare resources, where health insurance claims and costs during a given insured period are modeled and analyzed.18–20 Total healthcare cost is usually right skewed and semi-continuous with a point mass at zero for non-users. Therefore, common models for continuous data such as a gamma distribution or a log-normal distribution are not appropriate. A zero-inflated model is not appropriate either because the underlying assumption of two-stage decision process, that is, use or not use healthcare and how much to use are not usually made.21 Therefore, health economics models often assume the number of healthcare claims follows a Poisson distribution and if there is any claim, the cost of each claim follow a gamma distribution and they are assumed to be independent with each other.21 Thus, the total healthcare cost follows a compound Poisson gamma distribution, a distribution on semi-continuous data that allows exact zero. A compound Poisson gamma distribution does not have a closed form marginal distribution. It belongs to the family of Tweedie distributions.20–23 In the context of sleep data, the number of health insurance claims in a given period corresponds to the number of awakenings at a night and the cost of each health insurance claim corresponds to the duration of each wake bout thus the total cost of healthcare in the given period corresponds to the total wake time, that is, WASO, at that night.
Despite the similarity between healthcare and sleep data, there are major differences between them. First, in healthcare data the total number of health insurance claims and the total cost for all claims aggregated over an insured period are collected once for every participant under study. No repeated observations from the same participant are involved. In sleep studies, sleep variables are typically collected for each participant over multiple nights. Second, in healthcare data the duration of the insured period is treated as fixed and it is typically not to be influenced by the number of health care use and the cost per use. In sleep studies the corresponding variable, the total sleep time, is one of the main sleep variables that we aim to model and to examine its relationship with the number of awakenings and the duration per wake episode. Therefore, in this article, we adopt traditional models used for healthcare data such that we assume the number of awakenings follows a Poisson distribution and if there is any wake episode, the duration of each wake bout follow a gamma distribution. But we further extend the model to incorporate repeated observations from the same participant and to model the total sleep time as one of the outcome variables and furthermore to develop a joint model on total sleep time, number of awakening and duration of wake bouts. To our best knowledge, currently there is no statistical method available to jointly model sleep variables that are repeatedly measured over multiple nights.
This article is organized as follows: a joint model for the sleep variables and its estimating procedure are described in Section 2. In Section 3, a simulation study is used to examine the performance of the estimation procedure. The proposed model and methods are applied to the WIHS Sleep Study in Section 4 to examine effects of risk factors on sleep variables and to assess the level of heterogeneity in each sleep variable across participants as well as the inter-relationships among sleep variables. The article is concluded in Section 5.
2 |. MODELS AND METHODS
Let Tik represents the total sleep time, Mik represents the number of wake bouts (ie, the number of awakenings), and Yijk represents the duration of the wake bout at the jth awakening for the ith person on the kth night, where j = 1, … , Mik and k = 1, … , Ki, for example, Ki = 3 to 7 nights, i = 1, … , N. We assume total sleep time follow a gamma distribution. We further assume that the number of awakenings follows a Poisson distribution; and if there is any awakening, the duration of each wake bout also follows a gamma distribution but with different shape and scale parameters than the total sleep time. Random effects are used to incorporate heterogeneity across participants. Specifically, we assume the total sleep time
| (1) |
where αS is the shape parameter and υ1iri is the scale parameter for subject i and ri is the fixed effect and υ1i is the random effect.
We assume the number of awakening at a night follows a Poisson distribution. How many times a subject wakes up at a night depends on how long this subject sleeps at that night: the longer the subject sleeps at a night, the more awakenings this subject is likely to have at that night. Therefore, we assume
| (2) |
where υ2iλi is the unit rate for awakenings for subject i. Here υ2i is the random effect and λi is the fixed effect for subject i. Next, wake bout durations are assumed to follow a gamma distribution with the same shape parameter αW across all bouts, that is,
| (3) |
where υ3iξi is the scale parameter for subject i. Here υ3i is the random effect and ξi is the fixed effect for subject i. Conditional on (υ1i, υ2i, υ3i), we assume Mik⊥Yijk and Yijk⊥Tik.
The total sleep time, the number of awakenings, and wake bout durations may be correlated with each other. It is important to learn, for example, if people who tend to wake up more frequently tend to sleep less and if people who tend to wake up more frequently tend to wake at a shorter duration each episode. Thus, we allow these random effects to be correlated with each other, that is,
where
Below we propose a mixed effect regression model on each sleep variable.
2.1 |. A mixed effects model for total sleep time, the number of awakenings and wake time
Conditional on υ1i, we model the expected total sleep time by
| (4) |
so that , where X1i is the covariate vector for the ith person. Since , also represents the conditional as well marginal mean ratio in total sleep time associated with X1. Conditional on υ2i, we model the expected number of awakenings by
| (5) |
where X2i is the covariate vector for the ith person so that . As the model is conditioning on the total sleep time, Equation (5) models the frequency of awakenings. Note that E (Mik|Tik, υ2i) = λiTikυ2i so that . Therefore, represents the conditional as well as marginal ratio in rate of awakenings associated with X2.
Conditional on Mik > 0 and υ3i, the distribution of WASO is
We model the expected WASO by
| (6) |
so that , where X3i is the covariate vector for the ith person. Since , similarly as above, is the conditional as well marginal ratio in the duration of a wake bout associated with X3. Note that X1, X2, and X3 may or may not be the same. Here for the ease of notation, we assume X1 = X2 = X3.
2.2 |. Estimation procedure
The joint likelihood function for the total sleep time, the number of awakenings, and WASO is
| (7) |
Because the likelihood function does not have a closed form, either a numerical approximation such as the Gauss-Hermite quadrature24 or an EM algorithm may be used to estimate the parameters of interest, that is, (γ0, γ1, β0, β1, δ0, δ1, Σ). Gigante25 developed a numerical estimating procedure for the joint mixed effects model on the number of health insurance payments and the increment payments, in the context of the sleep model, on (M, Y). Specifically, they used a hierarchical likelihood approach26 and an iterative weighted least square algorithm. However, given the complexity of the joint distribution of (T, M, Y), the use of a numerical algorithm to obtain maximum likelihood parameter estimates can be computationally very intensive and unstable. Thus, we propose to use a stepwise approach that is not only computationally much less intensive and more stable but can also make use of existing software. Initially, Equations (4) to (6) are solved separately as generalized linear mixed effects models to obtain estimates for (γ0, γ1, β0, β1, δ0, δ1) as well as their variations, the variance parameter for the random effects, that is, (σ1, σ2, σ3). Then we propose three additional steps to estimate the three correlation parameters, that is, (ρ12, ρ13, ρ23).
First, we model the number of awakenings without conditioning on the sleep time,
| (8) |
where it can be shown that and ; the random effect . Conditional on (w1i, w2i), Mik becomes a negative binomial random variable. Note that without conditioning on the total sleep time, Equation (8) becomes a model on the total number of awakenings instead of on the frequency of awakenings in Equation (5). Both the fixed effects and the random effects on the number of awakenings are additive effects from the effects on the total sleep time and the effects on the rate of awakening. The correlation between (w1i, w2i), ρ12, can then be estimated.
Next, conditioning on (w2i, w3i) and Tik, WASO, Yi k, follows a compound Poisson gamma distribution. We model the mean of WASO using the following mixed effects model27
| (9) |
where it can be shown that and ; the random effect . Both the fixed effects and the random effects on WASO given the total sleep time are additive effects from the effect on the frequency of awakenings and the effect on the duration of each wake bout. The correlation between (w2i, w3i), ρ23, can then be estimated.
Third, based on Equations (1) to (3), we further model WASO without conditioning on the total sleep time, that is,
| (10) |
where it can be shown that and ; the random effect . Conditional on (w1i, w2i, w3i), Yi k follows the compound negative binomial gamma distribution, which is shown to also belong to the Tweedie’s family with the index parameter between 1 and 2 (see proof of Lemma in the Appendix). Note that without conditioning on the number of awakenings, Equation (10) becomes a model on WASO instead of a model on each wake bout as Equation (6). Both the fixed effects and the random effects on WASO are additive effects from the effects on the rate of awakenings, on the duration of each wake bout and on the total sleep time. The correlation between (w1i, w3i), ρ13, can be estimated.
Details of the derivation of Equations (8) to (10) and the correlation parameters are provided in the Appendix.
To summarize the estimation procedure, the following steps are needed:
Use Equations (4) to (6) to estimate (γ0, γ1, β0, β1, δ0, δ1) as well as their variations and (σ1, σ2, σ3).
Use Equations (8) to (10) to estimate the variation of (β1 + γ1, β1 + δ1, β1 + δ1 + γ1) and to estimate (ρ12, ρ13, ρ23).
Based on (ii) , , and can be estimated so that joint hypotheses β1 = γ1 = 0, β1 = δ1 = 0, or β1 = δ1 = γ1 = 0 can be tested via a Wald test.
Use bootstrap methods to estimate the variability of estimates for Σ.
Equations (4) to (7) can be estimated using an R-package glmmTMB and Equations (9) and (10) can be estimated using an R-package cpglmm. Program to implement the procedure is available at https://github.com/xiaonanxue/Code/blob/xiaonanxue-sleep-model/Simu%20data%20example%20Xue.R. The performance of this estimation procedure is examined using simulations in Section 3.
2.3 |. Sleep efficiency
Another important sleep variable is the sleep efficiency, defined as the proportion of sleep time out of the duration of the rest interval, that is, . Because Yi k ≥ 0, direct model of sleep efficiency using a mixed beta regression model is not appropriate. A zero-inflated beta-regression is not adequate either because it does not fit our assumption that the number of awakenings follows a regular Poisson model. However, we can use Equation (9) to make inference on sleep efficiency. Specifically, Equation (9) shows that
where is the expected odds of sleep inefficiency, also interpreted as the expected odds of being awakeY vs being asleep at a night. Thus, represents the ratio in expected odds for sleep inefficiency, or ratio in expected odds for being awake associated with X.
It worth emphasizing that Equations (8) to (10) not only allows the use of existing software to estimate the correlation parameters but each of the questions also provides additional insights on sleep activities. Table 1 summarizes model assumptions and parameter interpretations for each mixed effects model presented in this section.
TABLE 1.
Description of mixed effects models on sleep variables
| Response | Condition on other metrics | Distribution conditional on random effects | Interpretation of covariate effect on outcome | Model | Fixed effects | Random effects |
|---|---|---|---|---|---|---|
| Total sleep time | Gamma | Ratio in total sleep time | log E (Tik|v1i) = γ0 + γ1Xi + W1i | γ 1 | W 1i | |
| Number of wake up bouts | Total sleep time | Poisson | Ratio in rate of awakening | log E (Mik|Tik, v2i) = β0 + β1Xi + log (Tik) + W2i | β 1 | W 2i |
| Total wake time | Number ofwake up bouts | Gamma | Ratio in wake bout length | log E (Yik|Mik, v3i) = δ0 + δ1Xi + log (Mik) + W3i | δ 1 | W 3i |
| Number of wake up bouts | Negative binomial | Ratio in total number of awakenings | ||||
| Total wake time | Total sleep time | Compound Poisson gamma | OR of sleep inefficiency | |||
| Total wake time | Compound Poisson gamma | Ratio in total wake time |
3 |. SIMULATIONS
We used simulation studies to examine the performance of the proposed estimation procedure. For simplicity, we only assume one binary variable X with 50% equal to 1, for example, X is the unemployment status of the participant. First, in each simulated data set, we generated N = 300 subjects each observed for 7 nights. This sample size is chosen to be close to our example data set. We considered two scenarios. In the first scenario, γ1 = 0.0, β1 = 0.0, δ1 = 0.2, σ1 = 0.15, σ2 = 0.35, σ3 = 0.30, ρ12 = −0.4, ρ13 = −0.5, ρ23 = 0.0. The fixed effect parameters were chosen to be close to the coefficients for the unemployment status in our data example. The level of random effects were also chosen to be close to our data example (see Table 6). In the second scenario, we set the parameters to be γ1 = −0.1, β1 = 0.2, δ1 = 0.15, σ1 = 0.18, σ2 = 0.35, σ3 = 0.3, ρ12 = −0.4, ρ13 = −0.2, ρ23 = 0.2. These parameters are chosen to cover a range of plausible values. The simulation was repeated 500 times and the results are summarized in Table 2.
TABLE 6.
Joint analysis of total sleep time, number of awakenings, WASO, and sleep time of theWIHS HIV Sleep Study with N = 291 women with 3 to 7 nights of objectively measured sleep variables
| Ratio in total sleep time eγ(CI) | Ratio in frequency of awakening eβ(CI) | Ratio in length of wake bout eδ(CI) | Ratio in total # of wake bouts eβ+γ(CI) | Ratio in odds of sleep inefficiency eβ+δ(CI) | Ratio inWASO eβ+δ+γ(CI) | |
|---|---|---|---|---|---|---|
| Unemployed | 1.011 (0.963, 1.061) P = 0.645 |
1.017 (0.928, 1.115) P = 0.714 |
1.161 (1.070, 1.259) P < .001 |
1.027 (0.944, 1.116) P = .542 |
1.176 (1.031, 1.340) P = .016 |
1.184 (1.055, 1.331) P = .004 |
| β1 = γ1 = 0, P = ,746a | β1 = δ1 = 0, P = .002 | β1 = δ1 = γ1 = 0, p = .001 | ||||
| Age >50 | 1.020 (0.970, 1.072) P = .442 |
1.015 (0.923, 1.116) P = .757 |
1.090 (1.002, 1.186) P = .044 |
1.036 (0.950, 1.130) P = .422 |
1.101 (0.962, 1.261) P = .162 |
1.135 (1.007, 1.280) P = .038 |
| β2 = γ2 = 0, P = .584 | β2 = δ2 = 0, P = .132 | β2 = δ2 = γ2 = 0, p = .090 | ||||
| σ1 Est (CI) | σ2 Est (CI) | σ3 Est (CI) | Est (CI) | Est (CI) | Est (CI) | |
| Random effects | 0.147 (0.112, 0.165)b | 0.353 (0.319, 0.384) | 0.320 (0.292, 0.346) | 0.323 (0.287, 0.357) | 0.479 (0.422, 0.521) | 0.401 (0.347, 0.442) |
| ρ 12 | ρ 13 | ρ 23 | ||||
| −0.406 (−0.551, −0.242) | −0.534 (−0.720, −0.366) | 0.011 (−0.153, 0.144) |
Based on Wald test.
Bootstrap confidence interval.
TABLE 2.
Summary results for 500 simulated data each with N subjects and 7 nights of objectively measured sleep variables and a binary exposure variable (N = 300, scenarios 1 and 2)
| Total sleep time | Frequency of awakening | Length of wake bout | Total # of wake bouts | Total wake time conditional on total sleep time | Total wake time | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Scenario 1: γ1 = 0.0, β1 = 0.0, δ1 = 0.2, σ1 = 0.15, σ2 = 0.35, σ3 = 0.30, ρ12 = −0.4, ρ13 = −0.5, ρ23 = 0.0 | |||||||||||||||||
| Fixed effects parameters | |||||||||||||||||
| γ 1 | β 1 | δ 1 | γ1 + β1 | γ1 + δ1 | γ1 + β1 + δ1 | ||||||||||||
| Biasa | Covb % | c | Bias | Cov % | %d bias | Cov % | % bias | Cov % | % bias | Cov % | % bias | Cov % | |||||
| 0.0003 | 95.4 | 0.985 | −0.0003 | 95.4 | 1.020 | 0.038 | 94.4 | 0.955 | −0.014 | 94.6 | 0.954 | 0.321 | 94.8 | 0.983 | 0.602 | 93.0 | 0.934 |
| Random effects parameter | |||||||||||||||||
| σ 1 | σ 2 | σ 3 | ρ 12 | ρ 23 | ρ 13 | ||||||||||||
| Cove % | Cov % | Cov % | % bias | Cov % | Biasd | Cov % | % bias | Cov % | |||||||||
| 0.972 | 97.6 | 0.998 | 97.2 | 0.993 | 98.2 | 6.342 | 99.2 | −0.002 | 96.4 | 0.171 | 99.2 | ||||||
| Scenario 2: γ1 = −0.1, β1 = 0.2, δ1 = 0.15, σ1 = 0.18, σ2 = 0.35, σ3 = 0.30, ρ12 = −0.4, ρ13 = −0.2, ρ23 = 0.2 | |||||||||||||||||
| Fixed effects parameters | |||||||||||||||||
| γ 1 | β 1 | δ 1 | γ1 + β1 | γ1 + δ1 | γ1 + β1 + δ1 | ||||||||||||
| % bias | Cov % | % bias | Cov % | % bias | Cov % | % bias | Cov % | % bias | Cov % | % bias | Cov % | ||||||
| −3.917 | 96.4 | 1.031 | −0.636 | 95.6 | 1.004 | 0.434 | 95.4 | 1.025 | 2.340 | 94.8 | 0.984 | 0.338 | 95.4 | 1.029 | 0.739 | 96.0 | 1.010 |
| Random effects parameter | |||||||||||||||||
| σ 1 | σ 2 | σ 3 | ρ 12 | ρ 23 | ρ 13 | ||||||||||||
| Cov % | Cov % | Cov % | % bais | Cov % | % bais | Cov % | % bias | Cov % | |||||||||
| .986 | 97.2 | 0.995 | 95.0 | 0.996 | 97.6 | 3.989 | 100 | −4.649 | 98.2 | −0.113 | 99.4 | ||||||
When parameter = 0, bias = estimated value–true value.
Proportion of 95% confidence intervals that include the true value.
Average of estimated SE of the parameter estimate/sample SE of the parameter estimate.
% bias = (estimated – true value)/true value × 100%.
Bootstrap confidence intervals were used.
In the next set of simulations, we examined if the performance of the estimation procedure is influenced by the sample size. We generated N = 200 subjects each observed for 7 nights and considered the same two scenarios as above. The results are summarized in Table 3.
TABLE 3.
Summary results for 500 simulated data each with N subjects and 7 nights of objectively measured sleep variables and a binary exposure variable (N = 200, scenarios 1 and 2)
| Total sleep time | Frequency of awakening | Length of wake bout | Total # of wake bouts | Total wake time conditional on total sleep time | Total wake time | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Scenario 1: γ1 = 0.0, β1 = 0.0, δ1 = 0.2, σ1 = 0.15, σ2 = 0.35, σ3 = 0.30, ρ12 = −0.4, ρ13 = −0.5, ρ23 = 0.0 | |||||||||||||||||
| Fixed effects parameters | |||||||||||||||||
| γ 1 | β 1 | δ 1 | γ1 + β1 | γ1 + δ1 | γ1 + β1 + δ1 | ||||||||||||
| Bias | Cov % | Bias | Cov % | % bias | Cov % | Bias | Cov % | % bias | Cov % | % bias | Cov % | ||||||
| −0.0001 | 94.8 | 0.982 | 0.002 | 94.8 | 0.985 | 0.446 | 93.8 | 0.982 | −0.002 | 94.6 | 0.957 | 1.105 | 93.6 | 0.971 | 0.671 | 94.4 | 0.963 |
| Random effects parameter | |||||||||||||||||
| σ 1 | σ 2 | σ 3 | ρ 12 | ρ 23 | ρ 13 | ||||||||||||
| Cov % | Cov % | Cov % | % bais | Cov % | Bais | Cov % | % bias | Cov % | |||||||||
| 0.962 | 99.0 | 0.992 | 100 | 0.995 | 98.8 | 4.081 | 99.6 | −0.003 | 96.6 | −0.674 | 98.2 | ||||||
| Scenario 2: γ1 = 0.1, β1 = 0.2, δ1 = 0.15, σ1 = 0.18, σ2 = 0.35, σ3 = 0.30, ρ12 = −0.4, ρ13 = −0.2, ρ23 = 0.2 | |||||||||||||||||
| Fixed effects parameters | |||||||||||||||||
| γ 1 | β 1 | δ 1 | γ1 + β1 | γ1 + δ1 | γ1 + β1 + δ1 | ||||||||||||
| % bias | Cov % | % bias | Cov % | % bias | Cov % | % bias | Cov % | % bias | Cov % | % bias | Cov % | ||||||
| −2.772 | 93.6 | 0.973 | 0.370 | 95.0 | 1.002 | −1.107 | 94.4 | 0.988 | 0.499 | 95.2 | 1.010 | −1.528 | 94.0 | 0.977 | −1.895 | 93.2 | 0.957 |
| Random effects parameter | |||||||||||||||||
| σ 1 | σ 2 | σ 3 | ρ 12 | ρ 23 | ρ 13 | ||||||||||||
| Cova % | Cov % | Cov % | % bais | Cov % | % bais | Cov % | % bias | Cov % | |||||||||
| 0.962 | 99.0 | 0.993 | 98.2 | 0.991 | 98.6 | 4.069 | 97.2 | 5.310 | 99.0 | −4.390 | 98.6 | ||||||
Bootstrap confidence intervals were used.
In the third set of the simulation, we examined if the performance of the estimation procedure for the joint model is affected by the level of correlations between sleep variables. Therefore, we considered a third scenario with a higher level of correlations, that is, γ1 = −0.1, β1 = 0.2, δ1 = 0.15, σ1 = 0.15, σ2 = 0.35, σ3 = 0.30, ρ12 = −0.5, ρ13 = −0.6, ρ23 = 0.4. We varied the sample size from N = 300 to N = 500 subjects. The results are summarized in Table 4.
TABLE 4.
Summary results for 500 simulated data each with N subjects and 7 nights of objectively measured sleep variables and a binary exposure variable (N = 300 and 500, scenario 3: 𝛾1 = −0.1, 𝛽1 = 0.2, 𝛿1 = 0.15, 𝜎1 = 0.15, 𝜎2 = 0.35, 𝜎3 = 0.30, 𝜌12 = −0.5, 𝜌13 = −0.6, 𝜌23 = 0.4)
| Total sleep time | Frequency of awakening | Length of wake bout | Total # of wake bouts | Total wake time conditional on total sleep time | Total wake time | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| N = 300 subjects | |||||||||||||||||
| Fixed effects parameters | |||||||||||||||||
| γ 1 | β 1 | δ 1 | γ1 + β1 | γ1 + δ1 | γ1 + β1 + δ1 | ||||||||||||
| % bias | Cov % | % bias | Cov % | % bias | Cov % | % bias | Cov % | % bias | Cov % | % bias | Cov % | ||||||
| −1.190 | 95.0 | 1.012 | 0.040 | 95.6 | 1.035 | −1.448 | 95.2 | 1.011 | 1.254 | 96.6 | 1.071 | −0.571 | 95.6 | 1.027 | −0.680 | 96.6 | 1.035 |
| Random effects parameter | |||||||||||||||||
| σ 1 | σ 2 | σ 3 | ρ 12 | ρ 23 | ρ 13 | ||||||||||||
| Cova % | Cov % | Cov % | % bais | Cov % | % bais | Cov % | % bias | Cov % | |||||||||
| 0.982 | 99.0 | 0.995 | 93.8 | 0.995 | 98.8 | 4.196 | 98.6 | −3.298 | 99.0 | −1.780 | 96.0 | ||||||
| N = 500 subjects | |||||||||||||||||
| Fixed effects parameters | |||||||||||||||||
| γ 1 | β 1 | δ 1 | γ1 + β1 | γ1 + δ1 | γ1 + β1 + δ1 | ||||||||||||
| % bias | Cov % | % bias | Cov % | % bias | Cov % | % bias | Cov % | % bias | Cov % | % bias | Cov % | ||||||
| −1.519 | 94.6 | 1.001 | 0.315 | 94.2 | 1.001 | 0.300 | 93.6 | 0.974 | 0.963 | 95.2 | 1.005 | −0.854 | 94.2 | 0.971 | −1.748 | 95.4 | 1.005 |
| Random effects parameter | |||||||||||||||||
| σ 1 | σ 2 | σ 3 | ρ 12 | ρ 23 | ρ 13 | ||||||||||||
| Cova % | Cov % | Cov % | % bais | Cov % | % bais | Cov % | % bias | Cov % | |||||||||
| 0.985 | 98.8 | 1.004 | 94.0 | 1.000 | 99.0 | 4.209 | 98.2 | 3.064 | 99.2 | −1.625 | 98.4 | ||||||
Bootstrap confidence intervals were used.
Table 2 shows that the proposed estimating procedure was able to estimate the fixed parameters (γ1, β1, δ1) accurately with very little bias: the absolute bias <0.001 for β1 = γ1 = 0 and the relative bias <1% for δ1 in scenario 1 and the relative bias <4% for γ1 and <1% for β1, δ1 in scenario 2. The variation of these estimates was estimated accurately with close to 1 in ratio between the averaged estimated SE and the sample SE, also close to nominal coverage for the estimated 95% confidence interval.
Table 2 also shows that the proposed estimation procedure estimates the random effect parameters σ’s very well with relative bias <3% and also the correlation parameters ρ’s very well: when ρ23 = 0 in scenario 1, the magnitude of the bias = 0.002; the relative bias <5% in general with one exception: 6.3% for ρ12 in scenario 1. Bootstrapping methods were used to estimate the 95% confidence interval for the random effect parameters. Because of the computational intensity, bootstrap samples were set to be 100. Table 2 indicated that the bootstrap confidence intervals are slightly conservative with the coverage probability ranged from 96% to 100%.
When the sample size was reduced to be 200, Table 3 shows that the performance of the procedure estimation procedure was close to the performance when N = 300, suggesting that the sample size requirement for the estimation procedure is not extensive. When the correlation between the sleep variables increased, Table 4 shows that the performance of the proposed estimation procedure for the joint model was similar to the performance when the correlations were smaller. We increased the sample size from 300 to 500, both showed good performance, suggesting that the sample size requirement for the proposed estimation procedure is not extensive even when the correlation between sleep variables is high.
4 |. APPLICATION
This article was motivated by the WIHS HIV Sleep Study, which enrolled N = 316 women aged from 40 to 70 years old in 2018. Participants were asked to wear a wrist actigraphy device continuously for 24 hours a day for 10 days to increase the probability of recording a full 7 days of sleep data. The participants were instructed to press the event marker on the monitor before and after adlib sleep each night and they were also asked to complete a daily written sleep diary.28 Actigraphy recordings were analyzed with the Actiware 6.0.9 program (Respironics, Bend, OR). The setting of nightly rest intervals was guided by event markers, sleep diaries, light data and activity level.10 The actigraphy readings were interpreted up to the first 7 days by Dr. Burgess’s research team (Sleep and Circadian Research Laboratory, University of Michigan). We limited the study sample to 291 women who had at least 3 consecutive days of sleep data. Among them, the majority of the women (91%) had 7 days of actigraphy data. Objective measured sleep variables were then derived from the first up to 7 days of available actigraphy recordings. Figure 1 displays total sleep time, WASO, total number of awakenings, number of awakenings per hour of sleep (ie, awake frequency), sleep efficiency (percent of sleep) and mean bout length over up to 7 days for five participants randomly selected from the study population. Figure 1 shows that there was a large variability within a participant over multiple nights and the variability across participants appeared to be larger for wake patterns than that for total sleep time.
FIGURE 1.

Total sleep time, WASO, total number of awakenings, number of awakenings per hour of sleep (ie, awake frequency), sleep efficiency (percent of sleep time), and mean wake bout length over multiple days for five randomly selected participants from the WIHS HIV Sleep Study.
Summary statistics of the sleep variables averaged over multiple days per subject are provided in Table 5. Figure 2 shows pairwise scatterplots and Spearman correlations between individual sleep variables averaged over multiple days for each participant. As indicated in Figure 2, the averaged sleep time was slightly positively associated with the average number of awakenings; and it was negatively associated with the average frequency of awakenings and the average length of wake bouts, their Spearman correlations are −0.37 and −0.22, respectively. As expected, average WASO was positively correlated with the average number of awakenings and the average frequency of awakenings as well as the average length of wake bouts. The average number of awakenings was positively correlated with the average frequency of awakenings but was not associated with the average wake bout lengths. The average frequency of awakenings appeared to be positively correlated with the average wake bout lengths with a small correlation of 0.16.
TABLE 5.
Summary statistics of sleep variables for theWIHS HIV Sleep Study with N = 291 women each with 3 to 7 nights of Actigraphy measured sleep variables and averages over nights are used for each participant
| Mean | Median | First quartile | Third quartile | (Min, Max) | |
|---|---|---|---|---|---|
| Total sleep time (in minutes) | 382.30 | 379.60 | 336.60 | 427.70 | (183.10, 591.20) |
| Number of awakenings | 35.66 | 34.00 | 27.71 | 41.57 | (7.10, 81.86) |
| Number of awakenings per hour sleep | 5.76 | 5.46 | 4.40 | 6.69 | (1.60, 15.38) |
| Total wake time (in minutes) | 66.29 | 62.00 | 42.57 | 81.21 | (13.14, 226.92) |
| Sleep efficiency (%) | 85.63 | 86.32 | 82.57 | 90.09 | (59.80, 96.75) |
| Average wake bout length (in minutes) | 1.85 | 1.69 | 1.37 | 2.15 | (0.81, 5.02) |
FIGURE 2.

Pairwise scatter plot and Spearman correlations between total sleep time, total wake time, total number of awakenings, number of awakenings per hour of sleep (ie, awake frequency), and mean bout length over averaged over multiple days per participant in the WIHS HIV Sleep Study
In this article, we are interested in examining how the participants’ unemployment status (unemployed = 1, part time or full time working = 0) and age influence their total sleep time, WASO, frequency and number of awakenings and wake bout lengths and how these sleep variables are related to each other. About 64% of women was unemployed. We dichotomized age at ≥50 or <50years: 65% of women were over 50years of age.
4.1 |. Parameter estimates
The proposed method was applied to the study population and the results are summarized in Table 6. Table 6 shows that compared to part time or full time employed participants, unemployed participants did not have less sleep time, neither did they wake up more frequently but they tended to have a longer wake bout (ratio in bout length = 1.161 [95% CI: 1.070, 1.259; P <.001]). Consequently, the unemployed participants had a longer WASO (ratio in length = 1.184 [95% CI: 1.055, 1.331; P = .004]), which resulted from a longer duration in each wake episode. Unemployed status was associated with sleep inefficiency with an odds ratio (OR) of 1.176 (95% CI: 1.031, 1.340; P = .016), that is, unemployed participants were more likely to stay awake during their rest interval. Women in the older age group (≥50years old) did not sleep less nor did they wake up more frequently, but they also tended to have a longer wake bout (ratio in bout length = 1.090 [95% CI: 1.002, 1.186; P = .044]). As a result, older age was also associated with a longer WASO (ratio in length = 1.135 [95% CI: 1.007, 1.280; P = .038]). However, older age was not associated with sleep inefficiency, in another words, older aged participants were not more likely to stay awake during their rest interval. Wald test on β1 = δ1 = 0 and β1 = δ1 = γ1 = 0 for unemployment was significant, demonstrating an overall effect of unemployment on sleep activities in various dimensions. Older age only had a borderline joint effect on sleep variables (P-value = .090 for β2 = δ2 = γ2 = 0). We also examined HIV status, BMI and waist circumference, none of which demonstrated any association with any of these sleep variables.
Not much heterogeneity in total sleep time was observed among the participants with the SD for the random effect estimated to be 0.147 (95% CI: 0.112, 0.165). This implies that a subject whose underlying level of sleep duration is at 75th percentile of the population sleeps 20% longer than a subject whose underlying level is at 25th percentile, given the same characteristics otherwise. However, substantial heterogeneity was observed in number of awakenings and wake bout durations: the estimated SD for the random effect associated with the number of awakenings conditional on total sleep time and with the duration of each wake bout is 0.353 (95% CI: 0.319, 0.384), 0.320 (95% CI: 0.292, 0.346), respectively. For example, the frequency of awakenings for a subject whose underlying tendency to wake up is at 75th percentile of the population is approximately 60% higher than that for a subject whose underlying level is at 25th percentile, given that they have the same characteristics otherwise. Similar level of heterogeneity was observed on duration of wake bouts. In summary, we found that heterogeneity in these sleep variables among our study participants primarily lies in wakening patterns, which confirmed our observation in Figure 1.
Random effects associated with the total sleep time were negatively correlated with random effects for the frequency of awakenings: ρ12 = −0.406(95%CI ∶ −0.551, 0.242) and also were negatively correlated with random effects for wake bout durations ρ13 = −0.534(95%CI ∶ −0.720, −0.366). Random effects for the frequency of awakenings were not correlated with random effects for wake bout durations: ρ23 = 0.011(95%CI ∶ −0.153, 0.144). These findings were in general consistent with what we observed in Figure 2, which suggest that someone who tends to wake-up more frequently or tends to stay awake longer each wake episode tends to sleep less, having an overall poorer sleep quality.
4.2 |. Model fitting
To assess how our model fits to the data, we examined the standardized Pearson residuals for models (4) to (6) to detect any large discrepancy between observed and fitted daily sleep variables. As shown in Figure 3, for models (4) and (6), there were very few residuals whose magnitude exceeded 2.5; for model (5), there were 3.4% of residuals exceeded 2.5, suggesting no significant discrepancy between observed and fitted sleep variables. We further compared the empirical distribution between each subject’s observed sleep variables and its corresponding fitted value, both averaged over multiple nights for each participant. Figure 3 shows that the empirical distributions for the averaged observed and fitted number of awakenings are very close and the distributions for the averaged observed and fitted WASO are almost identical. Figure 3 also shows that the distribution of averaged fitted values for the total sleep time is less spread than the distribution of the observed value, suggesting that there is extra variability that the current model is not able to explain and additional risk factors may be needed to explain the high values of the total sleep time in particular.
FIGURE 3.

Model fitting for number of wake-up bouts (top), wake time (middle), and total sleep time (bottom). Left panel is the standardized Pearson residuals and the right panel is the comparison between the empirical distribution for each sleep metric averaged over nights under observation and the empirical distribution for its corresponding fitted value
5 |. DISCUSSION
To our knowledge, for the first time, we proposed to jointly model several sleep variables including total sleep time, number of awakenings and WASO. A joint model allows separate as well as overall assessment of risk factor influences on several sleep variables as well as evaluation of relationships among sleep variables. An estimating procedure was developed based upon estimating a series of mixed effects models, which avoids computational intensity and instability that may arise in numerical search of maximum likelihood estimates. The estimation procedure can be implemented using existing packages in R. Furthermore, each mixed effects model provides a unique interpretation for the effects of risk factors on sleep activities.
We applied the proposed methods to an ongoing HIV Sleep Study to examine factors that may affect participants’ sleep. We found that women who were unemployed or older had a longer WASO, resulted from a longer duration of wake bouts rather than more frequent awakenings at night. Neither of these two variables affected the total sleep duration. Only unemployment status but not older age resulted in decreased sleep efficiency. A large amount of heterogeneity was observed in frequency and duration of wake bouts. Total sleep time was negatively associated with frequency and duration of awakenings. Thus, someone who woke up more frequently or someone who stayed awake longer each wake episode tended to sleep less. Findings from this study help better understand the inter-relationship between sleep variables and can help the development of interventions in order to improve sleep quality overall.
Our models fit the data generally well except that the fitted distribution of total sleep time appeared to have less variability than the observed distribution. Large heterogeneity remained unexplained in the number of awakenings and WASO. These results suggest that additional variables may be needed to better understand these sleep variables. For example, in addition to sociodemographic variables, daytime napping or environmental factors such as light or noise may also influence night sleep activities. Furthermore, while sleep onset is random, sleep end may not be because the participant may not wake up naturally. Thus, some of the total sleep time can be right censored. This makes it more challenging to model the total sleep time.
Several limitations of our proposed method warrant further study. First, our model assumes that conditional on personal heterogeneity, a sleep variable measured repeatedly over multiple nights is independent from each other. However, it is possible that a subject’s sleep activities in one night affect his/her sleep activities during the next night. Thus, serial correlations may need to be incorporated using a transition model. In addition, there is also growing evidence that the stability and timing of the sleep-wake cycle are important predictors of cardio-metabolic risk.15 Models to include the night-to-night variability in sleep variables and the timing of sleep onset, sleep ends and sleep mid-point as well as the timing of wake time (ie, early or late during the rest interval) will provide a more comprehensive assessment of overall sleep quality.
ACKNOWLEDGEMENTS
The contents of this publication are solely the responsibility of the authors and do not represent the official views of the National Institutes of Health (NIH). MWCCS (Principal Investigators): Atlanta CRS (Ighovwerha Ofotokun, Anandi Sheth, and Gina Wingood), U01-HL146241; Baltimore CRS (Todd Brown and Joseph Margolick), U01-HL146201; Bronx CRS (Kathryn Anastos and Anjali Sharma), U01-HL146204; Brooklyn CRS (Deborah Gustafson and Tracey Wilson), U01-HL146202; Data Analysis and Coordination Center (Gypsyamber D’Souza, Stephen Gange and Elizabeth Golub), U01-HL146193; Chicago-Cook County CRS (Mardge Cohen and Audrey French), U01-HL146245; Chicago-Northwestern CRS (Steven Wolinsky), U01-HL146240; Northern California CRS (Bradley Aouizerat, Jennifer Price, and Phyllis Tien), U01-HL146242; Los Angeles CRS (Roger Detels and Matthew Mimiaga), U01-HL146333; Metropolitan Washington CRS (Seble Kassaye and Daniel Merenstein), U01-HL146205; Miami CRS (Maria Alcaide, Margaret Fischl, and Deborah Jones), U01-HL146203; Pittsburgh CRS (Jeremy Martinson and Charles Rinaldo), U01-HL146208; UAB-MS CRS (Mirjam-Colette Kempf, Jodie Dionne-Odom, and Deborah Konkle-Parker), U01-HL146192; UNC CRS (Adaora Adimora), U01-HL146194. The MWCCS is funded primarily by the National Heart, Lung, and Blood Institute (NHLBI), with additional co-funding from the Eunice Kennedy Shriver National Institute of Child Health & Human Development (NICHD), National Institute on Aging (NIA), National Institute of Dental & Craniofacial Research (NIDCR), National Institute of Allergy and Infectious Diseases (NIAID), National Institute of Neurological Disorders and Stroke (NINDS), National Institute of Mental Health (NIMH), National Institute on Drug Abuse (NIDA), National Institute of Nursing Research (NINR), National Cancer Institute (NCI), National Institute on Alcohol Abuse and Alcoholism (NIAAA), National Institute on Deafness and Other Communication Disorders (NIDCD), National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK), National Institute on Minority Health and Health Disparities (NIMHD), and in coordination and alignment with the research priorities of the National Institutes of Health, Office of AIDS Research (OAR). MWCCS data collection is also supported by UL1-TR000004 (UCSF CTSA), UL1-TR003098 (JHU ICTR), UL1-TR001881 (UCLA CTSI), P30-AI-050409 (Atlanta CFAR), P30-AI-073961 (Miami CFAR), P30-AI-050410 (UNC CFAR), P30-AI-027767 (UAB CFAR), and P30-MH-116867 (Miami CHARM).
The authors gratefully acknowledge the contributions of the study participants and dedication of the staff at the MWCCS sites.
This work is supported by National Heart, Lung, and Blood Institute (NHLBI) 1R01HL142116-01 (2018–2022) entitled “The Indoleamine 2, 3-dioxygenase (IDOZe) Study” (Audrey, Burgess).
The authors would also want to thank the two anonymous referees whose constructive suggestions have resulted in significant improvement of the article.
APPENDIX . DERIVATION OF EQUATIONS (8) TO (10) AND THE CORRELATION PARAMETERS
Let , then based on Equation (4),
Where . Based on Equations (1) and (2),
Thus, with Equation (5), we have
Because and , conditional on (υ1, υ2i), Mik is a Poisson random variable with over-dispersion such that Var(Mik υ1i,υ3i) = E (Mik υ1i,υ3i)(1 + 1∕αSE (Mik υ1i,υ3i)). We therefore model the number of awakenings without conditioning on the sleep time,
| (8) |
which becomes a mixed effect negative binomial model. We have and ; the random effect . The correlation between (w1i, w2i), can then be estimated.
Next, conditioning on (w2i, w3i), Yijk⊥Mik, Yi k ~ compound Poisson gamma. As we mentioned earlier, the compound Poisson gamma distribution belongs to the Tweedie’s family and does not have a closed form of density function. We model the mean of WASO using the following mixed effects model27
| (9) |
As EY (Yi k Tik, 2i, υ3i) = EM (EY (Yi k | Tik, Mik, υ2i, υ3i)) = λiαWξiTikυ2iυ3i, we have and ; the random effect . The correlation between (w2i, w3i), can then be estimated.
Third, based on Equations (1) to (3),
We further model WASO without conditioning on the total sleep time, that is,
| (10) |
We showed in below lemma that the compound negative binomial gamma distribution also belongs to the Tweedie’s family with the index parameter between 1 and 2. We then have and ; the random effect . Since the correlation between (w1i, w3i), can be estimated.
Lemma.
Assume M | T ~ Poisson(λT), T ~ Gamma(αS,1∕αS), Yj ~ Gamma(α, γ), Yj’s are iid and follows a Tweedie’s distribution.
Proof. Marginally, M follows a negative binomial distribution so that E(M) = λ, and VarM = λ(1 + 1∕αSλ). Therefore, EY = μ = λαγ, . Then VarY = φμP where , and .
It can be easily seen that p ∈ (1, 2).
DATA AVAILABILITY STATEMENT
The data used in this article is not publicly available because it is part of an ongoing research study, as research data are not shared.
REFERENCES
- 1.Patel SR, Malhotra A, White DP, Gottlieb DJ, Hu FB. Association between reduced sleep and weight gain in women. Am J Epidemiol. 2006;164:947–954. doi: 10.1093/aje/kwj280 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Spiegel K, Leproult R, Van Cauter E. Impact of sleep debt on metabolic and endocrine function. Lancet. 1999;354:1435–1439. doi: 10.1016/S0140-6736(99)01376-8 [DOI] [PubMed] [Google Scholar]
- 3.Yaggi HK, Araujo AB, McKinlay JB. Sleep duration as a risk factor for the development of type 2 diabetes. Diabetes Care. 2006;29:657–661. doi: 10.2337/diacare.29.03.06.dc05-0879 [DOI] [PubMed] [Google Scholar]
- 4.Cespedes EM, Dudley KA, Sotres-Alvarez D, et al. Joint associations of insomnia and sleep duration with prevalent diabetes: the Hispanic community health study/study of Latinos (HCHS/SOL). J Diabetes. 2016;8:387–397. doi: 10.1111/1753-0407.12308 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Aurora RN, Kim JS, Crainiceanu C, et al. Habitual sleep duration and all-cause mortality in a general community sample. Sleep. 2016;39:1903–1909. doi: 10.5665/sleep.6212 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Buysse DJ, Ancoli-Israel S, Edinger JD, Lichstein KL, Morin CM. Recommendations for a standard research assessment of insomnia. Sleep. 2006;29:1155–1173. [DOI] [PubMed] [Google Scholar]
- 7.de Souza L, Benedito-Silva AA, Pires MLN, Poyares D, Tufik S, Calil HM. Further validation of actigraphy for sleep studies. Sleep. 2003;26:81–85. [DOI] [PubMed] [Google Scholar]
- 8.Kushida CA, Chang A, Gadkary C, Guilleminault C, Carrillo O, Dement WC. Comparison of actigraphic, polysomnographic, and subjective assessment of sleep parameters in sleep-disordered patients. Sleep Med. 2001;2:389–396. [DOI] [PubMed] [Google Scholar]
- 9.Ancoli-Israel S, Cole R, Alessi C, Chambers M, Moorcroft W, Pollak CP. The role of actigraphy in the study of sleep and circadian rhythms. Sleep. 2003;26:342–392. [DOI] [PubMed] [Google Scholar]
- 10.Patel SR, Weng J, Rueschman M, et al. Reproducibility of a standardized actigraphy scoring algorithm for sleep in a U. S. Hispanic/Latino population. Sleep. 2015;38:1497–1503. doi: 10.5665/sleep.4998 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Bathgate CJ, Edinger JD, Wyatt JK, Krystal AD. Objective but not subjective short sleep duration associated with increased risk for hypertension in individuals with insomnia. Sleep. 2016;39:1037–1045. doi: 10.5665/sleep.5748 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Ramos AR, Weng J, Wallace DM, et al. Sleep patterns and hypertension using actigraphy in the Hispanic community health study/study of Latinos. Chest. 2018;153:87–93. doi: 10.1016/j.chest.2017.09.028 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Franck LS, Johnson LM, Lee K, et al. Sleep disturbances in children with human immunodeficiency virus infection. Pediatrics. 1999;104:e62. doi: 10.1542/peds.104.5.e62 [DOI] [PubMed] [Google Scholar]
- 14.Bacon MC, von Wyl V, Alden C, et al. The Women’s interagency HIV study: an observational cohort brings clinical sciences to the bench. Clin Diagn Lab Immunol. 2005;12:1013–1019. doi: 10.1128/CDLI.12.9.1013-1019.2005 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Abbott SM, Weng J, Reid KJ, et al. Sleep timing, stability, and BP in the Sueño ancillary study of the Hispanic community health study/study of Latinos. Chest. 2019;155:60–68. doi: 10.1016/j.chest.2018.09.018 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Luik AI, Zuurbier LA, Hofman A, et al. Stability and fragmentation of the activity rhythm across the sleep-wake cycle: the importance of age, lifestyle, and mental health. Chronobiol Int. 2013;30:1223–1230. doi: 10.3109/07420528.2013.813528 [DOI] [PubMed] [Google Scholar]
- 17.Chen J, Patel SR, Redline S, et al. Weekly sleep trajectories and their associations with obesity and hypertension in the Hispanic/Latino population. Sleep. 2018;41:zsy150. doi: 10.1093/sleep/zsy150 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Mihaylova B, Briggs A, O’Hagan A, et al. Review of statistical methods for analysing healthcare resources and costs. Health Econ. 2011;20:897–916. doi: 10.1002/hec.1653 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Basu A, Rathouz PJ. Estimating marginal and incremental effects on health outcomes using flexible link and variance function models. Biostatistics. 2005;6:93–109. doi: 10.1093/biostatistics/kxh020 [DOI] [PubMed] [Google Scholar]
- 20.Smyth GK, Jørgensen B. Fitting Tweedie’s compound Poisson model to insurance claims data: dispersion modelling. ASTIN Bull. 2002;32:143–157. doi: 10.2143/AST.32.1.1020 [DOI] [Google Scholar]
- 21.Kurz CF. Tweedie distributions for fitting semicontinuous health care utilization cost data. BMC Med Res Methodol. 2017;17:171. doi: 10.1186/s12874-017-0445-y [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Jørgensen B Exponential dispersion models. J R Stat Soc B Methodol. 1987;49:127–145. doi: 10.1111/j.2517-6161.1987.tb01685.x [DOI] [Google Scholar]
- 23.Delong Ł, Lindholm M, Wüthrich MV. Making Tweedie’s compound Poisson model more accessible. Eur Actuar J. 2021;11:185–226. doi: 10.1007/s13385-021-00264-3 [DOI] [Google Scholar]
- 24.Liu Q, Pierce DA. A note on Gauss-Hermite quadrature. Biometrika. 1994;81:624–629. doi: 10.2307/2337136 [DOI] [Google Scholar]
- 25.Gigante P, Picech L, Sigalotti L. A mixture model for payments and payment numbers in claims reserving. ASTIN Bull. 2016;48:25–53. [Google Scholar]
- 26.Lee Y, Nelder JA. Hierarchical generalised linear models: a synthesis of generalised linear models, random-effect models and structured dispersions. Biometrika. 2001;88:987–1006. [Google Scholar]
- 27.Zhang Y Likelihood-based and Bayesian methods for Tweedie compound Poisson linear mixed models. Stat Comput. 2013;23:743–757. doi: 10.1007/s11222-012-9343-7 [DOI] [Google Scholar]
- 28.Carney CE, Buysse DJ, Ancoli-Israel S, et al. The consensus sleep diary: standardizing prospective sleep self-monitoring. Sleep. 2012;35:287–302. doi: 10.5665/sleep.1642 [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.
Data Availability Statement
The data used in this article is not publicly available because it is part of an ongoing research study, as research data are not shared.
