A Comparative Study of Linear and Quadratic Spline Regression Models for Predicting HbA1c Levels in Patients with Diabetes Mellitus

HbA1c is widely recognized as a key clinical indicator for monitoring and controlling diabetes, as it reflects average blood glucose levels over the preceding 2–3 months and is closely linked to the risk of complications. This study compares linear and quadratic truncated spline regression models for predicting HbA1c levels in patients with diabetes mellitus. The analysis used retrospective medical record data from a hospital in Makassar, Indonesia, collected in 2023. Fasting blood glucose and LDL cholesterol were included as predictors, with HbA1c as the response variable. Truncated spline regression was applied to capture nonlinear associations between predictors and HbA1c, and the comparison focused on linear versus quadratic specifications. The selection of the best model was based on the minimum GCV value. The model selection process indicated that the best specification was the linear truncated spline regression with two knot points. For FBG, the optimal knots were located at 159 mg/dL and 368 mg/dL, yielding the lowest GCV value of 3.5798. For LDL cholesterol, the best fit was achieved with knots at 183 mg/dL and 191 mg/dL, resulting in a GCV value of 4.3325. The predictive performance of this model was further supported by an R² value of 0.3861, indicating that the linear spline with two knots provides a better fit compared with the quadratic spline alternative. The spline approach showed a better fit based on GCV in depicting the changes in the influence of predictors on HbA1c, suggesting its potential as a more accurate predictive model for clinical and epidemiological purposes.

Authors

Institutions

Publication Details

Journal
Jambura Journal of Mathematics
Published
2025-08-29
DOI
https://doi.org/10.37905/jjom.v7i2.33292
Primary Topic
Artificial Intelligence in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Comparative Study of Linear and Quadratic Spline Regression Models for Predicting HbA1c Levels in Patients with Diabetes Mellitus

Samsul Arifin, Dewi Anggraini, Nur Salam
Jambura Journal of Mathematics
Artificial Intelligence in Healthcare
article

A Comparative Study of Linear and Quadratic Spline Regression Models for Predicting HbA1c Levels in Patients with Diabetes Mellitus

Samsul Arifin, Dewi Anggraini, Nur Salam
article en

Abstract

HbA1c is widely recognized as a key clinical indicator for monitoring and controlling diabetes, as it reflects average blood glucose levels over the preceding 2–3 months and is closely linked to the risk of complications. This study compares linear and quadratic truncated spline regression models for predicting HbA1c levels in patients with diabetes mellitus. The analysis used retrospective medical record data from a hospital in Makassar, Indonesia, collected in 2023. Fasting blood glucose and LDL cholesterol were included as predictors, with HbA1c as the response variable. Truncated spline regression was applied to capture nonlinear associations between predictors and HbA1c, and the comparison focused on linear versus quadratic specifications. The selection of the best model was based on the minimum GCV value. The model selection process indicated that the best specification was the linear truncated spline regression with two knot points. For FBG, the optimal knots were located at 159 mg/dL and 368 mg/dL, yielding the lowest GCV value of 3.5798. For LDL cholesterol, the best fit was achieved with knots at 183 mg/dL and 191 mg/dL, resulting in a GCV value of 4.3325. The predictive performance of this model was further supported by an R² value of 0.3861, indicating that the linear spline with two knots provides a better fit compared with the quadratic spline alternative. The spline approach showed a better fit based on GCV in depicting the changes in the influence of predictors on HbA1c, suggesting its potential as a more accurate predictive model for clinical and epidemiological purposes.

Jambura Journal of MathematicsVol. 7(2)
Lambung Mangkurat University (ID)
Openalex Percentile: Top 74%
Artificial Intelligence in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.