Sampling and the enquiry cycle
What this lesson covers
- The enquiry cycle has five stages: problem, plan, data, analysis, conclusion.
- A random sample avoids choosing people in a biased way.
- Samples vary, so any estimate carries uncertainty.
Population and sample
- The population is the whole group you care about.
- The sample is the part you measure.
- A statistic describes the sample and a parameter describes the population.
The enquiry cycle
- Problem: write a clear question about a population.
- Plan: decide what to measure and how to sample.
- Data: collect and clean it.
- Analysis: draw graphs and find statistics.
- Conclusion: answer the question for the population.
Try it: which stage is it?
A good question
- Compare these two questions about a school.
| Weak | Strong |
|---|---|
| How much do students sleep? | What is the median sleep on a school night for Year 12 students at this school? |
| Do boys sleep more? | Do Year 12 boys at this school tend to sleep longer than Year 12 girls? |
The cycle
- An enquiry moves round these five stages, and a conclusion often raises a new problem.
Taking a random sample
- Choose 30 of the 240 Year 12 students.
- number the roll 1 to 240
- generate 30 different random numbers
- survey those students
Try it: a random sample
Common mistakes
- Asking your friends and calling it a sample of the school.Use a random method, such as numbering the roll and using random numbers.
- Talking about the sample in the conclusion only.An inference is about the population.
Your turn
Name the population in a study of Year 12 students at one school.
What describes a sample?
Which sampling method is random?
Which stage writes the question?
Show answer
1. All Year 12 students at the school 2. A statistic 3. Numbering the roll and using random numbers 4. Problem
Sample question: Achieved
A Christchurch school has 240 Year 12 students. A random sample of 30 of them recorded their phone use on a school day, and the sample median was 95 minutes. Name the population, the sample, the statistic and the parameter.
Hint
The population is everyone you want to know about; a statistic describes the sample; a parameter describes the population.
Answer
Population: all 240 Year 12 students at the school. Sample: the 30 chosen. Statistic: the sample median, 95 minutes. Parameter: the median phone use of all 240, which is unknown
Step by step
- The population is the whole group the question is about: all 240 Year 12 students at this school.
- The sample is the part we actually measured: the 30 randomly chosen students.
- A statistic is a number worked out from the sample. Here it is the sample median, 95 minutes.
- A parameter is the matching number for the whole population: the median phone use of all 240 students.
- We do not know the parameter. The point of the inference is to estimate it from the statistic.
- Memory trick: Sample goes with Statistic, Population goes with Parameter.
- The classic mistake is to say the parameter is 95 minutes. 95 is only the sample's value; another sample of 30 would give a different number.
Full working
- population: all 240 Year 12 studentsthe group the question is about
- sample: the 30 chosenthe part measured
- statistic: sample median 95 minfrom the sample
- parameter: median of all 240, unknownestimated by the statistic
Sample questions: Merit
A student wants to estimate how many hours Year 12 students at her school study each week. There are 850 students on the Year 12 roll. Describe how to take a random sample of 40, and explain why surveying 40 students in the library at lunchtime could give a biased estimate. Say which way it would be wrong.
Hint
A random sample gives every student the same chance of being chosen. Think about who is in the library at lunch.
Answer
Number the roll 1 to 850 and choose 40 different random numbers; the library would over-estimate study time, because students who study more are more likely to be there
Step by step
- Random means every student on the roll has the same chance of being picked, and the choice does not depend on the person doing it.
- Step 1: get the Year 12 roll and number the students 1 to 850.
- Step 2: use a random number generator to produce 40 different whole numbers from 1 to 850. Ignore any repeats and draw again.
- Step 3: survey the 40 students with those numbers, and follow up any who are absent so they are not left out.
- Now the library. Students in the library at lunch are more likely to be studying, or to be the kind of student who studies a lot.
- So their study hours are likely to be higher than typical. The estimate would be too high: an over-estimate.
- This is bias. A bigger library sample would not fix it, because the same kind of student would keep being chosen.
- The classic mistake is to say only "it is not random". Say why it is biased and in which direction.
Full working
- number the roll 1 to 850
- 40 different random numbers from 1 to 850each student has the same chance
- survey those 40, follow up absentees
- library at lunch: more studious studentsnot representative
- the estimate would be too high
A student writes the question "Do teenagers sleep enough?" for an investigation at her Year 12 school. Explain what is weak about it, write a better investigative question, and describe the plan stage: the variable, how it is measured and how the sample is chosen.
Hint
A good question names the population, the variable and a summary, such as the median.
Answer
"What is the median sleep on a school night for Year 12 students at my school?", measured in hours from a short survey of a random sample from the roll
Step by step
- The weak question has three problems. "Teenagers" is too wide: she can only sample her school.
- "Sleep" is vague: which nights, and how is it measured?
- "Enough" is a judgement, not something you can measure or summarise.
- A better question: "What is the median sleep on a school night for Year 12 students at my school?"
- It names the population (Year 12 students at my school), the variable (sleep on a school night) and the summary (the median).
- Plan, the variable: hours of sleep on the last school night, to the nearest quarter hour, from bedtime to waking time.
- Plan, the measurement: a short survey asking for the time they fell asleep and woke up, so the hours can be worked out the same way for everyone.
- Plan, the sample: number the Year 12 roll and choose, say, 40 students with random numbers.
- The classic mistake is to jump straight to collecting data. The plan stage decides what the numbers mean before you have them.
Full working
- "teenagers" too wide; "sleep" vague; "enough" a judgement
- population: Year 12 students at my school
- variable: hours of sleep on the last school night
- summary: the median
- sample: 40 chosen at random from the roll
- What is the median sleep on a school night for Year 12 students at my school?
Sample questions: Excellence
Five different random samples of 30 Year 12 students from the same school gave these sample medians for sleep on a school night, in hours: 6.8, 7.4, 7.1, 6.6, 7.3. Each sample had an IQR of about 1.4 hours. Explain what this shows about sampling, and use the informal confidence interval to explain why reporting one sample median on its own is not enough.
Hint
Find how much the medians vary, then compare that with the width of one informal interval with n = 30.
Answer
The medians vary by 0.8 hours just from sampling; one interval with n = 30 is about 0.77 hours wide, so the interval captures this variation and a single median does not
Step by step
- All five samples came from the same population in the same way, yet the medians differ. That is sampling variation.
- Range of the medians: 7.4 − 6.6 = 0.8 hours. The middle one is 7.1 hours.
- So any single sample median could easily be 0.3 or 0.4 hours away from the population median.
- Now one interval: median ± 1.5 × IQR ÷ √n. Margin = 1.5 × 1.4 ÷ √30 = 2.1 ÷ 5.48 = 0.38 hours. Width about 0.77 hours.
- The interval's width is close to the 0.8-hour spread of the sample medians. The formula is built to allow for exactly this variation.
- For example, the sample with median 7.1 gives 6.72 to 7.48 hours. Four of the five medians fall inside it.
- So a report that says only "the median is 7.1 hours" hides the uncertainty. The interval says how far the estimate could be out.
- To reduce the variation, take bigger samples. With n = 120 the margin would halve to about 0.19 hours.
- But only random samples behave like this. A biased sample would vary around the wrong value.
- The classic mistake is to think one sample was wrong and another was right. All five are honest estimates; they just vary.
Full working
- range of medians: 7.4 − 6.6 = 0.8 hsampling variation
- margin = 1.5 × 1.4 ÷ √30 = 0.38one interval, n = 30
- width ≈ 0.77 h ≈ the spread of the medians
- 7.1 ± 0.38 gives 6.72 to 7.48holds 4 of the 5
- n = 120 halves the margin to 0.19
- report the interval, not one median
A school council posted an online poll on the school's Instagram asking "How many hours a week do you spend gaming?" 412 students answered, the median was 9 hours, and the council concluded: "Students at our school game a median of 9 hours a week, so we need a gaming club." Evaluate the enquiry at each stage of the cycle and argue whether a random sample of 60 would be better than these 412 responses.
Hint
Go through problem, plan, data, analysis and conclusion. Ask who chose to answer and what that does to the median.
Answer
The poll is self-selected, so gamers are more likely to answer and the median of 9 hours is probably too high; a random 60 would give a fairer, though wider, estimate
Step by step
- Problem: the question does not name a population or a summary, and it mixes in a decision, the club, that the data cannot make on its own.
- Plan: there is no sampling method. Anyone who saw the post could answer, and students without Instagram could not.
- Data: the sample is self-selected. Students who game a lot are more interested and more likely to answer, so they are over-represented.
- That bias pushes the median up, so 9 hours is probably an over-estimate for the school.
- Data quality: hours are guessed, some students may answer twice, and some may exaggerate for fun.
- Analysis: a median from biased data is precise but wrong. 412 responses give a narrow interval around the wrong value.
- Conclusion: it states the sample median as if it were the school's, with no interval, and jumps to a decision.
- A random sample of 60 from the roll gives every student the same chance, including non-gamers. Its interval would be wider, but it would be centred in the right place.
- So the random 60 is better. A smaller fair sample beats a larger biased one, because a bigger sample cannot remove bias.
- A better conclusion would give an interval for the median and say that a club needs other evidence too, such as how many students would join.
- The classic mistake is to trust the 412 because it is bigger. Size reduces random error, not bias.
Full working
- problem: no population or summary named
- plan: no sampling method; Instagram users only
- data: self-selectedgamers more likely to answer
- median 9 h probably too highbias, not chance
- conclusion: no interval, jumps to a decision
- random 60: wider but fairsize cannot remove bias
- The random sample of 60 is better
What to take away
- State the population before anything else.
- Random sampling is what makes an inference fair.
Report a mistake
More in AS 91264
Is your child on track?
Take the free placement test