How to calculate
In the sensitivity and specificity mode, split the population into true and false positives and negatives and calculate the proportion with the condition among results of the selected type. In likelihood-ratio mode, multiply prior odds by the likelihood ratio and convert back to a probability.
Worked example
Use Inputs Sensitivity and specificity · Prevalence or pretest probability 1% · Sensitivity 99% · Specificity 99% · Test outcome when using sensitivity and specificity Positive. The result is 50%.
Input and result notes
Use reference-standard classifications or validated performance estimates. Results describe the study or statistical model for the entered inputs. The likelihood ratio must correspond to the observed test outcome.
FDA guidance on evaluating diagnostic tests