Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Day-to-day variability in sleep parameters and depression risk: a prospective cohort study of training physicians

Abstract

While 24-h total sleep time (TST) is established as a critical driver of major depression, the relationships between sleep timing and regularity and mental health remain poorly characterized because most studies have relied on either self-report assessments or traditional objective sleep measurements restricted to cross-sectional time frames and small cohorts. To address this gap, we assessed sleep with a wearable device, daily mood with a smartphone application and depression through the 9-item Patient Health Questionnaire (PHQ-9) over the demanding first year of physician training (internship). In 2115 interns, reduced TST (b = −0.11, p < 0.001), later bedtime (b = 0.068, p = 0.015), along with increased variability in TST (b = 0.4, p = 0.0012) and in wake time (b = 0.081, p = 0.005) were associated with more depressive symptoms. Overall, the aggregated impact of sleep variability parameters and of mean sleep parameters on PHQ-9 were similar in magnitude (both r2 = 0.01). Within individuals, increased TST (b = 0.06, p < 0.001), later wake time (b = 0.09, p < 0.001), earlier bedtime (b = − 0.07, p < 0.001), as well as lower day-to-day shifts in TST (b = −0.011, p < 0.001) and in wake time (b = −0.004, p < 0.001) were associated with improved next-day mood. Variability in sleep parameters substantially impacted mood and depression, similar in magnitude to the mean levels of sleep parameters. Interventions that target sleep consistency, along with sleep duration, hold promise to improve mental health.

Introduction

Sleep health is a multidimensional construct that includes parameters beyond sleep duration, such as timing and regularity1. Although sleep plays a critical role in general and mental health2, studies that have evaluated the role of sleep in various conditions often reduce sleep health to a single, summary parameter (e.g., sleep duration over the course of the night) obtained by a retrospective, subjective query.

However, emerging evidence has identified that stability of the sleep-wake schedule over time is a particularly important contributor to health3,4. The predictive value of sleep variability has exceeded that of mean levels of sleep parameters in a variety of medical conditions3,5,6. Although disruption to our internal time-keeping system, or circadian rhythm, was recently associated with poor mental health in a study of more than 90,000 individuals7, the role of sleep variability, which encompasses behavioral, homeostatic, and circadian contributions to sleep, remains unclear. Previous investigations that evaluated the relationship between increased sleep variability and mental health, whether operationalized as day-to-day shifts over time (intraindividual variability) or weekday-weekend sleep discrepancies (social jet lag), have been limited by self-report measures3,8,9 or, if objective measures are used, brief recording duration10,11,12,13,14 or small cohort size10,11,12,13,14,15,16,17. Therefore, our understanding of the contribution of sleep variability to mental health remains incomplete and minimal guidance is available to develop precise, individualized interventions to improve sleep for optimal treatment of mental health disorders.

The first year of medical training (internship) is a rare circumstance marked by an abrupt increase in workload and shifting schedules that span the 24-h day. Additionally, the prevalence of depression increases sharply after the start of intern year18,19. Therefore, internship can act as a prospective model to more fully understand the relationship between sleep variability and mood for a broader population.

To precisely capture the variability of sleep over a longitudinal time course, methods that are both passive and objective are required. Actigraphy uses a wrist-worn accelerometer to collect motion data, and validated algorithms are applied to this data to distinguish sleep from wake20,21. Unfortunately, although actigraphy is an effective, well-verified method to evaluate sleep over days to weeks, some limitations can interfere with use in a large population under extremely demanding work schedules. Traditional actigraphs are expensive and typically lack wireless data transmission capability, which can limit both the duration of recording and size of the study population.

Technological advances in wrist-worn sensors provide the opportunity to objectively measure sleep through passive recording, in real time, with minimal expense or user burden22,23. Therefore, wrist-worn, multisensory consumer sleep tracking devices can now provide estimates of sleep patterns over extensive time durations in individuals under demanding circumstances such as medical training. Additionally, mobile platforms allow for real-time input of self-report symptoms22. Therefore, use of current technology provides the opportunity to more comprehensively characterize sleep, while simultaneously assessing mood, to identify the specific sleep disturbances that contribute to depression. Already, a small study using wearable and mobile technology (N = 33) demonstrated that short sleep duration and advances in sleep wake schedule in excess of 3 h (compared to sleep before intern year) were significant predictors of next day mood24.

Therefore, utilizing a sample of over 2000 subjects and a multisensory consumer sleep tracking device, the goals of the present study were to: 1) characterize the changes in objective, longitudinally monitored sleep with the transition into internship, 2) identify the specific objective sleep characteristics, including variability, associated with depression over the course of the intern year, and 3) evaluate the impact of day-to-day changes in objective sleep duration and sleep-wake timing on mood the next day. We hypothesized that decreased sleep duration and increased variability in sleep-wake timing would accompany the transition into internship and that shorter sleep duration and greater variability in sleep duration and timing would be associated with lower mood and more depressive symptoms.

Results

Sleep measures before and during internship

The study cohort was comprised of 2115 (56% female; age 27.5 ± 2.4 years) interns (see Fig. 1 for details of subject inclusion). The mean of their baseline PHQ-9 scores and average internship PHQ-9 scores were 2.59 (±2.85) and 6.09 (±3.91) (Table 1). An average of 17 (±12) and 115 (±111) days of sleep recording were collected during the baseline period and intern year, respectively.

Fig. 1: Study flow diagram.
figure 1

Flow diagram detailing subject inclusion from enrollment through follow-up and analysis.

Table 1 Cohort demographics (N = 2115).

With the onset of internship stress, training physicians experienced a significant reduction in average 24-h TST (17 min, p < 0.001, Cohen’s d = −0.42) and an advance in sleep timing, with median wake time moving nearly an hour earlier (p < 0.001, Cohen’s d = −0.76), and median bedtime moving forward around half an hour (p < 0.001, Cohen’s d = −0.47) after the start of internship (Table 2). Additionally, there was a significant increase in the standard deviation of sleep duration (16 min, p < 0.001, Cohen’s d = 0.63) and timing (bedtime, 1 h 53 min, p < 0.001, Cohen’s d = 1.47; wake time, 1 h 30 min, p < 0.001, Cohen’s d = 1.46) with the transition to intern year (Table 2). All comparisons passed the Bonferroni correction significance level (p = 0.05/6 = 0.008).

Table 2 Sleep parameters at baseline and during intern year (N = 1269*).

Sleep predictors of depression

Multivariable linear regression models adjusted for age and sex were constructed to determine which sleep characteristics were associated with mean PHQ-9 depressive symptom score during intern year. Independent models examined each sleep parameter and its standard deviation separately, and all sleep parameters were considered simultaneously in the full model.

The mean PHQ-9 scores during intern year among the subjects ranged from 0 to 25.5. After inverse normalizing transformation, the scores ranged from −3.5 to 3.5. On average, for every 1 h decrease in 24 h TST, PHQ-9 score worsened by 0.11 points (transformed value, same below; p < 0.001). An even larger effect size was observed for variability in sleep duration; while controlling for 24-h TST, for every 1-h increase in the standard deviation of 24-h TST, PHQ-9 worsened by 0.4 points on average (p = 0.001). Median bedtime (b = 0.068, p = 0.015) but not median wake time (b = −0.012, p = 0.64) was associated with depression, with later bedtimes associated with higher depressive symptom scores, i.e., more depressive symptoms. In contrast, larger variability in wake time (b = 0.081, p = 0.005), but not bedtime (b = 0.037, p = 0.13), was associated with higher depressive symptom scores. After Bonferroni correction (significance level = 0.05/6 = 0.008), 24-h TST, the standard deviation of 24-h TST, and the standard deviation of wake time remained significantly associated with PHQ-9 score. See details in Table 3.

Table 3 Sleep predictors of PHQ-9 (N = 2115*).

When all sleep factors were taken into consideration together in the full model, lower mean 24-h TST and bedtime variability and greater variability in 24-h TST and wake time were associated with higher depressive symptom scores. Overall, the variability of the sleep measures (24-h TST SD, bedtime SD and wake time SD) and mean levels of sleep measures had similar predictive value for depressive symptom scores (both adjusted R2 = 0.010). Combining all six factors together increased the adjusted R2 to 0.015. When further adjusting for mean and SD of daily steps, the effect of sleep parameters did not change significantly (Table 3).

For a clearer data presentation, a secondary analysis of two sample t-tests were used to compare the objective sleep measures between depressed and non-depressed subjects. Out of 2115 subjects, 358 subjects had average internship PHQ-9 scores above the PHQ depression criteria (≥10). Compared to the remaining 1757 non-depressed subjects, they did not differ significantly in the mean or median of any sleep measures (24-h TST mean: 6.31 h vs. 6.40 h, t = −1.77, p = 0.078; bedtime median: 11:09 pm vs. 11:05 pm, t = 1.29, p = 0.20; wake time median: 6:34 am vs. 6:33 am, t = 0.24, p = 0.81), but had significantly greater variability in all three measures (24-h TST SD: 1.29 h vs. 1.25 h, t = 2.32, p = 0.021; bedtime SD: 3.70 h vs. 3.56 h, t = 2.61, p = 0.0094; wake time SD: 3.43 h vs. 3.29 h, t = 3.02, p = 0.0027) (Fig. 2). Wake time SD remained to be significantly different between depressed and non-depressed subjects after Bonferroni correction (significance level = 0.05/6 = 0.008).

Fig. 2: Sleep parameters comparison between non-depressed and depressed subjects during internship.
figure 2

Comparison of the sleep parameters (a 24-h TST mean; b 24-h TST SD; c Bedtime median; d Bedtime SD; e Wake time median; f Wake time SD) between non-depressed (N = 1757) and depressed (N = 358) subjects during internship, through two sample t-tests. TST total sleep time, SD standard deviation.

Daily effects of sleep measures on mood

Next, to better understand the temporal role of sleep timing and duration on mood the following day, a linear mixed model was used. The model was adjusted for age, sex, steps, and pre-internship factors as seen in Table 4.

Table 4 Day-to-day sleep predictors of next day mood.

Increased previous day 24-h TST (b = 0.056, p < 0.001) and later wake time (b = 0.089, p < 0.001) were associated with improved next day mood. Conversely, later bedtime was associated with worse next day mood (b = −0.069, p < 0.001).

Additionally, variability in 24-h TST (b = −0.011, p < 0.001) and wake time (b = −0.0043, p < 0.001) were associated with decreased next day mood. Variability in bedtime from night to night did not display a statistically significant impact on mood (p = 0.16).

Discussion

Through collection of objective sleep data over an extended time period, our work revealed that in medical trainees, reduced total sleep time and later bedtime, and even more prominently, greater variability in total sleep time and wake time, were associated with increased depression. On a daily basis, reduced sleep duration, later bedtime, earlier wake time, and larger shifts in total sleep time and wake time were detrimental to next day mood. These findings augment the current understanding of the relationship between sleep and mental health given the large scope of our project (more than 2000 participants), assessment of objective sleep measures for more than 100 days of recording through one entire year, and conceptualization of sleep parameters as both averages and measures of variability.

Intraindividual variability (IIV) quantifies the daily variation around the mean for sleep parameters measured over multiple days3 and greater IIV in sleep metrics may exert a negative impact on a variety of outcomes3,4,5,6. However, previous investigations that assess the relationship between IIV of sleep and depression are often limited by the use of self-report sleep measures3,9. When objective sleep tracking has been utilized, the duration of longitudinal recording was typically less than 1–2 weeks or the sample size was much smaller than our cohort10,11,12,14,15,16,17. Therefore, the extreme work circumstances imposed on interns provide a model to comprehensively evaluate the impact of sleep variability on mood, which might be difficult to capture with research in naturalistic conditions among the general population.

Additionally, we used momentary assessment methodology to measure mood on a daily basis. Mood has been previously shown to vary day-to-day in the 72-h following overnight call25; therefore, usual measures that are vulnerable to recall bias are unlikely to appropriately characterize mood disturbances in this group. Furthermore, daily mood evaluation allowed us to replicate and extend on our prior work that assessed within subject effects of sleep on next day mood in a much smaller cohort of interns24 as well as similar work in other populations26,27,28,29.

As hypothesized, objectively measured shorter sleep duration was associated with increased depression scores (PHQ-9) during intern year. This extends previous findings by our group and others that demonstrated that short sleep duration is associated with elevated depression scores in medical trainees18,30,31. However, variability in sleep duration demonstrated an even stronger influence on PHQ-9 score, with a robust relationship between the standard deviation of sleep duration and depression scores, despite adjustment for 24-h TST. A similar finding was observed in a non-intern population that assessed sleep diary data and demonstrated a more than 2-fold increase in the odds of depression with every hour increase in the standard deviation of TST9.

With respect to sleep timing, bedtime but not wake-up time was associated with depression, with later bedtime associated with increased PHQ-9 scores. This finding may indicate that insomnia of sleep onset or evening chronotype is associated with worse mood during internship, given the known association between delayed sleep-wake phase disorder and depression32,33,34. However, after adjusting for sleep duration, this association was no longer significant and suggests that sleep loss is a potential factor underlying this finding.

Greater variability in wake-up time was associated with worse depression scores while conversely, increased variability in bedtime improved depression scores. These findings should be considered in the context of the a priori knowledge that bedtime is more contingent on individual selection or biological propensity, while wake time is fixed by external demands35 and specific to our population, variable based on workload. In general populations, this concept is highlighted by social jet lag, which describes the pattern of later timing and lengthier duration of sleep on free days than on work or school days, and is most pronounced in individuals with an evening circadian preference35. Notably, our prior work in a smaller population also demonstrated a 1.5-h advance in wake time after start of intern year without compensatory earlier bedtimes24.

Therefore, one hypothesis to explain the association of improved depression scores with more variable bedtimes, is that in individuals who do not successfully modify their bedtime, greater variations in wake time result in more variable (and reduced) sleep durations, which is detrimental to mood. Conversely, individuals who successfully vary bedtime in response to changing wake times maintain more stable, and increased, sleep durations and therefore have improved mood. In support of this hypotheses, a previous study demonstrated that the Morningness-Eveningness Questionnaire score was positively associated with sleep duration in medical residents, such that earlier chronotypes slept longer durations36.

Importantly, we operationalized sleep variability in two ways. Firstly, as the standard deviations of 24-h TST, bedtimes and wake times noted above. Although used extensively to measure sleep variability in the current literature3,37, standard deviation quantifies overall variability as averaged over days. To capture variability on a more granular level reflective of the day-to-day changes that are most disruptive to the circadian timekeeping system, other methods are required such as the sleep regularity index (SRI)37. The SRI is the probability of the same state (wakefulness or sleep) at time points 24 h apart38. Although the SRI was not used here, in addition to standard deviation, we quantified variability as the absolute value of the difference of each sleep measure between consecutive days. Therefore, both overall variability and variability on a day-to-day basis were evaluated.

Next day mood was worsened by shorter sleep duration, earlier wake times, and later bedtimes, which extends on our previous findings in a much smaller sample of interns24. When controlling for prior day sleep duration, sleep timing and mood, day-to-day shifts in total sleep time and wake time were also associated with a reduction in next day mood; corroborating the coarser relationship observed between sleep variability and depression scores averaged across the study. Shifts in bedtime were not associated with an impact on next day mood and therefore, suggests that shifts in bedtime are relevant for mood only in the context of their effect on sleep duration.

Our findings support the conclusion that variability of various sleep measures within an individual (IIV) may be more detrimental to mental health (and other conditions) than insufficient sleep alone, potentially through circadian disruption3. Alertness and sleep are optimal in quality and duration when wakefulness is attempted during the time of high circadian alerting signal and sleep coincides with the period of pineal melatonin secretion and reduced core body temperature. When external forces dictate behavioral rhythms out of alignment with our endogenous circadian rhythm, sleep, and mood deteriorate. The detriment of circadian disturbances to mood is evident in shift workers39,40, who undergo the most profound and chronic manifestation of circadian misalignment, but has also been associated with more indolent disruption, such as reduced amplitude of the circadian rest-activity rhythm7.

There are several limitations to this study. First, although the consumer sleep tracker used here, the Fitbit Charge 2™, has been validated against gold-standard polysomnogram and demonstrated performance that is similar to previously cited for research grade actigraphy, validation studies utilize single, overnight recordings that include only the main sleep episode. Therefore, the translation of this performance to daytime sleep episodes in shift workers and shorter bouts of polyphasic sleep, requires further validation41. Additionally, most currently available consumer sleep trackers (including the model used for this study) automatically identify the time in bed window without user input of bedtime and wake time, a capability that also requires further verification in a shift work population. Despite possible limitations, which are shared by many research grade actigraphs, objective sleep estimation over an extended time period in individuals under extensive work strain would not have been feasible without capitalizing on the availability of an acceptable, unobtrusive device that passively records sleep. Second, we operationalized sleep duration as 24-h TST, which includes all the sleep episodes in the 24-h period; therefore, the contribution of polyphasic sleep patterns to mood and depression were not assessed in this study and are worthy of investigation. Third, while the temporal relationship between sleep variability and depression can be valuable for applications including early detection and prediction, the potential of unmeasured factors, such as timing of physical activity and caffeine consumption, confounding the relationship preclude drawing conclusions about causality. We are hopeful that future randomized controlled trials will definitively assess whether decreasing sleep variability reduces depression. Fourth, while significant, the overall proportion of the depression score variance explained by sleep variability was small. As depression is a highly multidetermined phenotype42,43 with early life experience, stressful life events, psychological and genomic factors all playing important roles. In the context of these factors, one goal of the study was to compare the influence of sleep variability to mean levels of sleep on depression.

Recent changes have allowed for flexibility in the previously mandated standard duty hours that were implemented by the Accreditation Council for Graduate Medical Education (ACGME) in July 2011. The potential impact of relaxing duty hour restrictions was assessed in the Individualized Comparative Effectiveness of Models Optimizing Patient Safety and Resident Education (iCOMPARE) trial, which recently demonstrated that chronic sleep loss and sleepiness were similar among interns in flexible programs and standard programs44. Further, no detriment to patient safety outcomes was observed45. However, by leveraging current technological advances of multisensory consumer sleep trackers and digital, momentary mood assessments, we were able to detail more granular relationships between sleep, depression, and daily mood which reveals the relevance of sleep regularity for optimal mental health in interns.

Our findings provide a necessary foundation to inform institutional scheduling structures and guide self-management measures to improve sleep and circadian alignment within the confines of a demanding workload with the ultimate goal of optimizing mental health.

Additionally, these findings have implications far beyond medical trainees, as a growing body of work has started to evaluate the contribution of day-to-day sleep variability to depression and other various aspects of health3,4,5,6,9. Therefore, the results presented here are an extension of the ample work evaluating the relationships between sleep and mood and provide significant insight into longitudinal sleep patterns and depression.

Our current society is connected on a global scale, which offers opportunities for work and social networking across the 24-h day, oftentimes at the expense of sufficient, consistent sleep. Therefore, even in the context of small effect sizes, our findings have clinical value. By identifying variability in sleep duration and timing as a potential factor associated with mood, this modifiable behavior could be considered more broadly as part of a multifaceted approach to optimize mental health in general adult populations.

Methods

Study design and participants

The Intern Health Study is a multisite prospective cohort study that follows training physicians through internship (for details, see Guille46 and Sen19).

Two to three months prior to the start of the of residency, 4975 subjects across 430 institutions starting residency in 2017 and 2018 were invited to participate in the Intern Health Study. A cohort of 2115 subjects with survey, daily mood, and Fitbit data was used for the current analysis.

Prior to the start of internship, subjects completed a baseline survey and subsequently completed assessments every 3 months during the intern year through a mobile app. A multisensory (motion and heart rate) consumer sleep tracking device (The Fitbit Charge 2™) was worn on the wrist to measure sleep continuously before and during intern year. Additionally, through our mobile app, mood valence was assessed daily through a push notification sent to interns at a user-specified time between 5 pm to 10 pm daily with a scale from 1 to 10 (developed by Remedy Health Media LLC, New York, NY, Foreman 2011)47. See Supplementary Fig. 1 for the detailed protocol and Supplementary Fig. 2 for mood assessment interface. This study was approved by the University of Michigan IRB and all subjects provided informed consent after receiving complete description of the study.

Assessments

Baseline and quarterly surveys allowed for extraction of demographics and other measures, as well as depressive symptoms with the patient health questionnaire (PHQ-9). The 9-item patient health questionnaire (PHQ-9) is a self-report component of the primary care evaluation of mental disorders inventory. The diagnostic validity of the PHQ-9 has been demonstrated as comparable to clinician-administered assessments48,49. For each of the nine depressive symptoms included in diagnostic and statistical manual of mental disorders (DSM-5)50, subjects were asked whether, during the previous 2 weeks, the symptom had bothered them “not at all”, “several days”, “more than half the days”, or “nearly every day”. Each item yields a score of 0–3, making the total score ranges from 0 to 27. PHQ depression, defined by a score of 10 or greater on the PHQ-9, has moderate sensitivity (88%) and specificity (85%) for a diagnosis of major depression disorder51.

Internship PHQ-9 score was calculated by averaging PHQ-9 scores across all available quarterly assessments. Daily mood was quantified by the response to following query: “On a scale of 1 (lowest) to 10 (highest), how was your mood today?”

The Fitbit Charge 2™contains an accelerometer and photoplethysmography sensor and applies proprietary algorithms to motion and heart rate features to quantify sleep. Though not an FDA cleared medical device, the Fitbit Charge 2™ has been compared to in laboratory polysomnogram (PSG) and demonstrates 0.96 sensitivity (accuracy to detect sleep) and 0.61 specificity (accuracy to detect wake) in healthy adults52. Summary sleep metrics demonstrate that the Fitbit Charge Fitbit Charge 2™ overestimated PSG total sleep time (TST) by 9 ± 24 min and underestimated PSG sleep onset latency (SOL) by 4 ± 9 min, but was similar to PSG in the determination of wake after sleep onset (WASO)52.

Consistent with prior studies, sleep episodes were assigned to a day when the wake time occurred on that day. For days with two or more sleep periods, the longest bout was designated as the main sleep episode. In estimating sleep duration, the TST for all sleep episodes in one day was summed to capture both the main sleep episode and naps (24-h TST).

In addition to 24-h TST, daily main sleep episode bedtime and wake time were also extracted for each day of Fitbit use. The mean/median and standard deviation (SD) of each sleep measure during the internship year comprised the objective sleep characteristics of interest for analysis.

In parallel, accelerometry-based daily step counts, treated as a proxy for physical activity, were recorded from Fitbit use.

Statistical methods

All statistical analyses were conducted with the use of R (The R Foundation, Vienna, AUT)53.

To assess changes in average TST and its variability, as well as the median and variability of sleep timing with the start of internship stress, we utilized within-subjects paired t-tests. We tested for changes in 24-h TST and timing of the main sleep episode between baseline (prior to internship) and intern year on subjects with at least 7 days of raw Fitbit data for both time points (N = 1269).

On the full set of subjects (N = 2115), multiple imputation using predictive mean matching was applied to impute the missing baseline demographics, and then daily mood and Fitbit measures during internship, with the R package mice54.

To determine the relationship between objective sleep measures and depressive symptoms during internship, we employed multivariable linear regression models adjusted for age and sex, with the mean level or the standard deviation of each Fitbit sleep measure during internship as predictors of average internship PHQ-9 score. We also assessed three full models which consider all the mean level of sleep parameters, all the standard deviation of sleep parameters and all the six parameters simultaneously. To address the potential confounding effect of physical activity, we again assessed these full models with additional covariates including the mean and standard deviation of daily step counts (in the unit of 1000), which served as a proxy of physical activity. As raw internship PHQ-9 score was left-skewed, and the residuals were not normally distributed, inverse normalizing transformation was applied to produce near-normal distributions. To provide a clearer presentation of the relationship, a secondary analysis of two sample t-tests were used to compare the objective sleep measures of the subjects whose average internship PHQ-9 met criteria for depression (PHQ score ≥ 10) with those of the non-depressed subjects.

The impact of day-to-day changes in sleep characteristics on next day mood (measured on a Likert scale of 1–10 as previously described), was evaluated with linear mixed modeling, allowing for the simultaneous assessment of between-subjects and within-subjects effects55,56. Designating the day of mood assessment as d, sleep one (d-1) and two (d-2) nights prior to the mood measurement were considered. To assess the effect of sleep measure variability on mood, we assessed the absolute value of the difference of each sleep measure (24-h TST, main sleep episode bedtime, and main sleep episode wake time) on nights d-1 and d-2, Δ = |s(d-1)s(d-2)|. Models were adjusted for age, sex, baseline and previous day mood, and 24-h TST24, baseline and previous night main sleep episode bedtime and wake time, baseline and same day steps (in the unit of 1000), and absolute change of steps (in the unit of 1000) from previous day.

To correct for multitesting, Bonferroni corrections were applied for the paired t-tests assessing the change in TST and timing with the start of internship stress, the independent models examining sleep predictors of depression, and the two-sample t-tests comparing depressed and non-depressed subjects.

Reporting summary

Further information on research design is available in the Nature Research Reporting Summary linked to this article.

Data availability

The de-identified data from Intern Health Study that support the findings described here are available from the corresponding author upon reasonable request.

Code availability

Code for data preprocessing and statistical analysis is available upon reasonable request.

References

  1. Wallace, M. L. et al. Which sleep health characteristics predict all-cause mortality in older men? An application of flexible multivariable approaches. Sleep https://doi.org/10.1093/sleep/zsx189 (2018).

  2. Consensus Conference, P. et al. Joint Consensus Statement of the American Academy of Sleep Medicine and Sleep Research Society on the recommended amount of sleep for a healthy adult: methodology and discussion. Sleep 38, 1161–1183 (2015).

    Article  Google Scholar 

  3. Bei, B., Wiley, J. F., Trinder, J. & Manber, R. Beyond the mean: a systematic review on the correlates of daily intraindividual variability of sleep/wake patterns. Sleep Med. Rev. 28, 108–124 (2016).

    PubMed  Article  Google Scholar 

  4. Faust, L., Feldman, K., Mattingly, S. M., Hachen, D. & Chawla, N. V. Deviations from normal bedtimes are associated with short-term increases in resting heart rate. NPJ Digit. Med. 3, 1–9 (2020).

    Article  Google Scholar 

  5. Huang, T. & Redline, S. Cross-sectional and prospective associations of actigraphy-assessed sleep regularity with metabolic abnormalities: the multi-ethnic study of atherosclerosis. Diabetes Care 42, 1422–1429 (2019).

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  6. Huang, T., Mariani, S. & Redline, S. Sleep irregularity and risk of cardiovascular events. J. Am. Coll. Cardiol. 75, 991–999 (2020).

    PubMed  Article  PubMed Central  Google Scholar 

  7. Lyall, L. M. et al. Association of disrupted circadian rhythmicity with mood disorders, subjective wellbeing, and cognitive function: a cross-sectional study of 91 105 participants from the UK Biobank. Lancet Psychiatry 5, 507–514 (2018).

    PubMed  Article  Google Scholar 

  8. Levandovski, R. et al. Depression scores associate with chronotype and social jetlag in a rural population. Chronobiol. Int. 28, 771–778 (2011).

    PubMed  Article  Google Scholar 

  9. Slavish, D. C., Taylor, D. J. & Lichstein, K. L. Intraindividual variability in sleep and comorbid medical and mental health conditions. Sleep https://doi.org/10.1093/sleep/zsz052 (2019).

  10. Bernert, R. A., Hom, M. A., Iwata, N. G. & Joiner, T. E. Objectively Assessed sleep variability as an acute warning sign of suicidal ideation in a longitudinal evaluation of young adults at high suicide risk. J. Clin. Psychiatry 78, e678–e687 (2017).

    PubMed  PubMed Central  Article  Google Scholar 

  11. Lemola, S., Ledermann, T. & Friedman, E. M. Variability of sleep duration is related to subjective sleep quality and subjective well-being: an actigraphy study. PLoS ONE 8, e71292 (2013).

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  12. Millar, A., Espie, C. A. & Scott, J. The sleep of remitted bipolar outpatients: a controlled naturalistic study using actigraphy. J. Affect. Disord. 80, 145–153 (2004).

    PubMed  Article  Google Scholar 

  13. Polugrudov, A. S. et al. Wrist temperature and cortisol awakening response in humans with social jetlag in the North. Chronobiol. Int. 33, 802–809 (2016).

    PubMed  Article  Google Scholar 

  14. Robillard, R. et al. Ambulatory sleep-wake patterns and variability in young people with emerging mental disorders. J. Psychiatry Neurosci. 40, 28–37 (2015).

    PubMed  PubMed Central  Article  Google Scholar 

  15. Bei, B., Manber, R., Allen, N. B., Trinder, J. & Wiley, J. F. Too long, too short, or too variable? Sleep intraindividual variability and its associations with perceived sleep quality and mood in adolescents during naturalistically unconstrained sleep. Sleep https://doi.org/10.1093/sleep/zsw067 (2017).

  16. Blunden, S. et al. Interindividual and intraindividual variability in adolescent sleep patterns across an entire school term: a pilot study. Sleep Health 5, 546–554 (2019).

    CAS  PubMed  Article  Google Scholar 

  17. Vanderlind, W. M. et al. Sleep and sadness: exploring the relation among sleep, cognitive control, and depressive symptoms in young adults. Sleep Med. 15, 144–149 (2014).

    PubMed  Article  Google Scholar 

  18. Rosen, I. M., Gimotty, P. A., Shea, J. A. & Bellini, L. M. Evolution of sleep quantity, sleep deprivation, mood disturbances, empathy, and burnout among interns. Acad. Med. 81, 82–85 (2006).

    PubMed  Article  Google Scholar 

  19. Sen, S. et al. A prospective cohort study investigating factors associated with depression during medical internship. Arch. Gen. psychiatry 67, 557–565 (2010).

    PubMed  PubMed Central  Article  Google Scholar 

  20. Ancoli-Israel, S. et al. The role of actigraphy in the study of sleep and circadian rhythms. Sleep 26, 342–392 (2003).

    PubMed  Article  Google Scholar 

  21. Sadeh, A. The role and validity of actigraphy in sleep medicine: an update. Sleep Med. Rev. 15, 259–267 (2011).

    PubMed  Article  Google Scholar 

  22. Perez-Pozuelo, I. et al. The future of sleep health: a data-driven revolution in sleep science and medicine. NPJ Digit. Med. 3, 1–15 (2020).

    Article  Google Scholar 

  23. Depner, C. M. et al. Wearable technologies for developing sleep and circadian biomarkers: a summary of workshop discussions. Sleep https://doi.org/10.1093/sleep/zsz254 (2020).

  24. Kalmbach, D. A. et al. Effects of sleep, physical activity, and shift work on daily mood: a prospective mobile monitoring study of medical interns. J. Gen. Intern. Med. 33, 914–920 (2018).

    PubMed  PubMed Central  Article  Google Scholar 

  25. Rose, M., Manser, T. & Ware, J. C. Effects of call on sleep and mood in internal medicine residents. Behav. Sleep Med. 6, 75–88 (2008).

    PubMed  Article  Google Scholar 

  26. Cox, R. C., Sterba, S. K., Cole, D. A., Upender, R. P. & Olatunji, B. O. Time of day effects on the relationship between daily sleep and anxiety: an ecological momentary assessment approach. Behav. Res. Ther. 111, 44–51 (2018).

    PubMed  PubMed Central  Article  Google Scholar 

  27. Kalmbach, D. A., Arnedt, J. T., Swanson, L. M., Rapier, J. L. & Ciesla, J. A. Reciprocal dynamics between self-rated sleep and symptoms of depression and anxiety in young adult women: a 14-day diary study. Sleep Med. 33, 6–12 (2017).

    PubMed  Article  Google Scholar 

  28. Kalmbach, D. A., Pillai, V., Roth, T. & Drake, C. L. The interplay between daily affect and sleep: a 2-week study of young women. J. Sleep Res. 23, 636–645 (2014).

    PubMed  Article  Google Scholar 

  29. Yap, Y., Slavish, D. C., Taylor, D. J., Bei, B. & Wiley, J. F. Bi-directional relations between stress and self-reported and actigraphy-assessed sleep: a daily intensive longitudinal study. Sleep https://doi.org/10.1093/sleep/zsz250 (2020).

  30. Goebert, D. et al. Depressive symptoms in medical students and residents: a multischool study. Acad. Med. 84, 236–241 (2009).

    PubMed  Article  Google Scholar 

  31. Kalmbach, D. A., Arnedt, J. T., Song, P. X., Guille, C. & Sen, S. Sleep disturbance and short sleep as risk factors for depression and perceived medical errors in first-year residents. Sleep https://doi.org/10.1093/sleep/zsw073 (2017).

  32. Kripke, D. F. et al. Delayed sleep phase cases and controls. J. Circadian Rhythms 6, 6 (2008).

    PubMed  PubMed Central  Article  Google Scholar 

  33. Shirayama, M. The psychological aspects of patients with delayed sleep phase syndrome (DSPS). Sleep Med. 4, 427–433 (2003).

    PubMed  Article  Google Scholar 

  34. Takahashi, Y., Hohjoh, H. & Matsuura, K. Predisposing factors in delayed sleep phase syndrome. Psychiatry Clin. Neurosci. 54, 356–358 (2000).

    CAS  PubMed  Article  Google Scholar 

  35. Wittmann, M., Dinich, J., Merrow, M. & Roenneberg, T. Social jetlag: misalignment of biological and social time. Chronobiol. Int. 23, 497–509 (2006).

    PubMed  Article  Google Scholar 

  36. Mota, M. C. et al. Association between chronotype, food intake and physical activity in medical residents. Chronobiol. Int. 33, 730–739 (2016).

    PubMed  Article  Google Scholar 

  37. Fischer, D. et al. Irregular sleep and event schedules are associated with poorer self-reported well-being in US college students. Sleep 43, zsz300 (2020).

    PubMed  Article  Google Scholar 

  38. Phillips, A. J. K. et al. Irregular sleep/wake patterns are associated with poorer academic performance and delayed circadian and sleep/wake timing. Sci. Rep. 7, 1–13 (2017).

    Article  CAS  Google Scholar 

  39. Drake, C. L., Roehrs, T., Richardson, G., Walsh, J. K. & Roth, T. Shift work sleep disorder: prevalence and consequences beyond that of symptomatic day workers. Sleep 27, 1453–1462 (2004).

    PubMed  Article  Google Scholar 

  40. Kalmbach, D. A., Pillai, V., Cheng, P., Arnedt, J. T. & Drake, C. L. Shift work disorder, depression, and anxiety in the transition to rotating shifts: the role of sleep reactivity. Sleep Med. 16, 1532–1538 (2015).

    PubMed  PubMed Central  Article  Google Scholar 

  41. Paquet, J., Kawinska, A. & Carrier, J. Wake detection capacity of actigraphy during sleep. Sleep 30, 1362–1369 (2007).

    PubMed  PubMed Central  Article  Google Scholar 

  42. Howard, D. M. et al. Genome-wide meta-analysis of depression identifies 102 independent variants and highlights the importance of the prefrontal brain regions. Nat. Neurosci. 22, 343–352 (2019).

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  43. Pilowsky, D. Depression: causes and risk factors. in Treating Child and Adolescent Depression, 17–22 (Lippincott Williams & Wilkins, 2009).

  44. Basner, M. et al. Sleep and alertness in a duty-hour flexibility trial in internal medicine. N. Engl. J. Med. 380, 915–923 (2019).

    PubMed  PubMed Central  Article  Google Scholar 

  45. Silber, J. H. et al. Patient safety outcomes under flexible and standard resident duty-hour rules. N. Engl. J. Med. 380, 905–914 (2019).

    PubMed  PubMed Central  Article  Google Scholar 

  46. Guille, C. et al. Web-based cognitive behavioral therapy intervention for the prevention of suicidal ideation in medical interns: a randomized clinical trial. JAMA Psychiatry 72, 1192–1198 (2015).

    PubMed  PubMed Central  Article  Google Scholar 

  47. Foreman, A. C., Hall, C., Bone, K., Cheng, J. & Kaplin, A. Just text me: using SMS technology for collaborative patient mood charting. J. Particip. Med. 3, e45 (2011).

    Google Scholar 

  48. Kroenke, K., Spitzer, R. L. & Williams, J. B. W. The PHQ of participatory mediciney for collaborative patie. J. Gen. Intern. Med. 16, 606–613 (2001).

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  49. Spitzer, R. L., Kroenke, K., Williams, J. B. W. & Patient Health Questionnaire Primary Care Study Group. Validation and utility of a self-report version of PRIME-MD: the PHQ primary care study. JAMA 282, 1737–1744 (1999).

  50. Association, A. P. Diagnostic and Statistical Manual of Mental Disorders (DSM-5®). (American Psychiatric Pub, 2013).

  51. Levis, B., Benedetti, A. & Thombs, B. D. Accuracy of Patient Health Questionnaire-9 (PHQ-9) for screening to detect major depression: individual participant data meta-analysis. BMJ 365, I1476 (2019).

  52. de Zambotti, M., Goldstone, A., Claudatos, S., Colrain, I. M. & Baker, F. C. A validation study of Fitbit Charge 2™ compared with polysomnography in adults. Chronobiol. Int. 35, 465–476 (2018).

    PubMed  Article  Google Scholar 

  53. Team RC. R: A Language and Environment for Statistical Computing (R Foundation for Statistical Computing, 2019).

  54. van Buuren, S. & Groothuis-Oudshoorn, K. mice: multivariate imputation by chained equations in R. J. Stat. Softw. 45, 1–67 (2011).

    Article  Google Scholar 

  55. Krueger, C. & Tian, L. A comparison of the general linear mixed model and repeated measures ANOVA using a dataset with multiple missing data points. Biol. Res. Nurs. 6, 151–157 (2004).

    PubMed  Article  Google Scholar 

  56. Singer, J. D. & Willett, J. B. Applied Longitudinal Data Analysis: Modeling Change and Event Occurrence (Oxford University Press, 2003).

Download references

Acknowledgements

We thank the medical interns who participated in Intern Health Study. We thank Amanda Wright for her contribution in the Supplementary Fig. 1. We acknowledge funding from NIH grant R01MH101459, and a standard research grant from the American Foundation for Suicide Prevention.

Author information

Authors and Affiliations

Authors

Contributions

Y.F. and S.S. were involved in study conception and design. Y.F. extracted the data and completed the data analysis. E.F. managed data acquisition and contributed to study design. Y.F., S.S., C.G., E.F., and D.F. contributed to data interpretation. Y.F. and C.G. wrote the first draft and all authors provided input on and approved the final manuscript.

Corresponding author

Correspondence to Yu Fang.

Ethics declarations

Competing interests

Cathy Goldstein is an inventor of an application licensed to Arcascope, LLC. Daniel Forger is the CSO of Arcascope LLC and holds equity in the company. The licensed intellectual property was not used in this study. Fang, Frank, and Sen have no competing interests to disclose.

Additional information

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

Supplementary information

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 license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license 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 license, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Fang, Y., Forger, D.B., Frank, E. et al. Day-to-day variability in sleep parameters and depression risk: a prospective cohort study of training physicians. npj Digit. Med. 4, 28 (2021). https://doi.org/10.1038/s41746-021-00400-z

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1038/s41746-021-00400-z

Further reading

Search

Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing