Knaph

Statistics of One Variable83 of 1002 min read

Comparing Two Data Sets

Ivy and Leo both average 25 minutes to get to school. Does that mean their trips are alike? And for the price of bikes in a shop with one very dear bike, is the mean still a fair center?

Same center, different spread

Ivy's 10 trips were 20,22,23,24,25,25,26,27,28,3020, 22, 23, 24, 25, 25, 26, 27, 28, 30. Leo's were 15,18,20,22,25,25,28,30,32,3515, 18, 20, 22, 25, 25, 28, 30, 32, 35. Both have a mean of 2525: the same center, or typical value. But their spread, how far the values wander, differs. Their standard deviations are σ≈2.8\sigma \approx 2.8 for Ivy and σ≈6.1\sigma \approx 6.1 for Leo. Say it with units: both average 25 minutes, but Leo's trips vary more, by about 6 minutes against 3.

Two dot plots on one scale from 14 to 36 minutes. Ivy's dots bunch between 20 and 30. Leo's spread between 15 and 35. Both have a mean of 25.

Skewed data: median and IQR

A shop's 9 bikes cost 120,130,140,150,160,170,180,190120, 130, 140, 150, 160, 170, 180, 190 and 600600 dollars. Then Q1=135Q_1 = 135, Q3=185Q_3 = 185 and IQR=50IQR = 50, so the upper fence is 185+75=260185 + 75 = 260 and 600600 is an outlier. The mean is about 204204 dollars, above 8 of the 9 prices. The median, 160160, is a fairer center.

A dot plot of the nine bike prices from 100 to 620 dollars, with eight dots between 120 and 190 and one far away at 600. Markers show the median 160 and the mean 204.

Which pair to use

If the shape is roughly symmetric with no outliers, use the mean and σ\sigma. If it is skewed or has outliers, use the median and IQR, because they are resistant. Always give a center and a spread in a sentence with units and the context.

Your turn: scores of two classes are symmetric, class A has mean 80 and σ=9\sigma = 9, class B has mean 80 and σ=3\sigma = 3. Answer: the same average, but class A's scores are more spread out.

A two-way choice: symmetric with no outliers leads to mean and standard deviation; skewed or with outliers leads to median and IQR.

Careful

A bigger standard deviation is not a better score. It only means more spread.

Try it at home

  1. Collect 10 numbers from two people, like their step counts, and compare them in a sentence.
  2. Say which pair of measures you chose and why.
  3. Use units and the story in your sentence.

Words in this lesson

  • center - a typical value: the mean or the median.
  • spread - how far the values wander: the standard deviation or the IQR.

Big idea

Pick the pair by the shape: mean with σ\sigma for symmetric data without outliers, median with IQR otherwise. Then compare a center and a spread, in words, with units.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.