Abstract
Estimation of glycemic variability requires frequent measures of glucose and is greatly aided by continuous glucose monitoring (CGM); however, under real-world conditions, missing data or “gaps” of ≥ 10 minutes can occur in CGM data, affecting the reliability of certain estimates. Thus, we determined the magnitude of the gap problem as observed in a cohort of patients with type 2 diabetes and demonstrated an approach to fill the gaps. The approach takes the difference between readings before and after a gap and distributes the difference equally across the number of missing readings, as determined by the sensor’s setting for reading frequency. The approach is easy to implement, conservative, and improves estimation of variability measures that reference time, namely, mean of daily differences and continuous overlapping net glycemic action.
Keywords: Continuous glucose monitoring, data quality, glycemic variability, measurement
Introduction
There are numerous methods to quantify glycemic variability [e.g., standard deviation (SD), coefficient of variation, mean amplitude of glycemic excursion (MAGE), and continuous overlapping net glycemic action (CONGA)], and there is a growing interest in which of these methods are the best metrics for understanding the relationship between glycemic variability and clinical outcomes.1–8 The ability to obtain the quantity of data necessary for optimal calculation of such measures of glycemic variability has become easier with the development of continuous glucose monitoring (CGM) systems, which generally display a glucose value every 1–5 min. However, although an improvement over finger stick measures of glucose in terms of quantity, CGM data have problems; specifically, there may be missing data or gaps in measurement that exceed what is expected given the frequency at which the sensor is set to sample the wearer’s interstitial fluid. The bigger the gap, the more unreliable certain measures become; i.e., gaps of 2–4 h affect estimates of SD and CONGA, and gaps greater than 1 h affect estimates of MAGE.9 This article documents the magnitude of the gap problem as observed in a cohort of patients with type 2 diabetes and demonstrates a method for filling the data gaps.
Methods
Data Source
The data for this report were generated from a two-arm, 12-month, prospective clinical study of CGM in people with type 2 diabetes and not taking prandial insulin (n = 50), as compared with self-monitoring of blood glucose (n = 50).10,11 Participants randomized to the CGM group were asked to wear the Dexcom™ SEVEN® CGM System (Dexcom, Inc., San Diego, CA) for up to 8 weeks over 3 months. The Dexcom SEVEN reports interstitial sugar levels every 5 min for 7 days.
For this demonstration, we extracted glucose readings from the Dexcom SEVEN from 47 of the 50 study participants (3 never wore the device), and we selected the middle 3 days of each week of use for this analysis to allow participants ample time for start-up calibration and to standardize the amount of CGM data available for analysis because some participants wore the monitor for less than the full 7 days. Additionally, we used the first available 3-day period of CGM use (from as many as eight possible periods of use) to calculate the difference before and after estimation of the missing data.
Gap Fill — Step 1
We calculated the time between readings in the data to identify the number and size of gaps exceeding 5 min and flagged them. For gaps exceeding 5 min, we calculated the difference between the glucose values before and after the gap (called “glucose difference” in the formula below). These actions were performed using the Statistical Analysis System® (SAS) version 9.2 (SAS Institute, Inc., Cary, NC).
Gap Fill — Step 2
The data were then exported to Oracle® Database 11g (Oracle, Redwood Shores, CA), and we used the Oracle PL/SQL (Procedural Language/Structured Query Language) procedure to add rows to the data for each missing 5 min increment and to insert an estimated glucose value. The formula for the estimated glucose values was:
where k is the previous glucose value. To illustrate, a gap of 25 min for the CGM system that we used meant that four glucose readings were missed. If the glucose reading before the gap was 101 mg/dl and the reading after the gap was 104 mg/dl, then the process inserted four timestamps and glucose values: 102, 103, 103, and 104 mg/dl.
Analysis of the Gap-Fill Process
The analysis compared various measures of glycemic quality before and after filling the gaps in the data. The measures were mean glucose, SD, MAGE, CONGA, mean of daily difference (MODD) proportion of readings < 70 mg/dl and proportion of readings > 240 mg/dl. The measures were calculated using EasyGV© Version 8.6 (N. R. Hill, University of Oxford, Oxford, UK)12 or SAS version 9.2.
Results
In the 3-day periods examined, the total number of gaps exceeding 5 min in duration was 2321 for all 47 study participants, representing 7.5% of the data. Mean duration of the gaps was 20.7 min (+ SD of 64.0 min), and median duration was 10 min. All participants had gaps in their CGM data, and the frequency of the gaps varied. The lowest number of gaps per participant was 12, and the highest number was 139.
The gaps occurred throughout the 3 days of CGM use. For example, the graphical display of one study participant’s CGM data showed gaps at the beginning of the 3 days selected, a few hours past the 24-h mark, at the 48-h mark, and several hours after the 48-h mark (Figure 1A). Consistent with the formula, the estimated glucose values were between the value of the last reading before the gap and the first reading after the gap (Figure 1B).
The mean difference (+ SD) before and after filling the gaps was 2.1 (+ 3.7; p = .0003) mg/dl for the CONGA. It was not possible to calculate the MODD in EasyGV until after the gaps in data were filled and, therefore, mean difference could not be calculated.
The mean difference (+ SD) for other measures before and after filling the gaps was 0.9 (+ 4.5; p = .20) mg/dl for mean glucose; 0.3 (+ 1.7; p = .21) mg/dl for the SD of the glucose readings; 0.2 (+ 14.3; p = .91) mg/dl for the MAGE; and 0.10 (+ 1.47; p = .63) for proportion < 70 mg/dl and 0.30 (+ 1.58; p = .20) for proportion > 240 mg/dl.
Discussion
Gaps in CGM data are common and can occur for a variety of reasons, such as intermittent sensor errors (as opposed to outright sensor failure, which results in unusable data altogether), sensor compression, and user errors. Whatever the reason, gaps can affect the measures used to calculate glycemic variability. Thus, we devised a linear interpolation approach to fill the gaps. The approach distributed the pregap and postgap glucose difference evenly across the expected time points or missed readings.
Application of the linear interpolation process that we devised improved calculation of time-dependent measures while having no effect on measures that disregarded time of day. Specifically, the process made it possible to obtain an estimate of the MODD, which is a measure of the difference between glucose values at the same time of day on consecutive days, or interday variation, and led to a significantly different estimate of the CONGA, which is a measure that captures the SD of the difference in glucose levels using different time periods, or intraday variation. The approach used here did not significantly change the estimates for mean glucose, SD, and MAGE. There are multiple measures of quality of glycemic control; each has merits and deficiencies,13,14 and none is considered a “gold standard.”14 We believe that application of the linear interpolation approach described herein expands the number and type of measures available to investigators and clinicians for their respective objectives.
Although a separate issue, the accuracy of CGM readings per se cannot be overlooked. The mean percent relative difference of commercially available CGM systems is 16% for the Dexcom SEVEN PLUS15 and 19.7% for the Medtronic Guardian® REAL-Time CGM System (Medtronic, Inc., Minneapolis, MN).16 Factors contributing to accuracy include the calibration of the CGM device against self-monitoring of blood glucose by finger stick, which is prone to inaccuracy because of user technique,17 the timing of calibration, and the calibration algorithms of the CGM device.18 Despite these inaccuracies, the American Diabetes Association sees a role for CGM, which is to determine patterns in 24-h glucose monitoring and to identify previously unobserved hypoglycemia.19 In addition, a comparative effectiveness review concluded that CGM is superior to finger stick glucose measurement in achieving lower hemoglobin A1c levels without a concomitant rise in the rate of severe hypoglycemia in nonpregnant adults with type 1 diabetes.20 The approach used here to repair gaps makes it possible to observe complete blood glucose patterns and to do so with a more complete set of measures.
A limitation of this process is that if the duration of a gap is long enough for the user to experience a significant change in glucose and then begin to return to the mean before the sensor readings resume, the true size of the change will not be addressed by the linear estimation used here. Likewise, if the rate of change in the user’s glucose is nonlinear, then measures of rate of change (e.g., average absolute rate of change and SD rate of change)21 calculated using the data generated by the gap-fill process might be wrong. The extent of inaccuracy probably depends on the size of the gap. Whitelaw and coauthors21 have shown that the optimal block of time for analyzing rate of change is 60 min. Examination of the data for this project identified 85 gaps ≥ 60 min in duration, which was 0.2% of the total number of readings in the original and corrected data sets or 3.7% of the total number of gaps in the original CGM data. Thus, we believe this limitation is minor and can be addressed by modifying the gap-fill process to flag gaps ≥ 60 min, giving the analyst the choice to exclude interpolated data for those gaps in subsequent calculations of glycemic variability and/or to exclude measures of rate of change.
Strengths of the gap repair process are that it is conservative, uses the known readings before and after the gaps, is easy to implement with several steps, and makes it possible to calculate time-dependent measures.
Acknowledgments
The opinions expressed herein reflect the personal views of the authors and do not represent the official views of the United States Army or the United States Department of Defense.
Glossary
- (CGM)
continuous glucose monitoring
- (CONGA)
continuous overlapping net glycemic action
- (MAGE)
mean amplitude of glycemic excursion
- (MODD)
mean of daily differences
- (SAS)
Statistical Analysis System
- (SD)
standard deviation
Funding
The project was sponsored by an investigator-initiated grant from Dexcom, Inc. (San Diego, CA) to Robert A. Vigersky, M.D., Walter Reed National Military Medical Center, Bethesda, MD.
References
- 1.Service FJ, Molnar GD, Rosevear JW, Ackerman E, Gatewood LC, Taylor WF. Mean amplitude of glycemic excursions, a measure of diabetic instability. Diabetes. 1970;19(9):644–55. doi: 10.2337/diab.19.9.644. [DOI] [PubMed] [Google Scholar]
- 2.McDonnell CM, Donath SM, Vidmar SI, Werther GA, Cameron FJ. A novel approach to continuous glucose analysis utilizing glycemic variation. Diabetes Technol Ther. 2005;7(2):253–63. doi: 10.1089/dia.2005.7.253. [DOI] [PubMed] [Google Scholar]
- 3.Monnier L, Colette C, Owens DR. Glycemic variability: the third component of dysglycemia in diabetes. Is it important? How to measure it? J Diabetes Sci Technol. 2008;2(6):1094–100. doi: 10.1177/193229680800200618. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Rodbard D. New approaches to display of self-monitoring of blood glucose data. J Diabetes Sci Technol. 2009;3(5):1121–7. doi: 10.1177/193229680900300515. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Rodbard D. Interpretation of continuous glucose monitoring data: glycemic variability and quality of glycemic control. Diabetes Technol Ther. 2009;11(1):S55–67. doi: 10.1089/dia.2008.0132. [DOI] [PubMed] [Google Scholar]
- 6.Baghurst PA. Calculating the mean amplitude of glycemic excursion from continuous glucose monitoring data: an automated algorithm. Diabetes Technol Ther. 2011;13(3):296–302. doi: 10.1089/dia.2010.0090. [DOI] [PubMed] [Google Scholar]
- 7.Siegelaar SE, Holleman F, Hoekstra JB, DeVries JH. Glucose variability; does it matter? Endo Rev. 2010;31(2):171–82. doi: 10.1210/er.2009-0021. [DOI] [PubMed] [Google Scholar]
- 8.Marling CR, Shubrook JH, Vernier SJ, Wiley MT, Schwartz FL. Characterizing blood glucose variability using new metrics with continuous glucose monitoring data. J Diabetes Sci Technol. 2011;5(4):871–8. doi: 10.1177/193229681100500408. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Baghurst PA, Rodbard D, Cameron FJ. The minimum frequency of glucose measurements from which glycemic variation can be consistently assessed. J Diabetes Sci Technol. 2010;4(6):1382–5. doi: 10.1177/193229681000400612. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Ehrhardt NM, Chellappa M, Walker MS, Fonda SJ, Vigersky RA. The effect of real time continuous glucose monitoring on glycemic control in patients with type 2 diabetes mellitus. J Diabetes Sci Technol. 2011;5(3):668–75. doi: 10.1177/193229681100500320. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Vigersky RA, Fonda SJ, Chellappa M, Walker MS, Ehrhardt NM. Short- and long-term effects of real-time continuous glucose monitoring in patients with type 2 diabetes. Diabetes Care. 2012;35(1):32–8. doi: 10.2337/dc11-1438. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Hill NR, Oliver NS, Choudhary P. Levy JC, Hindmarsh P, Matthews DR. Normal reference range for mean tissue glucose and glycemic variability derived from continuous glucose monitoring for subjects without diabetes in different ethnic groups. Diabetes Technol Ther. 2011;13(9):921–8. doi: 10.1089/dia.2010.0247. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Rodbard D. Interpretation of continuous glucose monitoring data: glycemic variability and quality of glycemic control. Diabetes Technol Ther. 2009;11(1):S55–67. doi: 10.1089/dia.2008.0132. [DOI] [PubMed] [Google Scholar]
- 14.Kohnert KD, Vogt L, Salzsieder E. Advances in understanding glucose variability and the role of continuous glucose monitoring. European Endocrinology. 2010;6(1):53–6. [Google Scholar]
- 15.Dexcom™ Seven® PLUS User’s Guide. http://www.dexcom.com/sites/dexcom.com/files/seven-plus/docs/SEVEN_Plus_Users_Guide.pdf. (Accessed November 1, 2012)
- 16.Medtronic Guardian® REAL-Time User’s Guide. http://www.medtronicdiabetes.com/support/download-library/user-guides. (Accessed November 1, 2012)
- 17.Goldstein DE, Little RR, Lorenz RA, Malone JI, Nathan DM, Peterson CM, Sacks DB. Tests of glycemia in diabetes. Diabetes Care. 2004;27(1):S91–3. doi: 10.2337/diacare.27.2007.s91. [DOI] [PubMed] [Google Scholar]
- 18.Rossetti P, Bondia J, Vehí J, Fanelli CG. Estimating plasma glucose from interstitial glucose: the issue of calibration algorithms in commercial continuous glucose devices. Sensors (Basel) 2010;10(12):10936–52. doi: 10.3390/s101210936. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.American Diabetes Association. Tests of glycemia in diabetes. Diabetes Care. 2004;27(1):S91–3. doi: 10.2337/diacare.27.2007.s91. [DOI] [PubMed] [Google Scholar]
- 20.Agency for Healthcare Research and Quality. Effective healthcare program comparative effectiveness review number 57 — Methods for insulin delivery and glucose monitoring: comparative effectiveness, AHRQ Publication No. 12-EHC036-EF. 2012 Jul; [PubMed] [Google Scholar]
- 21.Whitelaw BC, Choudhary P, Hopkins D. Evaluating rate of change as an index of glycemic variability, using continuous glucose monitoring data. Diabetes Technol Ther. 2011;13(6):631–6. doi: 10.1089/dia.2010.0215. [DOI] [PubMed] [Google Scholar]