Download presentation
Presentation is loading. Please wait.
Published bySuzanna Hunt Modified over 8 years ago
1
Timothy Wiemken, PhD MPH Assistant Professor Division of Infectious Diseases Diagnostic Tests
2
Overview 1. Understand the calculation of measures of diagnostic accuracy 2. Understand the clinical utility of measures of diagnostic accuracy 3. Review concepts related to receiver operating characteristic curves
3
Question If you ask, “how many patients do I need for my study?” and your grant is due tomorrow, what am I going to tell you? a.3 b.Leave me alone c.Make stuff up d.%^$%# e.B and D
4
Overview 1. Understand the calculation of measures of diagnostic accuracy 2. Understand the clinical utility of measures of diagnostic accuracy 3. Review concepts related to receiver operating characteristic curves
5
Calculations Example Researchers develop a new test to detect HIV-1 from the blood based on nanotechnology.
6
Calculations Example How good is this new test? Researchers develop a new test to detect HIV-1 from the blood based on nanotechnology.
7
Calculations Any new test is compared to a gold standard test to calculate diagnostic accuracy statistics
8
Calculations Any new test is compared to a gold standard test to calculate diagnostic accuracy statistics 1.Run both tests on a set number of specimens (e.g. gold standard and new test)
9
Calculations Example What is the gold standard for HIV-1 detection?
10
Calculations Example What is the gold standard for HIV-1 detection? PCR HIV RNA detection
11
Calculations Any new test is compared to a gold standard test to calculate diagnostic accuracy statistics 1.Run both tests on a set number of specimens (e.g. gold standard and new test) 2. Compile results into a contingency table
12
Calculations Any new test is compared to a gold standard test to calculate diagnostic accuracy statistics 1.Run both tests on a set number of specimens (e.g. gold standard and new test) 2. Compile results into a contingency table What the heck is a contingency table?
13
Calculations Test +Test - Test + Test - 2x2 contingency tables are the backbone of statistics
14
Calculations Gold Standard Test Result Test +Test - New Test Result Test + Test - This is the layout for calculating diagnostic accuracy statistics
15
Calculations Gold Standard Test Result Test +Test - New Test Result Test + Test - Each cell represents a specific result.
16
Calculations Gold Standard Test Result Test +Test - New Test Result Test +TP Test - Each cell represents a specific result. TP: True Positive Both tests agree that the result is positive
17
Calculations Gold Standard Test Result Test +Test - New Test Result Test +TP Test -TN Each cell represents a specific result. TN: True Negative Both tests agree that the result is negative
18
Calculations Gold Standard Test Result Test +Test - New Test Result Test +TP Test -FNTN Each cell represents a specific result. FN: False Negative Gold standard says positive, new test says negative
19
Calculations Gold Standard Test Result Test +Test - New Test Result Test +TPFP Test -FNTN Each cell represents a specific result. FP: False Positive Gold standard says negative, new test says positive
20
Calculations Gold Standard Test Result Test +Test - New Test Result Test +TPFP Test -FNTN Each cell represents a specific result. Always believe the gold standard. However, it may be wrong. This is a limitation of all diagnostic accuracy statistics.
21
Calculations Gold Standard Test Result Test +Test - New Test Result Test +TPFP Test -FNTN Each cell represents a specific result. Obviously you always want a lot of true results and very few false results (if any).
22
Calculations Gold Standard Test Result Test +Test - New Test Result Test +TPFP Test -FNTN Each cell represents a specific result. If this is the case, the new test works just as well as the gold standard.
23
Calculations Gold Standard Test Result Test +Test - New Test Result Test +2545 Test -525 Say these are the data we get after running the two HIV-1 detection tests
24
Calculations Gold Standard Test Result Test +Test - New Test Result Test +2545 Test -525 1: Sensitivity Sensitivity is the proportion of people with the disease (as measured by the gold standard) that test positive on the new test.
25
Calculations Gold Standard Test Result Test +Test - New Test Result Test +25 (TP)45 (FP) Test -5 (FN)25 (TN) 1: Sensitivity Formula is (TP / TP+FN) x 100
26
Calculations Gold Standard Test Result Test +Test - New Test Result Test +25 (TP)45 (FP) Test -5 (FN)25 (TN) 1: Sensitivity Sensitivity = 25 / (5+25) x 100 = 83%
27
Calculations 1: Sensitivity Sensitivity = 25 / (5+25) x 100 = 83% What does this mean?
28
Calculations 1: Sensitivity Sensitivity = 25 / (5+25) x 100 = 83% Of all patients with HIV-1, 83% of them will test positive with the new test. 17% will be false negative (100% - 83%)
29
Calculations Gold Standard Test Result Test +Test - New Test Result Test +2545 Test -525 2: Specificity Specificity is the proportion of people without the disease (as measured by the gold standard) that test negative on the new test.
30
Calculations Gold Standard Test Result Test +Test - New Test Result Test +25 (TP)45 (FP) Test -5 (FN)25 (TN) 2: Specificity Formula is (TN / TN+FP) x 100
31
Calculations Gold Standard Test Result Test +Test - New Test Result Test +25 (TP)45 (FP) Test -5 (FN)25 (TN) 2: Specificity Specificity = 25 / (25+45) x 100 = 36%
32
Calculations 2: Specificity What does this mean? Specificity = 25 / (25+45) x 100 = 36%
33
Calculations 2: Specificity Of all patients without HIV-1, 36% will test negative with the new test. Specificity = 25 / (25+45) x 100 = 36% 64% will be False Positive (100% - 36%)
34
Calculations Gold Standard Test Result Test +Test - New Test Result Test +25 (TP)45 (FP) Test -5 (FN)25 (TN) 3: Positive Predictive Value (PPV) PPV is the proportion of people that test positive with the new test of everyone that tests positive.
35
Calculations Gold Standard Test Result Test +Test - New Test Result Test +25 (TP)45 (FP) Test -5 (FN)25 (TN) 3: Positive Predictive Value (PPV) Formula is (TP / TP+FP) x 100
36
Calculations Gold Standard Test Result Test +Test - New Test Result Test +25 (TP)45 (FP) Test -5 (FN)25 (TN) 3: Positive Predictive Value (PPV) PPV = 25 / (25+45) x 100 = 36%
37
Calculations 3: PPV Of everyone who tests positive with the new test, 36% will actually have HIV-1. PPV = 25 / (25+45) x 100 = 36% 64% (100%-36%) Will be False Positives (test positive but do not have the disease)
38
Calculations Gold Standard Test Result Test +Test - New Test Result Test +25 (TP)45 (FP) Test -5 (FN)25 (TN) 4: Negative Predictive Value (NPV) NPV is the proportion of people that test negative with the new test of everyone that tests negative.
39
Calculations Gold Standard Test Result Test +Test - New Test Result Test +25 (TP)45 (FP) Test -5 (FN)25 (TN) 4: Negative Predictive Value (NPV) Formula is (TN / TN+FN) x 100
40
Calculations Gold Standard Test Result Test +Test - New Test Result Test +25 (TP)45 (FP) Test -5 (FN)25 (TN) 4: Negative Predictive Value (NPV) PPV = 25 / (25+5) x 100 = 83%
41
Calculations 4: NPV Of everyone who tests negative with the new test, 83% will not have HIV-1. NPV = 25 / (25+5) x 100 = 83% 13% (100%-83%) Will be False Negative (test negative but have the disease)
42
Overview 1. Understand the calculation of measures of diagnostic accuracy 2. Understand the clinical utility of measures of diagnostic accuracy 3. Review concepts related to receiver operating characteristic curves
43
False Positives and Negatives FP and FN are critically important No test is perfect. Must understand the ramifications of each
44
False Positives and Negatives FP and FN are critically important Unnecessary treatment (costs, side effects) Anxiety Social stigma Outbreak investigations Unnecessary interventions False Positives
45
False Positives and Negatives FP and FN are critically important Disease transmission (between and within) Delayed treatment initiation Poor outcomes False Negatives
46
False Positives and Negatives FP and FN are critically important Which one is more important depends on the situation and disease
47
Using Statistics in Real Life Sn, Sp, PPV, NPV Remember Sn, Sp tell you the proportion of people who test positive with the new test out of everyone with the disease.
48
Using Statistics in Real Life Sn, Sp, PPV, NPV Remember Sn, Sp tell you the proportion of people who test positive with the new test out of everyone with the disease. When do you know everyone who has the disease in your practice?
49
Using Statistics in Real Life SnOut and SpIn Sensitivity and Specificity can still be clinically useful. vs
50
Using Statistics in Real Life It all comes back to false positives and false negatives Gold Standard Test Result Test +Test - New Test Result Test +25 (TP)45 (FP) Test -5 (FN)25 (TN) Sensitivity (Sn) is concerned with FN TP / (TP + FN) Specificity (Sp) is concerned with FP TN / (TN + FP) SnOut and SpIn
51
Using Statistics in Real Life SnOut (Sn=sensitivity) How does one get a HIGH SENSITIVITY? Gold Standard Test Result Test +Test - New Test Result Test +25 (TP)45 (FP) Test -5 (FN)25 (TN) Must have VERY FEW False Negatives Few false negatives provides a number closer to 1 (100%) TP / (TP + FN)
52
Using Statistics in Real Life SnOut A test with a high sensitivity (sn) must have very few false negatives.
53
Using Statistics in Real Life SnOut A test with a high sensitivity (sn) must have very few false negatives. Therefore, if a highly sensitive test gives you a negative result, it must be a TRUE NEGATIVE (there are few false negatives).
54
Using Statistics in Real Life SnOut A negative result for a highly sensitive test helps you rule out the disease (SnOut) Oink!
55
Using Statistics in Real Life SpIn How does one get a HIGH SPECIFICITY? Gold Standard Test Result Test +Test - New Test Result Test +25 (TP)45 (FP) Test -5 (FN)25 (TN) Must have VERY FEW False Positives Few false positives provides a number closer to 1 (100%) TN / (TN + FP)
56
Using Statistics in Real Life SpIn A test with a high sensitivity (sp) must have very few false positives. Therefore, if a highly specific test gives you a positive result, it must be a TRUE POSITIVE (there are few false positives).
57
Using Statistics in Real Life SpIn A positive result for a highly specific test helps you rule in the disease (SpIn) I have nothing clever to say!
58
Using Statistics in Real Life Issues with PPV, NPV These statistics vary with the prevalence of the disease in your population
59
Using Statistics in Real Life Issues with PPV, NPV For example, if you look at PPV and NPV of a tuberculosis test, it will vary significantly if you are testing people in a homeless shelter versus employees at the University of Louisville.
60
Using Statistics in Real Life Issues with PPV, NPV Sensitivity and Specificity do not suffer from this fault – these values are “inherent to the test” and do not change.
61
Using Statistics in Real Life HIV-1 Rapid Test Gold Standard Test Result Test +Test - New Test Result Test +20 (TP)33 (FP) Test -10 (FN)37 (TN) Bathhouse: 30% Prevalence Gold Standard Test Result Test +Test - New Test Result Test +10 (TP)40 (FP) Test -5 (FN)45 (TN) CTRSC Course: 15% Prevalence Calculate Sensitivity and Specificity
62
Using Statistics in Real Life HIV-1 Rapid Test Gold Standard Test Result Test +Test - New Test Result Test +20 (TP)33 (FP) Test -10 (FN)37 (TN) Bathhouse: 30% Prevalence Gold Standard Test Result Test +Test - New Test Result Test +10 (TP)40 (FP) Test -5 (FN)45 (TN) CTRSC Course: 15% Prevalence Sensitivity = 67%, Specificity = 53%
63
Using Statistics in Real Life HIV-1 Rapid Test Gold Standard Test Result Test +Test - New Test Result Test +20 (TP)33 (FP) Test -10 (FN)37 (TN) Bathhouse: 30% Prevalence Gold Standard Test Result Test +Test - New Test Result Test +10 (TP)40 (FP) Test -5 (FN)45 (TN) CTRSC Course: 15% Prevalence Calculate PPV and NPV
64
Using Statistics in Real Life HIV-1 Rapid Test Gold Standard Test Result Test +Test - New Test Result Test +20 (TP)33 (FP) Test -10 (FN)37 (TN) Bathhouse: 30% Prevalence Gold Standard Test Result Test +Test - New Test Result Test +10 (TP)40 (FP) Test -5 (FN)45 (TN) CTRSC Course: 15% Prevalence PPV= 38%, NPV= 79%PPV= 20%, NPV= 90%
65
Using Statistics in Real Life Relationship between NPV, PPV, and Prevalence
66
Overview 1. Understand the calculation of measures of diagnostic accuracy 2. Understand the clinical utility of measures of diagnostic accuracy 3. Review concepts related to receiver operating characteristic curves
67
Receiver-Operating Characteristic Some tests have continuous data instead of yes/no Examples Pneumonia Severity Index (PSI) APACHE Scores Glasgow Coma Scale Sequential Organ Failure Assessment Score (SOFA) Simplified Acute Physiology Score (SAPS) Clinical Pulmonary Infection Score (CPIS)
68
Receiver-Operating Characteristic Some tests have continuous data instead of yes/no How do we identify cutoffs of values that give us the best sensitivity and specificity? E.g. what level of the PSI is best to use as a cutoff to predict mortality in a pneumonia patient?
69
Receiver-Operating Characteristic ROC Curves
70
Receiver-Operating Characteristic ROC Curves: Evaluation At a Sensitivity= 90% Expect 55% false positives e.g. Specificity = 45% (False Positive Rate)
71
Receiver-Operating Characteristic ROC Curves Area Under the Curve (AUC) = how good the test is More area = High Sensitivity and Specificity
72
Receiver-Operating Characteristic ROC Curves 45 degree angle = 50/50 guess
73
Receiver-Operating Characteristic Comparing Tests via ROC Curves
74
Receiver-Operating Characteristic Comparing Tests via ROC Curves
75
Receiver-Operating Characteristic Comparing Tests via ROC Curves
76
Overview 1. Understand the calculation of measures of diagnostic accuracy 2. Understand the clinical utility of measures of diagnostic accuracy 3. Review concepts related to receiver operating characteristic curves
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.