Secondary relevance to vitamin D This paper mainly addresses another topic and also reports a vitamin D analysis, result or scientific synthesis.
This paper mainly addresses another topic and also reports a vitamin D analysis, result or scientific synthesis.
Why this paper is included
Supporting source evidence:
Vitamin D (VIT_D) showed marginal significance in several quartiles, consistent with emerging evidence linking vitamin D status to insulin sensitivity and diabetes risk.
Source: 3.5. Biomarkers. View original paper
Relevance classification does not establish study quality, causation or editorial approval.
Study design Cross-sectional study.
Cross-sectional study
Examines a population at a particular point in time.
Meta-analysis unclear · Blinding unclear / not reported · Human research reported
How this paper was classified
Automatic source-based classification; awaiting editorial verification. This is not a quality score.
Methods: A cross-sectional study was conducted comparing T2DM patients and healthy controls.
Source: Abstract.
Participants were recruited from clinical and community settings, with T2DM diagnoses confirmed according to American Diabetes Association criteria (fasting plasma glucose ≥ 126 mg/dL, HbA1c ≥ 6.5%, or current use of antidiabetic medications) [].
Source: Methods.
What the study types mean
- Systematic review
- Uses explicit methods to identify, assess and summarise research on a defined question.
- Scoping review
- Maps the extent and characteristics of research on a topic.
- Narrative review
- Discusses existing research; systematic-review methods have not been established by this classification.
- Review / evidence synthesis
- Reviews existing research; the exact review methods need further assessment.
- Randomised controlled trial
- Assigns participants or groups to comparison interventions by chance.
- Non-randomised intervention study
- Examines an intervention without random allocation.
- Cohort study
- Examines exposures and outcomes over time within a defined group.
- Case-control study
- Compares people with an outcome against people without it, examining exposures.
- Cross-sectional study
- Examines a population at a particular point in time.
- Observational study
- Observes exposures and outcomes without assigning the exposure; the subtype is not established here.
- Case report
- Describes an individual case.
- Case series
- Describes a group of individual cases.
- Secondary analysis
- Analyses existing study data; this paper is not automatically another independent trial.
- Laboratory study
- Investigates biological processes in a laboratory setting.
- Qualitative study
- Examines experiences or meanings using qualitative methods.
- Genetic instrumental-variable study
- Uses genetic variation as an instrument to investigate relationships; this is not a randomised treatment trial.
- Study protocol
- Describes planned methods and is not evidence that the planned study has reported results.
- Multiple reported designs
- More than one design is explicitly reported; examine the supporting methods.
- Study design awaiting verification
- The available source does not establish a sufficiently clear study design.
Meta-analysis combines numerical results from studies. Blinding describes who was unaware of treatment allocation. Neither is a separate quality grade. Study design, vitamin D relevance and document format are independent filters.
Full studies
Exercise Stress Test Lactate Curves and Logistic Regression for Type 2 Diabetes Mellitus Detection: A Quartile-Based Analysis
Cross-sectional study · Diagnostics · 2026
Original publication title
Exercise Stress Test Lactate Curves and Logistic Regression for Type 2 Diabetes Mellitus Detection: A Quartile-Based Analysis
© 2026 by the authors.
Original publication · Publisher record · CC BY 4.0
Source wording retained. Formatting, section navigation and display-title punctuation adapted for this research record.
At a glance
Study methods
What methods does the paper describe?
2.1. Study Design and Participants
The study was conducted in accordance with the Declaration of Helsinki and approved by the Ethics Committee of Universidad Pedagógica y Tecnológica de Colombia. (date of approval: 27 April 2020).
This cross-sectional observational study included 82 participants: 56 individuals diagnosed with type 2 diabetes mellitus (T2DM) and 26 control subjects without diabetes. Participants ranged in age from 37 to 70 years; 48% were male and 52% were female. The mean ages were 58.39 ± 7.55 and 54.88 ± 8.30 years in the T2DM and control groups, respectively. Participants were recruited from clinical and community settings, with T2DM diagnoses confirmed according to American Diabetes Association criteria (fasting plasma glucose ≥ 126 mg/dL, HbA1c ≥ 6.5%, or current use of antidiabetic medications) [3].
Exclusion criteria included type 1 diabetes, acute diabetic complications, severe cardiovascular disease precluding exercise testing, musculoskeletal limitations preventing treadmill exercise, and pregnancy. Controls were defined as individuals without a diabetes diagnosis and with fasting glucose < 100 mg/dL and HbA1c < 5.7%. All participants provided written informed consent, and the study protocol was approved by the institutional ethics committee. Figure 1 shows the number of individuals in the study, as well as those who were excluded or included based on the analysis performed.
2.2. Exercise Stress Test Protocol
All participants underwent a standardized incremental exercise stress test on a motorized treadmill. The protocol consisted of progressive increases in speed and/or incline (1%) at regular intervals (3 min per stage) until volitional exhaustion or achievement of predetermined termination criteria (e.g., severe symptoms, abnormal cardiovascular responses, or attainment of age-predicted maximal heart rate). Continuously monitored variables included heart rate via 12-lead electrocardiography; blood pressure, measured at each stage; and subjective ratings of perceived exertion using the Borg scale [28].
Tests were supervised by trained exercise physiologists and medical personnel, with emergency equipment immediately available.
Stage duration, speed increments, and grade increments are chosen to produce a progressive and interpretable rise in metabolic demand while targeting a specific overall test duration (typically 8–12 min for maximal tests). Protocol designers frequently use 3-min stages as a standard time base and 1 km·h−1 speed steps for running-focused tests, but continuous (ramped) protocols use smaller, more frequent changes to smooth cardiorespiratory responses. Figure 2 shows how the “Exercise Stress Test” procedure was carried out and how the individuals were grouped.
2.3. Lactate Measurement and Quartile Stratification
Capillary blood samples were obtained from the earlobe at rest, at the end of each exercise stage, and during recovery. Blood lactate concentration was measured using a validated portable lactate analyzer with an enzymatic-amperometry system [29]. The lactate threshold was operationally defined as the exercise intensity (speed in km/h) at which blood lactate concentration reached 4 mmol/L, a widely accepted fixed threshold corresponding to the transition from predominantly aerobic to mixed aerobic–anaerobic metabolism [30].
The maximum speed achieved at the 4 mmol/L lactate threshold (Vel_Lactato4) served as the primary variable used for stratification. Participants were divided into quartiles (Q1–Q4) based on this parameter, with Q1 representing the lowest aerobic capacity (lowest speed at lactate threshold) and Q4 representing the highest (highest speed at lactate threshold). This quartile-based approach enabled examination of how fitness levels modulate the physiological and biochemical differences between diabetic and non-diabetic individuals.
2.4. Variable Assessment
A comprehensive battery of assessments was conducted to characterize participants across multiple domains.
Demographic and lifestyle variables: Age, gender, educational level, occupation, marital status, socioeconomic stratum, housing type, leisure-time physical activity, sports participation, and alcohol consumption were recorded via standardized questionnaires.
Anthropometric measurements: Body mass index (BMI) was calculated from measured height and weight (kg/m2).
Cardiovascular parameters: Resting heart rate (FC-Resting), maximum heart rate during exercise (FC-Maximum), resting systolic and diastolic blood pressure (DER-Systolic, DER-Diastolic), and exercise-related cardiovascular responses were recorded.
Biochemical markers: Fasting blood samples were analyzed for glycemic control markers (fasting glucose, HbA1c), lipid profile (total cholesterol, LDL, HDL, triglycerides), and renal function (serum creatinine).
Biomarkers: Serum concentrations of vitamin D (VIT-D), vitamin B12 (VIT-B12), homocysteine (HOMOCISTEINA), brain-derived neurotrophic factor (BDNF), leptin, interleukin-6 (IL-6), vascular endothelial growth factor (VEGF), tumor necrosis factor alpha (TNFα), interleukin-1 (IL1), total tau protein (T-TAU), and phosphorylated tau (P-TAU) were measured using validated immunoassay techniques.
Cognitive assessments: Cognitive function was evaluated using the Mini-Mental State Examination (MMSE), Word Recall Test, Symbol Digit Modalities Test, Digit Retention Test, Rey Complex Figure Test, and Stroop Color and Word Test Golden.
Exercise performance variables: In addition to speed at the lactate threshold, variables including maximum speed achieved, lactate velocity at 2 mmol/L, and other exercise-derived parameters were recorded (resting heart rate, heart rate at 4 mmol/L lactate, maximum heart rate, resting lactate, maximum lactate).
2.5. Statistical Analysis
2.5.1. Analysis of Variance (ANOVA)
For each quartile (Q1–Q4), independent-samples t-tests or Mann–Whitney U tests (depending on data distribution) were conducted to compare T2DM patients and healthy controls across all measured variables. Given the exploratory nature of the quartile-specific analyses and the large number of comparisons, statistical significance was set at α = 0.05 without adjustment for multiple comparisons, with the understanding that the findings would be interpreted in the context of biological plausibility and consistency across quartiles. A total of 1428 statistical tests were performed (357 variables × 4 quartiles), with results categorized as “Significant” (significant, p < 0.05) or “Non-Significant” (non-significant, p ≥ 0.05).
Adjusted q-values (Benjamini–Hochberg FDR correction) for all 1428 pairwise tests are reported in Supplementary Materials; all ANOVA findings should be interpreted as exploratory pending external replication.
2.5.2. Age-Adjusted Group Comparisons (ANCOVA)
One-way ANCOVA was performed with age as a covariate, comparing key physiological variables between the T2DM and control groups while adjusting for age. The Benjamini–Hochberg procedure was applied for FDR correction. Unadjusted (MWU) and age-adjusted (ANCOVA) p-values are reported.
2.5.3. Logistic Regression Model Development
A binary logistic regression model to predict diabetes status (0 = non-diabetic, 1 = diabetic) was developed using the entire sample. The modeling process involved several steps [31]:
Variable selection: Candidate predictors were identified based on biological plausibility, ANOVA results, and preliminary univariate hypothesis-generating evidence for potential screening utility. Multicollinearity was assessed using variance inflation factors (VIFs), with VIF > 5 indicating problematic collinearity requiring exclusion or transformation of the variable.
Leave-one-out cross-validation (LOOCV): This was performed on the sample (N = 82) for internal validation of the logistic regression model.
Complete-case analysis: Of the 82 enrolled participants, 71 had complete data for all three model predictors (DER_Systole, VIT_D, Vel_Lactato2). The remaining 11 participants (13.4%) were excluded due to missing values for one or more predictors (listwise deletion). The final logistic regression model was estimated on this complete-case sample (N = 71: 47 T2DM, 24 controls; prevalence = 66.2%).
A preliminary Little’s MCAR test applied to the participants with missing predictor values was non-significant (p > 0.05), supporting a Missing Completely At Random (MCAR) mechanism; the affected predictors each showed missing rates of ≤7% per individual variable. These findings justify the use of complete-case (listwise deletion) analysis.
Note on model metrics and validation: All performance metrics reported in this manuscript (AUC = 0.792, accuracy = 84.5%, sensitivity, specificity, Brier score, Hosmer–Lemeshow χ2) are derived exclusively from the complete-case sample (N = 71). No random-split (e.g., 70/30 train–test) partitioning was applied to generate the reported performance estimates. Leave-One-Out Cross-Validation (LOOCV) was the sole validation method applied.
- 3.
Model specification: Bidirectional stepwise logistic regression was performed. Variables were entered if they reduced the AIC and removed if their exclusion did not significantly increase the AIC (entry α = 0.10; removal p > 0.15). The final model retained three predictors: DER_Systole, VIT_D, and Vel_Lactato2.
- 4.
Model estimation: Maximum likelihood estimation was used to obtain regression coefficients, standard errors, and odds ratios. Model fit was assessed using the Akaike Information Criterion (AIC) and the deviance between the fitted model and the null model (intercept only).
- 5.
The Hosmer–Lemeshow test: This test was used to evaluate the calibration of logistic regression models.
- 6.
Probability prediction: For each individual, the predicted probability of diabetes was calculated using the following logistic function: P(Y = 1|X) = 1/(1 + exp(−[β0 + β1X1 + β2X2 + … + βkXk])), where β0 is the intercept, βi are the regression coefficients, and Xi are the predictor variables.
- 7.
Classification: A probability threshold of 0.50 was used to classify individuals as diabetic (p ≥ 0.50) or non-diabetic (p < 0.50), consistent with standard practice when class prevalence is not extremely imbalanced [32].
Model Performance Evaluation
Model performance was comprehensively evaluated using multiple metrics:
- •
Accuracy: Proportion of correct classifications (true positives + true negatives)/total sample.
- •
Sensitivity (Recall): Proportion of diabetic individuals correctly identified as having diabetes (true positives/[true positives + false negatives]).
- •
Specificity: Proportion of non-diabetic individuals correctly identified as not having diabetes (true negatives/[true negatives + false positives]).
- •
Precision (positive predictive value): Proportion of individuals predicted to have diabetes who actually have diabetes (true positives/[true positives + false positives]).
- •
Negative predictive value (NPV): Proportion of predicted non-diabetics who do not have diabetes (true negatives/[true negatives + false negatives]).
- •
F1-score: Harmonic mean of precision and sensitivity, calculated as 2 × (precision × sensitivity)/(precision + sensitivity).
- •
Area under the ROC curve (AUC): Measure of the model’s ability to discriminate between diabetic and non-diabetic individuals across all possible classification thresholds, with values ranging from 0.5 (no discrimination) to 1.0 (perfect discrimination). AUC values of 0.7–0.8 are considered acceptable, 0.8–0.9 adequate, and >0.9 preliminary [33].
- •
Gini coefficient: Related to AUC by the formula Gini = 2 × AUC − 1, providing an alternative measure of discriminatory power. It ranges from 0 (no discrimination) to 1 (perfect discrimination).
All statistical analyses were performed using R statistical software (version 4.0 or higher) with appropriate packages for logistic regression (stats, MASS) and performance evaluation (pROC, caret). The results are reported as means ± standard deviations for continuous variables and frequencies (percentages) for categorical variables, unless otherwise specified.
2.6. Use of Artificial Intelligence Tools in the Preparation of This Manuscript
The authors declare that SciSpace AI—an artificial intelligence platform specialized in scientific research and academic writing, which integrates capabilities such as literature search and synthesis across multiple scholarly databases, automated generation of research insights, figure creation, structured report writing, systematic literature review support, and manuscript assistance—was utilized in the preparation of specific manuscript sections: the Introduction, portions of the Discussion, and parts of the Results narrative. Figure 1, Figure 2 and Figure 3 were formatted through the data analysis pipeline with AI assistance; all statistical computations, data interpretation, and clinical conclusions were independently performed by the authors.
All AI-assisted content was cross-checked against primary data by all co-authors. The use of this tool was supervised and critically evaluated by the authors, who take full responsibility for the accuracy, integrity, and originality of the content. The final manuscript was reviewed, edited, and approved by all authors, in compliance with the editorial policies of MDPI and the journal Diagnostics, which permit AI assistance in writing provided it is disclosed and all authors take full responsibility for content accuracy and integrity.
Abstract: What objectives does the paper state?
This study aimed to evaluate the utility of exercise stress test lactate curves combined with logistic regression modeling for the detection of type 2 diabetes mellitus (T2DM) using quartile-based stratification of maximum speed at the lactate threshold (4 mmol/L).
Source: ObjectiveResults: Descriptive Statistics
The demographic and physiological characteristics of the participants are presented in Table 1. The T2DM group consisted of 56 individuals, of whom 44% were men and 56% women. The control group included 26 individuals, 39% men and 61% women. The mean age was 58.39 ± 7.55 years in the T2DM group and 54.88 ± 8.3 years in the control group. The BMI was 28.11 ± 3.32 in the T2DM group and 26.02 ± 3.22 in the control group; the education level was 1.4 for the T2DM group and 1.5 for the control group; and HbA1c (%) concentration was 8.30 ± 2.0 in the T2DM group and 5.00 ± 0.60 in the control group.
As shown in Table 1, age, BMI, and HbA1c (%) exhibited statistically significant differences between the groups.
Given the statistically significant difference in age between the groups, an adjustment was made using an analysis of covariance (ANCOVA); the results are presented in Table 2.
After controlling for age as a covariate, one-way ANCOVA revealed statistically significant group differences in seven of the nine variables examined (all FDR-corrected via Benjamini–Hochberg) between T2DM and control participants. The strongest effects were observed for maximum running speed (Vmax: F = 20.92, p < 0.0001, q_FDR < 0.0001; T2DM: 1.88 ± 0.33 km/h vs. controls: 2.34 ± 0.49 km/h) and the fourth ventilatory lactate threshold (VL4: F = 12.65, p = 0.0004, q_FDR = 0.0018; T2DM: 1.61 ± 0.33 vs. 2.00 ± 0.58 km/h), which were both markedly lower in the T2DM group.
Systolic blood pressure was significantly elevated in T2DM participants (141.4 ± 17.4 vs. 127.5 ± 15.5 mmHg; F = 9.24, p = 0.0024), alongside higher BMI (27.83 ± 3.23 vs. 25.99 ± 3.62 kg/m2; F = 6.36, p = 0.0117), resting heart rate (76.55 ± 10.56 vs. 71.65 ± 9.52 bpm; F = 4.66, p = 0.0310), and resting lactate levels (2.02 ± 0.53 vs. 1.75 ± 0.37; F = 5.35, p = 0.0207). Vitamin D concentrations were significantly lower in the T2DM group after age adjustment (71.4 ± 53.6 vs. 141.9 ± 201.8 ng/mL; F = 4.81, p = 0.0283).
No significant age-adjusted differences in maximum lactate (F = 0.20, p = 0.657) or the second ventilatory threshold VL2 (F = 0.35, p = 0.552) were found.
Demographics and physiological variables of individuals with diabetes and control subjects. Plus–minus values are means and standard deviation. NA: not applicable.
| Variable | Individuals with T2DM n = 56 (68.3%) (Mean ± SD) | Controls n = 26 (31.7%) (Mean ± SD) | p-Value |
|---|---|---|---|
| Gender (f/m) % | 44/56 | 39/61 | NA |
| Age (years) | 58.39 ± 7.55 | 54.88 ± 8.3 | 0.040 |
| BMI (kg/m2) | 28.11 ± 3.32 | 26.02 ± 3.22 | 0.025 |
| Education level (1–5) | 1.40 ± 1.10 | 1.50 ± 1.20 | 0.47 |
| HbA1c (%) | 8.30 ± 2.0 | 5.00 ± 0.60 | <0.001 |
Age-adjusted group comparisons (ANCOVA).
| Variable | n | T2DM Mean ± SD | Ctrl Mean ± SD | p (MWU) | q (FDR) | F (ANCOVA) | p (ANCOVA) | q_FDR (ANCOVA) |
|---|---|---|---|---|---|---|---|---|
| VL4 (km/h) | 74 | 1.61 ± 0.33 | 2.00 ± 0.58 | 0.0027 | 0.0061 | 12.65 | 0.0004 *** | 0.0018 |
| Vitamin D (ng/mL) | 79 | 71.4 ± 53.6 | 141.9 ± 201.8 | 0.790 | 0.790 | 4.81 | 0.0283 * | 0.0399 |
| Systolic BP (mmHg) | 82 | 141.4 ± 17.4 | 127.5 ± 15.5 | 0.0011 | 0.0033 | 9.24 | 0.0024 ** | 0.0072 |
| BMI (kg/m2) | 82 | 27.83 ± 3.23 | 25.99 ± 3.62 | 0.0168 | 0.0302 | 6.36 | 0.0117 * | 0.0263 |
| Resting HR (bpm) | 82 | 76.55 ± 10.56 | 71.65 ± 9.52 | 0.0554 | 0.0712 | 4.66 | 0.0310 * | 0.0399 |
| Resting Lactate | 82 | 2.02 ± 0.53 | 1.75 ± 0.37 | 0.0385 | 0.0578 | 5.35 | 0.0207 * | 0.0373 |
| Max Lactate | 82 | 6.44 ± 2.02 | 6.98 ± 2.03 | 0.378 | 0.425 | 0.20 | 0.657 | 0.657 |
| Vmax (km/h) | 82 | 1.88 ± 0.33 | 2.34 ± 0.49 | 0.0001 | 0.0009 | 20.92 | <0.0001 *** | <0.0001 |
| VL2 (km/h) | 81 | 2.46 ± 11.4 | 1.30 ± 0.47 | 0.0011 | 0.0033 | 0.35 | 0.552 | 0.621 |
Note: One-way ANCOVA with age as a covariate, comparing T2DM vs. control on key physiological variables. FDR correction applied (Benjamini–Hochberg). Unadjusted (MWU) and age-adjusted (ANCOVA) p-values are reported. * p < 0.05; ** p < 0.01; *** p < 0.001. FDR = Benjamini–Hochberg correction.
Results: ANOVA Findings Across Quartiles
A total of 1428 statistical tests were conducted across the four quartiles (Q1–Q4), comparing T2DM patients and healthy controls based on 357 variables spanning demographic, physiological, biochemical, cognitive, and biomarker domains. Of these tests, 126 yielded statistically significant differences (p < 0.05), representing an overall significance rate of 8.8%.
The distribution of significant findings varied systematically across quartiles, revealing a clear gradient related to aerobic fitness level:
- •
Q1 (lowest fitness): 22 significant differences out of 353 tests (6.2%);
- •
Q2: 35 significant differences out of 357 tests (9.8%);
- •
Q3: 23 significant differences out of 360 tests (6.4%);
- •
Q4 (highest fitness): 46 significant differences out of 358 tests (12.8%).
The highest proportion of significant differences was observed in Q4, the quartile representing individuals with the highest aerobic capacity (highest speed at lactate threshold). This pattern suggests that the physiological and biochemical distinctions between diabetic and non-diabetic individuals are most pronounced among those with superior fitness levels, potentially reflecting greater metabolic reserve and more distinct adaptive responses to exercise training. Table 3 summarizes the results obtained from the ANOVA statistical analysis by grouping by quartiles of the maximum speed at the lactate threshold of 4 mmol/L.
Analysis of the specific variables showing significant differences between T2DM patients and controls revealed several consistent patterns across quartiles, as well as quartile-specific findings.
In the results presented in Table 3, we observe an odds ratio (OR) of less than 1 (0.167) for Q4, indicating a lower probability of developing T2DM in this group. Furthermore, the p-value of 0.0015 obtained via Fisher’s exact test for Q4 remains significant after applying the Bonferroni correction (0.05 / 4 = 0.0125) for the four quartile-based comparisons, which suggests that this finding is robust. Additionally, an analysis of the raw proportions shows that the prevalence of T2DM decreases from 78.9% in Q1 to 72.2% in quartiles Q2 and Q3, falling further to 36.8% in Q4, compared to an overall rate of 48%.
Quartile-based analysis for T2DM classification.
| Quartile | VL4 Range | N | T2DM | Control | p (Fisher) | OR | 95% CI | Cliff’s δ |
|---|---|---|---|---|---|---|---|---|
| Q1 | ≤1.445 km/h | 19 | 15 | 4 | 0.399 | 2.012 | (0.595–6.806) | −0.033 |
| Q2 | 1.445–1.735 km/h | 18 | 13 | 5 | 0.780 | 1.270 | (0.400–4.034) | −0.123 |
| Q3 | 1.735–1.972 km/h | 18 | 13 | 5 | 0.780 | 1.270 | (0.400–4.034) | −0.446 |
| Q4 | >1.972 km/h | 19 | 7 | 12 | 0.0015 ** | 0.167 | (0.055–0.503) | −0.595 |
Note: Quartile analyses are based on n = 74 participants with complete Vel_Lactato4 data; 8 participants with missing Vel_Lactato4 were excluded from quartile assignment. Overall descriptive statistics and the logistic regression model use the full enrolled sample (N = 82) and complete-case sample (N = 71), respectively.
Results: Glycemic Control Markers
HbA1c emerged as a highly consistent discriminator, showing significant differences in Q2 (p = 0.00783), Q3 (p = 0.00783), and Q4 (p = 0.00783). This finding validates the expected relationship between glycemic control and diabetes status across fitness levels.
Fasting glucose similarly demonstrated significant differences in Q2 (p = 0.0358), Q3 (p = 0.0358), and Q4 (p = 0.0358), confirming its role as a fundamental diagnostic marker regardless of aerobic capacity.
Source: 3.3. Glycemic Control Markers Source: 3.3. Glycemic Control MarkersResults: Cardiovascular Parameters
Systolic blood pressure (DER Systole) showed significant differences across multiple quartiles and physiological conditions:
- -
Q1, resting heart rate condition: p = 0.00447;
- -
Q2, maximum speed condition: p = 0.0252;
- -
Q3, maximum speed condition: p = 0.0252;
- -
Q4, maximum speed condition: p = 0.0306.
The consistency of this finding across quartiles highlights the importance of blood pressure regulation in diabetes and suggests that the systolic pressure response to exercise may serve as a valuable discriminatory variable.
Diastolic blood pressure (DER Diastole) showed marginal significance in Q2 (p = 0.0692) and Q4 (p = 0.0692), indicating a weaker but potentially relevant association.
Source: 3.4. Cardiovascular Parameters Source: 3.4. Cardiovascular Parameters Source: 3.4. Cardiovascular ParametersResults: Development of Logistic Regression Model
The logistic regression model was developed using the complete sample, in which the diabetes prevalence was 68.3% (68.3% diabetic, 31.7% non-diabetic). This moderate class imbalance was deemed acceptable for model estimation without requiring specialized sampling techniques.
Through a systematic variable-selection process incorporating biological plausibility, univariate hypothesis-generating evidence for potential screening utility, and stepwise selection procedures, three predictor variables were identified as significant contributors to diabetes classification:
DER Systolic (Systolic Blood Pressure): Negatively associated with diabetes probability (β < 0, p < 0.10). This counterintuitive finding may reflect medication effects, measurement context (e.g., specific exercise stage), or complex interactions with other model variables.
VIT_D (Vitamin D): Positively associated with diabetes probability (β > 0, p < 0.10). This finding conflicts with epidemiological evidence that generally suggests an inverse relationship between vitamin D and diabetes risk. The positive coefficient in this model may reflect reverse causation, confounding, or specific characteristics of the study sample.
Vel_Lactato2 (Speed at 2 mmol/L Lactate): Positively associated with diabetes probability (β > 0, p < 0.10). This finding suggests that, after controlling other variables, higher speed at the lower lactate threshold (2 mmol/L) is associated with increased diabetes probability, potentially reflecting altered lactate kinetics in diabetic individuals.
All three predictors were statistically significant or marginally significant at the α = 0.10 level, justifying their inclusion in the final model. The model demonstrated substantial improvement over the null model (intercept only), as evidenced by significantly reduced deviance and acceptable AIC values, confirming that the selected predictors meaningfully contribute to diabetes classification.
Source: 3.9. Development of Logistic Regression Model Source: 3.9. Development of Logistic Regression Model Source: 3.9. Development of Logistic Regression ModelWhat strengths and limitations does the paper describe?
Discussion: What strengths and limitations does the paper describe?
Strengths:
Comprehensive variable assessment: The study examined 357 variables spanning demographic, physiological, biochemical, cognitive, and biomarker domains, providing a thorough characterization of participants.
Quartile-based stratification: The novel approach of stratifying by fitness level (speed at lactate threshold) revealed fitness-dependent patterns in diabetes-related differences, providing insights into the interaction between aerobic capacity and metabolic dysfunction.
Rigorous statistical analysis: The combination of ANOVA for variable hypothesis-generating evidence for potential screening utility and logistic regression for model development, along with comprehensive performance evaluation, provides moderate evidence of the model’s utility.
Adequate discriminatory performance: The AUC of 0.792 indicates a moderate ability to distinguish diabetics from non-diabetic individuals, comparing favorably with existing classification models.
Clinical relevance: The integration of exercise testing with biomarkers offers a functional, multi-dimensional approach to diabetes detection that could complement existing diagnostic methods.
Limitations:
Cross-sectional design: The study design precludes causal inference and assessment of the model’s ability to predict incident diabetes. Prospective studies are needed to evaluate predictive validity for diabetes development.
Sample characteristics: The study sample’s demographic and clinical characteristics (e.g., age distribution, diabetes duration, medication use, comorbidities) may limit the method’s generalizability to other populations. The 68.3% diabetes prevalence in the sample may not reflect the population prevalence, potentially affecting model calibration. Q1–Q3 quartile subgroups contain very few control participants (n = 3–7), making within-quartile group comparisons underpowered.
Multiple comparisons: Conducting the 1428 ANOVA tests without adjustment for multiple comparisons increases the risk of Type I errors (false positives). While we focused on biologically plausible findings and patterns consistent across quartiles, some significant results may be spurious.
Variable selection: The logistic regression model identified three predictors (DER Systole, VIT_D, Vel_Lactato2), but the selection process and the specific variables included may be sample-dependent. External validation is needed to confirm the model’s stability and generalizability.
Counterintuitive associations: Some findings, particularly the positive association of diabetes probability with vitamin D and its negative association with systolic blood pressure, are counterintuitive and require careful interpretation. These may reflect confounding, reverse causation, medication effects, or statistical artifacts.
Missing mechanistic data: While the study identified significant associations, detailed mechanistic data (e.g., insulin sensitivity measures, mitochondrial function assessments, longitudinal changes) would strengthen causal inference and physiological interpretation.
Practical feasibility: Exercise stress testing with lactate measurement requires specialized equipment, trained personnel, and participant effort, limiting scalability compared with simple blood tests. Cost-effectiveness analysis would be needed to justify clinical implementation.
Apparent performance metrics are optimistic; LOOCV-corrected estimates are provided but external validation on an independent cohort is still required.
Lack of external validation: The model’s performance was evaluated on the same sample used for its development, which may cause an overestimation of performance. Validation on independent samples from different populations and settings is essential before clinical application.
Incomplete reporting: Some methodological details (e.g., exact sample size, specific exercise protocol parameters, medication status of participants, handling of missing data) are not fully specified, limiting reproducibility and interpretation. Medication and supplement status (antihypertensives, vitamin D) were not fully controlled for, potentially explaining the counterintuitive coefficients.
Despite these limitations, the study provides valuable proof-of-concept evidence that exercise stress test lactate curves combined with logistic regression modeling can achieve adequate discriminatory performance for diabetes detection. The findings warrant further investigation in prospective, externally validated studies with diverse populations.
Source: 4.7. Strengths and Limitations Source: 4.7. Strengths and Limitations Source: 4.7. Strengths and LimitationsResults
3.1. Descriptive Statistics
The demographic and physiological characteristics of the participants are presented in Table 1. The T2DM group consisted of 56 individuals, of whom 44% were men and 56% women. The control group included 26 individuals, 39% men and 61% women. The mean age was 58.39 ± 7.55 years in the T2DM group and 54.88 ± 8.3 years in the control group. The BMI was 28.11 ± 3.32 in the T2DM group and 26.02 ± 3.22 in the control group; the education level was 1.4 for the T2DM group and 1.5 for the control group; and HbA1c (%) concentration was 8.30 ± 2.0 in the T2DM group and 5.00 ± 0.60 in the control group.
As shown in Table 1, age, BMI, and HbA1c (%) exhibited statistically significant differences between the groups.
Given the statistically significant difference in age between the groups, an adjustment was made using an analysis of covariance (ANCOVA); the results are presented in Table 2.
After controlling for age as a covariate, one-way ANCOVA revealed statistically significant group differences in seven of the nine variables examined (all FDR-corrected via Benjamini–Hochberg) between T2DM and control participants. The strongest effects were observed for maximum running speed (Vmax: F = 20.92, p < 0.0001, q_FDR < 0.0001; T2DM: 1.88 ± 0.33 km/h vs. controls: 2.34 ± 0.49 km/h) and the fourth ventilatory lactate threshold (VL4: F = 12.65, p = 0.0004, q_FDR = 0.0018; T2DM: 1.61 ± 0.33 vs. 2.00 ± 0.58 km/h), which were both markedly lower in the T2DM group.
Systolic blood pressure was significantly elevated in T2DM participants (141.4 ± 17.4 vs. 127.5 ± 15.5 mmHg; F = 9.24, p = 0.0024), alongside higher BMI (27.83 ± 3.23 vs. 25.99 ± 3.62 kg/m2; F = 6.36, p = 0.0117), resting heart rate (76.55 ± 10.56 vs. 71.65 ± 9.52 bpm; F = 4.66, p = 0.0310), and resting lactate levels (2.02 ± 0.53 vs. 1.75 ± 0.37; F = 5.35, p = 0.0207). Vitamin D concentrations were significantly lower in the T2DM group after age adjustment (71.4 ± 53.6 vs. 141.9 ± 201.8 ng/mL; F = 4.81, p = 0.0283).
No significant age-adjusted differences in maximum lactate (F = 0.20, p = 0.657) or the second ventilatory threshold VL2 (F = 0.35, p = 0.552) were found.
3.2. ANOVA Findings Across Quartiles
A total of 1428 statistical tests were conducted across the four quartiles (Q1–Q4), comparing T2DM patients and healthy controls based on 357 variables spanning demographic, physiological, biochemical, cognitive, and biomarker domains. Of these tests, 126 yielded statistically significant differences (p < 0.05), representing an overall significance rate of 8.8%.
The distribution of significant findings varied systematically across quartiles, revealing a clear gradient related to aerobic fitness level:
- •
Q1 (lowest fitness): 22 significant differences out of 353 tests (6.2%);
- •
Q2: 35 significant differences out of 357 tests (9.8%);
- •
Q3: 23 significant differences out of 360 tests (6.4%);
- •
Q4 (highest fitness): 46 significant differences out of 358 tests (12.8%).
The highest proportion of significant differences was observed in Q4, the quartile representing individuals with the highest aerobic capacity (highest speed at lactate threshold). This pattern suggests that the physiological and biochemical distinctions between diabetic and non-diabetic individuals are most pronounced among those with superior fitness levels, potentially reflecting greater metabolic reserve and more distinct adaptive responses to exercise training. Table 3 summarizes the results obtained from the ANOVA statistical analysis by grouping by quartiles of the maximum speed at the lactate threshold of 4 mmol/L.
Analysis of the specific variables showing significant differences between T2DM patients and controls revealed several consistent patterns across quartiles, as well as quartile-specific findings.
In the results presented in Table 3, we observe an odds ratio (OR) of less than 1 (0.167) for Q4, indicating a lower probability of developing T2DM in this group. Furthermore, the p-value of 0.0015 obtained via Fisher’s exact test for Q4 remains significant after applying the Bonferroni correction (0.05 / 4 = 0.0125) for the four quartile-based comparisons, which suggests that this finding is robust. Additionally, an analysis of the raw proportions shows that the prevalence of T2DM decreases from 78.9% in Q1 to 72.2% in quartiles Q2 and Q3, falling further to 36.8% in Q4, compared to an overall rate of 48%.
3.3. Glycemic Control Markers
HbA1c emerged as a highly consistent discriminator, showing significant differences in Q2 (p = 0.00783), Q3 (p = 0.00783), and Q4 (p = 0.00783). This finding validates the expected relationship between glycemic control and diabetes status across fitness levels.
Fasting glucose similarly demonstrated significant differences in Q2 (p = 0.0358), Q3 (p = 0.0358), and Q4 (p = 0.0358), confirming its role as a fundamental diagnostic marker regardless of aerobic capacity.
3.4. Cardiovascular Parameters
Systolic blood pressure (DER Systole) showed significant differences across multiple quartiles and physiological conditions:
- -
Q1, resting heart rate condition: p = 0.00447;
- -
Q2, maximum speed condition: p = 0.0252;
- -
Q3, maximum speed condition: p = 0.0252;
- -
Q4, maximum speed condition: p = 0.0306.
The consistency of this finding across quartiles highlights the importance of blood pressure regulation in diabetes and suggests that the systolic pressure response to exercise may serve as a valuable discriminatory variable.
Diastolic blood pressure (DER Diastole) showed marginal significance in Q2 (p = 0.0692) and Q4 (p = 0.0692), indicating a weaker but potentially relevant association.
3.5. Biomarkers
Homocysteine (HOMOCISTEINA) was a particularly strong discriminator in Q4 (p = 0.00926), the highest fitness quartile. This finding suggests that homocysteine metabolism may be differentially affected by diabetes in individuals with higher aerobic capacity, potentially reflecting interactions between fitness, vascular function, and metabolic health.
Brain-derived neurotrophic factor (BDNF) showed significant differences in Q4 (p = 0.0211), indicating that this neurotrophin’s relationship with diabetes may be modulated by fitness level. Given BDNF’s roles in neuroplasticity, metabolic regulation, and exercise adaptation, this finding warrants further investigation.
Vitamin D (VIT_D) showed marginal significance in several quartiles, consistent with emerging evidence linking vitamin D status to insulin sensitivity and diabetes risk.
3.6. Anthropometric and Body Composition
Body mass index (BMI) showed significant differences in Q2 (p = 0.0252) and Q4 (p = 0.0252), reflecting the well-established association between obesity and T2DM risk.
3.7. Demography and Cognitive Function
Several cognitive measures showed significant differences in specific quartiles:
- -
Level of education: Q4, p = 0.0185;
- -
Thirty-minute delayed recall (Recuerdo_30_minutos): Q1, p = 0.0685 (marginal).
Various other cognitive measures showed quartile-specific patterns, suggesting potential interactions between diabetes, fitness, and cognitive function.
3.8. Lipid Profile
While traditional lipid markers (total cholesterol, LDL, HDL, triglycerides) showed some quartile-specific differences, they were less consistent than the differences in glycemic and cardiovascular parameters, possibly reflecting the heterogeneity of lipid profiles in T2DM and the influence of lipid-lowering medications.
3.9. Development of Logistic Regression Model
The logistic regression model was developed using the complete sample, in which the diabetes prevalence was 68.3% (68.3% diabetic, 31.7% non-diabetic). This moderate class imbalance was deemed acceptable for model estimation without requiring specialized sampling techniques.
Through a systematic variable-selection process incorporating biological plausibility, univariate hypothesis-generating evidence for potential screening utility, and stepwise selection procedures, three predictor variables were identified as significant contributors to diabetes classification:
DER Systolic (Systolic Blood Pressure): Negatively associated with diabetes probability (β < 0, p < 0.10). This counterintuitive finding may reflect medication effects, measurement context (e.g., specific exercise stage), or complex interactions with other model variables.
VIT_D (Vitamin D): Positively associated with diabetes probability (β > 0, p < 0.10). This finding conflicts with epidemiological evidence that generally suggests an inverse relationship between vitamin D and diabetes risk. The positive coefficient in this model may reflect reverse causation, confounding, or specific characteristics of the study sample.
Vel_Lactato2 (Speed at 2 mmol/L Lactate): Positively associated with diabetes probability (β > 0, p < 0.10). This finding suggests that, after controlling other variables, higher speed at the lower lactate threshold (2 mmol/L) is associated with increased diabetes probability, potentially reflecting altered lactate kinetics in diabetic individuals.
All three predictors were statistically significant or marginally significant at the α = 0.10 level, justifying their inclusion in the final model. The model demonstrated substantial improvement over the null model (intercept only), as evidenced by significantly reduced deviance and acceptable AIC values, confirming that the selected predictors meaningfully contribute to diabetes classification.
3.10. Model Performance Metrics
The logistic regression model demonstrated adequate overall performance across multiple evaluation metrics.
Classification Performance:
- -
Accuracy: 84.5%. The model correctly classified approximately 84.5% of all individuals.
- -
Sensitivity at the default threshold (t = 0.50): 95.7% (95% CI: 85.8–98.8%). At the Youden-optimal threshold (t = 0.45), sensitivity increased to 97.9%, reducing the miss rate to 2.1%.
- -
Specificity: 58.3%. The model correctly identified 58.3% of actual non-diabetic individuals, with a 41.7% false positive rate.
- -
Precision (positive predictive value): 81.8%. When the model predicted diabetes, it was correct 81.8% of the time.
- -
Negative predictive value: 87.5%. When the model predicted no diabetes, it was correct 87.5% of the time.
- -
F1-score: 0.882. This balanced measure of precision and sensitivity indicates good overall classification performance.
Discrimination Metrics:
- -
Area Under the ROC Curve (AUC): 0.792. This preliminary value indicates that the model has a 79% probability of correctly ranking a randomly selected diabetic individual higher in predicted probability than a randomly selected non-diabetic individual. AUC values above 0.7 are considered acceptable and indicate moderate discriminatory power [33].
- -
Gini coefficient: 0.583—calculated as 2 × AUC − 1 = 2 × 0.792 − 1 = 0.584 ≈ 0.583. This metric confirms the model’s moderate discriminatory ability.
The results for the model performance metrics are shown in Table 4.
The logistic regression model coefficients, standard errors, odds ratios, variance inflation factors, model fit statistics, and confusion matrix are presented in Table 5.
The present model was developed to predict the probability of a type 2 diabetes mellitus (T2DM) diagnosis using logistic regression. Its performance was evaluated across three conditions: the apparent (training) sample at the default decision threshold (t = 0.50), the optimal threshold (t = 0.45), and internal validation through Leave-one-out cross-validation (LOOCV).
At the default threshold of t = 0.50, the model yielded an overall accuracy of 84.5% (95% CI: 72.7–90.1%), correctly classifying most cases. The model demonstrated high sensitivity of 97.9% (95% CI: 85.8–98.8%), indicating that nearly all individuals with T2DM were correctly identified as positive. However, specificity was more moderate at 58.3% (95% CI: 38.8–75.5%), reflecting a limited capacity to correctly rule out individuals without the condition. The positive predictive value (PPV) was 81.8%, meaning that approximately 82% of cases flagged as positive by the model truly had T2DM, while the negative predictive value (NPV) of 87.5% indicates that negative classifications were reliably confirmed.
The F1-score of 0.882 reflects a strong harmonic mean between sensitivity and precision, further supporting the model’s overall classification performance.
The area under the receiver operating characteristic curve (AUC) at the apparent level was 0.792 (95% CI: 0.688–0.895), indicating good discriminative ability to distinguish between individuals with and without T2DM. This corresponds to a Gini coefficient of 0.583—a derived measure (2 × AUC − 1)—confirming moderate-to-good model discrimination, where a value of 1 represents perfect and 0 represents chance-level classification.
Lowering the decision threshold to t = 0.45 improved overall accuracy to 84.5% and further increased sensitivity to 97.9%, while specificity remained unchanged at 58.3%. Notably, the miss rate was reduced from 4.3% (at t = 0.50) to 2.1% (at t = 0.45), and the NPV improved to 93.3%, indicating greater confidence in ruling out T2DM in individuals without the condition. This threshold adjustment is clinically meaningful, as minimizing false negatives is crucial in a hypothesis-generating evidence context for T2DM—where undetected cases may lead to delayed treatment and adverse outcomes.
The F1-score at the optimal threshold (0.893) reflects a marginal improvement in the balance between sensitivity and precision.
Internal validation via LOOCV at t = 0.50 yielded an accuracy of 76.1%, sensitivity of 87.2%, and specificity of 54.2%. The AUC under LOOCV was 0.736 (95% CI: 0.602–0.871), with a corresponding Gini coefficient of 0.472. The reduction in performance metrics relative to the apparent estimates—particularly in AUC (from 0.792 to 0.736) and accuracy (from 83.1% to 76.1%)—reflects the expected degree of optimism inherent in training sample estimates, which is anticipated and acceptable in clinical classification modeling. Despite this reduction, the LOOCV results confirm that the model retains meaningful discriminative capacity when applied to unseen observations.
Calibration was assessed through the Brier score, which was 0.156 in the apparent sample and 0.176 under LOOCV. Both values indicate that the model’s predicted probabilities are reasonably well-aligned with the observed outcomes, as lower Brier scores (ranging from 0 for perfect calibration to 1 for complete miscalibration) reflect better probabilistic accuracy. The minimal increase from apparent to LOOCV results suggests that the model does not suffer from severe overfitting and that its probabilistic classification generalizes to new cases.
The intercept being statistically close to zero is reassuring but insufficient evidence of good calibration on its own. The zig-zag pattern of decile points—particularly the large jump from the lowest decile (observed ≈ 0) to the remaining eight deciles (all clustered near observed ≈ 0.86)—suggests the model may need recalibration (via intercept updating or Platt scaling) if applied to subpopulations at the tails of the predicted probability distribution.
The Brier score of 0.156 is consistent with this: moderate overall calibration accuracy, but with localized deviations not captured by a single intercept summary.
Taken together, these results indicate that the logistic regression model performs adequately for the diagnosis of T2DM, with notably high sensitivity—a clinically desirable property in a hypothesis-generating evidence tool where minimizing false negatives is prioritized. The optimal threshold of t = 0.45 is recommended for clinical deployment, as it further reduces the miss rate while preserving acceptable precision. The LOOCV results provide evidence that the model generalizes reasonably well to samples beyond the training set; however, external validation in an independent cohort is advisable to confirm its clinical utility prior to routine implementation.
Model calibration: The Hosmer–Lemeshow test (g = 10 groups) yielded χ2 = 10.51, p = 0.197, indicating adequate model calibration (p > 0.05 → no evidence of miscalibration). The Brier scores were 0.156 (apparent) and 0.176 (LOOCV). Table 6 presents the results of the calibration test.
Figure 3 presents the apparent calibration plot of the predictive model for type 2 diabetes mellitus (T2DM), displaying the observed T2DM fraction against the mean predicted probability across decile groups. The dashed diagonal represents perfect calibration. The Hosmer–Lemeshow test yielded χ2 = 10.51 (p = 0.197), indicating no statistically significant departure from perfect calibration. The Brier Score of 0.156 reflects acceptable overall predictive accuracy. Visual inspection reveals that the model tends to overestimate risk in the lower predicted-probability range (approximately 0.2–0.4), as the observed fractions fall notably below the diagonal.
Conversely, in the mid-to-high probability range (0.5–1.0), observed fractions cluster around 0.85–0.86, consistently above the calibration line, suggesting a systematic underestimation of risk at higher predicted values. Overall, these results indicate adequate but imperfect calibration at the apparent level, with the model performing best in the upper probability strata of the population.
The discriminatory performance of the three-predictor logistic regression model is illustrated in Figure 4. The apparent ROC curve yielded an AUC of 0.792 (95% CI 0.688–0.895), indicating acceptable discrimination between T2DM cases (n = 47) and controls (n = 24) in the full sample (N = 71; prevalence = 66.2%). To account for overfitting in this moderate-sized sample, leave-one-out cross-validation (LOOCV) was applied, producing an AUC of 0.736 (95% CI 0.602–0.871). The modest reduction from the apparent to the cross-validated AUC (ΔAUC = 0.056) suggests only mild optimism in the apparent estimate, supporting the generalizability of the model’s discriminatory ability.
Both AUC values remained substantially above the reference of 0.50, confirming that the model performs better than chance across validation strategies.
Demographics and physiological variables of individuals with diabetes and control subjects. Plus–minus values are means and standard deviation. NA: not applicable.
| Variable | Individuals with T2DM n = 56 (68.3%) (Mean ± SD) | Controls n = 26 (31.7%) (Mean ± SD) | p-Value |
|---|---|---|---|
| Gender (f/m) % | 44/56 | 39/61 | NA |
| Age (years) | 58.39 ± 7.55 | 54.88 ± 8.3 | 0.040 |
| BMI (kg/m2) | 28.11 ± 3.32 | 26.02 ± 3.22 | 0.025 |
| Education level (1–5) | 1.40 ± 1.10 | 1.50 ± 1.20 | 0.47 |
| HbA1c (%) | 8.30 ± 2.0 | 5.00 ± 0.60 | <0.001 |
Age-adjusted group comparisons (ANCOVA).
| Variable | n | T2DM Mean ± SD | Ctrl Mean ± SD | p (MWU) | q (FDR) | F (ANCOVA) | p (ANCOVA) | q_FDR (ANCOVA) |
|---|---|---|---|---|---|---|---|---|
| VL4 (km/h) | 74 | 1.61 ± 0.33 | 2.00 ± 0.58 | 0.0027 | 0.0061 | 12.65 | 0.0004 *** | 0.0018 |
| Vitamin D (ng/mL) | 79 | 71.4 ± 53.6 | 141.9 ± 201.8 | 0.790 | 0.790 | 4.81 | 0.0283 * | 0.0399 |
| Systolic BP (mmHg) | 82 | 141.4 ± 17.4 | 127.5 ± 15.5 | 0.0011 | 0.0033 | 9.24 | 0.0024 ** | 0.0072 |
| BMI (kg/m2) | 82 | 27.83 ± 3.23 | 25.99 ± 3.62 | 0.0168 | 0.0302 | 6.36 | 0.0117 * | 0.0263 |
| Resting HR (bpm) | 82 | 76.55 ± 10.56 | 71.65 ± 9.52 | 0.0554 | 0.0712 | 4.66 | 0.0310 * | 0.0399 |
| Resting Lactate | 82 | 2.02 ± 0.53 | 1.75 ± 0.37 | 0.0385 | 0.0578 | 5.35 | 0.0207 * | 0.0373 |
| Max Lactate | 82 | 6.44 ± 2.02 | 6.98 ± 2.03 | 0.378 | 0.425 | 0.20 | 0.657 | 0.657 |
| Vmax (km/h) | 82 | 1.88 ± 0.33 | 2.34 ± 0.49 | 0.0001 | 0.0009 | 20.92 | <0.0001 *** | <0.0001 |
| VL2 (km/h) | 81 | 2.46 ± 11.4 | 1.30 ± 0.47 | 0.0011 | 0.0033 | 0.35 | 0.552 | 0.621 |
Note: One-way ANCOVA with age as a covariate, comparing T2DM vs. control on key physiological variables. FDR correction applied (Benjamini–Hochberg). Unadjusted (MWU) and age-adjusted (ANCOVA) p-values are reported. * p < 0.05; ** p < 0.01; *** p < 0.001. FDR = Benjamini–Hochberg correction.
Quartile-based analysis for T2DM classification.
| Quartile | VL4 Range | N | T2DM | Control | p (Fisher) | OR | 95% CI | Cliff’s δ |
|---|---|---|---|---|---|---|---|---|
| Q1 | ≤1.445 km/h | 19 | 15 | 4 | 0.399 | 2.012 | (0.595–6.806) | −0.033 |
| Q2 | 1.445–1.735 km/h | 18 | 13 | 5 | 0.780 | 1.270 | (0.400–4.034) | −0.123 |
| Q3 | 1.735–1.972 km/h | 18 | 13 | 5 | 0.780 | 1.270 | (0.400–4.034) | −0.446 |
| Q4 | >1.972 km/h | 19 | 7 | 12 | 0.0015 ** | 0.167 | (0.055–0.503) | −0.595 |
Note: Quartile analyses are based on n = 74 participants with complete Vel_Lactato4 data; 8 participants with missing Vel_Lactato4 were excluded from quartile assignment. Overall descriptive statistics and the logistic regression model use the full enrolled sample (N = 82) and complete-case sample (N = 71), respectively.
Model performance metrics.
| Metric | Apparent (t = 0.50) | 95% CI | Optimal (t = 0.45) | LOOCV (t = 0.50) | LOOCV 95% CI |
|---|---|---|---|---|---|
| Accuracy | 0.831 | (0.727–0.901) | 0.845 | 0.761 | — |
| Sensitivity | 0.957 | (0.858–0.988) | 0.979 | 0.872 | — |
| Specificity | 0.583 | (0.388–0.755) | 0.583 | 0.542 | — |
| Precision (PPV) | 0.818 | — | 0.821 | — | — |
| NPV | 0.875 | — | 0.933 | — | — |
| F1-Score | 0.882 | — | 0.893 | — | — |
| AUC | 0.792 | (0.688–0.895) | — | 0.736 | (0.602–0.871) |
| Gini coefficient | 0.583 | — | — | 0.472 | — |
| Brier score | 0.156 | — | — | 0.176 | — |
| Miss rate (%) | 4.3% | — | 2.1% | — | — |
Notes: High sensitivity (95.7%) with moderate specificity (58.3%) at t = 0.50 reflects the high T2DM prevalence (68.3%) in the study sample. LOOCV AUC = 0.736 confirms model generalizability. All metrics were computed on the complete-case dataset (N = 71). The optimal threshold was selected by Youden’s J index (maximizing Sensitivity + Specificity − 1). This note refers to the complete-case analytical sample (N = 71, 47 T2DM/24 controls). Descriptive statistics in the main text reflect the full enrolled sample (N = 82, 56 T2DM/26 controls).
Logistic regression model coefficients, standard errors, odds ratios, variance inflation factors, fit statistics, and confusion matrix (complete-case sample, N = 71).
| Predictor | β | SE | OR | 95% CI | VIF | p-Value |
|---|---|---|---|---|---|---|
| Intercept | 9.2259 | 5.4123 | 10,157.2807 | (0.2511, 410,945,517.86) | — | 0.0883 |
| DER_Systole | −0.1078 | 0.0437 | 0.8978 | (0.8241, 0.9782) | 1.170 | 0.0137 |
| VIT_D | 0.0116 | 0.0050 | 1.0116 | (1.0018, 1.0215) | 1.027 | 0.0202 |
| Vel_Lactato2 | 2.3245 | 1.1721 | 10.2215 | (1.0276, 101.6748) | 1.143 | 0.0473 |
| Model Fit Statistics | ||||||
| AIC | 37.4829 | — | — | — | — | — |
| Null deviance (df = 46) | 57.2508 | — | — | — | — | — |
| Residual deviance (df = 43) | 29.4829 | — | — | — | — | — |
| Confusion Matrix (Optimal Threshold t = 0.45, N = 47) | ||||||
| Predicted Diabetic | Predicted Non-Diabetic | — | — | — | — | |
| Actual Diabetic (n = 33) | TP = 30 (90.9%) | FN = 3 (9.1%) | — | — | — | — |
| Actual Non-Diabetic (n = 14) | FP = 4 (28.6%) | TN = 10 (71.4%) | — | — | — | — |
The Hosmer–Lemeshow tests, values, and interpretations.
| Calibration Test | Value | Interpretation |
|---|---|---|
| Hosmer–Lemeshow χ2 (g = 10) | 10.51 | — |
| Hosmer–Lemeshow p-value | 0.197 | Adequate calibration (p > 0.05) |
| Brier score (apparent) | 0.156 | Lower is better (0 = perfect) |
| Brier score (LOOCV) | 0.176 | Slightly higher, expected for CV |
Conclusions
The study findings demonstrate that the integration of exercise stress test lactate curves with logistic regression modeling serves as a suitable exploratory approach with moderate discriminatory capacity for detecting type 2 diabetes mellitus. The quartile-based analysis, in which participants were stratified by their maximum speed at the lactate threshold (4 mmol/L), revealed that physiological and biochemical differences between diabetic and non-diabetic individuals are more pronounced among those with higher aerobic capacity (Q4), with 12.8% of tests showing significant differences in the highest quartile compared with 6.2–9.8% in lower fitness quartiles.
This work demonstrates that VL4 is significantly lower in T2DM individuals compared with controls (p = 7.98 × 10−15) but, as a cross-sectional study, cannot establish whether altered lactate kinetics precede diabetes onset. Prospective longitudinal studies are required to evaluate the predictive value of VL4 for incident T2DM.
Comprehensive ANOVA (1428 tests) identified key discriminatory variables, including glycemic control markers (HbA1c, fasting glucose), cardiovascular parameters (systolic blood pressure), and biomarkers (homocysteine, BDNF, vitamin D). The logistic regression model, incorporating systolic blood pressure (negative association), vitamin D (positive association), and lactate velocity at 2 mmol/L (positive association), achieved moderate discriminatory performance, with an AUC of 0.792 and a Gini coefficient of 0.583.
The model’s performance characteristics—84.5% accuracy, 97.9% sensitivity, 58.3% specificity, 82.1% precision, and 93.3% negative predictive value—indicate a moderate overall classification ability with notably high sensitivity (97.9%). This performance profile is well-suited to hypothesis-generating evidence applications, in which minimizing false positives is important and the occurrence of some false negatives, which can be captured through confirmatory testing, is accepted. It is necessary to increase the model’s specificity by using indicators that improve it in future studies.
The findings have several important implications:
Functional metabolic assessment: Exercise stress testing can be used for a dynamic, integrated evaluation of metabolic function that may complement static biochemical markers in diabetes detection and risk stratification.
Fitness-dependent metabolic phenotypes: The quartile-based analysis reveals that the metabolic distinctions between diabetic and non-diabetic individuals are modulated by aerobic fitness, suggesting that fitness level should be considered in diabetes hypothesis-generating evidence and risk assessment.
Multi-dimensional risk profiling: The integration of exercise performance, cardiovascular responses, and biomarkers provides a comprehensive metabolic profile that captures multiple aspects of diabetes pathophysiology.
Clinical utility: The model’s adequate discriminatory power (AUC = 0.792) suggests its potential clinical utility as a hypothesis-generating evidence tool, particularly in settings where exercise testing is already performed (e.g., sports medicine, cardiac rehabilitation, preventive health programs).
Research directions: The findings highlight the need for prospective studies to evaluate the model’s ability to predict incident diabetes, external validation in diverse populations, mechanistic studies to elucidate the physiological basis of the identified associations, and cost-effectiveness analysis to inform clinical implementation decisions.
In conclusion, combining exercise stress test lactate curves with logistic regression modeling is a promising approach for diabetes detection that warrants further investigation and validation. While not intended to replace established diagnostic methods, this approach could serve as a valuable complementary tool for cross-sectional identification, risk stratification, and personalized diabetes prevention strategies, particularly in populations undergoing exercise testing for other clinical or fitness-related purposes. The moderate discriminatory performance achieved in this study (AUC = 0.792) provides preliminary proof-of-concept evidence supporting continued development and validation of this innovative approach to collecting diabetes hypothesis-generating evidence.
Source: 5. Conclusions Source: 5. Conclusions Source: 5. Conclusions Source: 5. Conclusions Source: 5. Conclusions Source: 5. ConclusionsAuthors’ abstract
Objective:
This study aimed to evaluate the utility of exercise stress test lactate curves combined with logistic regression modeling for the detection of type 2 diabetes mellitus (T2DM) using quartile-based stratification of maximum speed at the lactate threshold (4 mmol/L).
Methods:
A cross-sectional study was conducted comparing T2DM patients and healthy controls. Lactate levels were measured in participants undergoing standardized exercise stress testing, with the lactate threshold set at 4 mmol/L. Subjects were stratified into quartiles (Q1–Q4) based on their maximum speed at the lactate threshold. Analysis of variance (ANOVA) was performed across 1428 tests examining physiological, biochemical, cognitive, and biomarker variables. Significant predictors identified through variable-selection procedures were incorporated into a logistic regression model.
Results:
ANOVA revealed 126 significant differences (8.8% overall) between T2DM patients and controls across all quartiles, with Q4 demonstrating the highest significance rate (12.8%, 46/358 tests). Key discriminatory variables included HbA1c (p < 0.01 in Q2, Q3, Q4), fasting glucose (p < 0.05 in Q2, Q3, Q4), systolic blood pressure (DER Systole, p < 0.05 across multiple quartiles), homocysteine (p < 0.01 in Q4), and brain-derived neurotrophic factor (BDNF, p < 0.05 in Q4). The logistic regression model, developed on a sample with 68.3% diabetes prevalence, identified three significant predictors: DER Systole (negative association), vitamin D (VIT_D, positive association), and lactate velocity (Vel_Lactato2, positive association). The model achieved moderate performance, with 84.5% accuracy, 97.9% sensitivity, 58.3% specificity, 82.1% precision, 93.3% negative predictive value, an F1-score of 0.882, an area under the ROC curve (AUC) of 0.792, and a Gini coefficient of 0.583.
Conclusions:
The integration of exercise stress test lactate curves with logistic regression modeling provides an adequate, minimally invasive tool for T2DM detection. The quartile-based analysis reveals that physiological and biochemical differences between diabetic and non-diabetic individuals are more pronounced among those with higher aerobic capacity (Q4). The predictive model demonstrates adequate discriminatory power (AUC = 0.792) and represents an exploratory hypothesis-generating approach for diabetes risk stratification in clinical and sports medicine settings.
Read the full paper
1. Introduction
Type 2 diabetes mellitus (T2DM) is one of the most pressing global health challenges of the 21st century. As of 2025, T2DM affects over 589 million adults worldwide, with projections estimating 853 million cases by 2050 [1]. This metabolic disorder is characterized by chronic hyperglycemia resulting from insulin resistance and progressive β-cell dysfunction, leading to severe micro- and macrovascular complications, including retinopathy, nephropathy, neuropathy, cardiovascular disease, and stroke [2]. The substantial morbidity, mortality, and economic burden associated with T2DM underscore the critical importance of early detection and intervention strategies.
Traditional diagnostic approaches for T2DM rely primarily on biochemical markers such as fasting plasma glucose, oral glucose tolerance testing, and glycated hemoglobin (HbA1c) [3]. While these methods are well-established and clinically validated, they represent static assessments of glycemic control that may not capture the dynamic metabolic alterations occurring during physiological stress. Furthermore, significant metabolic dysfunction has often already occurred by the time conventional diagnostic criteria are met, potentially limiting the effectiveness of early interventions [4].
Exercise stress testing has emerged as a valuable tool for assessing metabolic function and cardiovascular health, providing insights into the integrated physiological response to increased energy demands [5]. During exercise, the transition from aerobic to anaerobic metabolism is marked by the accumulation of blood lactate, with the lactate threshold—typically defined as the exercise intensity at which blood lactate concentration reaches 4 mmol/L—serving as a key indicator of aerobic capacity and metabolic efficiency [6]. In individuals with T2DM, alterations in glucose metabolism, mitochondrial function, and oxidative capacity can significantly impact lactate kinetics during exercise, potentially providing a functional biomarker for disease detection [7].
Epidemiological studies have documented the relationship between aerobic fitness, lactate metabolism, and diabetes risk, with higher cardiorespiratory fitness associated with reduced T2DM incidence [8]. However, the potential utility of exercise-derived lactate curves combined with advanced statistical modeling for diabetes detection remains underexplored. To this end, logistic regression, a widely used statistical technique for binary classification, offers a useful context for predicting disease status by integrating multiple physiological and biochemical variables [9].
The present study addresses this gap by investigating the application of exercise stress test lactate curves combined with logistic regression modeling for T2DM detection. Specifically, we stratified participants into quartiles based on their maximum speed achieved at the lactate threshold (4 mmol/L) and conducted a comprehensive variance analysis across physiological, biochemical, cognitive, and biomarker variables. Our objectives were threefold: (1) to identify variables that significantly differentiate T2DM patients from healthy controls across different fitness levels, (2) to develop a parsimonious logistic regression model for diabetes classification, and (3) to evaluate the clinical utility of this approach through rigorous performance assessment.
We hypothesized that quartile-based stratification would reveal fitness-dependent differences in the metabolic and physiological profiles of diabetic versus non-diabetic individuals and that the integration of exercise-derived parameters with biochemical markers would yield superior diagnostic performance.
1.1. Background and Theoretical Foundations
1.1.1. Metabolic Alterations in Type 2 Diabetes
Type 2 diabetes mellitus is fundamentally a disorder of energy metabolism characterized by impaired insulin signaling, reduced glucose uptake in peripheral tissues, and dysregulated hepatic glucose production [10]. At the cellular level, insulin resistance in skeletal muscle—the primary site of insulin-mediated glucose disposal—results from defects in insulin receptor substrate signaling, glucose transporter (GLUT4) translocation, and mitochondrial oxidative phosphorylation [11]. These metabolic perturbations have profound implications for substrate utilization during exercise, affecting carbohydrate and lipid oxidation pathways.
1.1.2. Lactate Metabolism and Exercise Physiology
Lactate production during exercise reflects the balance between glycolytic flux and mitochondrial oxidative capacity [12]. The lactate threshold, traditionally defined as the exercise intensity at which blood lactate begins to accumulate above resting levels, represents a critical metabolic transition point involving multiple physiological systems and factors, including cardiovascular function, muscle fiber type composition, mitochondrial density, and enzymatic activity [13]. In healthy individuals, the lactate threshold typically occurs at 50–70% of maximal oxygen uptake (VO2max), with higher thresholds indicating superior aerobic fitness [14].
In individuals with T2DM, several factors may alter lactate kinetics during exercise. Impaired mitochondrial function and reduced oxidative enzyme activity in skeletal muscle can shift the balance toward glycolytic metabolism, potentially leading to earlier lactate accumulation [15]. Conversely, reduced glycolytic capacity due to impaired glucose uptake may result in blunted lactate responses [16]. Additionally, alterations in lactate clearance by the liver and other tissues may affect blood lactate concentrations during and after exercise, leading to lactate accumulation in the early stages of exercise [17].
1.1.3. Aerobic Fitness and Diabetes Risk
Epidemiological evidence consistently demonstrates that cardiorespiratory fitness is inversely related to T2DM risk [18]. The mechanisms underlying this protective effect are multifactorial, including improved insulin sensitivity, enhanced mitochondrial biogenesis, favorable changes in body composition, reduced systemic inflammation, and beneficial effects on adipokine profiles [19]. Importantly, fitness-related metabolic adaptations may precede overt diabetes development, suggesting that exercise-based assessments could identify at-risk individuals before conventional diagnostic criteria are met [20].
1.1.4. Biomarkers and Systemic Factors in Diabetes
Beyond traditional glycemic markers, emerging evidence implicates various biomarkers in diabetes pathophysiology and risk stratification. Brain-derived neurotrophic factor (BDNF), a neurotrophins involved in neuronal survival and plasticity, has been linked to metabolic regulation, with reduced levels observed in T2DM patients [21]. Homocysteine, an amino acid metabolite, is elevated in diabetes and associated with vascular complications [22], and vitamin D deficiency has been implicated in insulin resistance and β-cell dysfunction [23]. Integrating these systemic factors with exercise-derived parameters may enhance diabetes detection and risk stratification.
1.1.5. Logistic Regression in Clinical Classification
Logistic regression provides a probabilistic framework for binary classification that is particularly well-suited to clinical applications [24]. Unlike machine learning algorithms, which can function as “black boxes,” logistic regression offers interpretable coefficients that quantify the association between predictor variables and outcome probability, facilitating clinical understanding and decision-making [25]. This technique accommodates continuous and categorical predictors, handles non-linear relationships through transformations, and performs adequately even with moderate sample sizes [26]. Performance evaluation through metrics such as sensitivity, specificity, and area under the receiver operating characteristic curve (AUC-ROC), along with calibration assessment, enables comprehensive model validation [27].
2. Materials and Methods
2.1. Study Design and Participants
The study was conducted in accordance with the Declaration of Helsinki and approved by the Ethics Committee of Universidad Pedagógica y Tecnológica de Colombia. (date of approval: 27 April 2020).
This cross-sectional observational study included 82 participants: 56 individuals diagnosed with type 2 diabetes mellitus (T2DM) and 26 control subjects without diabetes. Participants ranged in age from 37 to 70 years; 48% were male and 52% were female. The mean ages were 58.39 ± 7.55 and 54.88 ± 8.30 years in the T2DM and control groups, respectively. Participants were recruited from clinical and community settings, with T2DM diagnoses confirmed according to American Diabetes Association criteria (fasting plasma glucose ≥ 126 mg/dL, HbA1c ≥ 6.5%, or current use of antidiabetic medications) [3].
Exclusion criteria included type 1 diabetes, acute diabetic complications, severe cardiovascular disease precluding exercise testing, musculoskeletal limitations preventing treadmill exercise, and pregnancy. Controls were defined as individuals without a diabetes diagnosis and with fasting glucose < 100 mg/dL and HbA1c < 5.7%. All participants provided written informed consent, and the study protocol was approved by the institutional ethics committee. Figure 1 shows the number of individuals in the study, as well as those who were excluded or included based on the analysis performed.
2.2. Exercise Stress Test Protocol
All participants underwent a standardized incremental exercise stress test on a motorized treadmill. The protocol consisted of progressive increases in speed and/or incline (1%) at regular intervals (3 min per stage) until volitional exhaustion or achievement of predetermined termination criteria (e.g., severe symptoms, abnormal cardiovascular responses, or attainment of age-predicted maximal heart rate). Continuously monitored variables included heart rate via 12-lead electrocardiography; blood pressure, measured at each stage; and subjective ratings of perceived exertion using the Borg scale [28].
Tests were supervised by trained exercise physiologists and medical personnel, with emergency equipment immediately available.
Stage duration, speed increments, and grade increments are chosen to produce a progressive and interpretable rise in metabolic demand while targeting a specific overall test duration (typically 8–12 min for maximal tests). Protocol designers frequently use 3-min stages as a standard time base and 1 km·h−1 speed steps for running-focused tests, but continuous (ramped) protocols use smaller, more frequent changes to smooth cardiorespiratory responses. Figure 2 shows how the “Exercise Stress Test” procedure was carried out and how the individuals were grouped.
2.3. Lactate Measurement and Quartile Stratification
Capillary blood samples were obtained from the earlobe at rest, at the end of each exercise stage, and during recovery. Blood lactate concentration was measured using a validated portable lactate analyzer with an enzymatic-amperometry system [29]. The lactate threshold was operationally defined as the exercise intensity (speed in km/h) at which blood lactate concentration reached 4 mmol/L, a widely accepted fixed threshold corresponding to the transition from predominantly aerobic to mixed aerobic–anaerobic metabolism [30].
The maximum speed achieved at the 4 mmol/L lactate threshold (Vel_Lactato4) served as the primary variable used for stratification. Participants were divided into quartiles (Q1–Q4) based on this parameter, with Q1 representing the lowest aerobic capacity (lowest speed at lactate threshold) and Q4 representing the highest (highest speed at lactate threshold). This quartile-based approach enabled examination of how fitness levels modulate the physiological and biochemical differences between diabetic and non-diabetic individuals.
2.4. Variable Assessment
A comprehensive battery of assessments was conducted to characterize participants across multiple domains.
Demographic and lifestyle variables: Age, gender, educational level, occupation, marital status, socioeconomic stratum, housing type, leisure-time physical activity, sports participation, and alcohol consumption were recorded via standardized questionnaires.
Anthropometric measurements: Body mass index (BMI) was calculated from measured height and weight (kg/m2).
Cardiovascular parameters: Resting heart rate (FC-Resting), maximum heart rate during exercise (FC-Maximum), resting systolic and diastolic blood pressure (DER-Systolic, DER-Diastolic), and exercise-related cardiovascular responses were recorded.
Biochemical markers: Fasting blood samples were analyzed for glycemic control markers (fasting glucose, HbA1c), lipid profile (total cholesterol, LDL, HDL, triglycerides), and renal function (serum creatinine).
Biomarkers: Serum concentrations of vitamin D (VIT-D), vitamin B12 (VIT-B12), homocysteine (HOMOCISTEINA), brain-derived neurotrophic factor (BDNF), leptin, interleukin-6 (IL-6), vascular endothelial growth factor (VEGF), tumor necrosis factor alpha (TNFα), interleukin-1 (IL1), total tau protein (T-TAU), and phosphorylated tau (P-TAU) were measured using validated immunoassay techniques.
Cognitive assessments: Cognitive function was evaluated using the Mini-Mental State Examination (MMSE), Word Recall Test, Symbol Digit Modalities Test, Digit Retention Test, Rey Complex Figure Test, and Stroop Color and Word Test Golden.
Exercise performance variables: In addition to speed at the lactate threshold, variables including maximum speed achieved, lactate velocity at 2 mmol/L, and other exercise-derived parameters were recorded (resting heart rate, heart rate at 4 mmol/L lactate, maximum heart rate, resting lactate, maximum lactate).
2.5. Statistical Analysis
2.5.1. Analysis of Variance (ANOVA)
For each quartile (Q1–Q4), independent-samples t-tests or Mann–Whitney U tests (depending on data distribution) were conducted to compare T2DM patients and healthy controls across all measured variables. Given the exploratory nature of the quartile-specific analyses and the large number of comparisons, statistical significance was set at α = 0.05 without adjustment for multiple comparisons, with the understanding that the findings would be interpreted in the context of biological plausibility and consistency across quartiles. A total of 1428 statistical tests were performed (357 variables × 4 quartiles), with results categorized as “Significant” (significant, p < 0.05) or “Non-Significant” (non-significant, p ≥ 0.05).
Adjusted q-values (Benjamini–Hochberg FDR correction) for all 1428 pairwise tests are reported in Supplementary Materials; all ANOVA findings should be interpreted as exploratory pending external replication.
2.5.2. Age-Adjusted Group Comparisons (ANCOVA)
One-way ANCOVA was performed with age as a covariate, comparing key physiological variables between the T2DM and control groups while adjusting for age. The Benjamini–Hochberg procedure was applied for FDR correction. Unadjusted (MWU) and age-adjusted (ANCOVA) p-values are reported.
2.5.3. Logistic Regression Model Development
A binary logistic regression model to predict diabetes status (0 = non-diabetic, 1 = diabetic) was developed using the entire sample. The modeling process involved several steps [31]:
Variable selection: Candidate predictors were identified based on biological plausibility, ANOVA results, and preliminary univariate hypothesis-generating evidence for potential screening utility. Multicollinearity was assessed using variance inflation factors (VIFs), with VIF > 5 indicating problematic collinearity requiring exclusion or transformation of the variable.
Leave-one-out cross-validation (LOOCV): This was performed on the sample (N = 82) for internal validation of the logistic regression model.
Complete-case analysis: Of the 82 enrolled participants, 71 had complete data for all three model predictors (DER_Systole, VIT_D, Vel_Lactato2). The remaining 11 participants (13.4%) were excluded due to missing values for one or more predictors (listwise deletion). The final logistic regression model was estimated on this complete-case sample (N = 71: 47 T2DM, 24 controls; prevalence = 66.2%).
A preliminary Little’s MCAR test applied to the participants with missing predictor values was non-significant (p > 0.05), supporting a Missing Completely At Random (MCAR) mechanism; the affected predictors each showed missing rates of ≤7% per individual variable. These findings justify the use of complete-case (listwise deletion) analysis.
Note on model metrics and validation: All performance metrics reported in this manuscript (AUC = 0.792, accuracy = 84.5%, sensitivity, specificity, Brier score, Hosmer–Lemeshow χ2) are derived exclusively from the complete-case sample (N = 71). No random-split (e.g., 70/30 train–test) partitioning was applied to generate the reported performance estimates. Leave-One-Out Cross-Validation (LOOCV) was the sole validation method applied.
- 3.
Model specification: Bidirectional stepwise logistic regression was performed. Variables were entered if they reduced the AIC and removed if their exclusion did not significantly increase the AIC (entry α = 0.10; removal p > 0.15). The final model retained three predictors: DER_Systole, VIT_D, and Vel_Lactato2.
- 4.
Model estimation: Maximum likelihood estimation was used to obtain regression coefficients, standard errors, and odds ratios. Model fit was assessed using the Akaike Information Criterion (AIC) and the deviance between the fitted model and the null model (intercept only).
- 5.
The Hosmer–Lemeshow test: This test was used to evaluate the calibration of logistic regression models.
- 6.
Probability prediction: For each individual, the predicted probability of diabetes was calculated using the following logistic function: P(Y = 1|X) = 1/(1 + exp(−[β0 + β1X1 + β2X2 + … + βkXk])), where β0 is the intercept, βi are the regression coefficients, and Xi are the predictor variables.
- 7.
Classification: A probability threshold of 0.50 was used to classify individuals as diabetic (p ≥ 0.50) or non-diabetic (p < 0.50), consistent with standard practice when class prevalence is not extremely imbalanced [32].
Model Performance Evaluation
Model performance was comprehensively evaluated using multiple metrics:
- •
Accuracy: Proportion of correct classifications (true positives + true negatives)/total sample.
- •
Sensitivity (Recall): Proportion of diabetic individuals correctly identified as having diabetes (true positives/[true positives + false negatives]).
- •
Specificity: Proportion of non-diabetic individuals correctly identified as not having diabetes (true negatives/[true negatives + false positives]).
- •
Precision (positive predictive value): Proportion of individuals predicted to have diabetes who actually have diabetes (true positives/[true positives + false positives]).
- •
Negative predictive value (NPV): Proportion of predicted non-diabetics who do not have diabetes (true negatives/[true negatives + false negatives]).
- •
F1-score: Harmonic mean of precision and sensitivity, calculated as 2 × (precision × sensitivity)/(precision + sensitivity).
- •
Area under the ROC curve (AUC): Measure of the model’s ability to discriminate between diabetic and non-diabetic individuals across all possible classification thresholds, with values ranging from 0.5 (no discrimination) to 1.0 (perfect discrimination). AUC values of 0.7–0.8 are considered acceptable, 0.8–0.9 adequate, and >0.9 preliminary [33].
- •
Gini coefficient: Related to AUC by the formula Gini = 2 × AUC − 1, providing an alternative measure of discriminatory power. It ranges from 0 (no discrimination) to 1 (perfect discrimination).
All statistical analyses were performed using R statistical software (version 4.0 or higher) with appropriate packages for logistic regression (stats, MASS) and performance evaluation (pROC, caret). The results are reported as means ± standard deviations for continuous variables and frequencies (percentages) for categorical variables, unless otherwise specified.
2.6. Use of Artificial Intelligence Tools in the Preparation of This Manuscript
The authors declare that SciSpace AI—an artificial intelligence platform specialized in scientific research and academic writing, which integrates capabilities such as literature search and synthesis across multiple scholarly databases, automated generation of research insights, figure creation, structured report writing, systematic literature review support, and manuscript assistance—was utilized in the preparation of specific manuscript sections: the Introduction, portions of the Discussion, and parts of the Results narrative. Figure 1, Figure 2 and Figure 3 were formatted through the data analysis pipeline with AI assistance; all statistical computations, data interpretation, and clinical conclusions were independently performed by the authors.
All AI-assisted content was cross-checked against primary data by all co-authors. The use of this tool was supervised and critically evaluated by the authors, who take full responsibility for the accuracy, integrity, and originality of the content. The final manuscript was reviewed, edited, and approved by all authors, in compliance with the editorial policies of MDPI and the journal Diagnostics, which permit AI assistance in writing provided it is disclosed and all authors take full responsibility for content accuracy and integrity.
3. Results
3.1. Descriptive Statistics
The demographic and physiological characteristics of the participants are presented in Table 1. The T2DM group consisted of 56 individuals, of whom 44% were men and 56% women. The control group included 26 individuals, 39% men and 61% women. The mean age was 58.39 ± 7.55 years in the T2DM group and 54.88 ± 8.3 years in the control group. The BMI was 28.11 ± 3.32 in the T2DM group and 26.02 ± 3.22 in the control group; the education level was 1.4 for the T2DM group and 1.5 for the control group; and HbA1c (%) concentration was 8.30 ± 2.0 in the T2DM group and 5.00 ± 0.60 in the control group.
As shown in Table 1, age, BMI, and HbA1c (%) exhibited statistically significant differences between the groups.
Given the statistically significant difference in age between the groups, an adjustment was made using an analysis of covariance (ANCOVA); the results are presented in Table 2.
After controlling for age as a covariate, one-way ANCOVA revealed statistically significant group differences in seven of the nine variables examined (all FDR-corrected via Benjamini–Hochberg) between T2DM and control participants. The strongest effects were observed for maximum running speed (Vmax: F = 20.92, p < 0.0001, q_FDR < 0.0001; T2DM: 1.88 ± 0.33 km/h vs. controls: 2.34 ± 0.49 km/h) and the fourth ventilatory lactate threshold (VL4: F = 12.65, p = 0.0004, q_FDR = 0.0018; T2DM: 1.61 ± 0.33 vs. 2.00 ± 0.58 km/h), which were both markedly lower in the T2DM group.
Systolic blood pressure was significantly elevated in T2DM participants (141.4 ± 17.4 vs. 127.5 ± 15.5 mmHg; F = 9.24, p = 0.0024), alongside higher BMI (27.83 ± 3.23 vs. 25.99 ± 3.62 kg/m2; F = 6.36, p = 0.0117), resting heart rate (76.55 ± 10.56 vs. 71.65 ± 9.52 bpm; F = 4.66, p = 0.0310), and resting lactate levels (2.02 ± 0.53 vs. 1.75 ± 0.37; F = 5.35, p = 0.0207). Vitamin D concentrations were significantly lower in the T2DM group after age adjustment (71.4 ± 53.6 vs. 141.9 ± 201.8 ng/mL; F = 4.81, p = 0.0283).
No significant age-adjusted differences in maximum lactate (F = 0.20, p = 0.657) or the second ventilatory threshold VL2 (F = 0.35, p = 0.552) were found.
3.2. ANOVA Findings Across Quartiles
A total of 1428 statistical tests were conducted across the four quartiles (Q1–Q4), comparing T2DM patients and healthy controls based on 357 variables spanning demographic, physiological, biochemical, cognitive, and biomarker domains. Of these tests, 126 yielded statistically significant differences (p < 0.05), representing an overall significance rate of 8.8%.
The distribution of significant findings varied systematically across quartiles, revealing a clear gradient related to aerobic fitness level:
- •
Q1 (lowest fitness): 22 significant differences out of 353 tests (6.2%);
- •
Q2: 35 significant differences out of 357 tests (9.8%);
- •
Q3: 23 significant differences out of 360 tests (6.4%);
- •
Q4 (highest fitness): 46 significant differences out of 358 tests (12.8%).
The highest proportion of significant differences was observed in Q4, the quartile representing individuals with the highest aerobic capacity (highest speed at lactate threshold). This pattern suggests that the physiological and biochemical distinctions between diabetic and non-diabetic individuals are most pronounced among those with superior fitness levels, potentially reflecting greater metabolic reserve and more distinct adaptive responses to exercise training. Table 3 summarizes the results obtained from the ANOVA statistical analysis by grouping by quartiles of the maximum speed at the lactate threshold of 4 mmol/L.
Analysis of the specific variables showing significant differences between T2DM patients and controls revealed several consistent patterns across quartiles, as well as quartile-specific findings.
In the results presented in Table 3, we observe an odds ratio (OR) of less than 1 (0.167) for Q4, indicating a lower probability of developing T2DM in this group. Furthermore, the p-value of 0.0015 obtained via Fisher’s exact test for Q4 remains significant after applying the Bonferroni correction (0.05 / 4 = 0.0125) for the four quartile-based comparisons, which suggests that this finding is robust. Additionally, an analysis of the raw proportions shows that the prevalence of T2DM decreases from 78.9% in Q1 to 72.2% in quartiles Q2 and Q3, falling further to 36.8% in Q4, compared to an overall rate of 48%.
3.3. Glycemic Control Markers
HbA1c emerged as a highly consistent discriminator, showing significant differences in Q2 (p = 0.00783), Q3 (p = 0.00783), and Q4 (p = 0.00783). This finding validates the expected relationship between glycemic control and diabetes status across fitness levels.
Fasting glucose similarly demonstrated significant differences in Q2 (p = 0.0358), Q3 (p = 0.0358), and Q4 (p = 0.0358), confirming its role as a fundamental diagnostic marker regardless of aerobic capacity.
3.4. Cardiovascular Parameters
Systolic blood pressure (DER Systole) showed significant differences across multiple quartiles and physiological conditions:
- -
Q1, resting heart rate condition: p = 0.00447;
- -
Q2, maximum speed condition: p = 0.0252;
- -
Q3, maximum speed condition: p = 0.0252;
- -
Q4, maximum speed condition: p = 0.0306.
The consistency of this finding across quartiles highlights the importance of blood pressure regulation in diabetes and suggests that the systolic pressure response to exercise may serve as a valuable discriminatory variable.
Diastolic blood pressure (DER Diastole) showed marginal significance in Q2 (p = 0.0692) and Q4 (p = 0.0692), indicating a weaker but potentially relevant association.
3.5. Biomarkers
Homocysteine (HOMOCISTEINA) was a particularly strong discriminator in Q4 (p = 0.00926), the highest fitness quartile. This finding suggests that homocysteine metabolism may be differentially affected by diabetes in individuals with higher aerobic capacity, potentially reflecting interactions between fitness, vascular function, and metabolic health.
Brain-derived neurotrophic factor (BDNF) showed significant differences in Q4 (p = 0.0211), indicating that this neurotrophin’s relationship with diabetes may be modulated by fitness level. Given BDNF’s roles in neuroplasticity, metabolic regulation, and exercise adaptation, this finding warrants further investigation.
Vitamin D (VIT_D) showed marginal significance in several quartiles, consistent with emerging evidence linking vitamin D status to insulin sensitivity and diabetes risk.
3.6. Anthropometric and Body Composition
Body mass index (BMI) showed significant differences in Q2 (p = 0.0252) and Q4 (p = 0.0252), reflecting the well-established association between obesity and T2DM risk.
3.7. Demography and Cognitive Function
Several cognitive measures showed significant differences in specific quartiles:
- -
Level of education: Q4, p = 0.0185;
- -
Thirty-minute delayed recall (Recuerdo_30_minutos): Q1, p = 0.0685 (marginal).
Various other cognitive measures showed quartile-specific patterns, suggesting potential interactions between diabetes, fitness, and cognitive function.
3.8. Lipid Profile
While traditional lipid markers (total cholesterol, LDL, HDL, triglycerides) showed some quartile-specific differences, they were less consistent than the differences in glycemic and cardiovascular parameters, possibly reflecting the heterogeneity of lipid profiles in T2DM and the influence of lipid-lowering medications.
3.9. Development of Logistic Regression Model
The logistic regression model was developed using the complete sample, in which the diabetes prevalence was 68.3% (68.3% diabetic, 31.7% non-diabetic). This moderate class imbalance was deemed acceptable for model estimation without requiring specialized sampling techniques.
Through a systematic variable-selection process incorporating biological plausibility, univariate hypothesis-generating evidence for potential screening utility, and stepwise selection procedures, three predictor variables were identified as significant contributors to diabetes classification:
DER Systolic (Systolic Blood Pressure): Negatively associated with diabetes probability (β < 0, p < 0.10). This counterintuitive finding may reflect medication effects, measurement context (e.g., specific exercise stage), or complex interactions with other model variables.
VIT_D (Vitamin D): Positively associated with diabetes probability (β > 0, p < 0.10). This finding conflicts with epidemiological evidence that generally suggests an inverse relationship between vitamin D and diabetes risk. The positive coefficient in this model may reflect reverse causation, confounding, or specific characteristics of the study sample.
Vel_Lactato2 (Speed at 2 mmol/L Lactate): Positively associated with diabetes probability (β > 0, p < 0.10). This finding suggests that, after controlling other variables, higher speed at the lower lactate threshold (2 mmol/L) is associated with increased diabetes probability, potentially reflecting altered lactate kinetics in diabetic individuals.
All three predictors were statistically significant or marginally significant at the α = 0.10 level, justifying their inclusion in the final model. The model demonstrated substantial improvement over the null model (intercept only), as evidenced by significantly reduced deviance and acceptable AIC values, confirming that the selected predictors meaningfully contribute to diabetes classification.
3.10. Model Performance Metrics
The logistic regression model demonstrated adequate overall performance across multiple evaluation metrics.
Classification Performance:
- -
Accuracy: 84.5%. The model correctly classified approximately 84.5% of all individuals.
- -
Sensitivity at the default threshold (t = 0.50): 95.7% (95% CI: 85.8–98.8%). At the Youden-optimal threshold (t = 0.45), sensitivity increased to 97.9%, reducing the miss rate to 2.1%.
- -
Specificity: 58.3%. The model correctly identified 58.3% of actual non-diabetic individuals, with a 41.7% false positive rate.
- -
Precision (positive predictive value): 81.8%. When the model predicted diabetes, it was correct 81.8% of the time.
- -
Negative predictive value: 87.5%. When the model predicted no diabetes, it was correct 87.5% of the time.
- -
F1-score: 0.882. This balanced measure of precision and sensitivity indicates good overall classification performance.
Discrimination Metrics:
- -
Area Under the ROC Curve (AUC): 0.792. This preliminary value indicates that the model has a 79% probability of correctly ranking a randomly selected diabetic individual higher in predicted probability than a randomly selected non-diabetic individual. AUC values above 0.7 are considered acceptable and indicate moderate discriminatory power [33].
- -
Gini coefficient: 0.583—calculated as 2 × AUC − 1 = 2 × 0.792 − 1 = 0.584 ≈ 0.583. This metric confirms the model’s moderate discriminatory ability.
The results for the model performance metrics are shown in Table 4.
The logistic regression model coefficients, standard errors, odds ratios, variance inflation factors, model fit statistics, and confusion matrix are presented in Table 5.
The present model was developed to predict the probability of a type 2 diabetes mellitus (T2DM) diagnosis using logistic regression. Its performance was evaluated across three conditions: the apparent (training) sample at the default decision threshold (t = 0.50), the optimal threshold (t = 0.45), and internal validation through Leave-one-out cross-validation (LOOCV).
At the default threshold of t = 0.50, the model yielded an overall accuracy of 84.5% (95% CI: 72.7–90.1%), correctly classifying most cases. The model demonstrated high sensitivity of 97.9% (95% CI: 85.8–98.8%), indicating that nearly all individuals with T2DM were correctly identified as positive. However, specificity was more moderate at 58.3% (95% CI: 38.8–75.5%), reflecting a limited capacity to correctly rule out individuals without the condition. The positive predictive value (PPV) was 81.8%, meaning that approximately 82% of cases flagged as positive by the model truly had T2DM, while the negative predictive value (NPV) of 87.5% indicates that negative classifications were reliably confirmed.
The F1-score of 0.882 reflects a strong harmonic mean between sensitivity and precision, further supporting the model’s overall classification performance.
The area under the receiver operating characteristic curve (AUC) at the apparent level was 0.792 (95% CI: 0.688–0.895), indicating good discriminative ability to distinguish between individuals with and without T2DM. This corresponds to a Gini coefficient of 0.583—a derived measure (2 × AUC − 1)—confirming moderate-to-good model discrimination, where a value of 1 represents perfect and 0 represents chance-level classification.
Lowering the decision threshold to t = 0.45 improved overall accuracy to 84.5% and further increased sensitivity to 97.9%, while specificity remained unchanged at 58.3%. Notably, the miss rate was reduced from 4.3% (at t = 0.50) to 2.1% (at t = 0.45), and the NPV improved to 93.3%, indicating greater confidence in ruling out T2DM in individuals without the condition. This threshold adjustment is clinically meaningful, as minimizing false negatives is crucial in a hypothesis-generating evidence context for T2DM—where undetected cases may lead to delayed treatment and adverse outcomes.
The F1-score at the optimal threshold (0.893) reflects a marginal improvement in the balance between sensitivity and precision.
Internal validation via LOOCV at t = 0.50 yielded an accuracy of 76.1%, sensitivity of 87.2%, and specificity of 54.2%. The AUC under LOOCV was 0.736 (95% CI: 0.602–0.871), with a corresponding Gini coefficient of 0.472. The reduction in performance metrics relative to the apparent estimates—particularly in AUC (from 0.792 to 0.736) and accuracy (from 83.1% to 76.1%)—reflects the expected degree of optimism inherent in training sample estimates, which is anticipated and acceptable in clinical classification modeling. Despite this reduction, the LOOCV results confirm that the model retains meaningful discriminative capacity when applied to unseen observations.
Calibration was assessed through the Brier score, which was 0.156 in the apparent sample and 0.176 under LOOCV. Both values indicate that the model’s predicted probabilities are reasonably well-aligned with the observed outcomes, as lower Brier scores (ranging from 0 for perfect calibration to 1 for complete miscalibration) reflect better probabilistic accuracy. The minimal increase from apparent to LOOCV results suggests that the model does not suffer from severe overfitting and that its probabilistic classification generalizes to new cases.
The intercept being statistically close to zero is reassuring but insufficient evidence of good calibration on its own. The zig-zag pattern of decile points—particularly the large jump from the lowest decile (observed ≈ 0) to the remaining eight deciles (all clustered near observed ≈ 0.86)—suggests the model may need recalibration (via intercept updating or Platt scaling) if applied to subpopulations at the tails of the predicted probability distribution.
The Brier score of 0.156 is consistent with this: moderate overall calibration accuracy, but with localized deviations not captured by a single intercept summary.
Taken together, these results indicate that the logistic regression model performs adequately for the diagnosis of T2DM, with notably high sensitivity—a clinically desirable property in a hypothesis-generating evidence tool where minimizing false negatives is prioritized. The optimal threshold of t = 0.45 is recommended for clinical deployment, as it further reduces the miss rate while preserving acceptable precision. The LOOCV results provide evidence that the model generalizes reasonably well to samples beyond the training set; however, external validation in an independent cohort is advisable to confirm its clinical utility prior to routine implementation.
Model calibration: The Hosmer–Lemeshow test (g = 10 groups) yielded χ2 = 10.51, p = 0.197, indicating adequate model calibration (p > 0.05 → no evidence of miscalibration). The Brier scores were 0.156 (apparent) and 0.176 (LOOCV). Table 6 presents the results of the calibration test.
Figure 3 presents the apparent calibration plot of the predictive model for type 2 diabetes mellitus (T2DM), displaying the observed T2DM fraction against the mean predicted probability across decile groups. The dashed diagonal represents perfect calibration. The Hosmer–Lemeshow test yielded χ2 = 10.51 (p = 0.197), indicating no statistically significant departure from perfect calibration. The Brier Score of 0.156 reflects acceptable overall predictive accuracy. Visual inspection reveals that the model tends to overestimate risk in the lower predicted-probability range (approximately 0.2–0.4), as the observed fractions fall notably below the diagonal.
Conversely, in the mid-to-high probability range (0.5–1.0), observed fractions cluster around 0.85–0.86, consistently above the calibration line, suggesting a systematic underestimation of risk at higher predicted values. Overall, these results indicate adequate but imperfect calibration at the apparent level, with the model performing best in the upper probability strata of the population.
The discriminatory performance of the three-predictor logistic regression model is illustrated in Figure 4. The apparent ROC curve yielded an AUC of 0.792 (95% CI 0.688–0.895), indicating acceptable discrimination between T2DM cases (n = 47) and controls (n = 24) in the full sample (N = 71; prevalence = 66.2%). To account for overfitting in this moderate-sized sample, leave-one-out cross-validation (LOOCV) was applied, producing an AUC of 0.736 (95% CI 0.602–0.871). The modest reduction from the apparent to the cross-validated AUC (ΔAUC = 0.056) suggests only mild optimism in the apparent estimate, supporting the generalizability of the model’s discriminatory ability.
Both AUC values remained substantially above the reference of 0.50, confirming that the model performs better than chance across validation strategies.
4. Discussion
4.1. Physiological Basis for Lactate–Speed Relationship in Diabetes
The present study’s quartile-based analysis revealed a systematic pattern whereby physiological and biochemical differences between diabetic and non-diabetic individuals were more pronounced among those with higher aerobic capacity (Q4). This finding has important physiological implications for understanding the metabolic alterations in T2DM and their interaction with fitness level.
The lactate threshold, defined here as the participant’s speed when they reach a blood lactate concentration of 4 mmol/L, represents a critical metabolic transition point involving multiple physiological systems [13]. In healthy individuals, higher speeds at the lactate threshold reflect superior mitochondrial oxidative capacity, greater capillary density, favorable muscle fiber type composition (higher proportion of oxidative type I fibers), and enhanced lactate clearance mechanisms [34]. In individuals with T2DM, several pathophysiological mechanisms may alter this relationship.
First, skeletal muscle insulin resistance impairs glucose uptake and glycogen synthesis, potentially affecting substrate availability for glycolysis during exercise [11]. Second, mitochondrial dysfunction—a hallmark of T2DM—reduces oxidative phosphorylation capacity, potentially shifting the balance toward glycolytic metabolism and earlier lactate accumulation [15]. Third, alterations in muscle fiber type distribution may affect lactate production kinetics, with some studies reporting a reduced proportion of type I fibers in diabetic individuals [35]. Fourth, impaired lactate clearance by the liver and other tissues may contribute to altered blood lactate dynamics [17]. Figure 5 shows the physiological differences in lactate metabolism between controls and individuals with T2DM.
The observation that Q4 (highest fitness) showed the greatest proportion of significant differences (12.8%) between diabetic and non-diabetic individuals suggests that higher aerobic capacity may amplify or unmask metabolic distinctions. This could reflect several mechanisms: (1) individuals with higher fitness may have greater metabolic reserve, making diabetes-related impairments more detectable through stress testing; (2) the adaptive responses to exercise training may differ between diabetic and non-diabetic individuals, creating divergent fitness-related phenotypes; or (3) higher fitness levels may be associated with better metabolic health in individuals without diabetes, while those with diabetes, despite achieving higher absolute fitness, still exhibit an underlying metabolic dysfunction that becomes apparent under physiological stress.
4.2. Age-Adjusted Group Comparisons (ANCOVA)
The pattern of age-adjusted group differences points to a consistent picture of reduced cardiorespiratory fitness and heightened cardiometabolic risk in individuals with T2DM. The substantially lower Vmax and VL4 in T2DM participants indicate impaired aerobic capacity and a reduced lactate threshold, which are well-established consequences of insulin resistance and mitochondrial dysfunction which compromise oxidative metabolism in skeletal muscle. Importantly, these differences persisted after statistically controlling for age, suggesting that the aerobic impairment is attributable to the disease itself rather than to differences in age distribution between groups.
The significantly higher systolic blood pressure, resting heart rate, and BMI in the T2DM group collectively reflect the cardiovascular and metabolic burden typically associated with the condition, including sympathetic overactivation and increased peripheral resistance. Elevated resting lactate in individuals with T2DM is consistent with a shift toward anaerobic glycolysis even at rest, possibly reflecting impaired glucose uptake and utilization. The lower vitamin D levels observed in the T2DM group are noteworthy, as vitamin D deficiency has been linked to insulin resistance, beta-cell dysfunction, and systemic inflammation, suggesting a potential bidirectional relationship with disease severity.
In contrast, the absence of significant group differences in maximal lactate and VL2 may indicate that peak anaerobic capacity is relatively preserved in T2DM and that the primary limitation lies in the aerobic domain.
4.3. Clinical Significance of Identified Biomarkers
The ANOVA results identified several biomarkers that significantly differentiated diabetic from non-diabetic individuals, with some showing particularly strong associations in the highest fitness quartile.
Homocysteine emerged as a significant discriminator in Q4 (p = 0.00926). Elevated homocysteine is associated with endothelial dysfunction, oxidative stress, and increased cardiovascular risk in diabetes [22]. The finding that this association is strongest in the highest fitness quartile is intriguing and has several possible explanations: (1) exercise-induced changes in homocysteine metabolism may differ between diabetic and non-diabetic individuals; (2) higher fitness levels may be associated with better B vitamin status in people without diabetes but not in those with diabetes, affecting homocysteine levels; or (3) the vascular protective effects of exercise may be attenuated in people with diabetes, leading to persistent homocysteine elevation despite high fitness levels.
Brain-derived neurotrophic factor (BDNF) showed significant differences in Q4 (p = 0.0211). BDNF is a neurotrophin that plays crucial roles in neuroplasticity, cognitive function, and metabolic regulation [21]. Exercise is a potent stimulus of BDNF production, and reduced BDNF levels have been reported in T2DM patients [36]. The fitness-dependent nature of this association suggests that the BDNF response to exercise training may be impaired in diabetes, potentially contributing to cognitive and metabolic dysfunction. This finding aligns with emerging evidence linking BDNF to insulin sensitivity and glucose metabolism [37].
The results regarding homocysteine and BDNF concentrations should be considered exploratory or hypothesis-generating, given the characteristics of the study.
Vitamin D was identified as a significant predictor in the logistic regression model, though its positive association with diabetes probability was unexpected, as epidemiological studies generally report inverse associations between vitamin D status and diabetes risk [23]. The positive coefficient in our model may be explained by several factors: (1) reverse causation, whereby diabetic individuals may have received vitamin D supplementation as part of clinical management; (2) confounding by unmeasured variables such as sun exposure, dietary patterns, or seasonal variation; (3) complex interactions with other model variables; or (4) specific characteristics of the study sample.
This finding highlights the importance of cautious interpretation of multivariable models and the need for prospective studies to clarify causal relationships.
Systolic blood pressure (DER Systolic) was consistently significant across multiple quartiles and was included in the final logistic regression model with a negative coefficient. Hypertension is a common comorbidity of T2DM, and blood pressure responses to exercise provide valuable information about cardiovascular function [38]. The negative association in the model may reflect the measurement context (e.g., specific exercise stage or recovery period), medication effects (antihypertensive treatment in diabetic patients), or statistical suppression effects in the presence of other predictors.
The consistent significance of this variable across quartiles underscores the importance of cardiovascular parameters in diabetes detection.
The counterintuitive model coefficients have possible explanations and should not be interpreted as indicative of direct causal relationships: (1) The negative DER Systolic coefficient is likely driven by antihypertensive treatment in T2DM, suppressing measured DER Systolic despite the higher underlying risk. (2) The positive vitamin D coefficient likely reflects physician-initiated supplementation in T2DM patients, not a protective biological effect. (3) Both findings should be labeled as statistical associations, not causal effects.
4.4. Model Performance in Clinical Context
The logistic regression model achieved moderate discriminatory performance with an AUC of 0.792 and a Gini coefficient of 0.583, indicating a moderate ability to distinguish diabetic from non-diabetic individuals. The model’s performance characteristics—84.5% accuracy, 97.9% sensitivity, 58.3% specificity, and 82.1% precision—have important implications for clinical application.
The moderate specificity (58.3%) indicates that the model has a limited capacity to correctly identify non-diabetic individuals, resulting in a high false positive rate (41.7%). This characteristic is valuable in hypothesis-generating evidence contexts, where false positives can lead to unnecessary anxiety and additional testing, whereas false negatives can lead to more serious outcomes. The negative predictive value of 93.3% provides confidence that individuals classified as non-diabetic by the model are indeed unlikely to have diabetes.
The sensitivity of 97.9%, while lower than the specificity, indicates that the model correctly identifies approximately 9 out of 10 diabetic individuals. The 2.1% false negative rate means that some diabetic cases would be missed by the model alone. However, this performance must be interpreted in the context of a multi-stage hypothesis-generating evidence and diagnostic process. In clinical practice, individuals with risk factors or borderline results would undergo confirmatory testing with standard biochemical assays (fasting glucose, HbA1c, and oral glucose tolerance tests).
Thus, the model could serve as an initial hypothesis-generating evidence tool that identifies high-risk individuals for further evaluation, rather than as a standalone diagnostic test.
The F1-score of 0.893 reflects a reasonable balance between precision and sensitivity, indicating that the model achieves good overall performance without extreme trade-offs between false positives and false negatives. The moderate AUC of 0.792 demonstrates that the model’s discriminatory power is adequate across all possible classification thresholds, not just the 0.50 probability cutoff used for binary classification. This suggests that clinicians could adjust the probability threshold based on the specific clinical context—using a lower threshold (e.g., 0.30) to maximize sensitivity for hypothesis-generating evidence applications or a higher threshold (e.g., 0.70) to maximize specificity when false positives are particularly costly.
4.5. Sensitivity/Specificity Trade-Off and Clinical Implications of the Miss Rate
The corrected analysis on the complete-case sample (N = 71) demonstrates a sensitivity of 95.7% at the default threshold (t = 0.50), reducing the T2DM miss rate to 4.3%; applying the Youden-optimal threshold (t = 0.45) further lowers it to 2.1% (sensitivity = 97.9%). These gains in sensitivity come with a moderate specificity of 58.3% at both thresholds, meaning approximately 42% of control participants are incorrectly flagged as positive. This asymmetry is, however, clinically defensible in the present context: the sample T2DM prevalence was 68.3%, a distribution that inherently favors high sensitivity, and in hypothesis-generating evidence applications, the cost of a false negative—an undetected T2DM case who remains untreated—substantially outweighs the cost of a false positive, which simply triggers confirmatory testing.
The net negative predictive value of 87.5% (93.3% at optimal threshold) further supports the model’s utility for exclusion purposes. The LOOCV sensitivity of 87.2%, while lower than the apparent estimate, confirms that the miss rate remains clinically acceptable even under internal cross-validation, with a cross-validated AUC of 0.736 (95% CI: 0.602–0.871), corroborating adequate generalizability beyond the training sample.
4.6. Comparison with Existing Diagnostic Approaches
Traditionally, diabetes diagnosis relies on biochemical markers, including fasting plasma glucose (≥126 mg/dL), 2-h plasma glucose during an oral glucose tolerance test (≥200 mg/dL), HbA1c (≥6.5%), or random plasma glucose (≥200 mg/dL), together with reported symptoms [3]. While these methods are well-validated and clinically established, they represent static assessments that may not capture dynamic metabolic function or early metabolic dysfunction in pre-diabetic states.
The present approach offers several potential advantages. (1) Functional assessment: Exercise stress testing evaluates integrated physiological responses under metabolic stress, potentially revealing dysfunction before resting biochemical abnormalities are apparent. (2) Multi-dimensional information: The model incorporates exercise performance (lactate kinetics), cardiovascular responses (blood pressure), and biomarkers (vitamin D), providing a more comprehensive metabolic profile than single-marker approaches. (3) Risk stratification: The continuous probability output allows for nuanced risk stratification rather than binary classification, enabling personalized follow-up strategies. (4) Motivational value: Exercise testing provides tangible fitness information that may motivate lifestyle modifications, whereas biochemical results may be more abstract to patients.
The present model’s AUC of 0.792 compares favorably with other predictive models for diabetes in the published literature. A systematic review of diabetes classification models reported AUC values typically ranging from 0.70 to 0.85 for models based on clinical and biochemical variables [39]. Models incorporating genetic markers or advanced metabolomics have achieved AUC values of 0.85–0.90 [40]. The present model’s performance is at the upper end of this range, suggesting that exercise-derived parameters combined with selected biomarkers provide strong discriminatory power.
However, important limitations must be acknowledged when comparing the proposed method with standard diagnostic approaches. First, exercise stress testing requires specialized equipment, trained personnel, and time, making it less accessible than simple blood tests. Second, some individuals may be unable to perform maximal exercise testing due to physical limitations, contraindications, or motivational factors. Third, the model requires validation in independent samples and diverse populations before clinical implementation. Fourth, the model’s performance in detecting pre-diabetes or early metabolic dysfunction—arguably the most valuable application—remains to be determined.
4.7. Strengths and Limitations
Strengths:
Comprehensive variable assessment: The study examined 357 variables spanning demographic, physiological, biochemical, cognitive, and biomarker domains, providing a thorough characterization of participants.
Quartile-based stratification: The novel approach of stratifying by fitness level (speed at lactate threshold) revealed fitness-dependent patterns in diabetes-related differences, providing insights into the interaction between aerobic capacity and metabolic dysfunction.
Rigorous statistical analysis: The combination of ANOVA for variable hypothesis-generating evidence for potential screening utility and logistic regression for model development, along with comprehensive performance evaluation, provides moderate evidence of the model’s utility.
Adequate discriminatory performance: The AUC of 0.792 indicates a moderate ability to distinguish diabetics from non-diabetic individuals, comparing favorably with existing classification models.
Clinical relevance: The integration of exercise testing with biomarkers offers a functional, multi-dimensional approach to diabetes detection that could complement existing diagnostic methods.
Limitations:
Cross-sectional design: The study design precludes causal inference and assessment of the model’s ability to predict incident diabetes. Prospective studies are needed to evaluate predictive validity for diabetes development.
Sample characteristics: The study sample’s demographic and clinical characteristics (e.g., age distribution, diabetes duration, medication use, comorbidities) may limit the method’s generalizability to other populations. The 68.3% diabetes prevalence in the sample may not reflect the population prevalence, potentially affecting model calibration. Q1–Q3 quartile subgroups contain very few control participants (n = 3–7), making within-quartile group comparisons underpowered.
Multiple comparisons: Conducting the 1428 ANOVA tests without adjustment for multiple comparisons increases the risk of Type I errors (false positives). While we focused on biologically plausible findings and patterns consistent across quartiles, some significant results may be spurious.
Variable selection: The logistic regression model identified three predictors (DER Systole, VIT_D, Vel_Lactato2), but the selection process and the specific variables included may be sample-dependent. External validation is needed to confirm the model’s stability and generalizability.
Counterintuitive associations: Some findings, particularly the positive association of diabetes probability with vitamin D and its negative association with systolic blood pressure, are counterintuitive and require careful interpretation. These may reflect confounding, reverse causation, medication effects, or statistical artifacts.
Missing mechanistic data: While the study identified significant associations, detailed mechanistic data (e.g., insulin sensitivity measures, mitochondrial function assessments, longitudinal changes) would strengthen causal inference and physiological interpretation.
Practical feasibility: Exercise stress testing with lactate measurement requires specialized equipment, trained personnel, and participant effort, limiting scalability compared with simple blood tests. Cost-effectiveness analysis would be needed to justify clinical implementation.
Apparent performance metrics are optimistic; LOOCV-corrected estimates are provided but external validation on an independent cohort is still required.
Lack of external validation: The model’s performance was evaluated on the same sample used for its development, which may cause an overestimation of performance. Validation on independent samples from different populations and settings is essential before clinical application.
Incomplete reporting: Some methodological details (e.g., exact sample size, specific exercise protocol parameters, medication status of participants, handling of missing data) are not fully specified, limiting reproducibility and interpretation. Medication and supplement status (antihypertensives, vitamin D) were not fully controlled for, potentially explaining the counterintuitive coefficients.
Despite these limitations, the study provides valuable proof-of-concept evidence that exercise stress test lactate curves combined with logistic regression modeling can achieve adequate discriminatory performance for diabetes detection. The findings warrant further investigation in prospective, externally validated studies with diverse populations.
5. Conclusions
The study findings demonstrate that the integration of exercise stress test lactate curves with logistic regression modeling serves as a suitable exploratory approach with moderate discriminatory capacity for detecting type 2 diabetes mellitus. The quartile-based analysis, in which participants were stratified by their maximum speed at the lactate threshold (4 mmol/L), revealed that physiological and biochemical differences between diabetic and non-diabetic individuals are more pronounced among those with higher aerobic capacity (Q4), with 12.8% of tests showing significant differences in the highest quartile compared with 6.2–9.8% in lower fitness quartiles.
This work demonstrates that VL4 is significantly lower in T2DM individuals compared with controls (p = 7.98 × 10−15) but, as a cross-sectional study, cannot establish whether altered lactate kinetics precede diabetes onset. Prospective longitudinal studies are required to evaluate the predictive value of VL4 for incident T2DM.
Comprehensive ANOVA (1428 tests) identified key discriminatory variables, including glycemic control markers (HbA1c, fasting glucose), cardiovascular parameters (systolic blood pressure), and biomarkers (homocysteine, BDNF, vitamin D). The logistic regression model, incorporating systolic blood pressure (negative association), vitamin D (positive association), and lactate velocity at 2 mmol/L (positive association), achieved moderate discriminatory performance, with an AUC of 0.792 and a Gini coefficient of 0.583.
The model’s performance characteristics—84.5% accuracy, 97.9% sensitivity, 58.3% specificity, 82.1% precision, and 93.3% negative predictive value—indicate a moderate overall classification ability with notably high sensitivity (97.9%). This performance profile is well-suited to hypothesis-generating evidence applications, in which minimizing false positives is important and the occurrence of some false negatives, which can be captured through confirmatory testing, is accepted. It is necessary to increase the model’s specificity by using indicators that improve it in future studies.
The findings have several important implications:
Functional metabolic assessment: Exercise stress testing can be used for a dynamic, integrated evaluation of metabolic function that may complement static biochemical markers in diabetes detection and risk stratification.
Fitness-dependent metabolic phenotypes: The quartile-based analysis reveals that the metabolic distinctions between diabetic and non-diabetic individuals are modulated by aerobic fitness, suggesting that fitness level should be considered in diabetes hypothesis-generating evidence and risk assessment.
Multi-dimensional risk profiling: The integration of exercise performance, cardiovascular responses, and biomarkers provides a comprehensive metabolic profile that captures multiple aspects of diabetes pathophysiology.
Clinical utility: The model’s adequate discriminatory power (AUC = 0.792) suggests its potential clinical utility as a hypothesis-generating evidence tool, particularly in settings where exercise testing is already performed (e.g., sports medicine, cardiac rehabilitation, preventive health programs).
Research directions: The findings highlight the need for prospective studies to evaluate the model’s ability to predict incident diabetes, external validation in diverse populations, mechanistic studies to elucidate the physiological basis of the identified associations, and cost-effectiveness analysis to inform clinical implementation decisions.
In conclusion, combining exercise stress test lactate curves with logistic regression modeling is a promising approach for diabetes detection that warrants further investigation and validation. While not intended to replace established diagnostic methods, this approach could serve as a valuable complementary tool for cross-sectional identification, risk stratification, and personalized diabetes prevention strategies, particularly in populations undergoing exercise testing for other clinical or fitness-related purposes. The moderate discriminatory performance achieved in this study (AUC = 0.792) provides preliminary proof-of-concept evidence supporting continued development and validation of this innovative approach to collecting diabetes hypothesis-generating evidence.
Acknowledgments
The project team extends its sincere gratitude to all the participants who generously agreed to take part in the study, and to Alvaro Fernando Rico, Director of the FINDEMOS Foundation, for his support in assembling the study samples. The authors declare that SciSpace AI—an artificial intelligence platform specialized in scientific research and academic writing, which integrates capabilities such as literature search and synthesis across multiple scholarly databases, automated generation of research insights, figure creation, structured report writing, systematic literature review support, and manuscript assistance—was utilized in the preparation of specific manuscript sections: the Introduction, portions of the Discussion, and parts of the Results narrative. Figure 1, Figure 2 and Figure 3 were formatted through the data analysis pipeline with AI assistance; all statistical computations, data interpretation, and clinical conclusions were independently performed by the authors.
All AI-assisted content was cross-checked against primary data by all co-authors. The use of this tool was supervised and critically evaluated by the authors, who take full responsibility for the accuracy, integrity, and originality of the content. The final manuscript was reviewed, edited, and approved by all authors, in compliance with the editorial policies of MDPI and the journal Diagnostics, which permit AI assistance in writing provided it is disclosed and all authors take full responsibility for content accuracy and integrity.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Supplementary Materials
The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/diagnostics16223842/s1, Table S1: Results of the False Discovery Rate (FDR) adjustment for the study data.
Author Contributions
Conceptualization, C.M.B.B. and S.R.V.; methodology, S.R.V.; software, C.M.B.B.; validation, M.C.J.M., S.R.V., and C.M.B.B.; formal analysis, C.M.B.B.; investigation, S.R.V.; resources, C.M.B.B.; supervision, C.M.B.B. and M.C.J.M.; validation, M.C.J.M., S.R.V., and C.M.B.B.; visualization, C.M.B.B., M.C.J.M., and S.R.V.; writing—original draft, C.M.B.B. and M.C.J.M.; writing—review and editing, S.R.V., C.M.B.B., and M.C.J.M. All authors have read and agreed to the published version of the manuscript.
Institutional Review Board Statement
This study was conducted in accordance with the Declaration of Helsinki and approved by the Ethics Committee of Universidad Pedagógica y Tecnológica de Colombia (date of approval: 27 April 2020).
Informed Consent Statement
Informed consent was obtained from all subjects involved in the study.
Data Availability Statement
The original contributions presented in the study are included in the article/Supplementary Materials. Further inquiries can be directed at the corresponding authors.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
T2DM Type 2 diabetes mellitus ROC Receiver operating characteristic AUC Area under the curve HbA1c Glycated hemoglobin VIT-D Vitamin D VIT B12 Vitamin B12 CSF Serum biomarker panel (no longer used as standalone abbreviation) IL-6 Interleukin-6 VEGF Vascular endothelial growth factor BDNF Brain-derived neurotrophic factor TNF-α Tumor necrosis factor alpha IGF-1 Insulin-like growth factor-1 IL-1β Interleukin-1 beta T-TAU Total tau protein P-TAU Phosphorylated tau MMSE Mini-Mental State Examination SDMT Symbol Digit Modalities Test RCFT Rey Complex Figure Test TAAV Verbal Learning and Memory Test
References
Participant flow diagram.
Exercise stress test and lactate curve profile for T2DM detection.
Calibration plot showing observed T2DM fraction vs. mean predicted probability across decile groups. Dashed line = perfect calibration.
ROC curves for apparent (solid blue) and leave-one-out cross-validated (dashed red) logistic regression models. Three-predictor model, N = 71. Apparent AUC = 0.792 (95% CI 0.688–0.895); LOOCV AUC = 0.736 (95% CI 0.602–0.871). The gap between apparent and LOOCV AUC indicates mild optimism.
Physiological differences in lactate metabolism during exercise: healthy vs. T2DM-affected tissues.
Demographics and physiological variables of individuals with diabetes and control subjects. Plus–minus values are means and standard deviation. NA: not applicable.
| Variable | Individuals with T2DM n = 56 (68.3%) (Mean ± SD) | Controls n = 26 (31.7%) (Mean ± SD) | p-Value |
|---|---|---|---|
| Gender (f/m) % | 44/56 | 39/61 | NA |
| Age (years) | 58.39 ± 7.55 | 54.88 ± 8.3 | 0.040 |
| BMI (kg/m2) | 28.11 ± 3.32 | 26.02 ± 3.22 | 0.025 |
| Education level (1–5) | 1.40 ± 1.10 | 1.50 ± 1.20 | 0.47 |
| HbA1c (%) | 8.30 ± 2.0 | 5.00 ± 0.60 | <0.001 |
Age-adjusted group comparisons (ANCOVA).
| Variable | n | T2DM Mean ± SD | Ctrl Mean ± SD | p (MWU) | q (FDR) | F (ANCOVA) | p (ANCOVA) | q_FDR (ANCOVA) |
|---|---|---|---|---|---|---|---|---|
| VL4 (km/h) | 74 | 1.61 ± 0.33 | 2.00 ± 0.58 | 0.0027 | 0.0061 | 12.65 | 0.0004 *** | 0.0018 |
| Vitamin D (ng/mL) | 79 | 71.4 ± 53.6 | 141.9 ± 201.8 | 0.790 | 0.790 | 4.81 | 0.0283 * | 0.0399 |
| Systolic BP (mmHg) | 82 | 141.4 ± 17.4 | 127.5 ± 15.5 | 0.0011 | 0.0033 | 9.24 | 0.0024 ** | 0.0072 |
| BMI (kg/m2) | 82 | 27.83 ± 3.23 | 25.99 ± 3.62 | 0.0168 | 0.0302 | 6.36 | 0.0117 * | 0.0263 |
| Resting HR (bpm) | 82 | 76.55 ± 10.56 | 71.65 ± 9.52 | 0.0554 | 0.0712 | 4.66 | 0.0310 * | 0.0399 |
| Resting Lactate | 82 | 2.02 ± 0.53 | 1.75 ± 0.37 | 0.0385 | 0.0578 | 5.35 | 0.0207 * | 0.0373 |
| Max Lactate | 82 | 6.44 ± 2.02 | 6.98 ± 2.03 | 0.378 | 0.425 | 0.20 | 0.657 | 0.657 |
| Vmax (km/h) | 82 | 1.88 ± 0.33 | 2.34 ± 0.49 | 0.0001 | 0.0009 | 20.92 | <0.0001 *** | <0.0001 |
| VL2 (km/h) | 81 | 2.46 ± 11.4 | 1.30 ± 0.47 | 0.0011 | 0.0033 | 0.35 | 0.552 | 0.621 |
Note: One-way ANCOVA with age as a covariate, comparing T2DM vs. control on key physiological variables. FDR correction applied (Benjamini–Hochberg). Unadjusted (MWU) and age-adjusted (ANCOVA) p-values are reported. * p < 0.05; ** p < 0.01; *** p < 0.001. FDR = Benjamini–Hochberg correction.
Quartile-based analysis for T2DM classification.
| Quartile | VL4 Range | N | T2DM | Control | p (Fisher) | OR | 95% CI | Cliff’s δ |
|---|---|---|---|---|---|---|---|---|
| Q1 | ≤1.445 km/h | 19 | 15 | 4 | 0.399 | 2.012 | (0.595–6.806) | −0.033 |
| Q2 | 1.445–1.735 km/h | 18 | 13 | 5 | 0.780 | 1.270 | (0.400–4.034) | −0.123 |
| Q3 | 1.735–1.972 km/h | 18 | 13 | 5 | 0.780 | 1.270 | (0.400–4.034) | −0.446 |
| Q4 | >1.972 km/h | 19 | 7 | 12 | 0.0015 ** | 0.167 | (0.055–0.503) | −0.595 |
Note: Quartile analyses are based on n = 74 participants with complete Vel_Lactato4 data; 8 participants with missing Vel_Lactato4 were excluded from quartile assignment. Overall descriptive statistics and the logistic regression model use the full enrolled sample (N = 82) and complete-case sample (N = 71), respectively.
Model performance metrics.
| Metric | Apparent (t = 0.50) | 95% CI | Optimal (t = 0.45) | LOOCV (t = 0.50) | LOOCV 95% CI |
|---|---|---|---|---|---|
| Accuracy | 0.831 | (0.727–0.901) | 0.845 | 0.761 | — |
| Sensitivity | 0.957 | (0.858–0.988) | 0.979 | 0.872 | — |
| Specificity | 0.583 | (0.388–0.755) | 0.583 | 0.542 | — |
| Precision (PPV) | 0.818 | — | 0.821 | — | — |
| NPV | 0.875 | — | 0.933 | — | — |
| F1-Score | 0.882 | — | 0.893 | — | — |
| AUC | 0.792 | (0.688–0.895) | — | 0.736 | (0.602–0.871) |
| Gini coefficient | 0.583 | — | — | 0.472 | — |
| Brier score | 0.156 | — | — | 0.176 | — |
| Miss rate (%) | 4.3% | — | 2.1% | — | — |
Notes: High sensitivity (95.7%) with moderate specificity (58.3%) at t = 0.50 reflects the high T2DM prevalence (68.3%) in the study sample. LOOCV AUC = 0.736 confirms model generalizability. All metrics were computed on the complete-case dataset (N = 71). The optimal threshold was selected by Youden’s J index (maximizing Sensitivity + Specificity − 1). This note refers to the complete-case analytical sample (N = 71, 47 T2DM/24 controls). Descriptive statistics in the main text reflect the full enrolled sample (N = 82, 56 T2DM/26 controls).
Logistic regression model coefficients, standard errors, odds ratios, variance inflation factors, fit statistics, and confusion matrix (complete-case sample, N = 71).
| Predictor | β | SE | OR | 95% CI | VIF | p-Value |
|---|---|---|---|---|---|---|
| Intercept | 9.2259 | 5.4123 | 10,157.2807 | (0.2511, 410,945,517.86) | — | 0.0883 |
| DER_Systole | −0.1078 | 0.0437 | 0.8978 | (0.8241, 0.9782) | 1.170 | 0.0137 |
| VIT_D | 0.0116 | 0.0050 | 1.0116 | (1.0018, 1.0215) | 1.027 | 0.0202 |
| Vel_Lactato2 | 2.3245 | 1.1721 | 10.2215 | (1.0276, 101.6748) | 1.143 | 0.0473 |
| Model Fit Statistics | ||||||
| AIC | 37.4829 | — | — | — | — | — |
| Null deviance (df = 46) | 57.2508 | — | — | — | — | — |
| Residual deviance (df = 43) | 29.4829 | — | — | — | — | — |
| Confusion Matrix (Optimal Threshold t = 0.45, N = 47) | ||||||
| Predicted Diabetic | Predicted Non-Diabetic | — | — | — | — | |
| Actual Diabetic (n = 33) | TP = 30 (90.9%) | FN = 3 (9.1%) | — | — | — | — |
| Actual Non-Diabetic (n = 14) | FP = 4 (28.6%) | TN = 10 (71.4%) | — | — | — | — |
The Hosmer–Lemeshow tests, values, and interpretations.
| Calibration Test | Value | Interpretation |
|---|---|---|
| Hosmer–Lemeshow χ2 (g = 10) | 10.51 | — |
| Hosmer–Lemeshow p-value | 0.197 | Adequate calibration (p > 0.05) |
| Brier score (apparent) | 0.156 | Lower is better (0 = perfect) |
| Brier score (LOOCV) | 0.176 | Slightly higher, expected for CV |
Publication and source details
Original title: Exercise Stress Test Lactate Curves and Logistic Regression for Type 2 Diabetes Mellitus Detection: A Quartile-Based Analysis
Cesar Mauricio Baracaldo Barrera; Martha Cecilia Jiménez Martínez; Sandra Rojas Vega
Diagnostics · 2026
* Correspondence: cesar.baracaldo@uptc.edu.co; Tel.: +57-311-482-2488 or +57-(608)-740-5626 (ext. 2908 or 2909); Fax: +57-(608)-740-5626 (ext. 2917)© 2026 by the authors.2026https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license. Universidad Pedagógica y Tecnológica de Colombiahttps://ror.org/04vdmbk59 12-2020 Bundesministerium für Bildung und Forschung (BMBF)https://ror.org/04pz7b180 100284618This research was funded by Universidad Pedagógica y Tecnológica de Colombia Convocatoria VIE 12-2020 and Bundesministerium für Bildung und Forschung (BMBF) Grant 100284618.Repository JATS snapshot; version as supplied
Source retrieved: 2026-11-26T21:31:38.544139+00:00
DOI: 10.3390/diagnostics16223842 · PMC13802334
