%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 条
  • [21] Influence of partial stroke tests and diagnostic measures of the proof test interval
    Boercsoek, J.
    Machmur, D.
    RISK, RELIABILITY AND SOCIETAL SAFETY, VOLS 1-3: VOL 1: SPECIALISATION TOPICS; VOL 2: THEMATIC TOPICS; VOL 3: APPLICATIONS TOPICS, 2007, : 345 - +
  • [22] Diagnostic Test Accuracy of Genetic Tests in Diagnosing Psoriasis: A Systematic Review
    Mirghani, Hyder
    Alharfy, Abdulrahman Arshed N.
    Alanazi, Abeer Mohammed M.
    Aljohani, Jomanah Khalid M.
    Aljohani, Raghad Abdulrahman A.
    Albalawi, Raghad Hamdan A.
    Aljohani, Raneem Abdulrahman A.
    Albalawi, Danah Mohsen Alqasmi
    Albalawi, Rahaf Hamdan A.
    Mostafa, Mohamed, I
    CUREUS JOURNAL OF MEDICAL SCIENCE, 2022, 14 (11)
  • [23] Using a combination of reference tests to assess the accuracy of a new diagnostic test
    Alonzo, TA
    Pepe, MS
    STATISTICS IN MEDICINE, 1999, 18 (22) : 2987 - 3003
  • [24] Post-Test Diagnostic Accuracy Measures of a Continuous Test With a Disease of Ordinal Multistages
    Samawi, Hani
    Yin, Jingjing
    Rochani, Haresh
    Mo, Chen
    Kersey, Jing
    STATISTICS IN BIOPHARMACEUTICAL RESEARCH, 2022, 14 (04): : 552 - 558
  • [25] Random effects models in latent class analysis for evaluating accuracy of diagnostic tests
    Qu, YS
    Tan, M
    Kutner, MH
    BIOMETRICS, 1996, 52 (03) : 797 - 810
  • [26] Quality assessment in systematic reviews comparing the diagnostic accuracy of multiple tests
    Leeflang, Mariska M. G.
    CLINICAL MICROBIOLOGY AND INFECTION, 2022, 28 (05) : 629 - 630
  • [27] Estimating diagnostic accuracy of multiple binary tests with an imperfect reference standard
    Albert, Paul S.
    STATISTICS IN MEDICINE, 2009, 28 (05) : 780 - 797
  • [28] Estimating the agreement and diagnostic accuracy of two diagnostic tests when one test is conducted on only a subsample of specimens
    Katki, Hormuzd A.
    Li, Yan
    Edelstein, David W.
    Castle, Philip E.
    STATISTICS IN MEDICINE, 2012, 31 (05) : 436 - 448
  • [29] Random effects models in latent class analysis for evaluating accuracy of diagnostic test
    Qu, Y.
    Tan, M.
    Kutner, M. H.
    Biometrics, 52 (03):
  • [30] Accuracy of helicobacter pylori diagnostic tests: a comparison of rapid urease test and histopathology
    Moore, D. J.
    Kiraly-Borri, C. E.
    Jennings, M.
    Suthers, G.
    JOURNAL OF GASTROENTEROLOGY AND HEPATOLOGY, 2006, 21 : A352 - A352