Full text
22,727 characters
· extracted from
preprint-html
· click to expand
Estimated Average Glucose Integration (eAGi) and A1c Prime (A1c’): A Novel Algorithm for Estimating Glycemic Control Over Time | medRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P4HH5NV'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search Estimated Average Glucose Integration (eAGi) and A1c Prime (A1c’): A Novel Algorithm for Estimating Glycemic Control Over Time View ORCID Profile Christopher R. Koltz doi: https://doi.org/10.1101/2025.06.26.25330375 Christopher R. Koltz 1 Department of Internal Medicine, University of Maryland School of Medicine , Baltimore, MD, USA MD Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Christopher R. Koltz For correspondence: chriskoltz{at}gmail.com Abstract Full Text Info/History Metrics Data/Code Preview PDF ABSTRACT Type 2 diabetes affects hundreds of millions worldwide and is associated with significant adverse health outcomes. Optimizing glycemic control mitigates risk over time and has been shown to improve cardiovascular outcomes, reduce microvascular injury as well as decrease overall mortality. Diabetes-specific risk is determined not only by glycemic control but duration of exposure which has been historically difficult to quantify in aggregate. The model proposed in this paper computes two long-term diabetes control scores using a novel algorithm that integrates estimated average glucose as a function of time. The calculated scores are called Estimated Average Glucose Integration (eAGi) and A1c Prime (A1c’). Based on previous studies demonstrating that poor glycemic control over time is associated with worse outcomes, eAGi and A1c’ are anticipated to provide a useful, diabetes-specific hazard appraisal for individuals in both clinical and research settings. BACKGROUND Type 2 diabetes is a pathological condition characterized by impaired glucose metabolism resulting in abnormally high blood glucose levels. Chronically elevated glucose is associated with myriad consequences including atherosclerotic cardiovascular disease (ASCVD), peripheral vascular disease, microvascular complications, stroke and increased mortality among others ( 1 , 2 ). Many of these effects are directly mediated by chronic hyperglycemia while others are driven by insulin resistance and complex metabolic dysregulation ( 3 ). The impact of hyperglycemia and insulin resistance is compounded with increasing years of exposure ( 1 , 2 ). Given the impracticality of frequent glucose measurements, the hemoglobin a1c (A1c) assay was developed to approximate average glucose control over time. A1c is reported as a percent of glycated hemoglobin within erythrocytes and reflects glycemic control over the preceding 60-90 days though there are notable exceptions outside the scope of this review ( 3 , 4 ). A1c is typically used as the criteria for diagnosing diabetes at a threshold of 6.5% and is subsequently used to assess longitudinal glycemic control. The term prediabetes is reserved for A1c values of 5.7% - 6.4% reflecting hyperglycemia but not meeting the criteria for diabetes ( 4 ). The relationship between A1c and estimated average glucose (eAG) is defined by the following equation: A1c = (eAG + 46.7)/ 28.7. Conversely, eAG can be converted to A1c using the formula: eAG = (28.7 x A1c) – 46.7. Estimated average glucose is reported in mg/dL and is derived from A1c ( 4 ). Only A1c is a direct measurement. The model proposed in this paper quantifies long-term glycemic control by calculating the area under the curve (AUC) of eAG over time from sequential A1c measurements. The AUC of the eAG-time plot is referred to as eAGi and the derived, weighted average is referred to as A1c prime (A1c’). eAGi is calculated using the trapezoidal rule of integration with each subinterval (in months) graphically represented as a trapezoid, triangle, rectangle or straight line. The subinterval areas are summed, yielding an AUC from time zero to a final time point ( Figure 1 , Equation 1). The trapezoidal method of integration is particularly well suited for this application given that the slope of y = f (x) is constant within any particular subinterval within the eAGi model ( Figure 2 ). Download figure Open in new tab Figure 1. Graphical representation of the trapezoidal rule for integration. For the function y = f (x), the integral between a and b is represented by trapezoids labeled Q,R,S,T. Summing the areas of the individual trapezoids yields an approximation of the AUC between a and b. Download figure Open in new tab Figure 2. eAGi integrals using test data from Table 1 . eAGi is shown in shaded areas. x-axis in months, y-axis in corrected eAG (A) alternating A1c values of 7.0% and 7.5% over 20 months. (B) Same pattern as panel A extended to 40 months. (C) Initial A1c of 7.0% followed by improvement to an A1c of 6.5% with eventual A1c nadir of 6.0% and remaining stable. The total duration is 20 months. (D) Same pattern as panel C initially with a persistent A1c nadir of 6.0% extended to 40 months. RESEARCH DESIGN AND METHODS Four eAGi simulations ( Figure 2 ) were run using fabricated test data ( Table 1 ) to demonstrate the effect of eAG and time on eAGi and A1c’. The derivation for eAGi is shown below (Equation 1). View this table: View inline View popup Download powerpoint Table 1. Test data for simulations A-D Equation 1 - Integration by the trapezoidal rule within the eAGi model. eAGi is approximately equal to the area summation of all trapezoids (subintervals) between a and b. a = time zero, b = final time point. N = number of subintervals, t = subinterval(1,2..N). Δx t = subinterval duration in months. f ( x t ) = corrected eAG. A1c values were first converted to eAG and then to a corrected eAG (eAG - 140) before integration. Corrected eAG values were used to establish an A1c of 6.5% as the reference baseline (y = 0). The final input data includes only paired coordinates for corrected eAG (y value) and subinterval duration (x value). All subintervals in this demonstration are four months long for simplification. The eAGi calculations were coded and executed using Python. The resulting eAGi integrals were then verified against manually performed calculations. Finally, eAGi results were transformed to their corresponding A1c’ values. The conversion formula is: A1c’ = [(eAGi/total duration) + 140 + 46.7] / 28.7. The value 140 is used to correct the initial eAG manipulation previously described and 46.7 and 28.7 are derived from the A1c to eAg conversion equation: A1c = (eAG + 46.7)/ 28.7. To simplify, eAG values are represented as rounded integers. RESULTS Four hypothetical, proof of concept simulations were run to demonstrate the effect of eAG and time on eAGi and A1c’. Input data is shown in Table 1 and the results for eAGi are graphically displayed in Figure 2 . The shaded areas represent eAGi. Subintervals with A1c values of 6.5% are arealess and are depicted as a horizontal line at y = zero ( Figure 2 , Panels C, D) and serve as a baseline reference for eAGi measurements. All simulations used equal four month subintervals. Simulation A ( Figure 2 , Panel A): eAGi = 430, A1c’ = 7.2%. Oscillating pattern between an A1c of 7.0% and 7.5% over 20 months. The eAGi and A1c’ are greater than zero indicating glycemic control is higher than 6.5% on average. Simulation B ( Figure 2 , Panel B): eAGi = 860, A1c’ = 7.2%. Same input data and oscillating pattern as simulation A with an extended duration of 40 months. The resulting eAGi is twice that of simulation A however, A1c’ remains the same at 7.2%. Simulation B demonstrates the unique, aggregate duration effect on eAGi but not A1c’. Simulation C ( Figure 2 , Panel C): eAGi = zero, A1c ‘= 6.5%. Initial hyperglycemia with an A1c of 7.0% followed by improvement to 6.5% and eventual glycemic nadir of 6.0%. The arealess region in the center of the plot represents a subinterval with an A1c of 6.5% which does not contribute to eAGi. Simulation C demonstrates the additive and regressive nature of eAGi as the early hyperglycemic subintervals are offset by subsequent subintervals with A1c values less than 6.5%. Simulation D ( Figure 2 , Panel D): eAGi = - 280, A1c’ = 6.3%. Simulation C is reproduced for the first 20 months with the final A1c nadir of 6.0% extended to 40 months. eAGi becomes negative with a longer duration of glycemic control below an A1c of 6.5%. If this pattern were extended indefinitely, eAGi would progressively become more negative though A1c’ would remain positive and approach a nadir of 6.0% in an asymptotic manner (not shown). DISCUSSION eAGi as a theoretical predictor of diabetes-related complications eAGi quantifies long-term diabetes control by integrating sequential glycemic measurements as a function of time. Higher A1c values over time will result in a larger, more positive eAGi as will longer duration of exposure. Ideally, eAGi should be reported in conjunction with the corresponding duration to provide a more precise interpretation. Any time interval can be used for eAGi as long as expressed in months. Fractional intervals such as 1.5 months (∼ 6 weeks) will also produce valid results. Moreover, the zero threshold can be adjusted up or down depending on the desired risk assessment for bespoke objectives. There is no upper or lower bound for eAGi. It is constrained only by the limits of glycemia compatible with life and the total duration of exposure. In the current model, eAGi will remain zero if A1c values are consistently 6.5% no matter the duration of exposure. A1c values below 6.5% will result in negative numbers for a given subinterval and decrease the composite eAGi. Conversely, A1c values greater than 6.5% will be additive.. The eAGi has potential clinical and research applications. eAGi may help clinicians risk stratify patients and inform management decisions such as escalating and de-escalating therapies as well as aid in perioperative risk assessment. eAGi could also classify research subjects into subgroups for study allocation and analysis. Typically, study participants are grouped together as a single diabetes cohort even though there may be very different diabetes-specific risk profiles based on duration of exposure and long-term glycemic control. A1c’ as a complementary metric A1c’ is intended to be a user-friendly number expressed in a way that is understood by clinicians and patients alike. The resulting value is essentially an average of averages over time (see Methods section for formula). It is worth noting that A1c’ is not interchangeable with eAGi. Unlike eAGi, A1c’ does not directly account for exposure duration resulting in more limited utility. Examples of discordant eAGi and A1c’ are shown in Figure 2 (panel A vs. B). Moreover, A1c’ is bounded by upper and lower limits. To illustrate, A1c’ is always positive unlike eAGi, with a confined range within the limits of the A1c assay. Still, the concept of A1c’ will be familiar to patients and clinicians and provide a meaningful metric to evaluate glycemic control over time. Shortcomings of the eAGi model While there is utility in the proposed eAGi model, there are several limitations to consider. Missing data may produce less accurate results since glycemic variability will not be sufficiently captured. Long subintervals between a1c measurements can result in both overestimation and underestimation depending on the a1c trend. Overestimates are more likely in cases of improving glycemic control and underestimates are more likely with worsening glycemic control. The estimates will only be unaffected when glycemic control is stable or in cases where the rate of change between subintervals is constant. Moreover, an eAGi of zero corresponds to the standardized baseline and is not meant to imply optimal control. The eAGi results should more correctly be interpreted as glycemic control relative to an eAGi baseline of zero. This point becomes more important when considering the potential use of eAGi as a diabetes-specific risk assessment tool in the future given it does not account for relevant co-morbidities and scores of zero likely do not represent the lowest risk category. Finally, the presented simulations used rounded integers for the A1c to eAG conversion for simplification. For example, the proper transformation of an A1c of 6.5% to eAG is 139.8 mg/dL not 140 mg/dL. For demonstration purposes, the discrepancy is negligible, especially over short durations with the difference in A1c values being 6.5% and 6.507%, respectively. This variance is below the level of discrimination for the A1c assay. Future directions Higher eAGi and A1c’ values are anticipated to correlate with worse health outcomes based on extensive data examining diabetes related complications as a function of glycemic control and duration of exposure ( 1 , 2 ). Validation of the eAGi model with real-world patient datasets are necessary to further demonstrate its usefulness and provide context. The manual eAGi computation is impractical at scale but easily managed by capable software. Integrating the eAGi algorithm into electronic medical records (EMR) would provide clinicians a simple and dynamic metric to support point-of-care decisions. Similar, automated risk calculators for metabolic associated liver disease (MASLD) and ASCVD already exist within some EMR platforms. Additionally, the algorithm may prove useful in the research environment by allowing investigators to stratify participants with diabetes by eAGi and/or A1c’ rather than as a single diabetic cohort. This could be employed both prospectively and retrospectively. CONCLUSIONS The eAGi model integrates estimated average glucose as a function of time to calculate two longitudinal diabetes control scores. Higher eAGi values are anticipated to correlate with unfavorable clinical outcomes thereby making eAGi a diabetes-specific risk score. Validation studies are needed prior to making this claim, however. A1c’ is derived from eAGi and provides a glycemic, time-weighted average but does not capture absolute exposure therefore having more narrow applicability by comparison. Data Availability All data produced in the present study are available upon reasonable request to the authors Relevant Conflict of Interest Disclosure None Funding None *patents pending (eAGi and A1c’ concepts as presented) REFERENCES 1. ↵ Stratton IM , Adler AI , Neil HA , Matthews DR , Manley SE , Cull CA , Hadden D , Turner RC , Holman RR . Association of glycaemia with macrovascular and microvascular complications of type 2 diabetes (UKPDS 35): prospective observational study . BMJ . 2000 Aug 12; 321 ( 7258 ): 405 – 12 OpenUrl Abstract / FREE Full Text 2. ↵ Zhang Y , Hu G , Yuan Z , Chen L. Glycosylated hemoglobin in relationship to cardiovascular outcomes and death in patients with type 2 diabetes: a systematic review and meta-analysis . PLoS One . 2012 ; 7 ( 8 ): e42551 OpenUrl CrossRef PubMed 3. ↵ Sacks DB , Arnold M , Bakris GL , Bruns DE , Horvath AR , Lernmark Å , Metzger BE , Nathan DM , Kirkman MS . Guidelines and Recommendations for Laboratory Analysis in the Diagnosis and Management of Diabetes Mellitus . Diabetes Care . 2023 Oct 1; 46 ( 10 ): e151 – e199 OpenUrl CrossRef PubMed 4. ↵ Sacks DB . A1C versus glucose testing: a comparison . Diabetes Care . 2011 Feb ; 34 ( 2 ): 518 – 23 OpenUrl FREE Full Text 5. Nathan DM , Kuenen J , Borg R , Zheng H , Schoenfeld D , Heine RJ ; A1c-Derived Average Glucose Study Group. Translating the A1C assay into estimated average glucose values . Diabetes Care . 2008 Aug ; 31 ( 8 ): 1473 – 8 OpenUrl Abstract / FREE Full Text View the discussion thread. Back to top Previous Next Posted June 28, 2025. Download PDF Data/Code Email Thank you for your interest in spreading the word about medRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Estimated Average Glucose Integration (eAGi) and A1c Prime (A1c’): A Novel Algorithm for Estimating Glycemic Control Over Time Message Subject (Your Name) has forwarded a page to you from medRxiv Message Body (Your Name) thought you would like to see this page from the medRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Estimated Average Glucose Integration (eAGi) and A1c Prime (A1c’): A Novel Algorithm for Estimating Glycemic Control Over Time Christopher R. Koltz medRxiv 2025.06.26.25330375; doi: https://doi.org/10.1101/2025.06.26.25330375 Share This Article: Copy Citation Tools Estimated Average Glucose Integration (eAGi) and A1c Prime (A1c’): A Novel Algorithm for Estimating Glycemic Control Over Time Christopher R. Koltz medRxiv 2025.06.26.25330375; doi: https://doi.org/10.1101/2025.06.26.25330375 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Endocrinology (including Diabetes Mellitus and Metabolic Disease) Subject Areas All Articles Addiction Medicine (568) Allergy and Immunology (863) Anesthesia (299) Cardiovascular Medicine (4425) Dentistry and Oral Medicine (443) Dermatology (382) Emergency Medicine (607) Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1507) Epidemiology (15221) Forensic Medicine (30) Gastroenterology (1123) Genetic and Genomic Medicine (6588) Geriatric Medicine (667) Health Economics (997) Health Informatics (4524) Health Policy (1368) Health Systems and Quality Improvement (1612) Hematology (540) HIV/AIDS (1264) Infectious Diseases (except HIV/AIDS) (15910) Intensive Care and Critical Care Medicine (1103) Medical Education (623) Medical Ethics (145) Nephrology (667) Neurology (6588) Nursing (346) Nutrition (998) Obstetrics and Gynecology (1143) Occupational and Environmental Health (956) Oncology (3331) Ophthalmology (970) Orthopedics (369) Otolaryngology (420) Pain Medicine (435) Palliative Medicine (129) Pathology (663) Pediatrics (1690) Pharmacology and Therapeutics (691) Primary Care Research (710) Psychiatry and Clinical Psychology (5440) Public and Global Health (9219) Radiology and Imaging (2195) Rehabilitation Medicine and Physical Therapy (1369) Respiratory Medicine (1196) Rheumatology (593) Sexual and Reproductive Health (710) Sports Medicine (529) Surgery (710) Toxicology (99) Transplantation (289) Urology (265) (function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9ffc0b7db9ab09d6',t:'MTc3OTQ1NTI1Nw=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.