Question 1
MATH40005 Probability and Statistics Resit Preparation
Question 1
1(a). A condition has prevalence 0.04. A diagnostic test has sensitivity 0.90 and false-positive rate 0.06. Find the probability
that a randomly selected person tests positive. (3 marks)
1(b). Find the probability that a person who tests positive has the condition, and explain briefly why it is much lower than
the sensitivity. (4 marks)
1(c). A lottery draw contains 4 distinct main numbers from {1, . . . ,35} and one bonus symbol from {1, . . . ,8}. A ticket is
chosen uniformly in the same format. Find the probability that it matches exactly two main numbers and the bonus symbol.
(6 marks)
1(d). Eighteen identical samples are distributed among five labelled laboratories, each receiving at least two. How many
allocations are possible? (3 marks)
1(e). Assume that the birthday week of each of 16 people is independent and uniformly distributed among 52 weeks. Find
the probability that at least two people share a birthday week. (4 marks)
Total: 20 marks
2
Worked solution and marking guidance
MATH40005 Probability and Statistics Resit Preparation
Question 1: solution and marking guide
1(a). Let D be the condition and + a positive result. By the law of total probability,
P(+) = 0 .90(0.04) + 0.06(0.96) = 0 .0936.
3 marks; A:3
1(b). Bayes’ theorem gives
P(D | +) = 0.90(0.04)
0.0936 = 5
13 ≈ 0.3846.
Sensitivity conditions on already having the condition, whereas the posterior also incorporates the low prevalence and the
false positives among the much larger unaffected group.
4 marks; A:1, B:1, D:2
1(c). There are
35
4
possible main-number choices. To match exactly two of the four drawn main numbers, choose two correct
numbers and two of the remaining 31 incorrect numbers. The bonus match has probability 1/8. Therefore
P =
4
2
31
2
35
4
· 1
8 ≈ 0.00666.
6 marks; A:3, B:1, D:2
1(d). Give two samples to each laboratory first, leaving 8 samples. The number of nonnegative solutions of y1 + · · ·+ y5 = 8
is 8 + 5 − 1
5 − 1
=
12
4
= 495.
3 marks; A:2, C:1
1(e). The complement is that all 16 weeks are distinct. Hence
P(at least one shared week ) = 1 − 52 · 51 · · · (52 − 15)
5216 = 1 − (52)16
5216 .
4 marks; A:1, B:2, C:1
Question total: 20 marks
2