Skip to content

9709 · 6.4

Sampling and estimation — practice questions

Practice and worked examples for 9709 Sampling and estimation. Short previews only — attempt the full question in MarkScheme against the official scheme.

Worked example 1

A random sample of 8 apples is taken from an orchard and their masses, xx grams, are measured. The results are summarised as x=1240\sum x = 1240 and x2=192600\sum x^2 = 192600. Calculate unbiased estimates of the population mean and variance of the masses of apples from this orchard.

Show solution outline

We are given n=8n=8, x=1240\sum x = 1240, and x2=192600\sum x^2 = 192600.

1. Unbiased estimate of the population mean (μ\mu): The unbiased estimate for μ\mu is the sample mean, xˉ\bar{x}. xˉ=xn=12408=155\bar{x} = \frac{\sum x}{n} = \frac{1240}{8} = 155 So, the unbiased estimate of the population mean mass is 155 g.

2. Unbiased estimate of the population variance (σ2\sigma^2): The unbiased estimate for σ2\sigma^2 is s2s^2. s2=1n1(x2(x)2n)s^2 = \frac{1}{n-1} \left( \sum x^2 - \frac{(\sum x)^2}{n} \right) s2=181(192600(1240)28)s^2 = \frac{1}{8-1} \left( 192600 - \frac{(1240)^2}{8} \right) s2=17(19260015376008)s^2 = \frac{1}{7} \left( 192600 - \frac{1537600}{8} \right) s2=17(192600192200)s^2 = \frac{1}{7} (192600 - 192200) s2=17(400)57.1428...s^2 = \frac{1}{7} (400) \approx 57.1428... So, the unbiased estimate of the population variance is 57.1 (to 3 s.f.).

Worked example 2

The time taken, in minutes, for a particular model of electric car to charge is known to be normally distributed. The standard deviation of the charging time is known to be 12 minutes. A random sample of 50 charging sessions had a mean time of 245 minutes. Calculate a 95% confidence interval for the mean charging time, μ\mu.

Show solution outline

We are given: Sample size, n=50n = 50 Sample mean, xˉ=245\bar{x} = 245 minutes Population standard deviation, σ=12\sigma = 12 minutes Confidence level = 95%

1. Find the z-value: For a 95% confidence interval, the z-value is 1.96. This corresponds to the value that leaves 2.5% in each tail of the standard normal distribution.

2. Apply the confidence interval formula: The formula is xˉ±z×σn\bar{x} \pm z \times \frac{\sigma}{\sqrt{n}}. CI = 245±1.96×1250245 \pm 1.96 \times \frac{12}{\sqrt{50}}

3. Calculate the margin of error: Margin of error = 1.96×12501.96×127.0711.96×1.6973.3261.96 \times \frac{12}{\sqrt{50}} \approx 1.96 \times \frac{12}{7.071} \approx 1.96 \times 1.697 \approx 3.326

4. Calculate the interval: Lower bound = 2453.326=241.674245 - 3.326 = 241.674 Upper bound = 245+3.326=248.326245 + 3.326 = 248.326

5. State the final answer: The 95% confidence interval for the mean charging time is (241.7, 248.3) minutes, to 1 decimal place. This means we are 95% confident that the true mean charging time for all cars of this model lies between 241.7 and 248.3 minutes.