Questions: Bayes' Theorem and Statistical Inference
5 questions to test your understanding
Score: 0 / 5
Question 1 Multiple Choice
A disease affects 1% of a population. A test for it is 95% sensitive and 95% specific. A person tests positive. What is the approximate probability they actually have the disease?
A95%, because the test is 95% accurate
B50%, because either they have the disease or they don't
CAbout 16%, because the low disease prevalence means most positives are false positives
DAbout 99%, because false positives are very rare with a 95% specific test
Using Bayes' theorem: P(disease|positive) = (0.95 × 0.01) / [(0.95 × 0.01) + (0.05 × 0.99)] ≈ 0.0095 / 0.059 ≈ 16%. Out of 10,000 people: ~100 sick (95 test positive) and ~9,900 healthy (495 false positives). Of 590 total positives, only 95 are truly sick. The low base rate (1%) means the healthy population generates far more false positives than the sick population generates true positives, even with a highly accurate test.
Question 2 Multiple Choice
Which of the following correctly identifies the three components of Bayes' theorem in the medical testing context?
APrior = disease prevalence; Likelihood = probability of testing positive given you have the disease; Posterior = probability of having the disease given a positive test
BPrior = test accuracy; Likelihood = probability of a false positive; Posterior = probability of a true negative
CPrior = probability of testing positive; Likelihood = disease severity; Posterior = probability of recovery
DPrior = doctor's diagnosis; Likelihood = number of tests taken; Posterior = final diagnosis
In Bayesian terms: the prior P(disease) encodes background knowledge — the population prevalence before any test is run. The likelihood P(positive|disease) encodes how probable a positive result is if the person is sick — the test's sensitivity. The posterior P(disease|positive) is what you should believe after seeing the evidence — the probability of disease given the positive result. Bayes' theorem computes the posterior from the prior and likelihood.
Question 3 True / False
If a medical test is 95% accurate, a patient who tests positive has a 95% probability of having the disease.
TTrue
FFalse
Answer: False
False. '95% accurate' describes the test's sensitivity and specificity, but the probability of actually having the disease after a positive test — the positive predictive value — depends critically on the base rate (prior probability). When a disease is rare, most positive results are false positives, even with a highly accurate test. Ignoring the prior and equating test accuracy with diagnostic probability is called the base rate fallacy, and it is one of the most common errors in probabilistic reasoning.
Question 4 True / False
Bayes' theorem provides a principled method for updating a prior probability estimate when new evidence is observed.
TTrue
FFalse
Answer: True
True — this is precisely what Bayes' theorem does. It takes a prior P(B), incorporates the likelihood of the observed evidence P(A|B), and produces a posterior P(B|A) that reflects updated knowledge. Each new observation can trigger another application: the previous posterior becomes the new prior. This sequential updating is the foundation of Bayesian inference and is why the framework is powerful for reasoning under uncertainty.
Question 5 Short Answer
Why does a rare disease have a low positive predictive value even when the diagnostic test has high sensitivity and specificity? Use the concepts of prior and likelihood in your explanation.
Think about your answer, then reveal below.
Model answer: The positive predictive value is the posterior P(disease|positive). By Bayes' theorem, this is proportional to the likelihood P(positive|disease) multiplied by the prior P(disease). When the disease is rare, the prior is very small. Even a high likelihood (95% sensitivity) multiplied by a tiny prior produces a small numerator. The denominator also includes false positives: P(positive|healthy) × P(healthy), which is large when the healthy population is large. The result is that most positive tests come from the large healthy population, not the small sick one.
The prior can dominate the posterior when it is extreme. A 1% disease prevalence means 99% of the population is healthy — even a 5% false positive rate generates far more false positives from the healthy majority than true positives from the sick minority. Bayes' theorem makes this arithmetic precise and shows that 'how accurate is the test' is always a secondary question to 'how common is what we're testing for.'