Introduction

The dawn phenomenon refers to abnormally high glucose rise in the early morning hours before breakfast in the absence of nocturnal hypoglycemia. First described in 1981, the dawn phenomenon has been found in type 1 (T1D) and type 2 diabetes (T2D), in prediabetes, and in individuals with otherwise normal glucose tolerance1,2,3. The early morning transient hyperglycemia appears to be due to an increase in glycogenolysis and gluconeogenesis associated with inadequate insulin secretion, sub-optimal insulin action, or insulin resistance. The excess hepatic glucose production appears to be a consequence of the unopposed action of growth hormone and other counter-regulatory hormones4,5. The dawn phenomenon has been reported in more than 50% of adults with T2D, contributing to an average rise of 0.4% in HbA1c levels3,6. The presence of the dawn phenomenon in T2D remains a therapeutic challenge6.

With the increasing availability and accuracy of continuous glucose monitoring (CGM) systems, recent studies have quantified the dawn phenomenon in participants with T1D and T2D and those with impaired glucose regulation6,7,8,9,10,11. However, currently, there is no consensus definition of the dawn phenomenon using CGM. As the dawn glucose rise from nocturnal nadir to pre-breakfast time is subject to large day-to-day fluctuations, Monnier et al. first defined the dawn phenomenon in T2D based on CGM profiles as a rise in glucose levels of 20 mg/dL or more from the nocturnal glucose nadir to the pre-breakfast glucose level6. In T1D, others have suggested a less stringent threshold of 10 mg/dL11. Overall, a binary determination, i.e., dawn phenomenon has either happened or not happened, based on a pre-determined glucose threshold does not account for CGM measurement errors in the dawn phenomenon evaluation. The reported error metrics of common CGMs such as the Abbott Freestyle Libre Pro12 and the Dexcom G613 can have a non-trivial impact on detecting small glucose changes, as the error variance of these devices can be 10–20 mg/dL, which is of the same order of magnitude as the dawn phenomena. Thus, in order to use CGMs to identify dawn phenomena reliably, we need a statistically sound method to account for CGM measurement error in assessing dawn phenomenon from CGM traces.

This study proposes a novel approach for estimating the dawn phenomenon that accounts for CGM errors. Our method assigns a probability that the dawn phenomenon has occurred rather than a binary determination. We piloted this approach by examining the dawn phenomenon in predominantly Hispanic/Latino adults, a population with a known disproportionate burden of T2D, as the contribution of the dawn phenomenon to overall dysglycemia in this population remains unclear.

Results

Participant cohort

A total of 189 participants completed two weeks of CGM wear. However, only 173 participants had at least the recommended ten days of usable CGM data14 and were included in subsequent analyses. Demographic and clinical details of the primary cohort of 173 participants are presented in Table 1. Participants were stratified by baseline HbA1c levels into at-risk (HbA1c < 5.7%, n = 64), pre-T2D (5.7% ≤ HbA1c ≤ 6.4%, n = 57), and T2D (HbA1c > 6.4%, n = 52) as per the American Diabetes Association guidelines15.

Table 1 Demographic and clinical measurements for the participant cohort.

Dawn phenomenon analysis

Quantifying the occurrence of dawn phenomenon: binary vs probabilistic model

CGM data from 173 participants with an average of 14.6 ± 1.8 days of data per participant were analyzed. A total of 2631 days of CGM data were available, out of which 978 days had a valid breakfast glucose peak and were used for all subsequent computational analysis. We first computed a histogram of nocturnal glucose rise across the 978 valid days of CGM data (Fig. 1). 615 days (62.7%) had a glucose rise of less than 20 mg/dL, while 363 days (37.3%) had a glucose rise greater than or equal to 20 mg/dL. The binary approach, which does not account for CGM error, therefore identifies 363 days as dawn phenomenon while ignoring the remaining days. On the other hand, the proposed probabilistic approach accounts for CGM error by including all 978 days in the dawn phenomenon estimation weighted by a probability value. Adding the probability of dawn phenomenon for each of the 978 days, we obtain an effective 431 days of dawn phenomenon. Nearly a third of the 431 days (158 days, 36.6%) came from the days with measured nocturnal glucose rises less than 20 mg/dL. While 367 days had nocturnal glucose rise greater than 20 mg/dL, after appropriate weighting by the probabilistic model, those days effectively contributed 273 days (63.4%) of dawn phenomenon. This result highlights two important features of the probabilistic approach. First, instead of ignoring the days with measured nocturnal glucose rises less than 20 mg/dL, the probabilistic model includes them with appropriate weighting. Second, instead of giving equal and 100% weight to days with measured nocturnal glucose rises greater than 20 mg/dL, the model weights a given day based on how much higher than 20 mg/dl the rise was. As an example: for two days with measured nocturnal glucose elevations of 25 and 50 mg/dL, the binary model considers the dawn phenomenon to have occurred with equal likelihood (100%) on both days, while the probabilistic model assigns a higher probability to the latter because it is more likely to have had a true > 20 mg/dL nocturnal glucose rise.

Figure 1
figure 1

Histogram showing how frequently different values of nocturnal glucose rise occurred for the whole participant cohort (n = 173). The red dotted area represents the days considered by the standard binary model for dawn phenomenon analysis. The blue dotted area represents the days considered by the proposed probabilistic model for the dawn phenomenon analysis. Our approach accounts for CGM error and therefore includes the contribution of all days in the analysis weighted by an appropriate probability value.

Dawn phenomenon metrics by HbA1c sub-groups

The frequency (% of days) and average magnitude (mg/dL) of the dawn phenomenon as per the probabilistic computation framework was computed for each participant and stratified by baseline HbA1c into three groups: at-risk (HbA1c < 5.7%), pre-T2D (5.7% ≤ HbA1c ≤ 6.4%), and T2D (HbA1c > 6.4%) as shown in Fig. 2. The T2D group had a significantly greater frequency of the dawn phenomenon compared to the at-risk (p < 0.0001) and pre-T2D groups (p = 0.005) (Fig. 2a). The T2D participants also had significantly larger glucose rise during the dawn phenomenon on average compared to the at-risk (p < 0.0001) and pre-T2D participants (p = 0.005) (Fig. 2b). Comparing the pre-T2D vs at-risk group, there was a higher value for both dawn phenomenon frequency (p = 0.02) and magnitude of the glucose rise (p = 0.019). This demonstrates that while the dawn phenomenon is typically associated with established T2D, the probabilistic approach using CGM suggests progressively increasing signals for the dawn phenomenon in individuals at-risk for T2D and with pre-T2D. The detailed statistical results for the frequency and magnitude of the dawn phenomenon are listed in Supplementary Table 1. Given the similar dawn phenomenon levels in the at-risk and pre-T2D groups, we performed an additional analysis comparing the probabilistic dawn phenomenon measures between a combined non-T2D group (at-risk and pre-T2D participants) and the T2D group. As expected, the T2D group had a significantly greater dawn phenomenon frequency and magnitude than the non-T2D participants (p < 0.0001) (Supplementary Table 2).

Figure 2
figure 2

Boxplots comparing the (a) frequency and (b) average dawn phenomenon glucose rises across at-risk, pre-T2D and T2D groups in the primary cohort (n = 173) using the proposed probabilistic approach. Red horizontal line indicates the median, blue box edges represent the interquartile range, black tails represent the range of values, and magenta dots represent individual data points. P-values for pairwise comparison shown below the boxplots.

To evaluate the value added by the probabilistic approach, these results were compared with the binary model that uses a fixed 20 mg/dL threshold to estimate the dawn phenomenon. The binary model also demonstrates an increasing dawn phenomenon frequency and magnitude for the three HbA1c sub-groups, as detailed in Supplementary Fig. 1 and Supplementary Table 3. However, the dawn phenomenon frequency values using the binary model were significantly lower than the probabilistic model for all three HbA1c sub-groups (Supplementary Table 4), with a median 28.9, 27.6, and 23.4 percentage points greater frequency of dawn phenomenon identified by the probabilistic approach. In particular, for the at-risk cohort, the binary approach computed the median dawn phenomenon frequency to be 0% compared to an effective 34% of valid CGM days using the probabilistic approach, driven by the relatively large fraction of days with measured nocturnal glucose rise less than but close to 20 mg/dL (Fig. 1). These days are ignored by the binary approach, but contribute small probabilities on individual days using the probabilistic approach. These small daily probabilities aggregate overall to a larger effective total days of dawn phenomenon. In contrast to the dawn phenomenon frequency, the average magnitude of the dawn phenomenon glucose rise using the probabilistic approach was substantially lower for the pre-T2D and T2D groups but not for the at-risk group compared to the binary approach (Supplementary Table 4). Taken together, this finding suggests that the probabilistic model has the potential to detect the dawn phenomenon earlier in the three categories compared to the binary model.

Dawn phenomenon measures as an independent predictor of HbA1c

Subsequently, after adjusting for demographic and clinical covariates, multiple linear regression was used to examine the association between the probabilistic measures for the dawn phenomenon and HbA1c (Table 2). The BMI was highly correlated with waist circumference (\(\rho\)=0.78, p < 0.0001) and therefore only the latter was included to avoid multicollinearity issues. As the frequency and magnitude of the dawn phenomenon were highly correlated (\(\rho\)=0.99, p < 0.0001), only the former was used in the model. The linear regression analysis showed that the frequency of the dawn phenomenon was significantly associated with HbA1c (p = 0.00012) independently of known covariates. Waist circumference (p = 0.014) and male gender (p = 0.054) were also positively associated with HbA1c. None of the other covariates showed any association with the HbA1c. We visualize this association between the probabilistic dawn phenomenon frequency and HbA1c via a scatter plot in Fig. 3a.

Table 2 Assessing the relationship between dawn phenomenon and the HbA1c.
Figure 3
figure 3

Scatter plot of HbA1c vs. dawn phenomenon frequency for the primary cohort (n = 173) computed using the (a) proposed probabilistic approach and (b) binary approach respectively. Each point represents a participant, with the color of the dot representing their HbA1c as outlined in the heatmap. The orange line represents the best linear fit with its equation noted on top of the line.

We next recomputed the regression model using the binary dawn phenomenon frequency measure instead (Supplementary Table 5). The binary dawn phenomenon frequency measure was significantly associated with the HbA1c (p < 0.0001). Waist circumference was again associated (p = 0.007) while male gender (p = 0.064) showed a trend of association with HbA1c. As before, we visualize this association between the probabilistic dawn phenomenon frequency and HbA1c via a scatter plot in Fig. 3b. Overall, this result shows that the probabilistic model preserves the association between dawn phenomenon and HbA1c identified by the binary model after adjusting for known clinical and demographic covariates.

Quantifying day-to-day variations in probabilistic dawn phenomenon measures

We next quantified the effect of daily variations on the probabilistic dawn phenomenon frequency and magnitude for all participants. To do this, we computed the coefficient of variation for both measures for each participant and stratified by HbA1c category (Supplementary Table 6). Participants in the T2D group had a significantly larger coefficient of variation for the dawn phenomenon frequency compared to at-risk (p = 0.02), while there were no statistical differences for either of these two groups compared to the pre-T2D group (p > 0.05). The coefficient of variation for the magnitude of nocturnal glucose rise were not statistically different across the three HbA1c groups (all p > 0.05).

Relationship between dawn phenomenon and daytime glucose control

The potential of probabilistic dawn phenomenon measures as early indicators of worsening glucose control was examined. Previous studies have shown an association of the dawn phenomenon with post-breakfast hyperglycemia16 and next-day glucose excursions16,17. Another study showed that increased daytime time in range might signal progression towards T2D, even when overnight glucose control is excellent18. Therefore, the relationship between the probabilistic method derived dawn phenomenon measures and time in 70–140 mg/dL (TIR70-140) was computed separately during the day (06:00 h to 00:00 h) and overnight (00:00 h to 06:00 h) following the approach outlined previously18. The results are demonstrated in Fig. 4. Each participant was classified into one of four groups depending on their overnight and daytime TIR70–140 as shown in Fig. 4a: (1) optimal overall control (both overnight and daytime TIR70–140 ≥ 90%); (2) sub-optimal daytime control (overnight TIR70–140 ≥ 90% and daytime TIR70–140 < 90%); (3) sub-optimal overnight control (overnight TIR70–140 < 90% and daytime TIR70–140 ≥ 90%); (4) sub-optimal overall control (both overnight and daytime TIR70–140 < 90%). The choice of 90% was made based on previous analysis in this cohort that showed that pre-T2D participants and at-risk participants had TIR70–140 of > 90% on average18. The frequency and magnitude of the dawn phenomenon were significantly higher for the sub-optimal overall control group than the optimal overall control group (both p < 0.001) (Fig. 4b, c). While not statistically significant, the dawn phenomenon frequency and magnitude values trended higher in the sub-optimal daytime control group vs. the optimal overall control group (p = 0.07).

Figure 4
figure 4

Relationship between the goodness of glucose control (measured using time in 70–140 mg/dL range [TIR70–140] overnight and during the day) vs. dawn phenomenon measures. (A) Scatterplot of overnight TIR70-140 vs. daytime TIR70-140 for n = 173 participants. Each point represents a participant colored by their HbA1c classification (at-risk of T2D in blue, pre-T2D in green, and T2D in red). The black horizontal and vertical lines stratify each participant into one of four categories highlighting the goodness of their overnight and daytime glucose control. Boxplots comparing the (B) frequency and (C) magnitude of the dawn phenomenon across all participants stratified into the four TIR70–140 categories. Red horizontal line indicates the median, blue box edges represent the interquartile range, black tails represent the range of values, and red dots represent outliers. P-values for pairwise comparison shown below the boxplots.

Sensitivity analysis with varying dawn phenomenon glucose thresholds

We performed a sensitivity analysis by changing the dawn phenomenon glucose threshold of 20 mg/dL, to estimate the threshold’s impact on dawn phenomenon measures and associations with HbA1c. We used two cutoffs: \(\gamma\)=10 mg/dL11, which has been previously suggested as a dawn phenomenon threshold, and a symmetric higher threshold of 30 mg/dL, to assess the effect of both lowering and increasing the 20 mg/dL threshold. We first compute the dawn phenomenon likelihood functions for the three thresholds (Supplementary Fig. 2), which shows that a given measured nocturnal glucose rise has progressively lower probability of dawn phenomenon with increasing threshold. Similar to the 20 mg/dL analyses, we observed an increasing trend in the dawn phenomenon frequency and magnitude of nocturnal glucose rise with increasing HbA1c. This was observed for both the probabilistic (Supplementary Table 7) and binary (Supplementary Table 8) approaches. As expected, the 10 mg/dL and 30 mg/dL thresholds showed higher and lower dawn phenomenon frequency and magnitude respectively compared to the 20 mg/dL threshold. We also recomputed regression models with the 10 and 30 mg/dL thresholds for both approaches, with the dawn phenomenon frequency measure significantly associated with HbA1c in both probabilistic and binary models. The 30 mg/dL threshold had a stronger association with the HbA1c in our cohort compared to the 10 mg/dL threshold for both the probabilistic approach (\({\beta }_{30,prob }=0.035, {SE}_{30,prob}=0.007\) vs \({\beta }_{10,prob }=0.015, S{E}_{10,prob}=0.005)\) and the binary approach (\({\beta }_{30,binary }=0.045, {SE}_{30,binary}=0.018\) vs \({\beta }_{10,prob }=0.016, S{E}_{10,prob}=0.005)\) (\(\beta\): regression coefficient estimate, SE: standard error of regression coefficient). Detailed results are presented in Supplementary Tables 9 and 10.

Generalizability of the proposed probabilistic framework to other CGM manufacturers

Further, while the dawn phenomenon calculations were based on the performance characteristics of the Freestyle Libre Pro CGM12, the corresponding probability distribution function can be computed for any CGM. As an example, the distribution functions of an ideal error-free CGM, a Freestyle Libre Pro CGM, and a Dexcom G6 CGM13 were computed as shown in Supplementary Fig. 3. Our probabilistic model can therefore be easily adapted to differences in sensor accuracy between different CGM manufacturers.

Discussion

In this study, a new probabilistic framework to estimate the dawn phenomenon using CGM was evaluated. The proposed framework incorporates the intrinsic CGM error into the assessment of the dawn phenomenon, with the data suggesting a more robust estimation compared to previous approaches. Probabilistic modeling has the potential to detect the presence of the dawn phenomenon earlier than previous deterministic approaches that only consider days where nocturnal glucose crosses a fixed predetermined threshold. Furthermore, an observed association between probabilistic dawn phenomenon metrics and glucose control during the day could provide novel insights into links between nocturnal and diurnal hyperglycemia.

While CGMs are not yet part of routine care in individuals at risk for or with non-insulin-treated T2D, multiple studies point to their acceptability, growing use, and potential benefits in this population18,19,20,21,22,23. Notably, a recent study at a large medical center showed a 125% increase in CGM prescriptions in primary care setting between 2020 to 2021, with 28% of these new users not on insulin24. These data suggest more widespread adoption of CGM in the near future in our target cohort of individuals at risk for or with T2D not on insulin, which makes real-world implementation of our probabilistic dawn phenomenon approach more feasible. In our study, we observed a progression in the frequency and magnitude of the dawn phenomenon with increasing HbA1c level, with a slight increase from at-risk to pre-T2D followed by a larger increase in dawn phenomenon measures in individuals with T2D. These findings are in line with a previous study in a cohort of Chinese adults3 which used a binary approach with a cut-off of 20 mg/dL. The frequency of the dawn phenomenon was 8.9% in adults with normal glucose tolerance, 30% in those with impaired glucose regulation, and 52% in individuals with a recent diagnosis of T2D. In that study, time in range between 70 and 180 mg/dL was lower and glucose variability was more common among those with a dawn phenomenon3. The present study provides evidence on the frequency and magnitude of the dawn phenomenon in an underserved Hispanic cohort with or at-risk for T2D. It is not known whether there are differences related to the burden and influence of the dawn phenomenon across different stages of dysglycemia between racial and ethnic groups. As such, our study provides valuable new data on the dawn phenomenon in a traditionally understudied minority population.

The probabilistic modeling of the dawn phenomenon using CGMs allowed for stratification into subgroups of individuals at-risk, with pre-T2D, and those with T2D, similar to that seen after stratification by HbA1c values. In this study, the frequency and magnitude of the dawn phenomenon for individuals with T2D were significantly larger than those with pre-T2D, which in turn were larger than those for at-risk participants. The probabilistic model suggested that 37% of the effective number of dawn phenomenon days were contributed by days with measured nocturnal glucose rise of < 20 mg/dL. Thus the contribution to dawn phenomenon risk from a sizeable fraction of days is ignored by error-agnostic binary models, potentially underestimating the dawn phenomenon occurrence in this population. In addition, while the dawn phenomenon metrics computed using the binary model stratified the at-risk, pre-T2D, and T2D groups, it did so at lower median values for each category. These findings suggest that the probabilistic model has the potential to detect the onset of the dawn phenomenon earlier in the natural history of the progression from normoglycemia to T2D compared to the standard binary model. Early detection of the dawn phenomenon may then facilitate earlier interventions in individuals with T2D. Since there are no guidelines on dawn phenomenon therapeutic regimens for at-risk and pre-T2D populations, we do not envision our probabilistic dawn phenomenon measures as a guide for therapy in these groups. Rather, our probabilistic model may be useful as an earlier indicator for worsening dawn phenomenon as well as worsening HbA1c compared to the standard binary model in individuals at-risk of T2D or with pre-T2D.

Here, multiple linear regression analysis also showed that the novel probabilistic dawn phenomenon measure was significantly associated with HbA1c after adjusting for known demographic and clinical covariates. In adults with T2D, the dawn phenomenon is difficult to both prevent and treat with existing therapies. Participants in this study were predominantly Hispanic/Latino adults, a population bearing a disproportionate burden of diabetes compared to the background non-Hispanic White population25 while also being historically underrepresented in clinical trials26. It remains to be determined whether earlier detection of the dawn phenomenon using CGM in underserved populations will offer novel opportunities for innovative lifestyle as well as pharmaceutical interventions. Although basal insulin can be a useful approach, there remains significant clinical inertia in the use of insulin in T2D, although the use of CGM and other digital health technologies may help to overcome this27. Furthermore, while we developed our probabilistic model using CGM data in individuals with or at risk for T2D, our model can also be translated to individuals with type 1 diabetes (T1D) with modifications accounting for the amount of overnight insulin dosing in response to nocturnal glucose rise in those using automated insulin delivery systems28,29.

Several limitations need to be addressed in subsequent studies. The CGM profiles used represent real-world data in that participants were free-living, with no control over the amount and timing of food and physical activity. The dawn phenomenon is thought to be a consequence of an altered central circadian clock in the brain resulting in excessive hepatic glucose production during sleep and increased insulin resistance in the morning and, therefore, is less likely to be impacted by these factors. We did not have HOMA-IR and HOMA-β measures for our participants, therefore, we could not examine associations between our probabilistic dawn phenomenon measures with these known markers of insulin resistance and beta-cell function17. Alternatively, there is evidence that the timing and macronutrient content of meals in the evening can influence next-day glucose levels30. In particular, accurately timing the start of breakfast is vital to calculating the nocturnal glucose rise, and therefore the dawn phenomenon accurately. In this study, and based on previous work, a rule-based breakfast detection algorithm was applied which depends on observer assessment of CGM profiles21. More accurate and objective breakfast detection, through use of adaptive machine learning algorithms or additional sensors31,32,33, can improve the reliability of our findings. Another source of error is that while the Gaussian error model is a reasonable approximation for CGM measurements during the night when glucose levels are relatively stable, this approximation may not hold in non-steady state conditions34,35. Therefore, a Gaussian error-based probabilistic approach may not apply to individuals who experience rapid nocturnal glucose rises. Further, the current analysis did not account for sleep; a generic midnight-to-pre-breakfast period was used for all computations. Accurately measuring sleep using wearable monitors36,37 could help delineate the period over which to compute the nocturnal glucose nadir more accurately, which may make the dawn phenomenon analysis more precise. Although we did not expressly exclude individuals who performed shift work, which is known to impact glucose metabolism38, at enrollment no participants identified as shift workers. While there appeared to be an association between dawn phenomenon metrics and sub-optimal glucose control during the day in a sub-group of participants, the size of the sub-group was likely too small to detect the actual effect size. We did not compare our probabilistic dawn phenomenon model's findings against retrospective clinician evaluation, as at present there are no clear guidelines for CGM-based assessment of dawn phenomenon. We envision that our findings may serve as evidence to help formulate clinical guidelines for CGM-based dawn phenomenon determination. Finally, this study was performed in a predominantly female Hispanic/Latino cohort. Therefore, the generalizability of our dawn phenomenon results needs to be validated in cohorts with more male participants and diverse populations.

In conclusion, this study evaluated a new probabilistic model for quantifying the dawn phenomenon for individuals with or at risk for T2D. The model incorporates the intrinsic CGM measurement error leading to a more robust quantification of the dawn phenomenon. In addition, accounting for nocturnal glucose rises that are smaller than the currently used 20 mg/dL threshold allows this model to detect abnormal overnight rise in glucose levels earlier. The findings suggest a new way to quantify the dawn phenomenon using CGM, potentially enabling earlier therapeutic interventions.

Methods

Participant recruitment and data collection

An Independent Review Board (Advarra IRB Study 2018-01793, Protocol 00036476) reviewed all study-related protocols and approved the study. Following IRB approval and prior to participation in any activities, participants provided written informed consent to be enrolled in an observational study called Farming for Life (ClinicalTrials.gov number: NCT 03940300, registration date: January 28, 2019)39. All research was performed in accordance with relevant guidelines and regulations. The study consisted of two weeks of CGM wear on either side of a 10-week intervention where participants received weekly prescriptions of fresh vegetables. The Farming for Life study was conducted between February 2019 to May 2022. The complete protocol details have been published previously18,39. Participants were recruited via bilingual (Spanish and English) outreach materials and with help from bilingual community health workers through community outreach programs, Hispanic/Latino-focused community organizations, and local health and social services. Participants who were eligible and consented to the study protocol provided baseline demographic and clinical information on age, gender, self-reported race and ethnicity, health insurance status, and whether participants had been informed of a diagnosis of T2D by a qualified medical provider. Criteria for inclusion were adults who were 18 years of age or older, who had T2D for at least 6 months or were designated at risk for developing T2D using the American Diabetes Association (ADA) diabetes risk assessment tool40. Briefly, the ADA risk scoring (0–11 points) includes seven questions on age, gender, gestational diabetes mellitus (GDM), family history of diabetes, high blood pressure, physical activity and obesity status based on body mass index (BMI). A score of 5 points and higher is considered high risk of having diabetes41. The exclusion criteria for this study included current or previous insulin use, pregnancy, or any active clinically significant disease or disorder which could interfere with participation in the study. Guidelines from the National Health and Nutrition Examination Survey Anthropometry Procedure Manual, January 201642, were used to measure height, weight, and waist circumference. The Quetelet Index (body weight in kilograms divided by height squared (meters)43) was used to calculate the participants’ BMI. HbA1c was measured using a fingerstick meter (Siemens DCA Vantage, Siemens Healthcare, Norwood, Massachusetts, USA). Participants were stratified using HbA1c into at-risk (HbA1c < 5.7%), pre-T2D (5.7% ≤ HbA1c ≤ 6.4%), and T2D (HbA1c > 6.4%)15 sub-groups for data analysis. They were trained to wear blinded CGM (Abbott Freestyle Libre Pro) sensors using manufacturer educational materials under the supervision of research staff. Participants were asked to wear the CGM for 14 days after enrollment. Participants led free-living lives during these two weeks and returned to the research site for the removal of their CGM sensors at the end of the two weeks. Subsequently, the CGM reader was connected to https://www.libreview.com/ to extract timestamped glucose recordings that were used for subsequent analyses. Participants with at least ten days of CGM data per consensus guidelines14 were considered for the dawn phenomenon analysis.

Probabilistic computation of the dawn phenomenon

Conceptual overview

Figure 5 shows the dawn phenomenon likelihood as a function of different nocturnal glucose rise values for the binary and probabilistic approaches. For the binary model, any nocturnal glucose rises below 20 mg/dL is classified as not a dawn phenomenon (or 0% likelihood of dawn phenomenon) while any value greater than or equal to 20 mg/dL is classified as a dawn phenomenon (or 100% likelihood of dawn phenomenon). In contrast, the proposed probabilistic model assigns a non-zero and increasing likelihood of dawn phenomenon for increasing nocturnal glucose rise. For example, as shown in Fig. 5(b), the error-agnostic binary model assigns a nocturnal glucose rise of 15 mg/dL with 0% likelihood of dawn phenomenon. Conversely, the probabilistic model recognizes that a reported rise of 15 mg/dL has an associated CGM device measurement error and computes a ~ 37% likelihood that the dawn phenomenon may have occurred.

Figure 5
figure 5

The probabilistic model to quantify the dawn phenomenon: (a) Computation of the nocturnal glucose rise as the difference between pre-breakfast CGM glucose reading and the nocturnal glucose nadir observed overnight. (b) The likelihood of dawn phenomenon for the binary and probabilistic models as a function of nocturnal glucose rise The probability of dawn phenomenon for an example nocturnal glucose rise of 15 mg/dL is different for the binary model (0%) and the probabilistic model (37%). Overall, the nocturnal glucose rise computed in (a) is mapped onto the probabilistic dawn phenomenon likelihood function in (b) to calculate the probability that the dawn phenomenon occurred that night.

The novel probabilistic framework for analyzing the dawn phenomenon is composed of four stages described below.

I. Identification of the start of breakfast

For each day of CGM, a semi-automated framework from a previous study was used21 to identify the start of breakfast. The framework has a manual breakfast segment annotation stage followed by a rule-based framework to filter out non-breakfast segments. Three rules to define breakfast were applied: (i) the start time of breakfast should lie between 5 am to 11 am; (ii) the rise in glucose from breakfast start to post-breakfast peak should be equal or greater than a predefined threshold of + 40 mg/dL; (iii) if multiple segments of the glucose curve satisfied (i) and (ii), the earlier segment was designated to be the breakfast. The glucose rise threshold of + 40 mg/dL was chosen based on previous post-breakfast glucose response studies in healthy, pre-T2D, and T2D participants44,45,46.

II. Computation of the nocturnal glucose rise

Following procedures outlined previously3, the nocturnal glucose nadir was calculated as the minimum CGM reading in the midnight to pre-breakfast interval. Subsequently, the nocturnal glucose rise was computed as the difference between the pre-breakfast CGM reading and the nocturnal glucose nadir. Figure 5a visually demonstrates this computation.

III. Computation of dawn phenomenon probability for each day

A probabilistic dawn phenomenon computation framework using a Gaussian error model was created. The Gaussian error model assumes that the CGM measurement errors are independent and identically distributed (“i.i.d”) Gaussian random variables with a mean value of zero and standard deviation of \(\sigma\). To calculate \(\sigma\), publicly available Freestyle Libre Pro performance characteristics were used12. The error metrics corresponding to a glucose range of 80–180 mg/dL were used for the calculations, as this range appropriately reflects the overnight glucose levels of the participant cohort at risk for or with T2D. The error distribution was chosen to be Gaussian based on available data from the Freestyle Libre Pro accuracy manual12, which stated that 80.2% of Freestyle Libre Pro CGM readings lie within an error margin of \(\pm\) 20 mg/dL. Based on these values, the standard deviation of each CGM measurement was estimated to be \(\sigma =\) 15.6 mg/dL. Next, the nocturnal glucose rise was calculated as the difference of two Gaussian i.i.d CGM measurements and had a standard deviation of \({\sigma }_{{\text{diff}}}= \sqrt{2}\sigma =\) 21.9 mg/dL. Therefore, for a given nocturnal glucose rise on any given day, a Gaussian distribution with a mean equal to the recorded glucose rise value and a standard deviation of 21.9 mg/dL was created (Fig. 5b). Finally, using the constructed Gaussian distribution, we computed the likelihood that the dawn phenomenon occurred as the fraction of the area under the Gaussian curve greater than a given glucose rise threshold \(\gamma\). The complete step-by-step probability computation framework is provided in Appendix A. A threshold of \(\gamma\) = 20 mg/dL6 was used for our subsequent analyses.

We demonstrate the probabilistic dawn phenomenon computation using a simple toy example. Let us consider the scenario of 7 days of CGM wear with the following nocturnal glucose rises measured using the CGM: 10, 15, 25, 18, 12, 16, 8 (mg/dL). Using the binary approach with a 20 mg/dL threshold, we get the no. of days of dawn phenomenon = 0 + 0 + 1 + 0 + 0 + 0 + 0 = 1 day. For the proposed probabilistic approach, we determine the probability for each day from the dawn phenomenon likelihood function of Fig. 5b. We then add each day’s probability value to get the effective number of dawn phenomenon days = 0.25 + 0.37 + 0.63 + 0.45 + 0.3 + 0.4 + 0.22 = 2.6 effective days.

IV. Summarizing the average frequency and magnitude of the dawn phenomenon for each participant

The previous step provided a probability that the dawn phenomenon had occurred each day for a given participant. The frequency of the dawn phenomenon was computed by adding the probabilities for each day that had a valid breakfast peak. Finally, the average magnitude of the dawn phenomenon for an individual was calculated by averaging the nocturnal glucose rise values over each day with a valid breakfast peak.

To compute the effective number of dawn phenomenon days (\({N}_{DP}\)) for the whole cohort, we used the following formula:

$${N}_{DP}=\sum_{i=1}^{D}Prob\left({d}_{i}\right),$$

where \({d}_{i}\) represents a valid day of CGM data; \(Prob\left({d}_{i}\right)\) is the probability of dawn phenomenon on each day; D is the total number of valid days of CGM data. To compute the effective number of dawn phenomenon days contributed by days with nocturnal glucose rise < 20 mg/dL and ≥ 20 mg/dL separately, we simply sum \(Prob\left({d}_{i}\right)\) over those sets of days separately.

Statistical analysis

Since the dawn phenomenon analysis is part of a more extensive study, an a priori sample size calculation was not performed for the dawn phenomenon quantification tasks. Statistical analyses were performed using MATLAB (https://www.mathworks.com/, V.R2019b) and R (R Core Team (2019), https://www.R-project.org/). Comparisons across the three HbA1c subgroups were made using a Kruskal–Wallis test, followed by multiple comparison testing using the Dunn’s test. Comparisons between two sub-groups were made using the Wilcoxon rank-sum test. Paired comparisons were made using the Wilcoxon signed rank test. Correlation values were computed via the Spearman rank correlation method. Multiple linear regression analyses were performed in R using its ‘lm’ function. The regression models were adjusted for potential confounders such as participant age, self-reported gender, waist circumference, whether they were of Hispanic/Latino ethnicity, and whether they were born in Mexico or not. Statistical significance cutoff was set at p = 0.05.