Making and justifying an inference
What this lesson covers
- Answer the question in its own words.
- Use the interval, with units.
- Discuss the sampling and sources of error.
The structure
- Say what you estimate or claim, about which population.
- Give the interval with units.
- Explain the evidence from the graphs.
- Discuss how the sample was taken and what could affect it.
A model answer
- Sample of 36 students, median 52 minutes, interval 47.5 to 56.5.
| Part | Sentence |
|---|---|
| Claim | I estimate the median travel time for Year 12 students at this school is between 47.5 and 56.5 minutes. |
| Evidence | The sample median is 52 minutes and the middle half of times span 18 minutes. |
| Trust | The sample was random, so it should represent the year, though 36 students gives a fairly wide interval. |
Try it: build the argument
Before you conclude
- Was the sample random and large enough?
- Does the graph show anything odd, such as outliers or skew?
- Would the claim extend beyond this population?
Try it: who does the sample stand for?
Statistics explorer
Common mistakes
- Writing about the sample median as the answer.State the likely range for the population.
- Saying the sample was big enough with no reason.Link sample size to the width of the interval.
Try it: build and use the interval
Your turn
Which is the best claim?
What supports trust in a sample?
What narrows the interval?
A study of one school is used for all NZ. What is the issue?
A sentence says "The sample was random, but 36 students gives a fairly wide interval." Which part of the structure is it?
Tama writes: "The median is between 47.5 and 56.5." Which two things are missing?
Travel times are strongly right skewed with a few very long times. Why base the claim on the median, not the mean?
A random sample of 36 Year 12 students at a Hamilton school has median sleep 8 hours a night and IQR 2 hours. Which claim is best?
Show answer
1. The median is likely 47.5 to 56.5 minutes 2. Random selection 3. A larger sample 4. It extends beyond the population 5. Trust. It discusses how the sample was taken and what could affect the result. 6. The units and the population. A full claim says the median travel time for Year 12 students at this school is 47.5 to 56.5 minutes. 7. The median is not pulled by the outliers, so it describes a typical time better than the mean. 8. The population median is likely 7.5 to 8.5 hours. Margin = 1.5 × 2 ÷ √36 = 0.5, so 8 ± 0.5.
Sample question: Achieved
A random sample of 40 Year 13 students at a Wellington school gave an informal confidence interval of 6.2 to 7.0 hours for the median sleep on a school night. Write the claim sentence for a report.
Hint
Say what you estimate, for which population, and give the interval with units.
Answer
I estimate that the median sleep on a school night for Year 13 students at this school is between 6.2 and 7.0 hours
Step by step
- A claim sentence has three parts: what is estimated, the population it is about, and the interval with units.
- What: the median sleep on a school night. Not the mean, because the interval is for the median.
- Population: Year 13 students at this school, because that is where the random sample came from.
- Interval: 6.2 to 7.0 hours.
- Put it together: "I estimate that the median sleep on a school night for Year 13 students at this school is between 6.2 and 7.0 hours."
- The classic mistake is to write about the sample: "the median of my 40 students is 6.6 hours". The question is about the population.
- Check: the sentence names the population, uses the interval, and gives units.
Full working
- what: the median sleep on a school night
- who: Year 13 students at this schoolwhere the sample came from
- interval: 6.2 to 7.0 hours, with units
- The population median is between 6.2 and 7.0 hours
Sample questions: Merit
A random sample of 64 Year 12 students at a Dunedin school recorded their daily screen time at the weekend. The sample median was 135 minutes and the IQR was 48 minutes. Construct an informal confidence interval and write a claim, an evidence sentence and a trust sentence.
Hint
Interval first, with median ± 1.5 × IQR ÷ √n. Then claim, evidence, trust: one sentence each.
Answer
126 to 144 minutes. Claim: the median weekend screen time of Year 12 students at this school is likely between 126 and 144 minutes a day
Step by step
- Recall median ± 1.5 × IQR ÷ √n. Here √64 = 8.
- Margin = 1.5 × 48 ÷ 8 = 72 ÷ 8 = 9 minutes. Interval: 135 − 9 = 126 to 135 + 9 = 144 minutes.
- Claim: "I estimate that the median daily weekend screen time for Year 12 students at this school is between 126 and 144 minutes."
- Evidence: "The sample median was 135 minutes, and the middle half of the students' times covered 48 minutes."
- Trust: "The sample was random, so it should represent Year 12 students at the school, and 64 students gives an interval of 18 minutes, narrow enough to be useful."
- Each sentence does one job: the claim answers the question, the evidence gives the numbers, and the trust explains why we believe it.
- The classic mistake is to say "the sample was big enough" with no reason. Link the sample size to the width of the interval.
- Check: 126 and 144 are 9 either side of 135.
Full working
- √64 = 8, margin = 1.5 × 48 ÷ 8 = 9
- 135 − 9 = 126, 135 + 9 = 144
- claimthe population median, interval, units
- evidencesample median 135, IQR 48
- trustrandom sample; n = 64 gives width 18
- 126 to 144 minutes
A student surveyed 30 of her friends at lunch about how many hours of sport they play each week. She got a sample median of 2 hours and an informal confidence interval of 1.7 to 2.3 hours, and concluded: "The median for all New Zealand teenagers is 2 hours of sport a week." Give three problems with this conclusion and rewrite it better.
Hint
Check the sample, the population the claim covers, and how the interval was used.
Answer
Her friends are not a random sample, the claim is extended to all NZ teenagers, and it gives a single value instead of the interval
Step by step
- A good conclusion needs a fair sample, the right population and the interval. Check each in turn.
- Problem 1: the sample is her friends at lunch. That is a convenience sample, not a random one. Friends often have similar interests, so if she plays sport, her friends may play more than most.
- Problem 2: the population. Her sample comes from one school, so it cannot speak for all NZ teenagers. Schools differ in sport options, region and age groups.
- Problem 3: she gives the single value 2 hours. The sample median is only an estimate; the interval shows the uncertainty, so the claim should use it.
- The interval itself also depends on a random sample. For a biased sample it is not trustworthy, however narrow it looks.
- A better plan: take a random sample from the school roll, then claim only about that school.
- A better sentence: "For my friends, the median was 2 hours of sport a week. Because they were not a random sample, I cannot estimate the median for students at my school, and certainly not for all NZ teenagers."
- The classic mistake is to fix only the wording and keep the claim. The sampling problem means no population claim can be made from this data.
Full working
- friends at lunchnot random, likely biased
- one school, claim about all NZ teenagersthe population is too wide
- single value 2 hshould give the interval
- biased samplethe interval cannot be trusted
- no population claim from this sample
Sample questions: Excellence
A random sample of 50 Year 12 students at a Hamilton school recorded hours of exercise in one week in June. Minimum 0, lower quartile 3.5, median 6, upper quartile 9, maximum 25. The distribution is skewed to the right, with two students over 20 hours. Construct an informal confidence interval and write a full justified inference, including how the shape, the outliers and the sampling affect what you can claim.
Hint
Interval first. Then claim, evidence, and trust, and finish with what the data cannot tell you.
Answer
4.83 to 7.17 hours: the median weekly exercise of Year 12 students at this school in winter is likely between about 4.8 and 7.2 hours
Step by step
- IQR = 9 − 3.5 = 5.5 hours. √50 ≈ 7.07.
- Margin = 1.5 × 5.5 ÷ 7.07 = 1.17 hours. Interval: 6 − 1.17 = 4.83 to 6 + 1.17 = 7.17 hours.
- Claim: "I estimate that the median weekly exercise for Year 12 students at this school is between 4.8 and 7.2 hours."
- Evidence: the sample median is 6 hours, and the middle half of students exercised between 3.5 and 9 hours.
- Shape: the data is skewed to the right. The median is the right measure here because it is not pulled up by the long tail; a mean would be.
- Outliers: the two students over 20 hours, perhaps squad athletes, barely affect the median or the IQR, so the interval is still sound. Do not delete them: they are real students.
- Trust: the sample was random, so it should represent Year 12 students at the school. 50 students gives a width of about 2.3 hours.
- Time: the data is from June. Exercise may be higher in summer, so the claim is about winter.
- Population: the claim is about this school only. Other schools, or other year levels, could differ.
- The classic mistake is to write "Year 12 students exercise 6 hours a week". That is the sample median, and it ignores the uncertainty and the season.
Full working
- IQR = 9 − 3.5 = 5.5, √50 ≈ 7.07
- margin = 1.5 × 5.5 ÷ 7.07 = 1.17
- 6 ± 1.17 gives 4.83 to 7.17 hours
- right skewuse the median, not the mean
- outliers barely move the mediankeep them
- random, this school, June onlylimits of the claim
- 4.83 to 7.17 hours
Two students take separate random samples from the same population of Year 12 students and record minutes of reading a week. Tama's sample of 25 gives an informal confidence interval of 40 to 52 minutes. Lisa's sample of 100 gives 44 to 49 minutes. Explain how both could be correct, which you would report and why, and whether the population median could be 51 minutes.
Hint
Each interval is a likely range from one sample. Think about sampling variation and the effect of n on the width.
Answer
Both are reasonable because samples vary; report Lisa's because it is from the larger sample and is narrower; 51 is possible but unlikely, since it is inside Tama's interval but outside Lisa's
Step by step
- Each interval is centred on its own sample median: Tama's on 46 (margin 6) and Lisa's on 46.5 (margin 2.5).
- Different random samples give different medians and IQRs. That is sampling variation, so two honest samples will not give the same interval.
- The intervals overlap from 44 to 49, so they agree on where the population median most likely is.
- Working back: Tama's IQR is 6 × 5 ÷ 1.5 = 20 and Lisa's is 2.5 × 10 ÷ 1.5 = 16.67. Similar spreads, so the samples look consistent.
- Which to report: Lisa's. She sampled four times as many students, so her interval is narrower and more precise.
- Could the median be 51? It is inside Tama's interval, but outside Lisa's 44 to 49.
- An informal interval is not a guarantee, so 51 is not impossible. But the more precise sample says it is unlikely.
- Best answer: the population median is most likely between 44 and 49 minutes.
- The classic mistake is to average the two intervals as if they were equally good. The larger random sample deserves more weight.
Full working
- Tama: centre 46, margin 6; Lisa: centre 46.5, margin 2.5
- samples varyboth can be correct
- overlap 44 to 49they agree
- Lisa's n = 100narrower, more precise
- 51: inside 40 to 52, outside 44 to 49possible but unlikely
- Report 44 to 49 minutes
What to take away
- Claim, interval, evidence, trust.
- Always write about the population.
Challenge
Sione's report reads: "A random sample of 64 Year 12 students at my Christchurch school gave a median of 30 minutes of homework a night and an IQR of 16 minutes. My interval is 26 to 34 minutes. So the mean homework time for all New Zealand Year 12 students is 30 minutes. My sample was large, so this is accurate." Find every problem in the report, including the one in the calculation, and rewrite the claim and trust sentences correctly.
Hint
Redo the interval yourself first and work out what Sione must have done. Then check four things: which statistic, which population, a single value or an interval, and whether the trust sentence gives a reason.
Answer
The interval should be 27 to 33 minutes (he divided by 6, as if n = 36); he wrote mean instead of median; he extended the claim to all NZ; he gave a single value instead of the interval; and "large, so accurate" gives no reason
Step by step
- Margin = 1.5 × 16 ÷ √64 = 24 ÷ 8 = 3, so the interval is 27 to 33 minutes. His margin of 4 is 24 ÷ 6, which uses √36 instead of √64.
- Mean: the informal interval estimates the population median, not the mean.
- Population: the random sample came from one Christchurch school, so the claim can only be about Year 12 students at that school.
- Single value: 30 is the sample median. The claim should give the interval for the population median.
- Trust: a random sample supports representativeness, and n = 64 should be linked to the width: it gives an interval 6 minutes wide.
- Rewrite: "I estimate that the median homework time for Year 12 students at my school is between 27 and 33 minutes a night. The sample was random, so it should represent Year 12 at my school, and 64 students gave an interval only 6 minutes wide."
Full working
- 1.5 × 16 ÷ 8 = 3, so 27 to 33√64 = 8
- 1.5 × 16 ÷ 6 = 4 gives 26 to 34his error: √36 used
- mean should be median; all NZ should be this schoolstatistic and population
- 30 is the sample median: give the intervalsingle value
- random sample; n = 64 gives width 6trust with a reason
- Median homework time for Year 12 at this school: 27 to 33 minutes a night
A school emailed an online form to all 300 Year 12 students about weekly study time; 64 replied. Their median was 95 minutes and IQR 40 minutes. A teacher then took a random sample of 36 from the roll and asked each student in person: median 70 minutes, IQR 36 minutes. Construct both intervals. What does the comparison suggest about the online survey, which interval should the report use, and what should its trust sentence say?
Hint
Compute both intervals and check for overlap. Then ask: who chooses to answer a voluntary study survey?
Answer
Online 87.5 to 102.5 minutes, random 61 to 79 minutes; they do not overlap, which suggests the volunteers study more than Year 12 as a whole; report the random sample's 61 to 79 minutes
Step by step
- Online: margin = 1.5 × 40 ÷ 8 = 7.5, interval 87.5 to 102.5 minutes. Random: margin = 1.5 × 36 ÷ 6 = 9, interval 61 to 79 minutes.
- Both claim to estimate the same thing, the median for Year 12 at this school, yet they do not overlap: 79 < 87.5.
- The volunteers chose to reply. Students who study a lot are more likely to fill in a study survey, so the online sample is biased upwards.
- The online interval is narrower, but narrow is not the same as right: a bigger biased sample just gives a precise answer in the wrong place.
- Report the random sample: I estimate the median weekly study time for Year 12 students at this school is between 61 and 79 minutes.
- Trust sentence: the 36 students were chosen at random from the roll and asked in person, so the sample should represent Year 12. The larger online sample was not used, because its volunteers are likely to study more than most.
Full working
- online: 95 ± 1.5 × 40 ÷ 8 = 95 ± 7.5, so 87.5 to 102.5√64 = 8
- random: 70 ± 1.5 × 36 ÷ 6 = 70 ± 9, so 61 to 79√36 = 6
- 79 < 87.5no overlap, same population
- volunteers reply more if they study morevoluntary response bias
- Report 61 to 79 minutes, from the random sample
A school newsletter says: "The median sleep of our Year 12 students on a school night is at least 8 hours." A random sample of 49 Year 12 students in term 2 gave a median of 7.8 hours and an IQR of 1.4 hours. Can the school's statement be supported? Can a critic claim the median is below 8 hours? With the same median and IQR, how many students would the critic need for the claim? Give one other reason to be careful with any conclusion.
Hint
Build the interval and see where 8 hours sits. A claim of below 8 needs the whole interval below 8. For the sample size, make the top of the interval less than 8 and solve for n.
Answer
Interval 7.5 to 8.1 hours: neither claim is supported, because 8 is inside the interval; the critic would need at least 111 students; and term 2 sleep may differ from other terms
Step by step
- Margin = 1.5 × 1.4 ÷ √49 = 2.1 ÷ 7 = 0.3, so the interval is 7.5 to 8.1 hours.
- The school's statement needs the whole interval at 8 or above. Most of it, 7.5 to 8, is below 8, so it is not supported.
- The critic's claim needs the whole interval below 8. It reaches 8.1, so it is not supported either. The honest conclusion is that the median could be just under or just over 8 hours.
- For the critic: 7.8 + 2.1 ÷ √n < 8, so 2.1 ÷ √n < 0.2, √n > 10.5 and n > 110.25. At least 111 students.
- Care: the sample was taken in term 2. Sleep in winter, or near exams, may differ from the rest of the year, so the claim should be about term 2, or the sample spread across the year. Self-reported sleep may also be inaccurate.
Full working
- margin = 1.5 × 1.4 ÷ 7 = 0.3, so 7.5 to 8.1√49 = 7
- 7.5 < 8 < 8.18 is inside: neither claim is supported
- 7.8 + 2.1 ÷ √n < 8, √n > 10.5, n > 110.25top end below 8
- term 2 only; self-reported sleepsources of error
- Neither claim supported; the critic needs at least 111 students
Report a mistake
More in AS 91264
Is your child on track?
Take the free placement test