Diagnostic test evaluation | MedCalc (original) (raw)

Mail a PDF copy of this page to:
Email address

Save this email address on this device

(Your email address will not be added to a mailing list)

Use this calculator to evaluate the performance of a diagnostic test using a 2x2 table. It calculates sensitivity, specificity, predictive values, likelihood ratios, and accuracy.

You enter the number of cases in the diseased group that test positive (a) and negative (b); and the number of cases in the non-diseased group that test positive (c) and negative (d).

Disease prevalence

If the sample sizes in the positive (Disease present) and the negative (Disease absent) groups do not reflect the real prevalence of the disease, you can enter the disease prevalence (expressed as a percentage) in the corresponding input box.

Number or true positives (disease present, test positive) Number of false negatives (disease present, test negative) Number of false positives (disease absent, test positive) Number of true nagatives (disease absent, test negative)

| | Disease | | | | | | | ------------- | -------------- | ----- | -------------- | ----- | --------- | | Test | Present | n | Absent | n | Total | | Positive | True Positive | a= | False Positive | c= | a + c | | Negative | False Negative | b= | True Negative | d= | b + d | | Total | | a + b | | c + d | |

Disease prevalence

If the ratio of cases in the Disease Present and Disease Absent groups
does not reflect the disease prevalence, enter:

disease prevalence (%):

Results

Statistic Value 95% CI
Sensitivity
Specificity
Positive Likelihood Ratio
Negative Likelihood Ratio
Disease prevalence (*)
Positive Predictive Value (*)
Negative Predictive Value (*)
Accuracy (*)

(*) These values are dependent on disease prevalence.

Definitions

Sensitivity, specificity, disease prevalence, positive and negative predictive value as well as accuracy are expressed as percentages.

Confidence intervals for sensitivity, specificity and accuracy are "exact" Clopper-Pearson confidence intervals.

Confidence intervals for the likelihood ratios are calculated using the "Log method" as given on page 109 of Altman et al. 2000.

Confidence intervals for the predictive values are the standard logit confidence intervals given by Mercaldo et al. 2007; except when the predictive value is 0 or 100%, in which case a Clopper-Pearson confidence interval is reported.

Literature

How to cite this page

Other free statistical calculators

See also