EuraStudy
This topic uses the law of total probability and Bayes' theorem to reverse a conditional probability, updating a prior belief in the light of evidence to a posterior. It applies the method to diagnostic and screening problems, where the interplay of a low base rate with test accuracy produces the counter-intuitive but important base-rate effect.
4 sections~10 min reading time3 competenciesLevel Standard 1 · Advanced 3
basic level
The AS foundation expects the law of total probability and simple conditional reversals via a tree or table.
higher level
The full A-Level expects the formal statement of Bayes' theorem, prior/posterior language and the base-rate interpretation.
Reading depth: In depth
Text size: Standard
Law of total probability (two-part partition)
Sum the probabilities of every route to through a partition of the sample space.
A disease affects 1% of a population. A test gives a positive result for 99% of sufferers and 5% of non-sufferers. Find .
.
.
.
Result: , of which most (0.0495) comes from healthy people.
Typical mistakes
Active revision
A disease has prevalence 2%. A test is positive for 95% of sufferers and for 3% of non-sufferers. Find the overall probability of a positive test.
Active recall
Recall the key points — then reveal.
Sources: Pearson Edexcel Level 3 Advanced GCE in Statistics (9ST0) Specification (Pearson Edexcel)
Probability tree for a diagnostic test
Bayes' theorem
The wanted conditional equals the target path over the total probability of the evidence.
With , and , find the probability that a person who tests positive actually has the disease.
.
.
(3 s.f.).
Despite the positive result, there is only about a 16.7% chance the person has the disease.
Result: (3 s.f.), so a positive result implies only about a 1-in-6 chance of disease.
Typical mistakes
Active revision
Using the diagnostic tree, find from the path products.
Active recall
Recall the key points — then reveal.
Sources: Pearson Edexcel Level 3 Advanced GCE in Statistics (9ST0) Specification (Pearson Edexcel)
Bayesian updating
The posterior is proportional to the likelihood times the prior; normalise by .
With the same test (, ), recompute when the prevalence is .
.
.
(3 s.f.).
The same test gives a posterior of 0.832 at 20% prevalence versus 0.167 at 1% — the prior dominates the interpretation.
Result: At 20% prevalence the posterior is 0.832, far above the 0.167 at 1%, showing the decisive role of the prior.
Typical mistakes
Active revision
Explain how the posterior probability of disease after a positive test would change if the disease were much more common (say 20% prevalence).
Active recall
Recall the key points — then reveal.
Sources: Pearson Edexcel Level 3 Advanced GCE in Statistics (9ST0) Specification (Pearson Edexcel)
Frequency table for 10 000 tested people
Positive predictive value
The proportion of positive tests that are true cases; low when the base rate is low.
Among 10 000 people, 100 have a disease. A test detects 99 of them but also flags 495 of the 9 900 healthy people. Find the probability that a positive test is a true case.
Positives total .
Only 99 of these are genuinely diseased.
(3 s.f.).
Because the disease is rare, over 83% of positive results are false alarms, so a confirmatory test is warranted.
Result: ; most positives are false alarms because of the low base rate.
Typical mistakes
Active revision
For a condition with 0.5% prevalence and a test with 98% sensitivity and 96% specificity, build a table for 10 000 people and find the positive predictive value.
Active recall
Recall the key points — then reveal.
Sources: GCE AS and A level subject content (Statistics) (Department for Education / Ofqual)
References & sources
Department for Education / Ofqual