Related Experiment Video
Updated: Feb 24, 2026

An R-Based Landscape Validation of a Competing Risk Model
Published on: September 16, 2022
Development and validation of Risk Equations for Complications Of type 2 Diabetes (RECODe) using individual
Sanjay Basu1, Jeremy B Sussman2, Seth A Berkowitz3
1Center for Population Health Sciences, Center for Primary Care and Outcomes Research, and Departments of Medicine and of Health Research and Policy, Stanford University, Palo Alto, CA, USA; Center for Primary Care, Massachusetts General Hospital, Boston, MA, USA.
Background:
In view of substantial mis-estimation of risks of diabetes complications using existing equations, we sought to develop updated Risk Equations for Complications Of type 2 Diabetes (RECODe).
Methods:
To develop and validate these risk equations, we used data from the Action to Control Cardiovascular Risk in Diabetes study (ACCORD, n=9635; 2001-09) and validated the equations for microvascular events using data from the Diabetes Prevention Program Outcomes Study (DPPOS, n=1018; 1996-2001), and for cardiovascular events using data from the Action for Health in Diabetes (Look AHEAD, n=4760; 2001-12). Microvascular outcomes were nephropathy, retinopathy, and neuropathy. Cardiovascular outcomes were myocardial infarction, stroke, congestive heart failure, and cardiovascular mortality. We also included all-cause mortality as an outcome. We used a cross-validating machine learning method to select predictor variables from demographic characteristics, clinical variables, comorbidities, medications, and biomarkers into Cox proportional hazards models for each outcome. The new equations were compared to older risk equations by assessing model discrimination, calibration, and the net reclassification index.
Findings:
All equations had moderate internal and external discrimination (C-statistics 0·55-0·84 internally, 0·57-0·79 externally) and high internal and external calibration (slopes 0·71-1·31 between observed and estimated risk). Our equations had better discrimination and calibration than the UK Prospective Diabetes Study Outcomes Model 2 (for microvascular and cardiovascular outcomes, C-statistics 0·54-0·62, slopes 0·06-1·12) and the American College of Cardiology/American Heart Association Pooled Cohort Equations (for fatal or non-fatal myocardial infarction or stroke, C-statistics 0·61-0·66, slopes 0·30-0·39).
Interpretation:
RECODe might improve estimation of risk of complications for patients with type 2 diabetes.
Funding:
National Institute for Diabetes and Digestive and Kidney Disease, National Heart, Lung and Blood Institute, and National Institute on Minority Health and Health Disparities, National Institutes of Health, and US Department of Veterans Affairs.
Related Concept Videos
Types of Biopharmaceutical Studies: Controlled and Non-Controlled Approaches
Non-controlled studies, commonly employed for initial exploration, lack a control group, rendering them susceptible to biases and external influences. In contrast,...
Diabetes Mellitus: Type 2 and Gestational
Diabetes: Symptoms, Diagnosis, and Complications
Drug Dosing in Renal Diseases: Estimation of Glomerular Filtration Rate Based on Serum Creatinine Concentration
Mechanistic Models: Compartment Models in Individual and Population Analysis
Diabetes Mellitus: Overview and Type I Subtype
Type 1 diabetes is an autoimmune disease in which the immune system mistakenly attacks and destroys the insulin-producing beta cells in the pancreas. As a result, the body is unable to produce sufficient insulin, and individuals with...

