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

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.

Keywords


pline regression; HbA1c; Fasting blood glucose; LDL cholesterol

Full Text:

PDF

References


D. Purnamasari, E. N. Tetrasiwi, G. J. Kartiko, C. Astrella, K. Husam, and P. W. Laksmi, “Sarcopenia and Chronic Complications of Type 2 Diabetes Mellitus,” Rev. Diabet. Stud., vol. 18, no. 3, pp. 157–165, 2022, doi: 10.1900/RDS.2022.18.157.

J. Burillo, P. Marqués, B. Jiménez, C. González-Blanco, M. Benito, and C. Guillén, “Insulin resistance and diabetes mellitus in alzheimer’s disease,” Cells, vol. 10, no. 5, 2021, doi: 10.3390/cells10051236.

S. I. Oktora and D. B. Butar, “Determinants of Diabetes Mellitus Prevalence in Indonesia,” Kemas, vol. 18, no. 2, pp. 266–273, 2022, doi: 10.15294/kemas.v18i2.31880.

A. Chaib et al., “Effects of nutrition education on Metabolic profiles of patients with type 2 diabetes mellitus to improve glycated hemoglobin and body mass index,” J. King Saud Univ. - Sci., vol. 35, no. 1, p. 102437, 2023, doi: 10.1016/j.jksus.2022.102437.

N. N. Sreedevi, G. V. Kumar, B. Chendar, M. Vijaya Bhaskar, K. S. S. Sai Baba, and I. Krishna Mohan, “Unexpected Detection of Abnormal Hemoglobin Variants During Routine HbA1c Analysis by HPLC Technique: Challenges and Opportunities in HbA1c Testing,” Avicenna J. Med. Biochem., vol. 9, no. 1, pp. 15–21, 2021, doi: 10.34172/ajmb.2021.03.

Z. Zhu, Y. Mao, and G. Chen, “Predictive value of HbA1c for in-hospital adverse prognosis in COVID-19: A systematic review and meta-analysis,” Prim. Care Diabetes, vol. 15, no. 6, pp. 910–917, 2021, doi: 10.1016/j.pcd.2021.07.013.

G. K. Jakubiak, A. Chwalba, A. Basek, G. Cieślar, and N. Pawlas, “Glycated Hemoglobin and Cardiovascular Disease in Patients Without Diabetes,” J. Clin. Med., vol. 14, no. 1, pp. 1–14, 2025, doi: 10.3390/jcm14010053.

J. L. Kirkby, Á. Leitao, and D. Nguyen, “Spline local basis methods for nonparametric density estimation,” Stat. Surv., vol. 17, pp. 75–118, 2023, doi: 10.1214/23-SS142.

S. Arifin, A. Islamiyati, and R. Raupong, “Kemampuan Estimator Spline Linear dalam Analisis Komponen Utama,” ESTIMASI J. Stat. Its Appl., vol. 1, no. 1, p. 40, 2020, doi: 10.20956/ejsa.v1i1.9262.

N. C. Chesnaye, M. Van DIepen, F. Dekker, C. Zoccali, K. J. Jager, and V. S. Stel, “Non-linear relationships in clinical research,” Nephrol. Dial. Transplant., vol. 40, no. 2, pp. 244–254, 2025, doi: 10.1093/ndt/gfae187.

Sifriyani, A. R. M. Sari, A. T. R. Dani, and S. Jalaluddin, “Bi-Response Truncated Spline Nonparametric Regression With Optimal Knot Point Selection Using Generalized Cross-Validation in Diabetes Mellitus Patient’S Blood Sugar Levels,” Commun. Math. Biol. Neurosci., vol. 2023, pp. 1–18, 2023, doi: 10.28919/cmbn/7903.

R. Lu et al., “The application of multivariate adaptive regression splines in exploring the influencing factors and predicting the prevalence of hba1c improvement,” Ann. Palliat. Med., vol. 10, no. 2, pp. 1296–1303, 2021, doi: 10.21037/apm-19-406.

A. Islamiyati, A. Kalondeng, N. Sunusi, M. Zakir, and A. K. Amir, “Biresponse nonparametric regression model in principal component analysis with truncated spline estimator,” J. King Saud Univ. - Sci., vol. 34, no. 3, p. 101892, 2022, doi: 10.1016/j.jksus.2022.101892.

E. A. Geissinger, C. L. L. Khoo, I. C. Richmond, S. J. M. Faulkner, and D. C. Schneider, “A case for beta regression in the natural sciences,” Ecosphere, vol. 13, no. 2, pp. 1–16, 2022, doi: 10.1002/ecs2.3940.

M. Salibian-Barrera, “Robust nonparametric regression: Review and practical considerations,” Econom. Stat., In Press, Corrected Proof, Apr. 2023. doi: 10.1016/j.ecosta.2023.04.004.

S. Alam, M. K. Hasan, S. Neaz, N. Hussain, M. F. Hossain, and T. Rahman, “Diabetes Mellitus: Insights from Epidemiology, Biochemistry, Risk Factors, Diagnosis, Complications and Comprehensive Management,” Diabetology, vol. 2, no. 2, pp. 36–50, 2021, doi: 10.3390/diabetology2020004.

M. Wang and T. Hng, “Standards of medical care for patients with diabetes mellitus.,” Diabetes Care, vol. 12, no. 5, pp. 365–368, 1989, doi: 10.2337/diacare.12.5.365.

K. Sung and S. H. Lee, “Social determinants of health and type 2 diabetes in Asia,” J. Diabetes Investig., vol. 16, no. 6, pp. 971–983, 2025, doi: 10.1111/jdi.70024.

K. S. Boye, V. T. Thieu, M. J. Lage, H. Miller, and R. Paczkowski, “The Association Between Sustained HbA1c Control and Long-Term Complications Among Individuals with Type 2 Diabetes: A Retrospective Study,” Adv. Ther., vol. 39, no. 5, pp. 2208–2221, 2022, doi: 10.1007/s12325-022-02106-4.

I. Bonilha, E. Hajduch, B. Luchiari, W. Nadruz, W. Le Goff, and A. C. Sposito, “The reciprocal relationship between LDL metabolism and type 2 diabetes mellitus,” Metabolites, vol. 11, no. 12, 2021, doi: 10.3390/metabo11120807.




DOI: https://doi.org/10.37905/jjom.v7i2.33292



Copyright (c) 2025 Samsul Arifin, Dewi Anggraini, Nur Salam

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.


Jambura Journal of Mathematics has been indexed by

>>>More Indexing<<<


Creative Commons License

Jambura Journal of Mathematics (e-ISSN: 2656-1344) by Department of Mathematics Universitas Negeri Gorontalo is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. Powered by Public Knowledge Project OJS. 


Editorial Office


Department of Mathematics, Faculty of Mathematics and Natural Science, Universitas Negeri Gorontalo
Jl. Prof. Dr. Ing. B. J. Habibie, Moutong, Tilongkabila, Kabupaten Bone Bolango, Gorontalo, Indonesia
Email: [email protected].