Mathematics 9709/63 — 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
The population standard deviation is known and the sample size is large, so we use the standard normal distribution to construct a confidence interval for the population mean. The formula is:
where is the critical value such that the central area under the standard normal curve is 0.96.
Working
For a 96% confidence level, the total tail probability is , so each tail has probability 0.02. From the standard normal tables:
The standard error of the sample mean is:
The margin of error is:
Lower bound of the interval:
Upper bound of the interval:
Answer
(1.36, 1.48) m
Walkthrough
We are given the population standard deviation m and a sample of size with sample mean m. Because is known and the sample is large, the sample mean is approximately normally distributed with mean and standard deviation . This justifies using the standard normal distribution to build the confidence interval.
First, find the critical value . For a 96% confidence level, the central area under the standard normal curve must be 0.96, leaving 0.04 in the two tails combined, i.e. 0.02 in each tail. We therefore need such that . From the standard normal tables, this gives .
Next, compute the standard error of the sample mean:
Multiply by to get the margin of error:
Finally, add and subtract this margin from the sample mean:
Rounding to 3 significant figures gives the interval m.
Key Takeaways
This question tests the construction of a confidence interval for a population mean when the population standard deviation is known. The key formula is . You must know how to find the correct -value for the given confidence level, and you must remember to divide by .
Common Mistakes
- Using (the 95% value) instead of for 96%.
- Forgetting to divide by .
- Writing the interval without rounding to the required degree of accuracy.
- Omitting units.
Things to Be Careful About
- The -value must match the confidence level exactly.
- The standard error is , not .
- Give the final answer as an interval, to 3 significant figures, with units.
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
Interpret the meaning of a confidence interval in the context of the question.
Working
A 96% confidence interval for the population mean is constructed so that, if the sampling were repeated many times, approximately 96% of the intervals so constructed would contain the true population mean. It does NOT describe the distribution of individual deer heights.
Answer
No. Bubay is incorrect. The confidence interval is about the population mean, not about individual values.
No. The confidence interval is about the population mean, not individual values.
Walkthrough
Bubay claims that 96% of deer have heights within the confidence interval. This is a misunderstanding. The confidence interval is a range of plausible values for the population mean height, not for individual deer heights. The correct interpretation is that if we took many random samples of 150 deer and constructed a 96% confidence interval from each, about 96% of those intervals would contain the true population mean. Individual deer heights vary much more widely than the sample mean, so the interval for the mean does not contain 96% of individual heights.
Key Takeaways
A confidence interval estimates a population parameter (here, the mean), not individual observations. The confidence level refers to the long-run proportion of intervals that capture the true parameter, not to the proportion of data values inside any one interval.
Common Mistakes
- Confusing a confidence interval for the mean with a prediction interval for individual values.
- Saying "96% of the data lies in the interval."
Things to Be Careful About
- The wording "confidence" refers to the procedure, not to individual data points.
- The mark scheme requires both "No" and a correct reason.
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 masses of the three small bags and be the mass of the large bag. The required probability is , which is the same as . Since the variables are independent and normal, the linear combination is normal, so we find its mean and variance and then standardise.
Working
Define
Then is normal. Using the given formula for expectation,
Using independence and squared coefficients for variance,
Hence
Standardise to find :
Therefore
Answer
0.0192
Walkthrough
We need . Because the three small bags and the large bag are independent and normal, the combination is also normal. The mean of is the same linear combination of the means: . The variance is found by adding the variances, with each coefficient squared: . So . To find , standardise: . The required probability is the upper tail of the standard normal distribution, . If instead you use , then , , and the event becomes , giving .
Key Takeaways
- A linear combination of independent normal variables is itself normal.
- The expectation of a linear combination is the same linear combination of the expectations.
- The variance of a linear combination of independent variables uses squared coefficients; covariance terms are zero because of independence.
- To find a probability for a normal distribution, standardise to and use the standard normal CDF.
Common Mistakes
- Forgetting that the coefficient of in is , so its variance contribution is , not .
- Adding only the variances of the three small bags and forgetting the large bag's variance.
- Using variance instead of standard deviation in the standardisation formula.
- Choosing the wrong tail: for the event is , so the probability is . For the event is , so the probability is .
- Giving the answer without rounding to 3 significant figures.
Things to Be Careful About
- The distributions are independent, so no covariance terms are needed.
- Because the distributions are continuous, ; the strictness of the inequality does not affect the probability.
- Standardise using the mean and variance of the whole linear combination, not of an individual bag.
- Check the standard normal value for ; the tail probability is .
The times, minutes, taken by a random sample of 75 students to complete a test were noted. The results were summarised by and .
Approach
Use the sample sums to estimate the population mean. To obtain an unbiased estimate of the population variance, use the divisor .
Working
The sample mean is
The unbiased estimate of the population variance is
Now
so
Equivalently, .
Answer
Mean estimate = 230/75 = 3.07 (3 sf); variance estimate = 337/111 = 3.04 (3 sf)
Walkthrough
The sample data are summarised by and . The natural estimate of the population mean is the sample mean:
For the variance, using a divisor of would give a biased estimate. The unbiased estimate uses a divisor of :
Here is the correction that adjusts for the sample mean. Substituting the values gives .
Key Takeaways
- The sample mean is an unbiased estimator of the population mean.
- The unbiased estimator of the population variance uses rather than .
- Summary statistics and are sufficient to compute both estimates.
Common Mistakes
- Using instead of as the divisor, which gives a biased variance estimate.
- Forgetting to subtract when using the computational formula.
- Using alone as the variance.
Things to Be Careful About
- The correction term uses , while the variance divisor is .
- Keep enough precision, or use the exact fraction , because part (b) uses these estimates.
- The variance estimate to 3 significant figures is .
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
Use the estimates from part (a) as the true population mean and variance. For a sample of size , the sample mean is approximately normal by the Central Limit Theorem, with mean and variance . Convert the probability into a -value and solve for .
Working
From part (a), take
For a sample of 75,
We need , so
Standardising,
The standard deviation of is
Therefore
Answer
a = 3.21 (3 sf)
Walkthrough
Take the estimates from part (a) as the true values: and . For a large random sample of 75 students, the sample mean is approximately normal with mean and variance , by the Central Limit Theorem.
We want the value such that . Since the total probability is 1, the lower-tail probability is . The corresponding standard normal quantile is .
Standardising the sample mean gives
Set this equal to , substitute and , then solve for :
Rounded to 3 significant figures, .
Key Takeaways
- For a large sample, is approximately normal with mean and variance .
- To find a threshold from a probability, use the inverse normal function: .
- Always use the standard deviation of the sample mean, , not the population standard deviation or the variance.
Common Mistakes
- Using as the -value instead of . The mark scheme explicitly rejects using as the -value.
- Using instead of in the denominator.
- Using as the denominator instead of its square root.
- Forgetting that the probability is an upper-tail probability, so the lower-tail probability must be used.
Things to Be Careful About
- The estimates from part (a) are assumed to be the true population values, so use the exact or unrounded values for accuracy.
- The sample size is 75, so the population variance is divided by 75 before taking the square root.
- The final answer must be given to 3 significant figures: .
A random variable has probability density function defined by
where is a constant.
Approach
Since is a probability density function, the total area under its graph over its support must equal 1. Integrate from to and set the result equal to 1, then solve for the constant .
Working
Integrating term by term:
Substituting the limits:
Answer
a = 27/2
Walkthrough
A probability density function has the defining property that the total area under its graph over the entire support is exactly 1. Since outside , we only need to integrate from to and set the result equal to 1.
We integrate each term separately using the power rule for negative powers. The integral of is , and the integral of is (because , and multiplying by gives ).
We then evaluate the antiderivative at the upper limit and the lower limit , subtracting the latter from the former. This produces a linear equation in :
Key Takeaways
The defining property of a PDF — over the support — is what determines the constant in any density function. This question also reinforces the power rule for integrating negative powers and the fact that the constant of integration cancels in a definite integral.
Common Mistakes
- Forgetting to set the integral equal to 1.
- Sign errors when integrating : the antiderivative is , not .
- Arithmetic errors when combining the fractions at the two limits (e.g. mishandling ).
Things to Be Careful About
The limits of integration must be 2 and 3 — the support of the distribution — not the whole real line. The constant must be positive for to be a valid density, and indeed .
Approach
Use the formula over the support of the distribution. Substitute from part (a), integrate from to , then simplify using the laws of logarithms.
Working
Integrating:
Substituting the limits:
Answer
E(X) = (27/2) ln(3/2) - 3
Walkthrough
The expectation of a continuous random variable is defined as over its support. We substitute into the PDF and multiply by before integrating.
Multiplying out: and , so the integrand becomes .
Integrating term by term: (since ) and (since , multiplied by gives ).
Evaluating at the limits: at we get ; at we get . Subtracting gives constants , and the logarithms combine using the law .
Key Takeaways
The formula for expectation of a continuous random variable: . The integral of is . The logarithm law is essential to match the given form of the answer.
Common Mistakes
- Forgetting to multiply by before integrating.
- Sign error on the term (it integrates to , not ).
- Substituting the limits incorrectly — both the logarithm and the term must be evaluated at 2 and 3.
- Failing to combine the logarithms at the end, leaving the answer in an unsimplified form.
Things to Be Careful About
The value of must be positive since . The final simplification is required to obtain the exact expression given in the question.
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
For the test, the scientist wants to test whether the mean worm length is different from 12.7. This means the alternative hypothesis is , covering values both above and below 12.7.
Working
Because the alternative hypothesis is two-sided, the rejection region must be split between the two tails of the normal distribution. A one-tailed test would only be used if the scientist were looking for a mean greater than 12.7 or less than 12.7, but the word "different" indicates no direction is specified.
Answer
Use a two-tailed test, because the scientist is looking for a difference in either direction.
Two-tailed test, because the scientist is looking for a difference in either direction.
Walkthrough
The claim being tested is that the mean worm length is 12.7 cm. The scientist wants to test whether the true mean is different from 12.7. The phrase "different from" means the true mean could be either greater than 12.7 or less than 12.7.
A one-tailed test is used when the alternative hypothesis is directional, such as "greater than" or "less than". Here no direction is given, so both tails of the distribution must be considered. Therefore the test is two-tailed.
Key Takeaways
- The tail type is determined by the alternative hypothesis, not by the sample data.
- "Different" or "not equal" implies a two-tailed test.
- "Greater than" or "less than" implies a one-tailed test.
Common Mistakes
- Choosing a one-tailed test because the sample mean is less than 12.7. The sample result should not determine the test type.
- Stating "two-tailed" without giving the required reason.
Things to Be Careful About
- Read the wording carefully: "whether the value is different from 12.7" is two-sided.
- Do not change to a one-tailed test after seeing the sample mean.
Approach
Set up the null and alternative hypotheses, calculate the sample mean, find the standard error, compute the standardised test statistic, and compare it with the two-tailed critical value at the 1% significance level.
Working
State the hypotheses:
Calculate the sample mean:
The standard error is:
The test statistic is:
At the 1% significance level, the two-tailed critical values are:
Since , the test statistic is not in the critical region.
Answer
Do not reject . There is insufficient evidence to conclude that the true mean length of worms is different from 12.7 cm.
Do not reject H0; insufficient evidence that the true mean worm length is different from 12.7 cm.
Walkthrough
First write the hypotheses. The null hypothesis is the magazine's claim: . Since part (a) established a two-tailed test, the alternative hypothesis is .
Next, calculate the sample mean from the given sum: . The population standard deviation is known to be 2.3, so we use the normal distribution. The standard error is .
The test statistic measures how far the sample mean is from the claimed mean in standard errors:
At the 1% significance level, a two-tailed test has 0.005 in each tail. The critical values are approximately . Since is greater than , it lies inside the acceptance region. Equivalently, the one-sided p-value is about 0.0099, which is greater than 0.005, so the two-sided p-value is about 0.0198, greater than 0.01.
Therefore we do not reject . There is insufficient evidence that the true mean worm length is different from 12.7 cm.
Key Takeaways
- When the population standard deviation is known, use the normal distribution for the test statistic.
- The test statistic is .
- A two-tailed 1% test uses critical values .
- Failing to reject does not prove is true; it only means the evidence is not strong enough.
Common Mistakes
- Using the sample standard deviation instead of the known population standard deviation.
- Comparing the test statistic with the wrong critical value for a two-tailed test.
- Saying that in the conclusion; we can only say there is insufficient evidence that it is different.
- Using a one-tailed test in part (b) despite part (a).
Things to Be Careful About
- The test statistic is negative because the sample mean is below the claimed mean; compare its magnitude with the critical value.
- The conclusion should be stated in context: the length of worms.
- If using p-values, compare the two-sided p-value with 0.01, or the one-sided p-value with 0.005.
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
For a 15-minute period, scale the 10-minute mean for desk . Since we need more than 2 arrivals, work out using the Poisson probability formula.
Working
The number of customers arriving at desk in 15 minutes is
Now
Therefore
Answer
0.506 (3 sf)
Walkthrough
In a 10-minute period the mean number of arrivals at desk is . A 15-minute period is times as long, so the Poisson parameter scales to . This rescaling property is essential: the mean is proportional to the length of the observation interval.
The event “more than 2 customers” means . It is easier to use the complement, so calculate . The expression
is the full Poisson cumulative probability for 0, 1 and 2 arrivals. Subtracting it from 1 gives the required tail probability.
Key Takeaways
- The Poisson mean is proportional to the time interval: if a 10-minute interval has mean , then a -minute interval has mean .
- For a “more than” probability, use the complement: .
- Always show the Poisson formula when a mark scheme awards method marks; an unsupported numerical answer may not receive full credit.
Common Mistakes
- Using for the 15-minute period instead of .
- Confusing with . The complement of is , which includes 0, 1 and 2, not just 0 and 1.
- Omitting the expression and writing only ; this can lose method marks.
Things to Be Careful About
- Poisson probabilities are discrete, so “more than 2” means 3 or more; do not include 2 in the required probability.
- Give the final answer to 3 significant figures as usual, here .
- Check the direction of the complement: , not .
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
Use the fact that the sum of independent Poisson variables is again Poisson. First scale both means to a 5-minute period, then add them and compute , since fewer than 4 means 0, 1, 2 or 3 customers.
Working
For a 5-minute period:
Let , where is the number at desk and the number at desk . Since they are independent,
The probability that the total is less than 4 is
Answer
0.866 (3 sf)
Walkthrough
First convert the 10-minute rates to a 5-minute period. Since 5 minutes is half of 10, desk has mean and desk has mean .
Because the arrivals at the two desks are independent and each follows a Poisson distribution, their total also follows a Poisson distribution. The mean of the total is the sum of the individual means:
“Less than 4” means , so we need . The formula is
Work through the terms separately and sum them. The probability is approximately .
Key Takeaways
- The sum of independent Poisson random variables is Poisson, and its parameter is the sum of the parameters.
- When an observation interval changes, rescale every Poisson mean before adding them.
- For an integer-valued random variable, “less than 4” is the same as “less than or equal to 3”.
Common Mistakes
- Adding the original 10-minute means instead of first halving them.
- Treating “less than 4” as , which would include 4 customers.
- Forgetting that must be handled as a single Poisson variable rather than calculating the convolution of two Poisson distributions term by term.
Things to Be Careful About
- “Less than 4” includes ; since is discrete, and are identical.
- Show the full formula for method marks; an unsupported may receive only reduced credit according to the mark scheme.
- Keep 3 significant figures in the final answer.
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
If the inspector waits 10-minute periods, the number of arrivals at desk is . Set the probability of at least one arrival at 0.90 and solve the resulting inequality for , then convert to minutes.
Working
Let be the number of 10-minute periods she waits. Then the number of arrivals is
She needs
So
Taking natural logarithms:
Dividing by , which reverses the inequality:
This is in units of 10-minute periods, so the waiting time is
To the nearest minute, she must wait for at least 11 minutes.
Answer
11 minutes
Walkthrough
At desk , the mean number of arrivals in 10 minutes is . If the inspector waits for of these 10-minute periods, the mean becomes , so the number of arrivals in that time is .
The probability of seeing at least one customer is the complement of seeing none:
She wants this to be at least , so
Rearranging gives . Taking logs removes the exponential. Since , we get
Multiplying or dividing by the negative number reverses the inequality, giving . Because was measured in 10-minute periods, the real waiting time is minutes.
A time of minutes is closer to 11 minutes than to 10 minutes, and to be certain of meeting the 90% condition the inspector should wait 11 minutes. There is no integer-minute time of 10 minutes that satisfies the inequality, since 10 minutes would give and probability .
Key Takeaways
- The Poisson mean is proportional to the length of the interval, so a waiting time of periods has parameter .
- The probability of “at least one” is for a Poisson variable.
- Inverses of exponential inequalities are solved with natural logarithms; remember to reverse the inequality when dividing by a negative number.
- A hidden unit conversion may be required: the Poisson parameter may be per 10 minutes, while the answer is requested in minutes.
Common Mistakes
- Forgetting to convert from 10-minute periods to minutes, leaving the answer as periods rather than minutes.
- Not reversing the inequality when dividing by .
- Writing instead of ; this is wrong because at least one means any positive number, not exactly one.
- Rounding to minutes because it is “nearest 10”, or writing minutes instead of the final integer minute.
- Omitting the expression, making it impossible to gain the method marks.
Things to Be Careful About
- The minimum time required is just over 10.96 minutes; since the question asks for the nearest whole minute and she must satisfy the 90% condition, the answer is 11 minutes.
- The mark scheme accepts the intermediate value or , then requires 11 minutes.
- In the rearrangement, taking logs of the correct side is important: from , the logarithm gives .
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
The two-year total is under . The Type I error is the probability of rejecting when it is true, which is the size of the critical region. We find the critical region by comparing Poisson probabilities with the 5% significance level.
Working
Since two years are used, the total under is
For a one-tailed test at the 5% level, the critical region consists of the smallest values of until the cumulative probability exceeds 0.05.
Next,
Since and , the critical region is .
The probability of a Type I error is the probability of falling in the critical region when is true:
Answer
0.0400
Walkthrough
The question states that the number of accidents per year is with in the past. The council records the total number of accidents in two randomly chosen years. Because the sum of two independent Poisson variables with parameters and is Poisson with parameter , the total under the null hypothesis is .
The test is one-tailed at the 5% significance level. The council suspects the mean has decreased, so the alternative hypothesis is . The critical region is therefore of the form .
To find the critical region, compute the cumulative probabilities for increasing until the probability exceeds 0.05. We find , so are in the critical region. We then check , so is not in the critical region. Hence the critical region is .
The Type I error is the probability of rejecting when it is true, i.e. when , which is 0.0400.
Key Takeaways
The sum of two independent Poisson variables is Poisson with parameter equal to the sum of the parameters. The Type I error is the size of the critical region, i.e. the probability of rejecting a true null hypothesis. The critical region is found by taking the smallest possible values of the test statistic until the cumulative probability exceeds the significance level.
Common Mistakes
Using instead of for the two-year total is a common error. The mark scheme allows the correct use of 3.3 in the M1 expression, but the final answer must use . Another common error is computing instead of for the critical region.
Things to Be Careful About
The critical region is cumulative: always add the probabilities for . The final answer is (3 significant figures), and the mark scheme also accepts 0.040 or 0.04.
Approach
State the null and alternative hypotheses, compare the observed value with the critical region found in part (a), and conclude in context.
Working
The hypotheses are:
The critical region from part (a) is , and the observed value is , which lies in the critical region.
From part (a), .
Since , we reject .
Answer
There is evidence to suggest that the mean number of accidents has decreased.
Reject H0; there is evidence that the mean number of accidents has decreased.
Walkthrough
The hypotheses are and . The observed value is . From part (a), the critical region is , so the observed value lies in the critical region. Equivalently, , so the result is significant at the 5% level.
We therefore reject and conclude that there is evidence that the mean number of accidents has decreased.
Key Takeaways
A hypothesis test compares the observed test statistic with the critical region. If the observed value falls in the critical region, we reject . The conclusion must be stated in the context of the question.
Common Mistakes
Not writing the hypotheses, or writing them with the wrong parameter value. A common error is stating the conclusion too definitely (e.g., "the mean has decreased") without the phrase "evidence to suggest" — the mark scheme requires the softer wording.
Things to Be Careful About
The conclusion must be in context (about accidents), not just "reject H_0". The mark scheme requires the comparison to be shown.
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 is accepting when is true. The acceptance region is the complement of the critical region, . Under the true value of is per year, so for two years . We compute .
Working
Under , for two years:
The acceptance region is , so:
Answer
0.121
Walkthrough
A Type II error is the probability of accepting when is true. The acceptance region is the complement of the critical region: since the critical region is , the acceptance region is .
Under , the true value of is 0.6 per year, so for two years the total follows . We need , which is .
Compute . Therefore the Type II error is .
Key Takeaways
The Type II error is the probability of accepting when it is false. It is computed using the true value of the parameter (the value). The acceptance region is the complement of the critical region.
Common Mistakes
Using or instead of for the two-year calculation. Also, computing rather than — the Type II error is the probability of the acceptance region, so the complement is needed.
Things to Be Careful About
The Type II error uses the true value per year, but since the test uses two years, . The answer is 0.121 (3 sf) or 0.120.
Using and a suitable approximating distribution, find the probability that there will be more than 10 accidents in 30 years.
Approach
For 30 years, the total number of accidents follows . Since is large, we use the normal approximation . Apply the continuity correction and find .
Working
For 30 years:
So .
Applying the continuity correction:
Standardise:
Since the normal distribution is symmetric about the mean,
From the standard normal tables:
Answer
0.961
Walkthrough
For 30 years, the total number of accidents follows the Poisson distribution . Since is large (greater than 10), we use the normal approximation .
To find , apply the continuity correction: . Standardise:
By symmetry of the normal distribution, .
Key Takeaways
The Poisson distribution can be approximated by a normal distribution when is large. The mean and variance of the approximating normal are both . The continuity correction is essential when approximating a discrete distribution by a continuous one.
Common Mistakes
Forgetting the continuity correction, or applying it in the wrong direction (e.g., using instead of ). Also, using the variance as the standard deviation — the correct standard deviation is .
Things to Be Careful About
The continuity correction for is . The answer is 0.961 or 0.962 (3 sf).