A study revealed that if a person suffers from the disease D, the test result in that clinic comes out positive 80% of the time, and negative 20% of the time. If a person is not suffering from the disease D, the test comes out positive 10% of the time and negative 90% of the time. It is also known that among the general population, the disease D occurs in 30% of the individuals.
If a person tests positive for D in that clinic, the probability that he/she actually suffers from the disease D is __________ . (Rounded off to two decimal places)
0.77
Step-by-Step Solution
Insight: This is a textbook Bayes-reversal question — you know and , and you want . The denominator is the law of total probability over .
Exam route:
Step 1 — Write priors and likelihoods:
Step 2 — Total probability of a positive test:
Step 3 — Bayes:
Rounded to two decimal places: .
Learning route: The event "test positive" can happen in two mutually exclusive ways — the person has the disease and the test correctly flags it, or the person is healthy and the test falsely flags it. These two branches cover every way to see . Sum their joint probabilities to get , then the diseased branch divided by the total gives the posterior.
Trap check: If you swap numerator and denominator and compute instead of , you get — a classic reversal error.
Verification: . ✓