Sensitivity Specificity PPV NPV DLR Diagnostic Test 2x2 Table v5
Sensitivity Specificity PPV NPV DLR Diagnostic Test 2x2 Table v5
Disease
Test D+ D- Total
T+ 191 19 210 width of CI
T- 90 112 202 case-control study y/n
Total 281 131 412
logit
Sens 0.6797 0.6217 0.7339 0.7525 Sens:
Spec 0.8550 0.7828 0.9104 1.7741 Spec:
PPV 0.9095 0.8623 0.9446 2.3078 PPV:
NPV 0.5545 0.4831 0.6242 0.2187 NPV:
Prev 0.6820 0.6347 0.7268 0.7632 Prev:
DLR+ 4.6865 3.0687 7.1572 DLR+
DLR- 0.3746 0.3115 0.4505 DLR-
Calculation of exact CI for Sens, Spec Calculation of appr. CI for predictive val
Sens Spec Prev PPV NPV (PPV and NPV for case control study)
n1 191 112 281 191 112
n2 281 131 412 210 202
alpha/2 0.0250 0.0250 0.0250 0.0250 0.0250 ln(DLR+)
u 0.6217 0.7828 0.6347 0.8623 0.4831 ln(DLR-)
x 0.6797 0.8550 0.6820 0.9095 0.5545 logit(prev)+ln(DLR+)
o 0.7339 0.9104 0.7268 0.9446 0.6242 -logit(prev)-ln(DLR-)
Tool to calculate measures of diagnostic accuracy with confidence intervals
If disease prevalence is correctly reflected by study, then case-control-study = n
If disease prevalence is correctly reflected by study, then case-control-study = n
If disease prevalence is NOT correctly reflected by study, then case-control-study = y. Please input assumed prevale
Sens=P(T+|D+)=n(D+,T+)/n(D+)=TP/(TP+FN) probability of pos. test result given disease
Spec=P(T-|D-)=n(D-,T-)/n(D-)=TN/(TN+FP) probability of neg. test result given non-disease
PPV=P(D+|T+)=n(T+,D+)/n(T+)=TP/(TP+FP) probability of disease given positive test result
NPV=P(D-|T-)=n(T-,D-)/n(T-)=TN/(TN+FN) probability of non-disease given neg. test-result
DLR+=P(T+|D+)/P(T+|D-) = Sens/(1-Spec) post odds/pre odds for positive test result, large value indicates good
DLR-=P(T-|D+)/P(T-|D-) = (1-Sens)/Spec post odds/pre odds for negative test result, low value indicates good
Don't use measures like efficiacy, sum of sens and spec, … to describe diagnostic accuracy of a test!!!
Abbreviations:
Sens Sensitivity D+ Disease
Spec Specificity D- Non disease
PPV positive predictive value T+ positive test results
NPV negative predictive value T- negative test result
DLR+ positive diagnostic likelihood ratio P(a|b) conditional probability: probability of a given b
DLR- negative diagnostic likelihood ratio
prev prevalence
odds probability/(1-probability)
Seite 1
about
logit ln(x/(1-x))
Seite 2
about
0.001
Seite 3
tool
Disease
Test D+ D- Total
T+ 191 19 210 width of CI
T- 90 112 202 case-control study y/n
Total 281 131 412
logit
Sens 0.6797 0.6217 0.7339 0.7525 Sens:
Spec 0.8550 0.7828 0.9104 1.7741 Spec:
PPV 0.9095 0.8623 0.9446 2.3078 PPV:
NPV 0.5545 0.4831 0.6242 0.2187 NPV:
Prev 0.6820 0.6347 0.7268 0.7632 Prev:
DLR+ 4.6865 3.0687 7.1572 DLR+
DLR- 0.3746 0.3115 0.4505 DLR-
Calculation of exact CI for Sens, Spec Calculation of appr. CI for predictive value
Sens Spec Prev PPV NPV (PPV and NPV for case control study)
n1 191 112 281 191 112
n2 281 131 412 210 202
alpha/2 0.0250 0.0250 0.0250 0.0250 0.0250 ln(DLR+)
u 0.6217 0.7828 0.6347 0.8623 0.4831 ln(DLR-)
x 0.6797 0.8550 0.6820 0.9095 0.5545 logit(prev)+ln(DLR+)
o 0.7339 0.9104 0.7268 0.9446 0.6242 -logit(prev)-ln(DLR-)
Tool to calculate measures of diagnostic accuracy with confidence intervals
If disease prevalence is correctly reflected by study, then case-control-study = n
If disease prevalence is correctly reflected by the study, then case-control-study = n
If disease prevalence is NOT correctly reflected by study, then case-control-study = y.
In that case, input assumed prevalence (>0 and <100%).
Sens=P(T+|D+)=n(D+,T+)/n(D+)=TP/(TP+FN) probability of pos. test result given disease
Spec=P(T-|D-)=n(D-,T-)/n(D-)=TN/(TN+FP) probability of neg. test result given non-disease
PPV=P(D+|T+)=n(T+,D+)/n(T+)=TP/(TP+FP) probability of disease given positive test result
NPV=P(D-|T-)=n(T-,D-)/n(T-)=TN/(TN+FN) probability of non-disease given neg. test-result
DLR+=P(T+|D+)/P(T+|D-) = Sens/(1-Spec) post odds/pre odds for positive test result, large value indicates good t
DLR-=P(T-|D+)/P(T-|D-) = (1-Sens)/Spec post odds/pre odds for negative test result, low value indicates good te
Don't use measures like efficiacy, sum of sens and spec, … to describe diagnostic accuracy of a test!!!
Abbreviations:
Sens Sensitivity D+ Disease
Spec Specificity D- Non disease
PPV positive predictive value T+ positive test results
NPV negative predictive value T- negative test result
DLR+ positive diagnostic likelihood ratio P(a|b) conditional probability: probability of a given b
DLR- negative diagnostic likelihood ratio
prev prevalence
Seite 4
tool
odds probability/(1-probability)
logit ln(x/(1-x))
Seite 5
tool
0.001
given disease
t given non-disease
positive test result
ven neg. test-result
ive test result, large value indicates good test
tive test result, low value indicates good test
ostic accuracy of a test!!!
Seite 6