Texas Test Academy

Take learning by the horns.

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

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.

  1. Group A median = 60; Q1 = (54 + 57)/2 = 55.5; Q3 = (65 + 70)/2 = 67.5; IQR = 12.
    Five-number summary for A.
  2. Group B median = 72; Q1 = (64 + 66)/2 = 65; Q3 = (78 + 84)/2 = 81; IQR = 16.
    Five-number summary for B.
  3. Centers: 72 − 60 = 12 points higher for B.
    Compare medians.
  4. 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

Check your understanding

  1. Data: 3, 5, 7, 9, 11. What is the median?

    1. 35
    2. 9
    3. 5
    4. 7
    Show the answer

    Answer: D. 7

    The middle value is 7.

  2. Q1 = 12 and Q3 = 20. What is the IQR?

    1. 4
    2. 16
    3. 32
    4. 8
    Show the answer

    Answer: D. 8

    20 − 12 = 8.

  3. Group A has median 50 and IQR 10. Group B has median 65 and IQR 10. How do the groups compare?

    1. B has a larger spread
    2. A has a higher center
    3. B has a higher center; the spreads are about equal
    4. 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.

Practice this lesson with interactive questions

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.

  1. Sample proportion = 21/60 = 0.35 = 35%.
    Part ÷ whole.
  2. Estimate = 0.35 × 900 = 315 students.
    Scale to the population.
  3. Another random sample might give 18 or 24 walkers, so the estimate is about 270 to 360.
    Sample variability.
  4. Because the sample is random, the estimate is reasonable; a larger sample would be more precise.
    Evaluate the sampling method.

Strategy: Percent, Scale, Qualify

Check your understanding

  1. A random sample of 100 shows 28 prefer soccer. About how many of 1,500 students prefer soccer?

    1. 1,072
    2. 280
    3. 28
    4. 420
    Show the answer

    Answer: D. 420

    0.28 × 1,500 = 420.

  2. Which survey method is biased?

    1. Selecting every 10th student at random start
    2. Using a random number list
    3. Choosing names from a hat
    4. 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.

  3. A random sample of 25 voters has 10 in favor. What percent is that?

    1. 25%
    2. 40%
    3. 60%
    4. 10%
    Show the answer

    Answer: B. 40%

    10/25 = 0.40 = 40%.

Practice this lesson with interactive questions

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?

  1. Difference in medians = 33 − 24 = 9 minutes.
    Compare centers.
  2. Compare with the spread: the larger IQR is 8, and 9 ÷ 8 ≈ 1.1.
    Difference in IQR units.
  3. A difference bigger than about one IQR suggests the boxes barely overlap.
    Use overlap.
  4. 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

Check your understanding

  1. Sample medians are 70 and 76 with IQR 12 for both. Which is the best conclusion?

    1. The IQR proves they are equal
    2. The first group is better
    3. The groups definitely differ
    4. 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.

  2. Sample medians are 40 and 70 with IQR 10. Which is the best conclusion?

    1. Nothing can be said
    2. The groups are the same
    3. The groups likely differ; the difference is 3 times the IQR
    4. 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.

  3. Why must the two samples be random?

    1. So the medians are equal
    2. So each represents its population fairly
    3. So the IQR is zero
    4. So the data are bigger
    Show the answer

    Answer: B. So each represents its population fairly

    Random samples represent their populations.

Practice this lesson with interactive questions