No Cover Image

Journal article 662 views 56 downloads

Predicting a diagnosis of ankylosing spondylitis using primary care health records–A machine learning approach

Jonathan Kennedy, Tash Kennedy Kennedy, Roxanne Cooksey Orcid Logo, Ernest Choy, Stefan Siebert Orcid Logo, Muhammad Rahman, Sinead Brophy Orcid Logo

PLOS ONE, Volume: 18, Issue: 3, Start page: e0279076

Swansea University Authors: Jonathan Kennedy, Tash Kennedy Kennedy, Roxanne Cooksey Orcid Logo, Sinead Brophy Orcid Logo

  • 63908.VOR.pdf

    PDF | Version of Record

    Copyright: © 2023 Kennedy et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.

    Download (978.14KB)

Abstract

Ankylosing spondylitis is the second most common cause of inflammatory arthritis. However, a successful diagnosis can take a decade to confirm from symptom onset (via x-rays). The aim of this study was to use machine learning methods to develop a profile of the characteristics of people who are like...

Full description

Published in: PLOS ONE
ISSN: 1932-6203
Published: Public Library of Science (PLoS) 2023
Online Access: Check full text

URI: https://cronfa.swan.ac.uk/Record/cronfa63908
Tags: Add Tag
No Tags, Be the first to tag this record!
Abstract: Ankylosing spondylitis is the second most common cause of inflammatory arthritis. However, a successful diagnosis can take a decade to confirm from symptom onset (via x-rays). The aim of this study was to use machine learning methods to develop a profile of the characteristics of people who are likely to be given a diagnosis of AS in future. The Secure Anonymised Information Linkage databank was used. Patients with ankylosing spondylitis were identified using their routine data and matched with controls who had no record of a diagnosis of ankylosing spondylitis or axial spondyloarthritis. Data was analysed separately for men and women. The model was developed using feature/variable selection and principal component analysis to develop decision trees. The decision tree with the highest average F value was selected and validated with a test dataset. The model for men indicated that lower back pain, uveitis, and NSAID use under age 20 is associated with AS development. The model for women showed an older age of symptom presentation compared to men with back pain and multiple pain relief medications. The models showed good prediction (positive predictive value 70%-80%) in test data but in the general population where prevalence is very low (0.09% of the population in this dataset) the positive predictive value would be very low (0.33%-0.25%). Machine learning can be used to help profile and understand the characteristics of people who will develop AS, and in test datasets with artificially high prevalence, will perform well. However, when applied to a general population with low prevalence rates, such as that in primary care, the positive predictive value for even the best model would be 1.4%. Multiple models may be needed to narrow down the population over time to improve the predictive value and therefore reduce the time to diagnosis of ankylosing spondylitis.
Keywords: Ankylosing spondylitis, arthritis, pain, machine learning, decision trees, rheumatology, diagnostic medicine, NSAIDS
College: Faculty of Medicine, Health and Life Sciences
Funders: This work was supported by UCB Pharma, Health Data Research UK, and the infrastructure support of the National Centre for Population Health and Wellbeing and the SAIL Databank.
Issue: 3
Start Page: e0279076