%diag_test: a generic SAS macro for evaluating diagnostic accuracy measures for multiple diagnostic tests

被引:0
|
作者
Muthusi, Jacques K. [1 ]
Young, Peter W. [2 ]
Mboya, Frankline O. [1 ]
Mwalili, Samuel M. [3 ]
机构
[1] US Ctr Dis Control & Prevent, Div Global HIV & TB, Ctr Global Hlth, POB 606, Nairobi 00621, Kenya
[2] US Ctr Dis Control & Prevent Mozamb, Global Hlth Ctr, Div Global HIV & TB, Maputo, Mozambique
[3] Strathmore Univ, Ctr Hlth Analyt & Modelling CHaM, Inst Math Sci, Nairobi, Kenya
关键词
SAS macro; Disease prevalence; Diagnostic accuracy measures; Reproducible research; Machine learning classification; CONFIDENCE-INTERVALS; STATISTICS NOTES; SENSITIVITY; PROPORTION;
D O I
10.1186/s12911-024-02808-5
中图分类号
R-058 [];
学科分类号
摘要
BackgroundMeasures of diagnostic test accuracy provide evidence of how well a test correctly identifies or rules-out disease. Commonly used diagnostic accuracy measures (DAMs) include sensitivity and specificity, predictive values, likelihood ratios, area under the receiver operator characteristic curve (AUROC), area under precision-recall curves (AUPRC), diagnostic effectiveness (accuracy), disease prevalence, and diagnostic odds ratio (DOR) etc. Most available analysis tools perform accuracy testing for a single diagnostic test using summarized data. We developed a SAS macro for evaluating multiple diagnostic tests using individual-level data that creates a 2 x 2 summary table, AUROC and AUPRC as part of output.MethodsThe SAS macro presented here is automated to reduce analysis time and transcription errors. It is simple to use as the user only needs to specify the input dataset, "standard" and "test" variables and threshold values. It creates a publication-quality output in Microsoft Word and Excel showing more than 15 different accuracy measures together with overlaid AUROC and AUPRC graphics to help the researcher in making decisions to adopt or reject diagnostic tests. Further, it provides for additional variance estimation methods other than the normal distribution approximation.ResultsWe tested the macro for quality control purposes by reproducing results from published work on evaluation of multiple types of dried blood spots (DBS) as an alternative for human immunodeficiency virus (HIV) viral load (VL) monitoring in resource-limited settings compared to plasma, the gold-standard. Plasma viral load reagents are costly, and blood must be prepared in a reference laboratory setting by a qualified technician. On the other hand, DBS are easy to prepare without these restrictions. This study evaluated the suitability of DBS from venous, microcapillary and direct spotting DBS, hence multiple diagnostic tests which were compared to plasma specimen. We also used the macro to reproduce results of published work on evaluating performance of multiple classification machine learning algorithms for predicting coronary artery disease.ConclusionThe SAS macro presented here is a powerful analytic tool for analyzing data from multiple diagnostic tests. The SAS programmer can modify the source code to include other diagnostic measures and variance estimation methods. By automating analysis, the macro adds value by saving analysis time, reducing transcription errors, and producing publication-quality outputs.
引用
收藏
页数:16
相关论文
共 50 条
  • [1] Assessing the performance of diagnostic test accuracy measures
    Tsokani, Sofia
    Veroniki, Areti Angeliki
    Pandis, Nikolaos
    Mavridis, Dimitris
    AMERICAN JOURNAL OF ORTHODONTICS AND DENTOFACIAL ORTHOPEDICS, 2022, 161 (05) : 748 - 751
  • [2] Detection and Diagnostic Overall Accuracy Measures of Medical Tests
    Grunau, Gilat
    Linn, Shai
    RAMBAM MAIMONIDES MEDICAL JOURNAL, 2018, 9 (04):
  • [3] Evaluating medical tests: introducing the Cochrane Handbook for Systematic Reviews of Diagnostic Test Accuracy
    Bossuyt, Patrick M.
    Deeks, Jonathan J.
    Leeflang, Mariska M.
    Takwoingi, Yemisi
    Flemyng, Ella
    COCHRANE DATABASE OF SYSTEMATIC REVIEWS, 2023, (07):
  • [4] More Than Just Accuracy: A Novel Method to Incorporate Multiple Test Attributes in Evaluating Diagnostic Tests Including Point of Care Tests
    Thompson, Matthew
    Weigl, Bernhard
    Fitzpatrick, Annette
    Ide, Nicole
    IEEE JOURNAL OF TRANSLATIONAL ENGINEERING IN HEALTH AND MEDICINE, 2016, 4
  • [5] Evaluating medical diagnostic tests - Beyond the McNemaris test
    Lockwood, G
    CONTROLLED CLINICAL TRIALS, 2003, 24 : 110S - 110S
  • [6] Diagnostic accuracy of tests and measures for shoulder labral dysfunction Reply
    Cook, Chad
    JOURNAL OF SHOULDER AND ELBOW SURGERY, 2012, 21 (11) : E20 - E21
  • [7] Evaluating Diagnostic Accuracy in the Face of Multiple Reference Standards
    Naaktgeboren, Christiana A.
    De Groot, Joris A. H.
    van Smeden, Maarten
    Moons, Karel G. M.
    Reitsma, Johannes B.
    ANNALS OF INTERNAL MEDICINE, 2013, 159 (03) : 195 - +
  • [8] Accuracy of diagnostic tests in multiple sclerosis - a systematic review
    Schaeffler, N.
    Koepke, S.
    Winkler, L.
    Schippling, S.
    Inglese, M.
    Fischer, K.
    Heesen, C.
    ACTA NEUROLOGICA SCANDINAVICA, 2011, 124 (03): : 151 - 164
  • [9] Evaluating accuracy of diagnostic tests without conditional independence assumption
    Lu, Di
    Zhou, Chunxiao
    Tang, Larry
    Tan, Ming
    Yuan, Ao
    Chan, Leighton
    STATISTICS IN MEDICINE, 2018, 37 (19) : 2809 - 2821
  • [10] EVALUATING MULTIPLE DIAGNOSTIC-TESTS - WITH PARTIAL VERIFICATION
    BAKER, SG
    BIOMETRICS, 1995, 51 (01) : 330 - 337