Mathematics 9709/61 — October/November 2024
Cambridge A-Level · Probability & Statistics 2 · worked solutions for every part, with the mark scheme
Topics Sampling and Estimation · Linear Combinations of Random Variables · Hypothesis Tests · The Poisson Distribution · Continuous Random Variables
The heights of a certain species of deer are known to have standard deviation . A zoologist takes a random sample of 150 of these deer and finds that the mean height of the deer in the sample is .
Approach
For a 96% confidence interval for the population mean, use the formula
where is the sample mean, is the normal distribution value for 96% confidence, is the known population standard deviation, and is the sample size.
Working
The two-tailed probability is , so each tail has probability
From the normal distribution, the value with is
The standard error of the sample mean is
So the margin of error is
The 96% confidence interval is
Answer
1.36 m to 1.48 m
Walkthrough
We are given a sample of 150 deer with mean height and known population standard deviation . Because the sample size is large and is known, the sample mean is approximately normally distributed. A 96% confidence interval leaves 2% in each tail of the normal distribution, so the correct -value is about 2.054. The standard error of the sample mean is , and the confidence interval is the sample mean plus or minus times this standard error. This gives .
Key Takeaways
- A confidence interval for a population mean uses the sample mean and the standard error.
- The -value is determined by the confidence level and the two tails.
- The interval is a statement about the population mean, not about individual data values.
Common Mistakes
- Using (the 95% value) instead of for 96%.
- Forgetting to divide by when computing the standard error.
- Giving only the margin of error instead of the full interval.
Things to Be Careful About
- The tail probability is , not , because the 4% error is split between the two tails.
- The final interval should be rounded to 3 significant figures: .
- Include the units (m) where appropriate.
Bubay says that 96% of deer of this species are likely to have heights that are within this confidence interval.
Explain briefly whether Bubay is correct.
Approach
A confidence interval is an estimate for the population mean, not a range that contains individual values. Compare the interval with the spread of individual deer heights.
Working
The interval is an interval estimate for the population mean height . Individual deer heights are not described by this interval; they have standard deviation , so many individual deer can have heights outside to m.
Answer
No. Bubay is not correct. The confidence interval is for the population mean, not for individual deer heights.
No. The confidence interval is for the population mean, not for individual deer heights.
Walkthrough
Bubay claims that 96% of deer heights are inside the confidence interval. However, the interval was constructed for the population mean, not for individual observations. A 96% confidence interval means that if we repeatedly took samples and calculated intervals, about 96% of those intervals would contain the true population mean. Individual deer heights have a standard deviation of , so they vary much more than the narrow interval to m. Therefore Bubay is not correct.
Key Takeaways
- A confidence interval estimates a population parameter, such as the mean.
- It does not describe the distribution of individual data values.
Common Mistakes
- Saying that 96% of deer heights lie in the interval.
- Not mentioning that the interval is about the population mean.
Things to Be Careful About
- The explanation must state both that Bubay is wrong and that the interval is for the population mean.
- Do not confuse the confidence level with a probability for individual observations.
The masses, in kilograms, of small and large bags of wheat have the independent distributions and respectively.
Find the probability that the total mass of 3 randomly chosen small bags is greater than the mass of one randomly chosen large bag.
Approach
Let be the mass of the -th small bag and the mass of the large bag. Define . Since all variables are independent and normal, is normal. Compute its mean and variance, standardise, and find the probability that .
Working
for and . For :
So . The required probability is . Standardise:
Using the normal distribution table:
Answer
0.0192 (3 s.f.)
Walkthrough
We need to compare the total mass of three small bags with the mass of one large bag. The phrase "greater than the mass of one randomly chosen large bag" means , or . Let . Since all bags are independent and each mass is normal, is also normal.
First find the mean of . The expected sum of three small bags is , and the expected large bag mass is , so . This negative mean means that, on average, the large bag is heavier than the three small bags combined.
Next find the variance. For independent variables, variances add even when subtracting one variable from another. The three small bags contribute , and the large bag contributes , so . The standard deviation is .
We want . Standardise :
The upper-tail probability is .
Key Takeaways
- A sum or difference of independent normal variables is again normal.
- For independent and , . Here for each small bag and for the large bag, so the variances still add.
- The probability that a normal variable is greater than a value is found by standardising and using .
Common Mistakes
- Subtracting the variances when forming the difference ; the variances must be added.
- Using the variance as the standard deviation instead of taking .
- Standardising with the wrong sign: the numerator should be , not .
- Choosing the wrong tail: the question asks for , which is the upper tail.
Things to Be Careful About
- The notation means the variance is , not the standard deviation.
- The independence of the bags is essential for adding variances; it is stated in the question.
- When standardising, use the standard deviation , not .
- The final probability is small because the mean difference is negative, so exceeding is in the upper tail.
The times, minutes, taken by a random sample of 75 students to complete a test were noted. The results were summarised by and .
Approach
The unbiased estimate of the population mean is the sample mean. The unbiased estimate of the population variance uses divisor because the mean is estimated from the same sample.
Working
The sample mean is
The unbiased estimate of the population variance is
Substitute , , :
Since ,
So the unbiased variance estimate is to 3 significant figures, or .
Answer
Unbiased mean estimate (3 sf).
Unbiased variance estimate (3 sf).
Mean = 230/75 = 3.07 (3 sf); variance = 3.04 (3 sf)
Walkthrough
We are given only summary statistics from a sample of 75 students: the total of all times, , and the total of their squares, . The best single estimate of the population mean is simply the sample mean, so we divide the total by the sample size.
For the population variance, we must use the unbiased estimator. Because the sample mean is itself estimated from the data, dividing by would tend to underestimate the true variance. The correct divisor is , giving
This formula is equivalent to the more familiar , but it is written in summary form so that only and are needed.
Key Takeaways
- The sample mean is an unbiased estimate of the population mean .
- The unbiased estimate of the population variance uses divisor , not .
- Given summary statistics, use
Common Mistakes
- Using instead of in the variance formula.
- Forgetting to subtract before dividing by .
- Rounding intermediate values too early, which can change the final 3-significant-figure answer.
Things to Be Careful About
- Keep the exact value and for later calculations, even though the rounded answers are and .
- The variance estimate is , not ; the units are minutes squared.
You should now assume that your estimates from part (a) are the true values of the population mean and variance of .
The times taken by another random sample of 75 students were noted, and the sample mean, , was found.
Find the value of such that .
Approach
Since is large, the Central Limit Theorem states that the sample mean is approximately normally distributed with mean and variance . We standardise and use the inverse normal distribution to find the value of .
Working
From part (a), take
We need
The standardised variable is
Thus
The upper-tail probability corresponds to the -value
Therefore
Solve for :
Now
Hence
Answer
a = 3.21 (3 sf)
Walkthrough
We now assume that the estimates from part (a) are the true population mean and variance. Since the sample size is 75, which is large, the Central Limit Theorem tells us that the sample mean is approximately normally distributed with mean and variance .
We want the value such that the probability that the sample mean exceeds is . This is an upper-tail probability. We first convert to a standard normal variable:
The upper-tail probability corresponds to a -value. Since , we look up , which is . This is the number of standard errors above the mean that must be.
Then we set
and solve for . We use the variance from part (a) divided by before taking the square root, because the standard error of the sample mean is .
Key Takeaways
- The Central Limit Theorem allows us to treat the sample mean as approximately normal when is large.
- The sample mean has mean and variance , so its standard deviation is .
- To find a threshold from a tail probability, use the inverse normal distribution to get the corresponding -value.
Common Mistakes
- Using the probability directly as the -value. The mark scheme states that using as the -value is incorrect; you must use .
- Forgetting to divide the variance by before taking the square root.
- Using instead of in the standardisation formula.
- Making a sign error: since the tail is an upper tail, is above the mean, so the -value is positive.
Things to Be Careful About
- Use the exact or sufficiently accurate values from part (a) to avoid rounding errors.
- The standard error of the sample mean is , not .
- The final answer should be given to 3 significant figures, as requested by the mark scheme.
A random variable has probability density function defined by
where is a constant.
Approach
Since is a probability density function, the total area under the curve over its support must equal 1. Integrate from 2 to 3, set the result equal to 1, then solve for .
Working
The total area under a PDF is:
Substitute the given expression:
Integrate term by term:
Evaluate from 2 to 3:
Answer
a = 27/2
Walkthrough
The problem asks us to find the constant in the probability density function. The key property of any PDF is that the total area under the curve equals 1. Since is zero outside , we integrate over this interval and set the result equal to 1.
We integrate term by term. The antiderivative of is , because the derivative of is . The antiderivative of is , because the derivative of is .
Evaluating at the limits: at , the antiderivative equals ; at , it equals . Subtracting the lower value from the upper value gives . Setting this equal to 1 and solving gives .
Key Takeaways
The defining property of a probability density function is that the total area under it over its entire support equals 1. This is the standard method for finding an unknown constant in a PDF. The problem also reinforces integration of negative powers of .
Common Mistakes
- Forgetting to set the integral equal to 1.
- Sign errors when subtracting the lower-limit value. Since is subtracted, it becomes .
- Incorrectly integrating — the antiderivative is , not .
Things to Be Careful About
The mark scheme requires showing the correct substitution of both limits. An unsupported answer for would not receive full marks.
Approach
The expected value of a continuous random variable is . Multiply by and integrate from 2 to 3, then simplify using log laws.
Working
Simplify the integrand:
Integrate term by term:
Evaluate from 2 to 3:
Answer
E(X) = (27/2) ln(3/2) - 3
Walkthrough
The expected value of a continuous random variable is over the support. We first multiply by . With , we have .
We integrate from 2 to 3. The antiderivative of is , using . The antiderivative of is , since the derivative of is .
Evaluating at the limits: at , we get ; at , we get . Subtracting gives . Using the log law , we obtain .
Key Takeaways
The formula for the expected value of a continuous variable is . This problem also reinforces the integral and the log subtraction law .
Common Mistakes
- Forgetting to multiply by before integrating.
- Misapplying the log law: , not .
- Arithmetic errors when substituting the limits, particularly with the term.
Things to Be Careful About
The coefficient multiplies both logarithms, so it stays attached throughout. The mark scheme requires showing the correct substitution of both limits for full marks.
The lengths, in centimetres, of worms of a certain kind are normally distributed with mean and standard deviation 2.3. An article in a magazine states that the value of is 12.7. A scientist wishes to test whether this value is correct. He measures the lengths, , of a random sample of 50 worms of this kind and finds that . He plans to carry out a test, at the 1% significance level, of whether the true value of is different from 12.7.
Approach
Look at the wording of the claim being tested. A two-tailed test is used when the alternative hypothesis allows the mean to be either greater than or less than the stated value.
Working
The scientist wishes to test whether the true value of is different from . The word "different" includes both possibilities:
Therefore the test must be two-tailed.
Answer
Two-tailed test, because the scientist is testing whether the mean differs from cm.
Two-tailed test because the scientist is testing whether the mean is different from 12.7.
Walkthrough
The question asks whether the true mean is different from the magazine's stated value of cm. A one-tailed test would be used if the scientist expected the mean to be specifically greater than or specifically less than . Since the claim is simply that the mean is different, the test must detect deviations in both directions, so it should be two-tailed.
Key Takeaways
A two-tailed test is used when the alternative hypothesis is of the form . The choice is made from the wording of the problem, not from the observed sample mean.
Common Mistakes
Choosing a one-tailed test just because the sample mean, , is below . The direction of the test must be based on the hypothesis being tested, not on the sample result.
Things to Be Careful About
The phrase "different from" means "not equal to", so the test must be two-tailed. If the problem said "greater than" or "less than", then a one-tailed test would be appropriate.
Approach
State the hypotheses, compute the sample mean and standard error, perform a -test because is known and the population is normal, compare the result with the two-tailed critical value at the 1% significance level, and give a conclusion in context.
Working
The hypotheses are
The sample mean is
The standard error of the mean is
to 3 significant figures. The test statistic is
For a two-tailed test at the 1% level, the critical value is , because each tail has area .
Since
the test statistic is not in the critical region, so is not rejected.
Answer
Do not reject . There is insufficient evidence to suggest that the mean worm length differs from cm.
Do not reject H0. There is insufficient evidence to suggest that the mean worm length differs from 12.7 cm.
Walkthrough
The scientist is testing whether the true mean worm length is different from cm, so the hypotheses are:
The sample mean is found by dividing the sum of the lengths by the sample size:
Since the population standard deviation is known, , and the worm lengths are normally distributed, the sample mean is normally distributed with standard error
Standardising the sample mean under the null hypothesis gives the test statistic
At the 1% significance level, a two-tailed test has in each tail, so the critical values are . Since , the test statistic is not in the critical region. Equivalently, the one-tailed probability is , which is greater than , so the result is not significant. Therefore is not rejected.
In context, there is insufficient evidence to conclude that the mean worm length is different from cm.
Key Takeaways
A hypothesis test for a population mean when the population is normal and the standard deviation is known uses the -statistic
The word "different" means the test is two-tailed, so the significance level must be split equally between the two tails. A conclusion in a hypothesis test should be worded as "insufficient evidence" rather than as a definite statement that is true.
Common Mistakes
- Using a one-tailed test simply because the sample mean is below . The direction must be decided from the hypothesis before looking at the data.
- Comparing with the one-tailed critical value instead of the two-tailed critical value .
- Forgetting to divide by when computing the standard error.
- Using the sample standard deviation instead of the given population standard deviation.
- Stating that "the mean is 12.7" as a conclusion; this is too definite and loses the final mark.
Things to Be Careful About
- Both hypotheses must be stated explicitly. A correct numerical comparison without hypotheses would lose the first mark.
- At the 1% level, a two-tailed test has in each tail. If using a one-tailed -value, compare it with , or double it and compare with . The mark scheme accepts .
- The critical value may be quoted to different precision, but it is usually accepted in the range to .
- The conclusion must be in context and should not contradict the fact that was not rejected.
The numbers of customers arriving at service desks and during a 10-minute period have the independent distributions and respectively.
Find the probability that during a randomly chosen 15-minute period more than 2 customers will arrive at desk .
Approach
Desk has a Poisson rate of 1.8 customers per 10 minutes. For a 15-minute period, scale this rate by . Then find using the complement of .
Working
Let be the number of arrivals at desk in 15 minutes.
Answer
0.506
Walkthrough
Desk has a Poisson rate of 1.8 customers per 10 minutes. Since the required interval is 15 minutes, the mean number of arrivals is scaled by , giving .
The event "more than 2 customers" is . It is easier to use the complement:
For a Poisson distribution, . Therefore is the sum of the terms for . Substituting and subtracting from 1 gives 0.506.
Key Takeaways
- The mean of a Poisson distribution scales directly with the length of the interval.
- For a "more than" probability, use the complement to avoid adding infinitely many terms.
- The Poisson formula is the core tool.
Common Mistakes
- Using for the 15-minute period instead of scaling to 2.7.
- Writing as instead of .
- Giving only the unsupported answer 0.506; the mark scheme requires the expression to be shown.
Things to Be Careful About
- "More than 2" means , not .
- Use the exact expression before rounding; premature rounding can change the final 3 significant figures.
- The final answer should be given to 3 significant figures.
Find the probability that during a randomly chosen 5-minute period the total number of customers arriving at both desks is less than 4.
Approach
Convert each 10-minute rate to a 5-minute rate. Since the two arrival processes are independent and Poisson, their total number of arrivals in 5 minutes is also Poisson, with rate equal to the sum of the two scaled rates. Then calculate .
Working
For a 5-minute period:
Let be the total number of arrivals at both desks in 5 minutes. Since the processes are independent:
We need .
Answer
0.866
Walkthrough
The rates are given per 10 minutes. In a 5-minute period, each rate is halved:
Because the two arrival processes are independent, the total number of arrivals in the same fixed interval is also Poisson, with mean equal to the sum of the means:
"Less than 4" means the total can be 0, 1, 2, or 3. Using the Poisson probability formula for each value and adding them gives the required probability.
Key Takeaways
- The sum of independent Poisson random variables is Poisson.
- When changing the time interval, the mean rate is multiplied by the fraction of the base interval used.
- For a "less than" event, include all integer values from 0 up to the stated boundary minus 1.
Common Mistakes
- Using the original 10-minute rates 1.8 and 2.1 instead of scaling to 5 minutes.
- Adding the rates before scaling: the correct total mean is , not .
- Including when asked for .
- Giving only the final value without showing the Poisson expression; the mark scheme requires the expression to be seen.
Things to Be Careful About
- "Less than 4" excludes 4, so include only .
- Use the scaled, not original, rates.
- Keep enough decimal places in the intermediate sum before multiplying by .
- The final answer should be given to 3 significant figures.
An inspector waits at desk . She wants to wait long enough to be 90% certain of seeing at least one customer arrive at the desk.
Find the minimum time for which she should wait, giving your answer correct to the nearest minute.
Approach
Let be the waiting time in minutes. Desk has rate customers per 10 minutes, so the rate per minute is . The number of customers arriving in minutes is . The probability of seeing at least one customer is the complement of seeing none. Set this probability to be at least 0.90 and solve for .
Working
We require:
Since the wait must be a whole number of minutes and 10 minutes would not be enough, she should wait 11 minutes.
Answer
11 minutes
Walkthrough
The rate at desk is 2.1 customers per 10 minutes. If is the waiting time in minutes, the mean number of customers in that period is
The probability of seeing at least one customer is one minus the probability of seeing none:
We want this to be at least 0.90, so set up the inequality:
Rearrange to isolate the exponential:
Taking natural logarithms:
Dividing by reverses the inequality:
Because the inspector must wait a whole number of minutes and 10 minutes gives a probability below 0.90, the minimum whole number of minutes is 11.
Key Takeaways
- A Poisson rate can be scaled to any time interval by multiplying by the interval length.
- "At least one" is often best handled by the complement .
- Solving requires taking logs and carefully reversing the inequality when dividing by a negative number.
- The final time must be a whole number of minutes, so round up when necessary.
Common Mistakes
- Using for every waiting time without scaling by the number of minutes.
- Forgetting that the probability of at least one is , not .
- Solving for and then forgetting to convert back to minutes.
- Rounding 10.96 down to 10; 10 minutes gives a probability below 0.90, so the minimum is 11.
- Giving an unsupported answer; the mark scheme expects the inequality and log step to be shown.
Things to Be Careful About
- The rate is per 10 minutes, so the per-minute rate is .
- When taking logs, is negative, so the inequality direction must be handled correctly.
- The answer must be given as a whole number of minutes; the minimum time is 11 minutes.
- If using as the number of 10-minute intervals, then and the final time is minutes, still 11 minutes.
The number of accidents per year on a certain road has the distribution . In the past the value of was 3.3. Recently, a new speed limit was imposed and the council wishes to test whether the value of has decreased. The council notes the total number, , of accidents during two randomly chosen years after the speed limit was introduced and it carries out a test at the 5% significance level.
Approach
Under , the total number of accidents in two years is . To find the probability of a Type I error, first determine the critical region at the 5% significance level, then compute the probability of that region under .
Working
Since the council observes accidents over two years, the parameter for the two-year total is
Under , . The test is one-tailed (decreased), so we reject for small values of . Compute:
Since but , the critical region is .
The probability of a Type I error is the probability of the critical region under :
Answer
0.0400
Walkthrough
We want the probability of a Type I error, which is the probability of rejecting when is actually true. The council observes accidents over two randomly chosen years, so the total follows a Poisson distribution with parameter under . The test is one-tailed because the council wants to check whether has decreased, so we reject only for small values of . To find the critical region at the 5% level, we compute and . Since and , the critical region is . The Type I error probability is exactly the probability of this critical region under , which is .
Key Takeaways
A Type I error is rejecting a true null hypothesis, and its probability equals the probability of the critical region under . To find the critical region for a Poisson test, compute cumulative probabilities until the probability exceeds the significance level.
Common Mistakes
Forgetting to double to 6.6 for the two-year period. Only computing without checking to confirm the critical region. Using instead of 6.6.
Things to Be Careful About
The critical region is the largest set of small values with total probability at most 0.05. The Type I error is the probability of that region under . Give the answer to 3 significant figures.
Approach
State the null and alternative hypotheses, use the probability from part (a), compare it with the 5% significance level, and draw a conclusion in context.
Working
The hypotheses are:
From part (a), .
Compare with the significance level:
So lies in the critical region. Reject .
There is evidence to suggest that the mean number of accidents has decreased.
Answer
Reject ; there is evidence that the mean number of accidents has decreased.
Reject H0; evidence that the mean number of accidents has decreased
Walkthrough
We carry out the hypothesis test. The null hypothesis is that the mean number of accidents per two-year period is still 6.6, and the alternative is that it has decreased. From part (a) we already know . Since , the observed value falls in the critical region, so we reject . The conclusion must be in context: there is evidence that the mean number of accidents has decreased.
Key Takeaways
A hypothesis test for a Poisson mean involves comparing the probability of the observed outcome (or more extreme) with the significance level. If this probability is less than the significance level, reject the null hypothesis.
Common Mistakes
Not stating the hypotheses. Concluding that the mean "has definitely decreased" instead of "there is evidence that it has decreased". Using a two-tailed test when the question specifies a decrease.
Things to Be Careful About
Use , not . The conclusion must be in context and not overstate certainty.
The council decides to carry out another similar test at the 5% significance level using the same hypotheses and two different randomly chosen years.
Given that the true value of is 0.6, calculate the probability of a Type II error.
Approach
A Type II error occurs when we fail to reject when is true. The critical region from part (a) is , so the acceptance region is . Under the true value , the two-year total is . The Type II error is .
Working
Under the true value , the two-year total is
The Type II error is the probability of accepting when is true:
Compute :
Therefore:
Answer
0.121
Walkthrough
A Type II error is failing to reject when is true. The critical region from part (a) is , so we fail to reject when . Under the true value , the two-year total is . The Type II error probability is . Compute , so .
Key Takeaways
The Type II error probability is the probability of the acceptance region under the true alternative parameter. It requires identifying the acceptance region from the critical region and computing the probability under the new parameter.
Common Mistakes
Using instead of for the two-year period. Computing instead of . Forgetting to subtract from 1.
Things to Be Careful About
The acceptance region is because the critical region is . Use for the two-year total.
Using and a suitable approximating distribution, find the probability that there will be more than 10 accidents in 30 years.
Approach
The total number of accidents in 30 years is . Since is large, approximate by the normal distribution . Use a continuity correction for the discrete Poisson variable and standardise.
Working
For 30 years with per year:
So , approximated by .
We want . With continuity correction:
Standardise:
So:
Answer
0.962
Walkthrough
For 30 years with per year, the total number of accidents is . Since is large, the normal approximation is appropriate. We want . Because is discrete, apply a continuity correction: . Standardise: . Then .
Key Takeaways
The normal approximation to the Poisson distribution uses mean and variance both equal to . A continuity correction of 0.5 is applied when converting a discrete boundary to a continuous one.
Common Mistakes
Forgetting the continuity correction. Using instead of in the standardisation. Using instead of . Using the wrong tail of the normal distribution.
Things to Be Careful About
For "more than 10", use (or ). The mean and variance are both 18. Give the answer to 3 significant figures.