Question
In a city, 1% of people have a rare disease. A test detects the disease correctly in 99% of sick people, but also gives a false positive in 5% of healthy people. If a randomly chosen person tests positive, what is the probability they actually have the disease?
This is the classic Bayes’ theorem problem — counter-intuitive and a JEE Advanced favourite.
Solution — Step by Step
Let = has disease, = no disease, = tests positive.
, .
, .
Numerator: .
Denominator: .
, or about .
Final answer: .
Why This Works
The result feels wrong because the test is “99% accurate” — but that statistic refers to true-positive rate, not the predictive value of a positive result. Most healthy people test positive too, simply because there are vastly more healthy people than sick people.
Bayes’ theorem balances the prior probability (, very small) against the likelihood ratio (, fairly informative). The product gives the posterior — moving from to is a 17-fold update, not a slam-dunk diagnosis.
Alternative Method
Use a population of people. Expected: sick, healthy. True positives: ( of ). False positives: ( of ). Total positives: . Probability of disease given positive = .
This “natural frequencies” approach is what physicians and statisticians prefer — no formulas to remember.
JEE Advanced 2018 had a near-identical question with different numbers. Always present the population-based reasoning as your alternative — it earns step marks even if you mess up the algebra.
Common Mistake
Reading “99% accurate” and concluding . The conditional flips: does NOT imply . The base rate matters enormously.