Comparing two data sets

To compare two groups, compare their centers (mean or median) and their spreads (MAD or IQR). Then ask: is the difference big compared with the spread?

Not sure this is the right level? Take the free grade 7 check-up and get a daily practice plan.

Compare the center and the spread

Two classes took the same test. Class A has a mean of 72 and a MAD of 4; class B has a mean of 80 and a MAD of 4. Class B scored higher on average, by 8 points. Both classes are equally spread out. Always say both: “B’s center is higher, and the two classes have about the same spread.”

When the data has outliers or is skewed, compare medians and IQRs instead, usually with box plots drawn on the same number line.

See it: pictures to draw with your child

Copy these onto paper or a whiteboard. A quick sketch makes the idea concrete before any written method.

Test scoresAB5060708090
Side by side: B’s median is 10 higher, and the boxes overlap only a little.
6064687276808488927280Means 8 apart, MAD 4: 2 MADs
Mean 72 and mean 80 with a MAD of 4: the gap is 8 ÷ 4 = 2 MADs.

How many MADs apart?

Is 8 points a big difference? It depends on the spread. Divide the difference of the means by the MAD:

(80 − 72) ÷ 4 = 2 MADs

If the MAD were 16 instead of 4, the same 8-point gap would be only half a MAD, and the classes would overlap almost completely. This is standard 7.SP.B.3: the difference of centers measured in units of spread.

Comparing with random samples

Standard 7.SP.B.4 adds samples: to compare the reading time of 7th and 8th graders, take a random sample from each grade, find the mean or median of each, and compare. Different samples give slightly different results, so a small difference is not convincing; a difference of several MADs is. The samples lesson explains why random samples work.

A full example, start to finish

A science class grew bean plants in sunlight and in shade, then measured their heights in centimeters after two weeks.

The means differ by 5 cm and the MAD is 1.2 cm, so the difference is about 5 ÷ 1.2 ≈ 4 MADs. That is a large gap: the sunny plants really did grow taller, and it is unlikely to be chance. The class wrote: “Sun plants were about 5 cm taller on average; both groups had the same spread.”

Questions to ask about any comparison

These four questions turn a list of numbers into an argument a scientist would accept, which is exactly what grade 7 statistics is building toward.

Comparing data sets practice

How many MADs apart, which group is more spread out, and the difference of medians. New data every time.

Go further

Review mean absolute deviation and box plots if either measure is shaky.

What to say to your child

A short script for teaching it the first time. Pause after each line and let your child do the next step.

  1. “Both classes took the same test. Which one did better on average?”
  2. “By how much?” (subtract the means)
  3. “Now, how spread out is each class?” (the MAD)
  4. “How many MADs is that difference?” (divide)
  5. “Two or more MADs: that’s a real difference, not luck.”
  6. “What if the MAD were huge?”

More worked examples

Example 1: MADs apart

Means 45 and 54, MAD 3: (54 − 45) ÷ 3 = 3 MADs. A clear difference.

Example 2: Small difference

Means 20 and 22, MAD 4: 2 ÷ 4 = 0.5 MAD. The groups overlap a lot.

Example 3: Spread

Team Red: 30, 32, 35, 36. Team Blue: 18, 29, 40, 51. Ranges 6 and 33: Team Blue is more spread out.

Example 4: Medians

Medians 26 and 31.5: the difference is 5.5.

Practice questions (answers below)

Ask these out loud or write them down. Check each answer, and ask “how did you get that?” for one or two.

  1. Means 30 and 40, MAD 5. How many MADs apart?
  2. Means 12 and 15, MAD 3. MADs apart?
  3. Means 60 and 84, MAD 6. MADs apart?
  4. Ranges 10 and 25: which group is more spread out?
  5. Medians 18 and 23: difference?
  6. A difference of 0.5 MAD: clear or not?
  7. Outliers in the data: compare means or medians?
  8. Same mean, MADs 2 and 9: which is more consistent?
Show the answers
  1. 2
  2. 1
  3. 4
  4. The one with range 25
  5. 5
  6. Not clear
  7. Medians
  8. MAD 2

Common mistakes

Only comparing centersSays B is higher and stops.Fix: also compare the spreads.
Dividing by the wrong spreadDivided the difference by a mean.Fix: divide by the MAD.
Small samples, big claimsDraws a conclusion from 3 values.Fix: use bigger random samples.
Different number linesCompares box plots drawn on different scales.Fix: draw both on the same number line.

How to teach it at home

Data at dinner

Ask everyone one question, like how many glasses of water they drank today, and write the answers down. Find the mean and the median together.

Sports pages

Box scores and season stats are full of means, ranges and percents. Ask which player is more consistent, not just who scored most.

Weather week

Record the high temperature for a week. Make a dot plot and talk about the center and the spread.

By grade

Worksheets and practice

Last reviewed

Questions parents ask

How do you compare two data sets?

Compare their centers (mean or median) and their spreads (MAD or IQR), and say whether the difference is big compared with the spread.

What does “2 MADs apart” mean?

The difference between the means is twice the mean absolute deviation, which shows the groups are clearly different.

When should I use box plots to compare?

When the data is skewed or has outliers. Draw both on the same number line and compare medians and boxes.

Why use random samples to compare groups?

Measuring everyone is often impossible; random samples from each group give fair estimates of their centers and spreads.

What grade learns comparing data sets?

Grade 7, in Common Core standards 7.SP.B.3 and 7.SP.B.4.