Update the chance of a diagnosis after a test result, from the pre-test probability and the test's likelihood ratio or its sensitivity and specificity, including several tests in a row.
Post-test odds = pre-test odds × likelihood ratio
Post-test probability is the chance that a patient has a condition after taking a test result into account. It starts from the pre-test probability, the clinician's estimate before the test from symptoms, history and how common the condition is.
The likelihood ratio says how much the result should shift that estimate. Working in odds makes the update a single multiplication: odds after = odds before × LR. An LR of 10 multiplies the odds tenfold; an LR of 0.1 cuts them to a tenth.
Because LRs don't depend on prevalence, the same test can be applied to any patient. A positive result in a low-risk patient may still leave the diagnosis unlikely, while in a high-risk patient it can be decisive.
As given in Deeks & Altman, "Diagnostic tests 4: likelihood ratios" (BMJ, 2004), and Fagan (1975). See Sources.
For several independent tests, multiply their LRs together. Tests that measure the same thing aren't independent and shouldn't be chained.
A negative result makes a clot unlikely enough to avoid a scan. A positive result, though, only raises 20% to 32%: the test is good at ruling out and poor at ruling in.
Post-test probability for different starting points and likelihood ratios.
| Pre-test | LR 0.1 | LR 0.5 | LR 2 | LR 10 |
|---|---|---|---|---|
| 5% | 0.5% | 2.6% | 9.5% | 34.5% |
| 20% | 2.4% | 11.1% | 33.3% | 71.4% |
| 50% | 9.1% | 33.3% | 66.7% | 90.9% |
| 80% | 28.6% | 66.7% | 88.9% | 97.6% |
Prevalence in similar patients, adjusted by symptoms and history, often using a validated clinical score such as Wells.
Because Bayes’ theorem becomes a simple multiplication in odds form, and LRs can be chained.
Type their likelihood ratios separated by commas, such as 4, 6. They are applied in order, assuming the tests are independent.
A printed chart that draws a line from pre-test probability through the LR to read off the post-test probability. This calculator does the same sum.
Roughly, LR+ above 10 or LR− below 0.1 changes the picture a lot; LRs between 0.5 and 2 hardly change it.
When the pre-test probability equals the study prevalence and the result is positive, yes. PPV is the special case.
Yes: 20%, 0.2 and 1/5 all work for probabilities, sensitivity and specificity.
Consider another, independent test. Each result multiplies the odds again.
Related Tools
Evaluate classification models.
Classification metrics.
Diagnostic test accuracy.
Diagnostic test performance.
Risk ratio comparison.
Event probability.