Planning data collection and sources of variation
What this lesson covers
- Data vary for many reasons, and a good plan anticipates the ones it can control.
- How data are collected or sourced decides what a conclusion can claim about the population.
The plan turns a question into instructions
- What exactly will be measured, and how?
- Who will be measured, and how many?
- Where does the data come from?
Primary or secondary data
- Primary: you collect it yourself.
- Secondary: someone else collected it.
- Either way, you must know how it was got.
| Data | Means | For example |
|---|---|---|
| Primary | you collect it yourself | survey, measure, time |
| Secondary | someone else collected it | Census at School, a report |
| Either way | you must know how it was got | or you cannot trust it |
Define the measurement exactly
- Resting pulse: when, how, and for how long.
- Count for 30 seconds, then double it.
- Written down so everyone does the same thing.
| Decision | Resting pulse rate |
|---|---|
| When | seated, after 2 minutes of rest |
| How | two fingers on the wrist, not the thumb |
| Count | beats in 30 seconds, then double |
| Record | whole beats per minute, e.g. 72 |
Natural variation
- Twenty careful measurements, twenty different people.
- They still spread from 58 to 90.
- People really do differ. That is not a mistake.

Measurement variation
- A miscount, a rounded value, a different method.
- The same pulse can be recorded differently.
- One clear method keeps this small.
Induced variation
- Some students measured just after PE.
- Their pulse is raised by the conditions, not by who they are.
- Keep conditions the same for everyone.
Sampling variation
- Three samples of 30, three different medians.
- Each one is an estimate of the population.
- Bigger random samples vary less.
| Sample | Who | Result |
|---|---|---|
| Sample A | 30 students | median 71.5 |
| Sample B | 30 other students | median 74 |
| Sample C | 30 more | median 69 |
| So | one median is an estimate | not the truth |
Four sources, four responses
- Natural variation is described, not removed.
- The other three you plan to reduce.
- Say which ones your data might have.
| Source | Cause | Response |
|---|---|---|
| Natural | people really differ | expected: describe it |
| Measurement | the recording slips | one clear method |
| Induced | conditions differ | same conditions for all |
| Sampling | another sample differs | bigger, random samples |
Try it: name the source of variation
Choosing who to measure
- Random: everyone has a fair chance of being picked.
- Friends or volunteers give a lopsided sample.
- Aim for 30 per group, or 30 pairs.
| Method | Effect |
|---|---|
| Random | everyone has a fair chance |
| Friends only | convenient, but not typical |
| Volunteers | only the keen ones reply |
| Size | 30 per group, or 30 pairs |
Try it: fix the pulse plan
Cleaning the data
- Look for values that cannot be right.
- Check before fixing, and never guess silently.
- Record every change you make.
| Value | Problem | Action |
|---|---|---|
| 720 | extra digit typed | check, then 72 |
| 7.2 | decimal point slipped | check, then 72 |
| (blank) | missing | leave out, say so |
| 112 | high but possible | keep, find out why |
Try it: a value that does not belong
Unusual is not the same as wrong
- A pulse of 112 is high, but a real person can have it.
- Deleting it makes the data look tidier than it is.
- Keep it, and look for a reason.
What the marker looks for
- Explain how the data were collected or sourced.
- Name the sources of variation you expect.
- Say what you did to reduce them.
What to take away
- Good data is planned, not hoped for.
| Primary or secondary | know how the data were got |
| Define the measure | so everyone records it the same |
| Natural | people really differ |
| Measurement | reduce with one clear method |
| Induced | keep conditions the same |
| Sampling | bigger, random samples |
| Cleaning | fix errors, keep real unusual values |
Common mistakes
- A pulse of 112 is an outlier, so I deleted it.112 is high but possible for a real person; keep it, look for a reason, and record anything you change.
- Heights 162, 158, 1.71, 165 cm: 1.71 is wrong, so leave it out.1.71 was recorded in metres; after checking, record it as 171 cm so every value has the same unit.
- Pulses spread from 58 to 90, so some of them must be measured wrong.That is natural variation, because people really differ; describe it, and reduce only measurement, induced and sampling variation.
- I posted the survey on the class page so anyone could answer, which makes it random.Only people who see it and choose to reply are included, so it is a volunteer sample, not a random one.
Your turn: four questions
- Answer each in a sentence.
- Name the source of variation where you can.
- Say what you would do about it.
Some students get three goes at a reaction test, some get one. Problem?
Heights recorded: 162, 158, 1.71, 165 (cm). What needs fixing?
A sleep survey is posted on a class social media page. Problem?
A comparison of two groups: how many people at least?
Show answer
1. Induced and measurement variation: the conditions differ between students. Give everyone the same number of goes, for example the mean of three. 2. 1.71 was recorded in metres. After checking, record it as 171 cm so every value has the same unit. 3. Volunteer bias: only people who see the post and choose to reply are included, so the sample is not random and may not represent the population. 4. 60: at least 30 in each of the two groups.
The answers
- Conditions differ: give everyone the same number of goes.
- 1.71 is in metres: check, then 171 cm.
- Volunteers only: not a random sample.
- 60: at least 30 in each group.
Sample question: Achieved
A class recorded these heights in centimetres: 162, 171, 1.68, 158, 1650, 174, (blank), 169. Find each problem value, say what you would do with it, and then find the median height of the cleaned data.
Hint
Look for values in the wrong unit, values with an extra digit and missing values, then sort what is left.
Answer
1.68 was recorded in metres: after checking, record 168. 1650 has an extra digit: after checking, record 165. The blank is missing: leave it out and say so. The 7 cleaned values have median 168 cm.
Step by step
- Heights of Year 11 students are usually somewhere between about 140 and 200 cm. Anything far outside that needs checking.
- 1.68 looks like a height in metres. 1.68 m is 168 cm, so after checking with the student, record 168.
- 1650 cm would be over 16 metres tall. It is most likely 165 with an extra 0 typed. Check, then record 165.
- The blank is missing data. Do not guess a value. Leave it out and write down that you did.
- The cleaned data has 7 values: 162, 171, 168, 158, 165, 174, 169.
- Sort them: 158, 162, 165, 168, 169, 171, 174.
- With 7 values the median is the middle one, the 4th: 168 cm.
- Classic mistake: finding the median before cleaning. The 1650 would sit at the top and push the middle value up.
- Check: 3 values sit below 168 and 3 sit above it.
Full working
- 1.68 m → 168 cmwrong unit, check first
- 1650 → 165extra digit typed, check first
- blank: leave out and record itmissing
- 158, 162, 165, 168, 169, 171, 1747 values, sorted
- median = 4th value
- Median 168 cm
Sample questions: Merit
Investigative question: "Do Year 11 students at our school who play video games most days tend to have faster reaction times than those who do not?" Reaction time will be measured with a ruler-drop test: a partner drops a 30 cm ruler and the student catches it. Write a measurement plan that makes every value recorded the same way. Then name three sources of variation and say how your plan reduces each one.
Hint
Decide when, how, how many goes and what is recorded, then match one part of the plan to each of measurement, induced and sampling variation.
Answer
Plan: seated, in class, not straight after PE; strong hand, ruler zero level with the top of the thumb; no practice beyond one trial go; three recorded drops, record the mean distance in cm to the nearest 0.5 cm. Measurement variation (reading the ruler): one method, one reader, read at the top of the thumb. Induced variation (practice or tiredness): same number of goes and same conditions for everyone. Sampling variation: at least 30 randomly chosen students in each group.
Step by step
- A plan has to be clear enough that two different people would record the same student in the same way.
- When: seated in class, not straight after PE, because exercise or tiredness could change reaction time.
- How: the student uses their strong hand, with the zero of the ruler level with the top of their thumb. The partner drops it with no warning.
- How many goes: one practice drop, then three recorded drops. Use the mean of the three, because one drop can be a lucky or unlucky catch.
- Record: the distance the ruler fell, in cm, to the nearest 0.5 cm, read at the top of the thumb.
- Measurement variation is when the recording slips, such as reading the ruler at a different place. One fixed reading point reduces it.
- Induced variation comes from conditions. If some students get ten practice goes, they improve because of the conditions, not because of who they are. Same goes, same conditions for all.
- Sampling variation means another sample would give different results. Random samples of at least 30 in each group reduce it.
- Natural variation, people really differing, cannot be planned away. You describe it in the analysis.
- Check: each of the three sources has a matching part of the plan.
Full working
- seated, in class, not after PEsame conditions
- strong hand, zero at top of thumbsame method
- 1 practice, 3 recorded, use the meansame number of goes
- record cm to nearest 0.5 cm
- measurement: one reading point; induced: same goes and conditionsreduce each
- sampling: at least 30 random students per group
- A written method plus a fix for measurement, induced and sampling variation
A school has 240 Year 11 students: 90 play a team sport and 150 do not. Mere wants to compare their hours of sleep, so she surveys the 30 students in her own maths class. Her class has 18 who play a team sport and 12 who do not. Explain two problems with her sample, and describe how she could choose a better one from the Year 11 roll.
Hint
Think about how many she has in each group, and whether her class is a fair picture of all Year 11s.
Answer
First, 18 and 12 are both under 30 per group, so each median would vary a lot from sample to sample. Second, one class is not random: it is a convenience sample and may differ from Year 11 as a whole (same timetable, same teacher, maybe a similar level). Better: list the 90 sport players and the 150 non-players from the roll, number each list, and use a random number generator to choose 30 from each list.
Step by step
- The question compares two groups, so the sample needs enough students in each group, not just 30 in total.
- Her class gives 18 sport players and 12 non-players. Both are under 30, so each group's median could change a lot if she asked different students.
- Second problem: she chose her own class because it was easy. That is a convenience sample, not a random one.
- One class may not be typical. Students in the same class share a timetable and often a similar level, which could link to sleep.
- Fix: start from the roll. Make one list of the 90 who play a team sport and one list of the 150 who do not.
- Number each list, 1 to 90 and 1 to 150.
- Use a random number generator to pick 30 numbers from each list, skipping repeats. Now everyone in each group has a fair chance.
- Classic mistake: thinking 30 students in total is enough. The rule is about 30 in each group.
- Check: 90 + 150 = 240, and 30 is less than both 90 and 150, so the plan is possible.
Full working
- 18 and 12both under 30 per group
- one class onlyconvenience sample, not random
- lists from the roll: 90 sport, 150 not90 + 150 = 240
- number each list, random number generator
- 30 chosen at random from each list
- Problems: groups too small and not random; fix: 30 random students from each group on the roll
Sample questions: Excellence
Two random samples of 8 resting pulse rates (beats per minute) were taken from the same Year 11 population. Sample 1: 62, 66, 68, 69, 71, 74, 78, 88. Sample 2: 64, 70, 72, 75, 77, 79, 81, 85. Find the median of each sample and explain why they differ. Then Aroha compares 8 students who walk to school (median 68) with 8 who are driven (median 71) and concludes that walkers tend to have lower pulse rates. Use your two samples to judge her conclusion, and say what she should do instead.
Hint
The two samples come from the same population, so the gap between their medians shows how much a median can move by chance alone.
Answer
Sample 1 median 70, sample 2 median 76. They differ because of sampling variation: each random sample of 8 gives a different estimate. Two samples from the same population differed by 6 beats per minute, so Aroha's difference of 3 beats per minute could easily be chance. Her conclusion is not supported. She should take random samples of at least 30 in each group and compare whole distributions.
Step by step
- Each sample has 8 values, already in order. With an even number of values, the median is halfway between the 4th and 5th values.
- Sample 1: the 4th and 5th values are 69 and 71. Halfway is 70.
- Sample 2: the 4th and 5th values are 75 and 77. Halfway is 76.
- Both samples were random and from the same population, yet their medians differ by 76 − 70 = 6 beats per minute. That is sampling variation.
- Now Aroha's groups. Her medians differ by 71 − 68 = 3 beats per minute, and she also used only 8 per group.
- Here is the key link: samples of 8 from the same population already differed by 6. A difference of 3 is smaller than the difference chance alone produced here.
- So her difference could be nothing more than sampling variation. The data does not support "tend to".
- She should not say walkers have higher pulses either. The right conclusion is that no call can be made from these samples.
- Improvement: random samples of at least 30 per group. Bigger random samples vary less, so a real difference would show up more clearly.
- She should also compare the whole distributions, using box plots, not just the medians.
- Check: 4 values lie below 70 in sample 1 and 4 lie above it. 4 lie below 76 in sample 2 and 4 above it.
Full working
- Sample 1 median = (69 + 71) ÷ 2 = 704th and 5th of 8
- Sample 2 median = (75 + 77) ÷ 2 = 76
- 76 − 70 = 6same population: sampling variation
- Aroha: 71 − 68 = 3, only 8 per group
- 3 < 6the gap could be chance
- Medians 70 and 76; her conclusion is not supported; use at least 30 per group
Ten resting pulse rates (beats per minute) were recorded: 66, 71, 720, 64, 98, 104, 69, 112, 75, 62. Later you find out that the students with 98, 104 and 112 were measured within five minutes of finishing PE. Clean the data and justify each decision. Find the median with and without the three PE values, and explain which source of variation the PE values show and how you would change the plan.
Hint
Fix the impossible value first. Then decide about the PE values because of how they were measured, not because they are high.
Answer
720 becomes 72 after checking. The PE values are set aside because they were measured in different conditions (induced variation), not because they are large. Median of the 10 values with 72: 71.5; median of the 7 values without PE: 69. Plan change: everyone sits and rests for 2 minutes before measuring and nobody is measured within an hour of PE; re-measure those three students.
Step by step
- First, look for values that cannot be right. A resting pulse of 720 is impossible. It is most likely 72 with an extra digit. Check, then record 72.
- Next, the three PE values: 98, 104 and 112. A real resting pulse of 98 or even 112 is possible, so being high is not a reason to delete them.
- The reason to set them aside is how they were measured. Straight after PE, a pulse is raised by the conditions, not by the person. That is induced variation.
- So these values do not measure resting pulse at all. Leave them out of the analysis, record why, and re-measure those students later.
- Median with all 10 values, after the 720 fix: sort them: 62, 64, 66, 69, 71, 72, 75, 98, 104, 112.
- With 10 values, the median is halfway between the 5th and 6th: (71 + 72) ÷ 2 = 71.5.
- Median without the PE values: 62, 64, 66, 69, 71, 72, 75. With 7 values the median is the 4th: 69.
- The induced variation pushed the median up by 71.5 − 69 = 2.5 beats per minute. A group measured after PE would look less fit than it is.
- Plan change: every student sits for 2 minutes before measuring, and nobody is measured within an hour of PE.
- Classic mistake: deleting a value just because it is unusual. Keep real unusual values. Remove a value only with a reason you can state.
- Check: the cleaned 7 values have 3 below 69 and 3 above it.
Full working
- 720 → 72extra digit, check first
- 98, 104, 112 measured after PEinduced variation, not real resting pulse
- all 10: 62, 64, 66, 69, 71, 72, 75, 98, 104, 112
- median = (71 + 72) ÷ 2 = 71.5
- without PE: 62, 64, 66, 69, 71, 72, 75median = 4th value
- Median 71.5 with PE values, 69 without; rest 2 minutes, never after PE
Where science uses this
Report a mistake
More in AS 91944
Statistical enquiry: PPDAC and investigative questions6 min
Planning data collection and sources of variation6 min
Comparing groups: box plots, shift and overlap6 min
Scatter plots: describing a relationship between two variables6 min
Writing a statistics conclusion: Achieved to Excellence6 min
Statistical enquiry: 7 questions solved step by step10 min
Comparing groups: 6 questions solved step by step11 min
Scatter plots: 7 questions solved step by step10 minIs your child on track?
Take the free placement test