impera Open Impera

A levels Mathematics · Statistics

Sampling

1Populations and samples

A population is the whole group you want to know about. A sample is the part of it you actually collect data from.

  • A census measures every member of the population. It is fully accurate, but slow, expensive, and impossible when testing destroys the item (such as testing how long batteries last).
  • A sample is quicker and cheaper, but may not represent the population exactly.

A sampling frame is a list of the members of the population that the sample is chosen from, such as a school register or an electoral roll.

A statistic is a value calculated from a sample (such as the sample mean). A parameter is the true value for the population.

Check yourself

When is a census impossible?

  • When testing destroys the item

  • When a sampling frame exists

  • When the population is small

  • When the data is numerical

Show the answer

When testing destroys the item

You cannot test every battery to destruction and still sell them.

2Random sampling

In random sampling, every member of the population has a known, usually equal, chance of being chosen.

  • Simple random sampling: every sample of size $n$ is equally likely. Number the sampling frame and use a random number generator.
  • Systematic sampling: choose every $k$th member, where $k = \frac{N}{n}$, starting at a random point among the first $k$.
  • Stratified sampling: split the population into groups (strata), then sample randomly from each group in proportion to its size.
Worked example

Stratified sample

  1. A school has 300 Year 12 and 200 Year 13 students. A sample of 40 is needed.
  2. Year 12: $\frac{300}{500} \times 40 = 24$. Year 13: $\frac{200}{500} \times 40 = 16$.
  3. Choose 24 and 16 students at random from each year group.
Check yourself

In systematic sampling from 600 people, a sample of 30 is needed. What is k?

  • 30

  • 20

  • 18

  • 600

Show the answer

20

k = N/n = 600/30.

3Non-random sampling

When no sampling frame exists, non-random methods are used.

  • Quota sampling: the interviewer fills a quota for each group (for example 20 men and 20 women), choosing people themselves.
  • Opportunity (convenience) sampling: use whoever is available at the time.

Advantages and disadvantages:

  • Quota sampling is quick and needs no frame, but the interviewer's choices can cause bias.
  • Opportunity sampling is easy and cheap, but is unlikely to represent the population.
Check yourself

Which method relies on the interviewer choosing people to fill groups?

  • Simple random sampling

  • Quota sampling

  • Stratified sampling

  • Systematic sampling

Show the answer

Quota sampling

No random selection is involved.

4Bias

A sample is biased if it systematically misrepresents the population.

Common causes:

  • an incomplete or out-of-date sampling frame;
  • non-response (people who choose not to reply may differ from those who do);
  • leading questions;
  • surveying at one time or place only.
Worked example

Spotting bias

  1. A council asks about bus services by surveying people at a bus station on a Monday morning.
  2. Bias: only bus users are asked, and only commuters at that time.
  3. Improvement: use a random sample from the electoral roll, contacted by post or online.

Larger samples reduce random variation, but do not remove bias caused by a poor method.

Check yourself

Does increasing the sample size remove bias?

  • Only if the population is small to begin with

  • Only for stratified samples, not random ones

  • Yes, a larger sample always removes bias

  • No, it reduces random variation but not bias from the method

Show the answer

No, it reduces random variation but not bias from the method

A big biased sample is still biased.

5Comparing methods

Choose the method that suits the situation:

  • Simple random: fair and free of bias, but needs a full sampling frame and can miss small groups.
  • Systematic: simple to use for large frames, but can be biased if the list has a repeating pattern.
  • Stratified: represents each group in proportion, but needs information about the strata.
  • Quota: no frame needed and fast, but not random.
  • Opportunity: cheapest, but least representative.
Worked example

Choosing a method

  1. A factory wants to check 1 in 50 items from a production line.
  2. Systematic sampling is suitable: every 50th item, starting at random among the first 50.
  3. Danger: if a machine fault repeats every 50 items, the sample could miss or always catch it.
Check yourself

What is a weakness of systematic sampling?

  • A repeating pattern in the list can cause bias

  • It is always biased

  • It cannot be used for large populations

  • It needs no sampling frame

Show the answer

A repeating pattern in the list can cause bias

Periodic patterns can line up with k.

6Large data sets

A-level courses use a large data set of real data (such as weather records) to practise sampling and interpreting data.

When working with real data:

  • check units and definitions (for example, what "tr" or a missing value means);
  • clean the data: deal with missing values and errors;
  • think about what the data can and cannot tell you.
Worked example

Cleaning data

  1. A rainfall column contains "tr" (a trace, less than 0.05 mm) and some blank cells.
  2. Treat "tr" as 0 for calculations, and exclude blanks rather than counting them as 0.
  3. State these choices clearly when presenting results.
Check yourself

Why should blank cells not be treated as zero?

  • A missing value is not the same as a measured zero

  • Zero is not counted as a number in statistics

  • It makes the mean bigger than it really is

  • Blank cells are always errors that should be deleted

Show the answer

A missing value is not the same as a measured zero

It would distort the results.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera