Grade 7 Mathematics Unit 8: Comparing Data
This Grade 7 Mathematics unit, Comparing Data, has 3 lessons that cover TEKS 7.12A, 7.12B, 7.12C. Each lesson below gives the goal, key vocabulary, a worked example and practice questions with answers you can check.
Practice this unit with interactive questions
STAAR connection: Grade 7 Mathematics is a subject tested by the State of Texas Assessments of Academic Readiness (STAAR). Texas lawmakers have voted to replace STAAR with shorter tests beginning in the 2027–28 school year; the tests are still built on the TEKS, so practicing the TEKS stays useful.
TEKS covered in this unit
- 7.12A compare two groups of numeric data using comparative dot plots or box plots by comparing their shapes, centers, and spreads
- 7.12B use data from a random sample to make inferences about a population
- 7.12C compare two populations based on data in random samples from these populations, including informal comparative inferences about differences between the two populations
Lesson 1: Comparing dot plots and box plots
TEKS 7.12A
What you will learn
I can compare two groups of numeric data using comparative dot plots or box plots by comparing shape, center and spread.
I can explain median, quartiles, IQR, center, spread and shape.
Key vocabulary
- median and quartiles
- The median splits the data in half. Q1 is the median of the lower half and Q3 the median of the upper half.
Examples: Data 2, 4, 6, 8, 10: median 6; Q1 = 3, Q3 = 9 - center and spread
- Center describes a typical value (median or mean). Spread describes how far apart values are (range or IQR = Q3 − Q1).
Examples: Median 72, IQR 12; Range 40 - shape
- The pattern of the data: symmetric, skewed left or skewed right, with possible clusters or gaps.
Examples: A long tail to the right; A mound in the middle
Worked example
Group A scores: 50, 54, 57, 59, 60, 62, 65, 70, 72. Group B: 60, 64, 66, 69, 72, 74, 78, 84, 90. Compare the groups.
- Group A median = 60; Q1 = (54 + 57)/2 = 55.5; Q3 = (65 + 70)/2 = 67.5; IQR = 12.
Five-number summary for A. - Group B median = 72; Q1 = (64 + 66)/2 = 65; Q3 = (78 + 84)/2 = 81; IQR = 16.
Five-number summary for B. - Centers: 72 − 60 = 12 points higher for B.
Compare medians. - Spread: B’s IQR (16) is larger than A’s (12). B scored higher and was a bit more spread out; the boxes overlap only a little.
Write a comparison sentence.
Strategy: Center, Spread, Shape
- Compare medians (center).
- Compare IQR or range (spread).
- Describe overlap and shape, then say what it means.
Check your understanding
Data: 3, 5, 7, 9, 11. What is the median?
- 35
- 9
- 5
- 7
Show the answer
Answer: D. 7
The middle value is 7.
Q1 = 12 and Q3 = 20. What is the IQR?
- 4
- 16
- 32
- 8
Show the answer
Answer: D. 8
20 − 12 = 8.
Group A has median 50 and IQR 10. Group B has median 65 and IQR 10. How do the groups compare?
- B has a larger spread
- A has a higher center
- B has a higher center; the spreads are about equal
- They are the same
Show the answer
Answer: C. B has a higher center; the spreads are about equal
65 > 50 and both IQRs are 10.
Lesson 2: Inferences from random samples
TEKS 7.12B
What you will learn
I can use data from a random sample to make inferences about a population.
I can explain random sample, proportion and inference and judge whether a sample is trustworthy.
Key vocabulary
- representative sample
- A sample whose characteristics match the population, usually produced by random selection.
Examples: Student ID numbers drawn at random; A random phone survey - bias
- A systematic error in sampling that favors some outcomes, making the results unreliable.
Examples: Surveying only gym members about exercise; Leading questions - margin of estimate
- Different random samples give slightly different results, so an inference is an estimate (“about”).
Examples: 42%, 46%, 44% from three samples; About 440 of 1,000
Worked example
A random sample of 60 students from 900 shows 21 walk to school. Estimate the number who walk, and say how confident you are.
- Sample proportion = 21/60 = 0.35 = 35%.
Part ÷ whole. - Estimate = 0.35 × 900 = 315 students.
Scale to the population. - Another random sample might give 18 or 24 walkers, so the estimate is about 270 to 360.
Sample variability. - Because the sample is random, the estimate is reasonable; a larger sample would be more precise.
Evaluate the sampling method.
Strategy: Percent, Scale, Qualify
- Compute the sample percent.
- Scale to the population.
- Say “about” and check for bias.
Check your understanding
A random sample of 100 shows 28 prefer soccer. About how many of 1,500 students prefer soccer?
- 1,072
- 280
- 28
- 420
Show the answer
Answer: D. 420
0.28 × 1,500 = 420.
Which survey method is biased?
- Selecting every 10th student at random start
- Using a random number list
- Choosing names from a hat
- Surveying only students leaving the gym about their favorite sport
Show the answer
Answer: D. Surveying only students leaving the gym about their favorite sport
Only gym-goers are included, which is biased.
A random sample of 25 voters has 10 in favor. What percent is that?
- 25%
- 40%
- 60%
- 10%
Show the answer
Answer: B. 40%
10/25 = 0.40 = 40%.
Lesson 3: Comparing two populations
TEKS 7.12C
What you will learn
I can compare two populations using random samples, including informal inferences about the differences between them.
I can explain variability, overlap and informal comparative inference.
Key vocabulary
- comparing populations
- Using two random samples, one from each population, to describe how the populations differ.
Examples: Heights of 7th vs 8th graders; Test scores from two schools - overlap
- When the boxes or distributions share many values, the groups are similar. Little overlap suggests a real difference.
Examples: Boxes almost touch → clear difference; Boxes mostly overlap → similar - informal inference
- A reasonable conclusion based on data patterns (such as the difference in medians compared with the spread), not a formal proof.
Examples: The difference is about 1.5 IQRs; These groups likely differ
Worked example
Random samples of 9 students show reading times (min): Class A median 24, IQR 6. Class B median 33, IQR 8. Is there a likely difference?
- Difference in medians = 33 − 24 = 9 minutes.
Compare centers. - Compare with the spread: the larger IQR is 8, and 9 ÷ 8 ≈ 1.1.
Difference in IQR units. - A difference bigger than about one IQR suggests the boxes barely overlap.
Use overlap. - It is likely that Class B students take longer, but samples are small, so we say “suggests”, not “proves”.
Cautious wording.
Strategy: Difference vs Spread
- Find the difference in centers.
- Compare it with the spread (IQR).
- Write a cautious conclusion.
Check your understanding
Sample medians are 70 and 76 with IQR 12 for both. Which is the best conclusion?
- The IQR proves they are equal
- The first group is better
- The groups definitely differ
- The difference is small compared with the spread, so the groups are similar
Show the answer
Answer: D. The difference is small compared with the spread, so the groups are similar
A difference of half an IQR is small.
Sample medians are 40 and 70 with IQR 10. Which is the best conclusion?
- Nothing can be said
- The groups are the same
- The groups likely differ; the difference is 3 times the IQR
- The spread is large
Show the answer
Answer: C. The groups likely differ; the difference is 3 times the IQR
A difference of 3 IQRs means the boxes do not overlap.
Why must the two samples be random?
- So the medians are equal
- So each represents its population fairly
- So the IQR is zero
- So the data are bigger
Show the answer
Answer: B. So each represents its population fairly
Random samples represent their populations.