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. Michael Allan Ribers & Hannes Ullrich, 2019. "Battling antibiotic resistance: can machine learning improve prescribing?," CESifo Working Paper Series 7654, CESifo.
    3. 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.
    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. Persson, Petra & Qiu, Xinyao & Rossin-Slater, Maya, 2021. "Family Spillover Effects of Marginal Diagnoses: The Case of ADHD," IZA Discussion Papers 14020, Institute of Labor Economics (IZA).
    2. Scott Duke Kominers & Alexander Teytelboym & Vincent P Crawford, 2017. "An invitation to market design," Oxford Review of Economic Policy, Oxford University Press and Oxford Review of Economic Policy Limited, vol. 33(4), pages 541-571.
    3. 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.
    4. Carolina Navarro & Luis Ayala & José Labeaga, 2010. "Housing deprivation and health status: evidence from Spain," Empirical Economics, Springer, vol. 38(3), pages 555-582, June.
    5. Paul Cross & Rhiannon T Edwards & Philip Nyeko & Gareth Edwards-Jones, 2009. "The Potential Impact on Farmer Health of Enhanced Export Horticultural Trade between the U.K. and Uganda," IJERPH, MDPI, vol. 6(5), pages 1-18, April.
    6. David Pérez-Mesa & à ngel S. Marrero, 2024. "Adult health and inequality of opportunity in Spain," Working Papers 671, ECINEQ, Society for the Study of Economic Inequality.
    7. Daníelsson, Jón & Macrae, Robert & Uthemann, Andreas, 2022. "Artificial intelligence and systemic risk," Journal of Banking & Finance, Elsevier, vol. 140(C).
    8. 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.
    9. 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.
    10. 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.
    11. 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.
    12. 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.
    13. Massimo Baldini & Gilberto Turati, 2006. "Long-run and short-run constraints in the access to private health care services: evidence from selected european countries," Center for the Analysis of Public Policies (CAPP) 0016, Universita di Modena e Reggio Emilia, Dipartimento di Economia "Marco Biagi".
    14. Jones, Andrew M. & Wildman, John, 2008. "Health, income and relative deprivation: Evidence from the BHPS," Journal of Health Economics, Elsevier, vol. 27(2), pages 308-324, March.
    15. Benedicte Apouey & Andrew E. Clark, 2015. "Winning Big but Feeling no Better? The Effect of Lottery Prizes on Physical and Mental Health," Health Economics, John Wiley & Sons, Ltd., vol. 24(5), pages 516-538, May.
    16. 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.
    17. 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).
    18. 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.
    19. 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.
    20. 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.

    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.