Research Article

Using Artificial Intelligence to Develop a Multivariate Model with a Machine Learning Model to Predict Complications in Mexican Diabetic Patients without Arterial Hypertension (National Nested Case-Control Study): Metformin and Elevated Normal Blood Pressure Are Risk Factors, and Obesity Is Protective

Table 3

In-depth analysis of the predictors for the model of chronic complications in patients with diabetes.

PredictorValueSHAPORCI

SmokingYes02.045[1.951, 2.144]<0.001
Years smoking(0.999, 10.0]01.225[1.203, 1.248]<0.001
Years smoking(10.0, 20.0]01.3[1.274, 1.326]<0.001
Years smoking(20.0, 30.0]01.309[1.281, 1.338]<0.001
Years smoking(30.0, 38.0]0.2690830.388[0.38, 0.396]<0.001
Years smoking(38.0, 56.0]01.338[1.305, 1.371]<0.001
MIDE follow-up: dischargeYes01.434[1.366, 1.505]<0.001
MIDE follow-up: continueYes0.2028621.756[1.725, 1.787]<0.001
MIDE follow-up: deathYes03.51[1.83, 6.731]<0.001
MIDE follow-up: abandonmentYes01.613[1.322, 1.967]<0.001
MIDE follow-up: secondary careYes03.587[3.163, 4.067]<0.001
Antidiabetic Tx: acarboseYes03.214[2.881, 3.585]<0.001
Antidiabetic Tx: phenforminYes01.463[0.545, 3.929]0.450
Antidiabetic Tx: glibenclamideYes03.166[3.061, 3.275]<0.001
Antidiabetic Tx: glimepirideYes05.225[3.823, 7.14]<0.001
Antidiabetic Tx: glipizideYes02.988[1.323, 6.746]0.008
Antidiabetic Tx: metforminYes0.1844383.908[3.792, 4.029]<0.001
Antidiabetic Tx: pioglitazoneYes05.603[4.817, 6.518]<0.001
Antidiabetic Tx: rosiglitazoneYes03.076[2.542, 3.723]<0.001
Antidiabetic Tx: sitagliptinYes011.055[9.378, 13.033]<0.001
Antidiabetic Tx: tolbutamideYes03.152[1.672, 5.944]<0.001
Age(31.999, 50.0]0.1342890.641[0.629, 0.654]<0.001
Age(50.0, 55.0]00.913[0.894, 0.933]<0.001
Age(55.0, 60.0]01.013[0.992, 1.034]0.220
Age(60.0, 67.0]01.214[1.19, 1.239]<0.001
Age(67.0, 104.0]0.0856871.447[1.417, 1.477]<0.001
BMI(19.99, 25.20]01.151[1.128, 1.175]<0.001
BMI(25.20, 27.54]01.06[1.039, 1.082]<0.001
BMI(27.54, 29.85]01.022[1.001, 1.043]0.038
BMI(29.86, 32.88]00.981[0.961, 1.001]0.067
BMI(32.88, 60.0]00.816[0.8, 0.833]<0.001
Maximum weight(45.99, 76.0]01.23[1.206, 1.255]<0.001
Maximum weight(76.0, 85.0]01.252[1.227, 1.277]<0.001
Maximum weight(85.0, 97.0]01.306[1.279, 1.332]<0.001
Maximum weight(97.0, 116.5]0.1249750.56[0.55, 0.57]<0.001
Maximum weight(116.5, 175.0]01.274[1.231, 1.319]<0.001
Nutrition consultationYes0.0796581.662[1.626, 1.699]<0.001
Fasting glucose(70.999, 120.0]00.676[0.662, 0.689]<0.001
Fasting glucose(120.0, 146.0]00.762[0.746, 0.778]<0.001
Fasting glucose(146.0, 185.0]00.986[0.966, 1.006]0.167
Fasting glucose(185.0, 250.0]01.169[1.146, 1.193]<0.001
Fasting glucose(250.0, 500.0]0.0256811.702[1.667, 1.737]<0.001
HbA1c(2.999, 6.0]0.0757960.719[0.705, 0.734]<0.001
HbA1c(6.0, 6.9]01.078[1.057, 1.1]<0.001
HbA1c(6.9, 7.8]00.988[0.968, 1.009]0.273
HbA1c(7.8, 9.3]01.107[1.085, 1.13]<0.001
HbA1c(9.3, 16.0]01.189[1.165, 1.213]<0.001
Abortions(0.999, 2.0]00.797[0.774, 0.82]<0.001
Abortions(2.0, 4.0]01.252[1.217, 1.289]<0.001
Cesarean section(0.998, 2.0]00.821[0.801, 0.842]<0.001
Cesarean section(2.0, 3.0]01.218[1.189, 1.249]<0.001
Pregnancies(0.999, 3.0]01.141[1.121, 1.162]<0.001
Pregnancies(3.0, 4.0]0.0500180.725[0.713, 0.737]<0.001
Pregnancies(4.0, 5.0]01.181[1.148, 1.214]<0.001
Pregnancies(5.0, 11.0]01.261[1.235, 1.287]<0.001
Deliveries(0.999, 3.0]01.17[1.151, 1.19]<0.001
Deliveries(3.0, 4.0]0.0696640.729[0.717, 0.741]<0.001
Deliveries(4.0, 10.0]01.245[1.221, 1.269]<0.001
Self-care: attached to the treatmentYes0.0623061.351[1.323, 1.379]<0.001
Self-care: self-medicationYes02.58[2.466, 2.7]<0.001
Self-care: diabetes educationYes01.346[1.318, 1.374]<0.001
Self-care: physical activityYes0.0551631.331[1.303, 1.36]<0.001
Diastolic pressure(39.999, 70.0]00.84[0.826, 0.853]<0.001
Diastolic pressure(70.0, 80.0]01.095[1.078, 1.113]<0.001
Diastolic pressure(80.0, 190.0]01.204[1.175, 1.233]<0.001
Systolic pressure(79.999, 110.0]00.815[0.8, 0.829]<0.001
Systolic pressure(110.0, 120.0]00.974[0.957, 0.991]<0.001
Systolic pressure(120.0, 130.0]01.147[1.124, 1.171]<0.001
Systolic pressure(130.0, 242.0]01.23[1.204, 1.257]<0.001
Pulse pressure(1, 40.0]00.853[0.839, 0.867]<0.001
Pulse pressure(40.0, 50.0]01.041[1.022, 1.06]<0.001
Pulse pressure(50.0, 170.0]01.205[1.181, 1.228]<0.001
KetoacidosisYes0.0022850.561[0.489, 0.644]<0.001
HyperglycemiaYes0.0446424.5[4.259, 4.755]<0.001
HyperosmolarYes03.612[2.766, 4.717]<0.001
HypoglycemiaYes02.563[2.227, 2.949]<0.001

Tx: treatment; OR: odds ratio; CI: 95% confidence interval; : the value of statistical significance. This table presents the results obtained by the XGBoost algorithm when trained to predict the dependent variable of chronic complication. The order of the variables is descending according to their importance value (SHAP) to predict said variable. The value column presents the value used for each intervening variable during the training. In addition, the odds ratio (OR) values, confidence interval (CI), and statistical significance value () are presented. The notation (#, #] represents a range that does not include the first value but does include the second value. For calculating odds ratios, values outside of the range are used as the reference value, such as lower or higher values in the database.