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.
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
- About 1 MAD or less: the groups overlap a lot, and the difference may be chance.
- 2 MADs or more: the groups are clearly different.
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.
- Sun: 14, 16, 15, 17, 18. Mean 16 cm. Distances 2, 0, 1, 1, 2, so MAD = 6 ÷ 5 = 1.2 cm.
- Shade: 10, 12, 11, 9, 13. Mean 11 cm. Distances 1, 1, 0, 2, 2, so MAD = 1.2 cm.
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
- Which measure of center? If either group has an outlier, compare medians; otherwise the means are fine.
- Are the spreads similar? Counting “MADs apart” works best when both groups have about the same MAD. If one group is far more spread out, say so in words as well.
- How big were the samples? Five plants per group is a start; thirty would make the conclusion much stronger.
- Could something else explain it? If the sunny plants also got more water, the light is not the only difference. A fair comparison changes one thing at a time.
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.
- “Both classes took the same test. Which one did better on average?”
- “By how much?” (subtract the means)
- “Now, how spread out is each class?” (the MAD)
- “How many MADs is that difference?” (divide)
- “Two or more MADs: that’s a real difference, not luck.”
- “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.
- Means 30 and 40, MAD 5. How many MADs apart?
- Means 12 and 15, MAD 3. MADs apart?
- Means 60 and 84, MAD 6. MADs apart?
- Ranges 10 and 25: which group is more spread out?
- Medians 18 and 23: difference?
- A difference of 0.5 MAD: clear or not?
- Outliers in the data: compare means or medians?
- Same mean, MADs 2 and 9: which is more consistent?
Show the answers
- 2
- 1
- 4
- The one with range 25
- 5
- Not clear
- Medians
- MAD 2
Common mistakes
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
- Grade 7 (7.SP.B.3, 7.SP.B.4): compare two groups by their centers and spreads, and in MADs.
- High school: standard deviation, the grown-up version of the MAD.
More for each grade: Grade 7 math and the CBSE class 7 maths guide.
Worksheets and practice

Mean, median, mode and range worksheet: printable PDF with an answer key. · Make a fresh test
Statistics practice · Statistics levels · Mean, median, mode and range
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.