Cookies on this website

We use cookies to ensure that we give you the best experience on our website. If you click 'Accept all cookies' we'll assume that you are happy to receive all cookies and you won't see this message again. If you click 'Reject all non-essential cookies' only necessary cookies providing core functionality such as security, network management, and accessibility will be enabled. Click 'Find out more' for information on how to change your cookie settings.

BackgroundThe global burden of the opportunistic fungal disease Pneumocystis jirovecii pneumonia (PJP) remains substantial. Polymerase chain reaction (PCR) on nasopharyngeal swabs (NPS) has high specificity and may be a viable alternative to the gold standard diagnostic of PCR on invasively collected lower respiratory tract specimens, but has low sensitivity. Sensitivity may be improved by incorporating NPS PCR results into machine learning models.MethodsThree supervised multivariable diagnostic models (random forest, logistic regression and extreme gradient boosting) were constructed and validated using a 111-person Australian dataset. The predictors were age, gender, immunosuppression type and NPS PCR result. Model performance metrics such as accuracy, sensitivity, specificity and predictive values were compared to select the best-performing model.ResultsThe logistic regression model performed best, with 80% accuracy, improving sensitivity to 86% and maintaining acceptable specificity of 70%. Using this model, positive and negative NPS PCR results indicated post-test probabilities of 84% (likely PJP) and 26% (unlikely PJP), respectively.ConclusionsThe logistic regression model should be externally validated in a wider range of settings. As the predictors are simple, routinely collected patient variables, this model may represent a diagnostic advance suitable for settings where collection of lower respiratory tract specimens is difficult but PCR is available.

More information Original publication

DOI

10.1093/inthealth/ihae052

Type

Journal article

Publication Date

2025-09-01T00:00:00+00:00

Volume

17

Pages

804 - 808

Total pages

4

Addresses

M, a, t, h, e, m, a, t, i, c, a, l, , a, n, d, , E, c, o, n, o, m, i, c, , M, o, d, e, l, l, i, n, g, , D, e, p, a, r, t, m, e, n, t, ,, , M, a, h, i, d, o, l, , O, x, f, o, r, d, , T, r, o, p, i, c, a, l, , M, e, d, i, c, i, n, e, , R, e, s, e, a, r, c, h, , U, n, i, t, ,, , c, /, o, , F, a, c, u, l, t, y, , o, f, , T, r, o, p, i, c, a, l, , M, e, d, i, c, i, n, e, ,, , M, a, h, i, d, o, l, , U, n, i, v, e, r, s, i, t, y, ,, , 3, r, d, , f, l, o, o, r, ,, , 6, 0, t, h, , A, n, n, i, v, e, r, s, a, r, y, , C, h, a, l, e, r, m, p, r, a, k, i, a, t, , B, u, i, l, d, i, n, g, ,, , 4, 2, 0, /, 6, , R, a, t, c, h, a, w, i, t, h, i, , R, o, a, d, ,, , R, a, t, c, h, a, t, h, e, w, i, ,, , B, a, n, g, k, o, k, , 1, 0, 4, 0, 0, ,, , T, h, a, i, l, a, n, d, .

Keywords

Nasopharynx, Humans, Pneumocystis carinii, Pneumonia, Pneumocystis, HIV Infections, Prevalence, Logistic Models, Sensitivity and Specificity, Polymerase Chain Reaction, Adult, Aged, Middle Aged, Australia, Female, Male, Supervised Machine Learning