IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0317722.html
   My bibliography  Save this article

Optimising test intervals for individuals with type 2 diabetes: A machine learning approach

Author

Listed:
  • Sasja Maria Pedersen
  • Nicolai Damslund
  • Trine Kjær
  • Kim Rose Olsen

Abstract

Background: Chronic disease monitoring programs often adopt a one-size-fits-all approach that does not consider variation in need, potentially leading to excessive or insufficient support for patients at different risk levels. Machine learning (ML) developments offer new opportunities for personalised medicine in clinical practice. Objective: To demonstrate the potential of ML to guide resource allocation and tailored disease management, this study aims to predict the optimal testing interval for monitoring blood glucose (HbA1c) for patients with Type 2 Diabetes (T2D). We examine fairness across income and education levels and evaluate the risk of false-positives and false-negatives. Data: Danish administrative registers are linked with national clinical databases. Our population consists of all T2D patients from 2015-2018, a sample of more than 57,000. Data contains patient-level clinical measures, healthcare utilisation, medicine, and socio-demographics. Methods: We classify HbA1c test intervals into four categories (3, 6, 9, and 12 months) using three classification algorithms: logistic regression, random forest, and extreme gradient boosting (XGBoost). Feature importance is assessed with SHAP model explanations on the best-performing model, which was XGBoost. A training set comprising 80% of the data is used to predict optimal test intervals, with 20% reserved for testing. Cross-validation is employed to enhance the model’s reliability and reduce overfitting. Model performance is evaluated using ROC-AUC, and optimal intervals are determined based on a “time-to-next-positive-test” concept, with different durations associated with specific intervals. Results: The model exhibits varying predictive accuracy, with AUC scores ranging from 0.53 to 0.89 across different test intervals. We find significant potential to free resources by prolonging the test interval for well-controlled patients. The fairness metric suggests models perform well in terms of equality. There is a sizeable risk of false negatives (predicting longer intervals than optimal), which requires attention. Conclusions: We demonstrate the potential to use ML in personalised diabetes management by assisting physicians in categorising patients by testing frequencies. Clinical validation on diverse patient populations is needed to assess the model’s performance in real-world settings.

Suggested Citation

  • Sasja Maria Pedersen & Nicolai Damslund & Trine Kjær & Kim Rose Olsen, 2025. "Optimising test intervals for individuals with type 2 diabetes: A machine learning approach," PLOS ONE, Public Library of Science, vol. 20(2), pages 1-19, February.
  • Handle: RePEc:plo:pone00:0317722
    DOI: 10.1371/journal.pone.0317722
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0317722
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0317722&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0317722?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Ram D. Joshi & Chandra K. Dhakal, 2021. "Predicting Type 2 Diabetes Using Logistic Regression and Machine Learning Approaches," IJERPH, MDPI, vol. 18(14), pages 1-17, July.
    2. Sendhil Mullainathan & Ziad Obermeyer, 2017. "Does Machine Learning Automate Moral Hazard and Error?," American Economic Review, American Economic Association, vol. 107(5), pages 476-480, May.
    3. Michael A. Ribers & Hannes Ullrich, 2019. "Battling Antibiotic Resistance: Can Machine Learning Improve Prescribing?," Discussion Papers of DIW Berlin 1803, DIW Berlin, German Institute for Economic Research.
    4. Yongxian Fan & Meng Liu & Guicong Sun, 2023. "An interpretable machine learning framework for diagnosis and prognosis of COVID-19," PLOS ONE, Public Library of Science, vol. 18(9), pages 1-16, September.
    5. van Doorslaer, Eddy & Wagstaff, Adam & Bleichrodt, Han & Calonge, Samuel & Gerdtham, Ulf-G. & Gerfin, Michael & Geurts, Jose & Gross, Lorna & Hakkinen, Unto & Leu, Robert E., 1997. "Income-related inequalities in health: some international comparisons," Journal of Health Economics, Elsevier, vol. 16(1), pages 93-112, February.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Tomoki Fujii, 2013. "Geographic decomposition of inequality in health and wealth: evidence from Cambodia," The Journal of Economic Inequality, Springer;Society for the Study of Economic Inequality, vol. 11(3), pages 373-392, September.
    2. Daníelsson, Jón & Macrae, Robert & Uthemann, Andreas, 2022. "Artificial intelligence and systemic risk," Journal of Banking & Finance, Elsevier, vol. 140(C).
    3. Kenya Valeria M. S. Noronha & M™nica Viegas Andrade, 2002. "Desigualdades sociais em saúde: evidências empíricas sobre o caso brasileiro," Textos para Discussão Cedeplar-UFMG td171, Cedeplar, Universidade Federal de Minas Gerais.
    4. Maya Maor & Moflah Ataika & Pesach Shvartzman & Maya Lavie Ajayi, 2021. "“I Had to Rediscover Our Healthy Food”: An Indigenous Perspective on Coping with Type 2 Diabetes Mellitus," IJERPH, MDPI, vol. 19(1), pages 1-16, December.
    5. Elena Cottini & Claudio Lucifora, 2013. "GINI DP 86: Inequalities at work Job quality, Health and Low pay in European Workplaces," GINI Discussion Papers 86, AIAS, Amsterdam Institute for Advanced Labour Studies.
    6. Maite Blázquez Cuesta & Elena Cottini & Herrarte, A. (Ainhoa), 2012. "GINI DP 39: Socioeconomic Gradient in Health: How Important is Material Deprivation?," GINI Discussion Papers 39, AIAS, Amsterdam Institute for Advanced Labour Studies.
    7. Emiliya A. Lazarova, 2006. "Governance In Relation To Infant Mortality Rate: Evidence From Around The World," Annals of Public and Cooperative Economics, Wiley Blackwell, vol. 77(3), pages 385-394, September.
    8. Apouey, Bénédicte & Geoffard, Pierre-Yves, 2013. "Family income and child health in the UK," Journal of Health Economics, Elsevier, vol. 32(4), pages 715-727.
    9. Doyle, Orla & Harmon, Colm P. & Walker, Ian, 2005. "The Impact of Parental Income and Education on the Health of their Children," IZA Discussion Papers 1832, Institute of Labor Economics (IZA).
    10. Shan Huang & Michael Allan Ribers & Hannes Ullrich, 2021. "The Value of Data for Prediction Policy Problems: Evidence from Antibiotic Prescribing," Discussion Papers of DIW Berlin 1939, DIW Berlin, German Institute for Economic Research.
    11. Adam Wagstaff & Eddy van Doorslaer, 2004. "Overall versus socioeconomic health inequality: a measurement framework and two empirical illustrations," Health Economics, John Wiley & Sons, Ltd., vol. 13(3), pages 297-301, March.
    12. Pierre Pestieau, 2009. "Assessing The Performance Of The Public Sector," Annals of Public and Cooperative Economics, Wiley Blackwell, vol. 80(1), pages 133-161, March.
    13. David E. Sahn & David C. Stifel, 2003. "Urban--Rural Inequality in Living Standards in Africa," Journal of African Economies, Centre for the Study of African Economies, vol. 12(4), pages 564-597, December.
    14. Teresa Bago d'Uva & Eddy Van Doorslaer & Maarten Lindeboom & Owen O'Donnell, 2008. "Does reporting heterogeneity bias the measurement of health disparities?," Health Economics, John Wiley & Sons, Ltd., vol. 17(3), pages 351-375, March.
    15. Gao, Qiuming & Wang, Derek, 2021. "Hospital efficiency and equity in health care delivery: A study based in China," Socio-Economic Planning Sciences, Elsevier, vol. 76(C).
    16. Michael Hurd & Arie Kapteyn, 2003. "Health, Wealth, and the Role of Institutions," Journal of Human Resources, University of Wisconsin Press, vol. 38(2).
    17. Heirati, Nima & Pitardi, Valentina & Wirtz, Jochen & Jayawardhena, Chanaka & Kunz, Werner & Paluch, Stefanie, 2025. "Unintended consequences of service robots – Recent progress and future research directions," Journal of Business Research, Elsevier, vol. 194(C).
    18. Erik Meijer & Arie Kapteyn & Tatiana Andreyeva, 2008. "Health Indexes and Retirement Modeling in International Comparisons," Working Papers 614, RAND Corporation.
    19. Bénédicte Apouey & David Madden, 2023. "Health poverty," Chapters, in: Jacques Silber (ed.), Research Handbook on Measuring Poverty and Deprivation, chapter 19, pages 202-211, Edward Elgar Publishing.
    20. Friedrich Breyer & Martin Heineck & Normann Lorenz, 2003. "Determinants of health care utilization by German sickness fund members ‐ with application to risk adjustment," Health Economics, John Wiley & Sons, Ltd., vol. 12(5), pages 367-376, May.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0317722. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.