Learn what your exams actually test.

Upload past exams for a course. We sort every question by topic, explain the concepts it tests and show you a solution.

Free to try. No account needed.

An animation of a statistics course: three past exams break into questions, the questions are sorted by topic into a course map, a question on one topic opens with its solution, then a concept it tests opens with a diagram, a worked example and a slider to try.

Upload your past exams

See what they actually test

Open any question, see the solution

Learn the concept behind it

Work through an example

Try it yourself

Drop exam PDFs here
STAT110Exam, March 2025
STAT110Exam, June 2024
STAT110Exam, March 2024
STAT110Probability and Statistics24 questions
Hypothesis Tests and Estimation32%Random Variables26%Bayesian Inference17%Probability Basics15%Regression and Correlation11%
March 202550 points
15p
27p
36p
48p
56p
66p
77p
85p
June 202450 points
16p
26p
37p
48p
56p
67p
75p
85p
March 202450 points
15p
26p
37p
46p
57p
67p
76p
86p

Question 6

7 pointsBayesian Inference

A screening test is used where 1 in 200 people have a disease. It detects 98% of cases and wrongly flags 3% of healthy people. Someone tests positive. What are the posterior odds that they have the disease, and what probability is that?

Show the 2 concepts tested
Official solution

The prior odds are 1:1991 : 199 and the likelihood ratio is 0.98/0.03≈32.70.98 / 0.03 \approx 32.7, so the posterior odds are 32.7/199≈0.16432.7 / 199 \approx 0.164. That is a probability of 0.164/1.164≈14%0.164 / 1.164 \approx 14\%.

Bayes' theoremHow to work out how likely something is once you have seen new evidence.
Likelihood ratioHow many times likelier the evidence is if something is true than if it isn't.

Bayes' theorem

Intuition
Intuition
Example
Example
Formal
Formal
Interact
Interact

How to work out how likely something is once you have seen new evidence.

So a positive result puts you among 198 people, of whom only 99 are ill: a 50% chance.

The same test (positive for 99% of ill people, for 1% of healthy people) is used on 10,000 people, but now 2% of them have the illness. What is the probability that a person who tests positive is ill?

1
Split the population into the possible causes using how common each is.

Ill: 2%2\% of 10,000=20010{,}000 = 200. Healthy: 9,8009{,}800.

2
Within each group, count the people who show the observed result.

Ill and positive: 99%99\% of 200=198200 = 198. Healthy and positive: 1%1\% of 9,800=989{,}800 = 98.

Next stepShow all steps

Move the slider until a positive test is a coin flip: a 50% chance of being ill.

how common it is (%)
0.1
chance you're ill (%)
9.0

At 1%, the 99 ill people who test positive exactly match the 99 healthy people flagged by mistake. Any rarer, and most positive tests are false alarms.

Demo

Learn each concept your way

Start with the idea and a picture, work through an example step by step, or go straight to the definition.

STAT110Probability and Statistics

Example

Bayes' theorem

How to work out how likely something is once you have seen new evidence.

Picture 10,000 people screened for an illness that 1 in 100 has, with a test that is right 99% of the time. Of the 100 ill people 99 test positive, and so do 99 of the 9,900 healthy people, by mistake.

So a positive result puts you among 198 people, of whom only 99 are ill: a 50% chance.

1%99%99%1%10,000 peopleIll100Healthy9,900Positive99Positive99

The 10,000 people split by illness, then by test result; the highlighted groups are everyone who tests positive, 99 ill and 99 healthy.