One-variable data · Lesson 5

Comparing two data sets

Many SAT data questions show two data sets and ask which statement compares them correctly. Compare two things separately: center (mean or median) and spread (range, interquartile range or standard deviation). One data set can have the greater center and the smaller spread at the same time.

With two box plots on the same scale, compare the median lines for center, and compare the box widths (IQR) or the distances between the whisker ends (range) for spread. With two lists or tables, compute the means or medians, and judge standard deviation by how far the values sit from the mean.

Adding the same number to every value moves the mean and the median by that number but leaves the spread alone: the range, the IQR and the standard deviation stay the same, because the distances between values don't change.

Read each choice in two halves. A choice can be right about center and wrong about spread, so check both halves before you pick it.

Worked example Medium

The box plots summarize the scores of the students in two sections of a chemistry class on the same test.
Test scores in two sections50556065707580859095100Section 1Section 2Test score
Test scores in two sections Two box plots on a scale from 50 to 100. Section 1: minimum 55, first quartile 65, median 80, third quartile 85, maximum 95. Section 2: minimum 60, first quartile 70, median 75, third quartile 80, maximum 90.

Which statement correctly compares the two sections' scores?

  1. Section 1 has the greater median and the greater interquartile range.Answer
  2. Section 1 has the greater median, and Section 2 has the greater interquartile range.
  3. Section 2 has the greater median, because its minimum and first quartile are greater.
  4. The interquartile ranges are equal, because each box holds the middle half of its section's scores.

How to solve it

  1. Center: the line inside each box is the median. Section 1's median is 80 and Section 2's is 75, so Section 1's is greater.
  2. Spread: the IQR is the width of the box. Section 1: 85−65=2085 - 65 = 20. Section 2: 80−70=1080 - 70 = 10. Section 1's is greater.
  3. Both halves favor Section 1.

Why each choice is right or wrong

  • A. Correct. Section 1's median, 80, is greater than Section 2's, 75, and its IQR, 85−65=2085 - 65 = 20, is greater than Section 2's, 80−70=1080 - 70 = 10.
  • B. Incorrect. The median half is right, but the IQR half is reversed. Section 2's box is the narrower one: 80−70=1080 - 70 = 10, compared with 85−65=2085 - 65 = 20 for Section 1.
  • C. Incorrect. This judges the center by the low end of each plot. Section 2's minimum and Q1 are greater, but the median is the line inside the box: 80 for Section 1 and 75 for Section 2.
  • D. Incorrect. Each box does hold about half of its section's scores, but the IQR is the box's width, not its share of the data. The widths are 20 and 10.

Worked example Hard

Two groups of 10 customers each rated a new phone on a scale from 1 to 5. The table shows how many customers in each group gave each rating.

RatingGroup AGroup B
113
221
342
421
513

Which statement correctly compares the two groups' ratings?

  1. The means are equal, and group B's ratings have the greater standard deviation.Answer
  2. The means are equal, and group A's ratings have the greater standard deviation.
  3. The standard deviations are equal, because both groups' ratings range from 1 to 5.
  4. Group A has the greater mean, because its largest count, 4, is greater than group B's largest count, 3.

How to solve it

  1. Mean of A: 1⋅1+2⋅2+3⋅4+4⋅2+5⋅110=3010=3\frac{1 \cdot 1 + 2 \cdot 2 + 3 \cdot 4 + 4 \cdot 2 + 5 \cdot 1}{10} = \frac{30}{10} = 3. Mean of B: 1⋅3+2⋅1+3⋅2+4⋅1+5⋅310=3010=3\frac{1 \cdot 3 + 2 \cdot 1 + 3 \cdot 2 + 4 \cdot 1 + 5 \cdot 3}{10} = \frac{30}{10} = 3. The means are equal.
  2. Spread: in group A, 4 of the 10 ratings equal the mean, 3, and only 2 ratings are at the ends, 1 or 5. In group B, 6 of the 10 ratings are at 1 or 5, as far from the mean as the scale allows.
  3. Group B's ratings sit farther from the mean, so group B has the greater standard deviation.

Why each choice is right or wrong

  • A. Correct. Both means are 3010=3\frac{30}{10} = 3. Six of group B's ratings are 1 or 5, 2 away from the mean, while four of group A's ratings are exactly 3. Group B's ratings are farther from the mean, so its standard deviation is greater.
  • B. Incorrect. This judges spread by the counts instead of the ratings. Group A's counts (1, 2, 4, 2, 1) vary more than group B's (3, 1, 2, 1, 3), but the counts are not data values. Group A's ratings cluster at the mean, 3.
  • C. Incorrect. Both ranges are 5−1=45 - 1 = 4, but the range uses only the extremes. Group B has 6 ratings at the extremes and group A has only 2, so their standard deviations differ.
  • D. Incorrect. This compares the counts, not the ratings. A count of 4 tells how many customers chose a rating, not how high the ratings are. Both means are 3010=3\frac{30}{10} = 3.

Trap Right about center, wrong about spread

Choices often pair a correct comparison of centers with a wrong comparison of spreads, or the reverse. Check each half of a choice on its own.

Trap Judging spread by the counts

In a frequency table or bar graph, the spread of the data depends on where the values sit, not on how uneven the counts are. A tall stack in the middle means less spread; many values at both ends mean more.

Desmos When Desmos isn’t faster

Comparison questions often come as graphs or summaries, and the work is reading them, which Desmos can't do for you.

When both data sets are given as lists, you can type them as A = [...] and B = [...], then mean(A), mean(B), median(A), median(B), stdev(A) and stdev(B) on separate lines and compare. For frequency tables, use total(V*N)/total(N) from Lesson 2 for each group. For short lists like the ones on the SAT, reasoning about the halves is often quicker.