Skip to content
Cambridge AS & A Level9709

Sampling and estimation

Mathematics 9709 Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Sampling and estimation notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Sampling and estimation notes as text: skim, search, and jump between subtopics.

~16 min read

1. Samples, populations and random choice

The population is the whole group being studied. A sample is the part of it that is actually measured. In context, the population is the quantity being measured for every member: the weekly earnings of all students in a year group, not the students themselves.

A sample is random only if every member has an equal chance of being selected. A method that gives some members no chance at all is not random.

To choose from numbered members with random numbers, discard repeated numbers and numbers greater than the highest member's number. Sampling can also be needed because testing destroys the item, or the population is too large or too costly to test.

Examiner insight

“Many candidates just stated that the plan was biased, which was not sufficient.” “Some gave limited explanations, for example just stating that the choice was not representative without explaining why.”

Worked example 12 marks

Last year, the time, in minutes, spent by customers in a certain shop had mean 10.5 and standard deviation 6.8. This year, the shop owner wants to test whether the mean time spent by customers has changed. He decides to choose a sample of 20 customers.

A shop assistant suggests that they should choose the first 20 customers who enter the shop one morning.

Give two reasons why this will not produce a random sample.

  1. 1

    The first customers one morning are not typical of all times of day. [1]

  2. 2

    They are not typical of all days of the year. [1]

2. The distribution of the sample mean

The mean bar X of a random sample of size n changes from sample to sample, so it is a random variable. Its mean is the population mean and its variance is the population variance divided by n.

If X has a normal distribution, then bar X has a normal distribution too. Standardise with the standard deviation σ/√n, never σ alone.

E(bar X) = μ

Var(bar X) = σ²/n

X ∼ N(μ, σ²) ⇒ bar X ∼ N(μ, σ²/n)

Examiner insight

“Common errors included standard deviation and variance mixes, the use of an unrequired continuity correction and also finding the wrong probability area.” “It was noted that not all candidates used √40 in their standardising equation.”

Worked example 13 marks

The time, in minutes, taken by students to complete a test has the distribution N(125, 36).

Find the probability that the mean time taken to complete the test by a random sample of 40 students is less than 123 minutes.

  1. 1

    bar X ∼ N(125, 36/40), so the standard deviation is 6/√40

  2. 2

    standardise: z = (123 - 125)/(6/√40) = -2.108 [1]

  3. 3

    P(Z < -2.108) = 1 - Phi(2.108) [1]

  4. 4

    = 0.0175 [1]

3. The Central Limit Theorem

For a large sample size, the distribution of the sample mean is approximately normal. This is the Central Limit Theorem.

Use it when the population distribution is not normal or not known. If the population is already normal, bar X is normal for any n and the theorem is not needed.

Examiner insight

“There were some candidates who realised that the underlying distribution was not given, but failed to qualify that this was the ‘population’ distribution; the distribution being referred to must be clear, so merely saying ‘the distribution is unknown’ is not precise enough.” “The question on the circumstances when it would not be necessary to use the Central Limit Theorem was only answered correctly by about a third of candidates.”

Worked example 17 marks

The score on one spin of a 5-sided spinner is denoted by the random variable X with probability distribution as given in the table.

(a) Show that Var(X) = 1.2.

The spinner is spun 200 times. The score on each spin is noted and the mean, bar X, of the 200 scores is found.

(b) Given that P(bar X >a) = 0.1, find the value of a.

(c) Explain whether it was necessary to use the Central Limit theorem in your answer to part (b).

x01234
P(X = x)0.10.20.40.20.1
  1. 1

    (a) E(X) = 0.2 × 1 + 0.4 × 2 + 0.2 × 3 + 0.1 × 4 = 2 [1]

  2. 2

    0.2 × 1² + 0.4 × 2² + 0.2 × 3² + 0.1 × 4² - 2² = 1.2 [1]

  3. 3

    (b) bar X is approximately normal with mean 2 and variance 1.2 ÷ 200

  4. 4

    standardise: (a - 2)/(√(1.2 ÷ 200)) [1]

  5. 5

    set equal to Phi⁻¹(0.9) = 1.282 [1]

  6. 6

    a = 2 + 1.282 × √(1.2 ÷ 200) [1]

  7. 7

    a = 2.10 [1]

  8. 8

    (c) Yes, because the population distribution of X is not normal. [1]

4. Unbiased estimates from a sample

A sample gives unbiased estimates of the population mean and variance. Individual estimates will vary, but the process gives an accurate result on average.

The estimate of the mean is the sample mean. The estimate of the variance divides by n - 1, not n. Keep full accuracy until the last line.

est(μ) = bar x = (sum x)/n

est(σ²) = 1/(n-1)(sum x² - ((sum x)²)/n)

est(σ²) = n/(n-1)((sum x²)/n - bar x²)

Examiner insight

“Some candidates did not maintain 3 significant figure accuracy due to premature rounding.” “Many candidates did not identify that the sample size was small and made comments such as ‘the data items collected were too similar/not varied enough’ or ‘not measured accurately enough’.”

Worked example 14 marks

The lengths, in millimetres, of a random sample of 12 rods made by a certain machine are as follows.

200 201 198 202 200 199 199 201 197 202 200 199

(a) Find unbiased estimates of the population mean and variance.

(b) Give a statistical reason why these estimates may not be reliable.

  1. 1

    sum x = 2398 and sum x² = 479 226

  2. 2

    est(μ) = 2398/12 = 199.833 [1]

  3. 3

    est(σ²) = 1/11(479 226 - 2398²/12) [1]

  4. 4

    = 2.33 mm² [1]

  5. 5

    (b) Small sample. [1]

5. Confidence interval for a population mean

A confidence interval is found from one sample. A 95% interval has a 0.95 chance of containing the true value of the population mean. It is an interval for the mean, not for individual values.

Use it when the population is normally distributed with known variance, or when a large sample is used. With a large sample and unknown variance, use the unbiased estimate of the variance. The answer is an interval, not two separate values.

bar x ± z × σ/(√n)

90%: z = 1.645 95%: z = 1.96 98%: z = 2.326 99%: z = 2.576

Examiner insight

“Many candidates did not get a final answer correct to 3 significant figures due to prematurely rounding their answer for the mean, with 80.3 used rather than 80.33 in their confidence interval calculation.” “Some used the estimate for the variance calculated in part a rather than the true value now given.”

Worked example 17 marks

A construction company notes the time, t days, that it takes to build each house of a certain design. The results for a random sample of 60 such houses are summarised as follows.

sum t = 4820 sum t² = 392 050

(a) Calculate a 98% confidence interval for the population mean time.

(b) Explain why it was necessary to use the Central Limit theorem in part (a).

  1. 1

    est(μ) = 4820/60 = 80.33 [1]

  2. 2

    est(σ²) = 1/59(392 050 - 4820²/60) [1]

  3. 3

    = 82.09 [1]

  4. 4

    98%: z = 2.326 [1]

  5. 5

    80.33 ± 2.326 × (√(82.09))/(√60) [1]

  6. 6

    77.6 to 83.1 [1]

  7. 7

    (b) The population distribution of times is unknown. [1]

6. Confidence interval for a proportion

From a large sample, the sample proportion hat p = x/n is an estimate of the population proportion p. An approximate confidence interval is centred on hat p.

Centre the interval on the proportion, never on the count. A lower level of confidence gives a narrower interval from the same survey.

hat p ± z√((hat p(1-hat p))/n)

Examiner insight

“A common error was to use an incorrect z value, and some candidates centred the interval around 45 instead of 45/60.” “Some candidates realised that reducing the percentage of the confidence interval was required here, though some thought it should increase.”

Worked example 14 marks

Anita carried out a survey of 140 randomly selected students at her college. She found that 49 of these students watched a TV programme called Bunch.

(a) Calculate an approximate 98% confidence interval for the proportion, p, of students at Anita's college who watch Bunch.

Carlos says that the confidence interval found in(a) is not useful because it is too wide.

(b) Without calculation, explain briefly how Carlos can use the results of Anita's survey to find a narrower confidence interval for p.

  1. 1

    hat p = 49/140 = 0.35, so 0.35 ± z√((0.35 × 0.65)/140) [1]

  2. 2

    98%: z = 2.326 [1]

  3. 3

    0.256 to 0.444 [1]

  4. 4

    (b) Find a smaller percentage confidence interval (a lower level of confidence). [1]

7. Width of an interval and the confidence level

The width of an interval is 2 × z × the standard error. Questions give a width, or both ends, and ask for n or for the confidence level.

To find the level, work back to z, then use Phi(z). The level is 2Phi(z) - 1, not Phi(z). For a proportion, the centre of the interval is hat p.

width = 2z × σ/(√n)

confidence level = 2Phi(z) - 1

Examiner insight

“Candidates who successfully realised and used est(p) = 0.4 were usually successful in at least finding the z value (2.054), and some went on to correctly find the confidence level of 96 per cent (others incorrectly thought it to be 98 per cent).” “However, at this point many candidates were unable to then find the correct value for α and either thought it was 97.46%, or attempted an incorrect method to find α.”

Worked example 15 marks

A random sample of 500 households in a certain town was chosen. Using this sample, a confidence interval for the proportion, p, of all households in that town that owned two or more cars was found to be 0.355 < p < 0.445.

Find the confidence level of this confidence interval. Give your answer correct to the nearest integer.

  1. 1

    hat p is the centre of the interval: hat p = 0.4 [1]

  2. 2

    0.4 + z√((0.4 × 0.6)/500) = 0.445 [1]

  3. 3

    z = 0.045 ÷ √((0.4 × 0.6)/500) = 2.054 [1]

  4. 4

    Phi(2.054) = 0.98, so level = 0.98 - (1 - 0.98) [1]

  5. 5

    96% [1]

Recap

  • A sample is random when every member of the population has an equal chance of being selected.
  • Random numbers: discard repeats and numbers above the highest member's number.
  • E(bar X) = μ and Var(bar X) = σ²/n. If X is normal, so is bar X.
  • Large n: bar X is approximately normal (Central Limit Theorem). Say the population distribution is unknown.
  • Unbiased estimates: bar x and 1/(n-1)(sum x² - ((sum x)²)/n).
  • Mean interval: bar x ± zσ/√n. Proportion interval: hat p ± z√(hat p(1-hat p)/n).
  • z: 1.645 (90%), 1.96 (95%), 2.326 (98%), 2.576 (99%). Level = 2Phi(z) - 1.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. A head teacher wants to find the mean time taken to travel to school by the 1200 students at her school. She asks 60 randomly chosen students how long their journey takes. State the population and the sample in this context.2 marks
    Answer
    1. Population: the journey times of all 1200 students in the school.
    2. Sample: the journey times of the 60 students who were asked.

    Trap: The population is the journey times of all 1200 students, not ‘the students’ and not the 60 who were asked.

  2. A club has 80 members, numbered 01 to 80. A calculator gives these random numbers in turn: 47, 93, 12, 47, 80, 05. Write down the numbers of the first four members chosen.2 marks
    Answer
    1. 47 is chosen.
    2. 93 is greater than 80, so it is ignored. 12 is chosen.
    3. The second 47 is a repeat, so it is ignored. 80 and 05 are chosen.
    4. Members 47, 12, 80, 05.

    Trap: Using 93 (above the highest number) or the repeated 47 gives the wrong four members.

  3. A researcher wants the mean amount spent in a week by all shoppers in a town. She asks the first 30 people who enter one café on a Monday morning. Give two reasons why this will not produce a random sample.2 marks
    Answer
    1. Shoppers who do not visit that café have no chance of being selected, so not every shopper has an equal chance.
    2. People in a café on a Monday morning are not typical of shoppers at other times and on other days.

    Trap: ‘It is biased’ or ‘it is not representative’, with no reason, earns nothing.

  4. A population has mean 48 and variance 90. A random sample of size 10 is taken. Find E(bar X), Var(bar X) and the standard deviation of bar X.3 marks
    Answer
    1. E(bar X) = μ = 48.
    2. Var(bar X) = σ² / n = 90 / 10 = 9.
    3. Standard deviation = √9 = 3.

    Trap: The standard deviation of bar X is √90/√10. Dividing the variance by √n gives the wrong value.

  5. A random sample of 10 values of x gives sum x = 250 and sum x² = 6410. Calculate unbiased estimates of the population mean and variance.3 marks
    Answer
    1. est(μ) = 250 ÷ 10 = 25.
    2. est(σ²) = 1/9(6410 - 250²/10) = 1/9(6410 - 6250).
    3. = 160 ÷ 9 = 17.8.

    Trap: Dividing by n = 10 gives 16.0, the biased estimate.

  6. The mass of a bag of rice has the distribution N(500, 16), in grams. A random sample of 25 bags is taken. Find the probability that the mean mass of the sample is greater than 501 g. Explain whether the Central Limit Theorem was needed.4 marks
    Answer
    1. bar X ∼ N(500, 16/25), so the standard deviation is 4/5 = 0.8.
    2. z = (501 - 500)/0.8 = 1.25.
    3. P(Z > 1.25) = 1 - 0.8944 = 0.106.
    4. Not needed, because the population distribution is normal.

    Trap: The 16 is a variance. Using it as a standard deviation gives z = 1/(16/5) = 0.3125.

  7. The time, in seconds, taken by a machine to complete a cycle is normally distributed with standard deviation 12. A random sample of 16 cycles has mean time 85 s. Calculate a 95% confidence interval for the population mean time.4 marks
    Answer
    1. Standard error = 12 / √16 = 3.
    2. z = 1.96.
    3. 85 ± 1.96 × 3 = 85 ± 5.88.
    4. 79.1 to 90.9 seconds.

    Trap: Dividing by 16 instead of √16 gives 85 ± 1.47, an interval far too narrow.

  8. In a random sample of 250 voters, 90 said they would vote for a new bridge. Calculate an approximate 98% confidence interval for the proportion of all voters who would vote for the bridge.4 marks
    Answer
    1. hat p = 90 ÷ 250 = 0.36.
    2. Standard error = √((0.36 × 0.64)/250) = 0.03036.
    3. z = 2.326, so 0.36 ± 2.326 × 0.03036 = 0.36 ± 0.0706.
    4. 0.289 to 0.431.

    Trap: Centring the interval on 90 instead of 90/250 = 0.36.

  9. A farmer weighs a random sample of 50 sacks of potatoes. The masses, x kg, are summarised by sum x = 1263 and sum x² = 32 090. Nothing is known about the distribution of the masses. (a) Calculate unbiased estimates of the population mean and variance. (b) Calculate a 96% confidence interval for the population mean mass. (c) Explain why it was necessary to use the Central Limit theorem in part (b). (d) The farmer takes three more independent random samples of 50 sacks and finds a 96% confidence interval from each one. Find the probability that at least one of these three intervals lies wholly above the population mean.10 marks
    Answer
    1. (a) est(μ) = 1263 ÷ 50 = 25.26.
    2. est(σ²) = 1/49(32 090 - 1263²/50) = 186.62/49 = 3.81.
    3. (b) 96%: z = 2.054. Standard error = √(3.8086 ÷ 50) = 0.2760.
    4. 25.26 ± 2.054 × 0.2760 = 25.26 ± 0.567, so 24.7 to 25.8 kg.
    5. (c) The population distribution of the masses is unknown.
    6. (d) An interval misses the population mean with probability 1 - 0.96 = 0.04. It lies wholly above it with probability 0.04 ÷ 2 = 0.02.
    7. P(none wholly above) = 0.98³ = 0.941192.
    8. P(at least one) = 1 - 0.941192 = 0.0588.

    Trap: In (d), examiners reported candidates who found 1 - 0.98 = 0.02 but did not take the next step of halving it for the single relevant tail; here using 0.04 for one tail gives 1 - 0.96³ = 0.115.

  10. In a random sample of 200 adults, x said that they cycle to work. An approximate 95% confidence interval for the population proportion who cycle to work has width 0.1270, correct to 4 significant figures. (a) Find the two possible values of x. (b) Given that x is the smaller value, another approximate confidence interval found from the same results has width 0.08. Find its confidence level, correct to the nearest integer.7 marks
    Answer
    1. (a) 2 × 1.96 × √((hat p(1 - hat p))/200) = 0.1270.
    2. hat p(1 - hat p) = 200 × (0.1270/3.92)² = 0.20993, so hat p² - hat p + 0.20993 = 0.
    3. hat p = 0.300 or 0.700, so x = 60 or 140.
    4. (b) hat p = 0.3: 2 × z × √((0.3 × 0.7)/200) = 0.08, so z = 0.04 ÷ 0.032404 = 1.234.
    5. Phi(1.234) = 0.8915.
    6. Level = 0.8915 - (1 - 0.8915) = 0.7830, so 78%.

    Trap: Leaving out the factor 2 for the width, or stopping at Phi(1.234) = 0.8915 and answering 89%, confuses the half-width or one tail with the whole interval.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
‘the distribution is unknown’the population distribution is unknown, so use the Central Limit Theorem
‘the plan is biased’ or ‘not representative’not every member has an equal chance of being selected, or the first customers are not typical of all times of day
‘the data items were too similar’small sample
to narrow the interval, take the same survey and raise the confidenceuse a lower level of confidence (a smaller percentage)

Frequently asked questions

What is the difference between a population and a sample?
The population is the whole group being studied, and a sample is the part of it that is measured. In context, the population is the quantity measured for every member, for example the journey times of all 1200 students, not the students themselves. The 60 students asked form the sample.
What makes a sample random?
A sample is random only if every member of the population has an equal chance of being selected. A method that gives some members no chance at all is not random. To choose members with random numbers, discard repeated numbers and numbers greater than the highest member's number.
How do I find the distribution of the sample mean?
The sample mean X̄ has mean μ and variance σ²/n. If X is normal, X̄ is normal too. Standardise with σ/√n, never σ alone. For N(125, 36) and n = 40, P(X̄ < 123) = 0.0175. For a large sample, the Central Limit Theorem makes X̄ approximately normal, and the population distribution is unknown.
How do I calculate unbiased estimates of the population mean and variance?
The estimate of the mean is the sample mean. The estimate of the variance divides by n − 1, not n: est(σ²) = (1/(n − 1))(Σx² − (Σx)²/n). Keep full accuracy until the last line. For 12 rods with Σx = 2398, the estimated mean is 199.833 and the estimated variance is 2.33 mm².
How do I calculate a confidence interval for a population mean?
Use x̄ ± z × σ/√n, with z = 1.96 for 95% and 2.326 for 98%. The interval has a 0.95 chance of containing the true population mean, and it is an interval for the mean, not for individual values. For 98%, 80.33 ± 2.326 × √82.09/√60 gives 77.6 to 83.1.
What is a common mistake when describing why a sampling plan is not random?
Students often just state that the plan was biased or not representative, which earns nothing. Give a reason instead: not every member has an equal chance of being selected, or the first customers are not typical of all times of day.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters