Lesson 5 of 6 · 18 min

Comparing groups with summary statistics

Calculate the mean, median, range, IQR and standard deviation of each group with technology, choose the statistics that suit the data, and interpret the differences in context.

What you will be able to do

  • Use technology to find the mean, median, range, IQR and standard deviation sxs_x of two or more groups.
  • Choose matching measures of centre and spread for a comparison: the median with the IQR, or the mean with the standard deviation.
  • Interpret differences in centre and spread in the context of the data.

Jess lives in Southport and can get to work on the Gold Coast by car or by bus. She timed ten trips each way, in minutes:

Travel time (minutes)
Car22, 24, 25, 25, 26, 27, 28, 29, 30, 44
Bus31, 32, 33, 33, 34, 34, 35, 35, 36, 37

The 44-minute car trip was the morning of a crash on the highway. Which way should Jess travel? A box plot is one way to compare. Summary statistics are the other, and they let you put a number on every difference.

Interactive

Car or bus?

Compare the summary statistics for the two groups. Then drag the 44-minute car trip down to 31. Which statistics change a lot, and which barely move?

Summary statistics for Jess's trips (technology; sxs_x to two decimal places).
StatisticCarBus
Mean xˉ\bar{x}28 min34 min
Median26.5 min34 min
Range22 min6 min
IQR4 min2 min
Standard deviation sxs_x6.11 min1.83 min

Centre. Both the mean and the median say the car is faster. The median car trip (26.5 minutes) was 7.5 minutes shorter than the median bus trip (34 minutes).

Spread. The bus was far more consistent: its standard deviation (1.83 minutes) and IQR (2 minutes) are both smaller than the car's (6.11 and 4 minutes).

Outlier. The 44-minute crash day is a possible outlier for the car (its upper fence is 29+1.5×4=3529 + 1.5 \times 4 = 35). It drags the car's mean up to 28 minutes and more than doubles its standard deviation, but the median and IQR hardly notice it.

Key idea

Choose statistics that suit the data

Compare like with like, and pick the pair that fits the shape of both groups:

  • Symmetric, no outliers: compare the means and the standard deviations. They use every value.
  • Skewed, or any outliers: compare the medians and the IQRs. They are resistant to extreme values.

The range is quick but depends on only two values, so use it alongside the IQR or standard deviation, not instead of them.

Jess's car times include a possible outlier (the 44-minute crash day). Which statistics are most appropriate for comparing her car and bus trips?

Choose one answer

Summary statistics for two groups with technology

  1. Enter each group in its own list

    For example, the car times in List 1 and the bus times in List 2.

  2. Run one-variable statistics on each list

    Choose 1-Var Stats (or the equivalent) for List 1, record the results, then repeat for List 2.

  3. Record what you need

    nn, xˉ\bar{x}, sxs_x (not σx\sigma_x), the minimum, Q1Q_1, the median, Q3Q_3 and the maximum. Calculate the range and IQR from these.

  4. Check

    Check that nn is right for each group and that each mean and median lies between that group's minimum and maximum.

Worked example

Compare two filling machines with technology

  • Complex familiar
  • Technology active

A factory near Bundaberg fills packets of macadamias labelled 500 g. A sample of eight packets from each of two machines had these masses, in grams:

Mass (g)
Machine A498, 501, 499, 502, 500, 497, 503, 500
Machine B492, 507, 495, 510, 499, 488, 504, 505

Use technology to compare the two machines. Which machine is better?

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Enter each group in its own list and run one-variable statistics on each.

  2. Check the shape and outliers to choose mean and sxs_x, or median and IQR.

  3. Compare centre, then spread, with numbers and units.

  4. Answer the question in context.

Watch out for

  • Reading σx\sigma_x (1.87 g and 7.28 g) instead of sxs_x.

  • Concluding the machines are the same because the means are equal. Spread matters too.

Use technology to find the mean of Jess's car times without the 44-minute crash day: 22, 24, 25, 25, 26, 27, 28, 29, 30. Give your answer correct to one decimal place.

in min

Round to 1 decimal place.

Worked example

Choose statistics to compare part-time earnings

  • Complex familiar

A Cairns school surveyed 25 Year 11 and 25 Year 12 students with part-time jobs about their weekly earnings.

MeanMediansxs_xMinQ1Q_1Q3Q_3Max
Year 11$182$150$96$40$105$195$480
Year 12$214$205$62$80$160$245$360

Decide which statistics are most appropriate for comparing the two groups, and use them to compare the weekly earnings.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Check each group for skew (mean far from median) and outliers (fences).

  2. If either group is skewed or has outliers, compare medians and IQRs; otherwise means and standard deviations.

  3. Compare centre and spread with differences and units.

Watch out for

  • Comparing the means (a $32 difference) when one group is skewed, which understates the typical difference.

  • Concluding Year 11 is far more variable from the standard deviations alone.

Mean and standard deviation

  • Use every value, so they make the most of the data.
  • Best for symmetric data with no outliers.
  • Sensitive: one extreme value can move both a lot.
  • Standard deviation comes from technology.

Median and IQR

  • Use only the middle of the ordered data.
  • Best for skewed data or data with outliers.
  • Resistant: extreme values barely move them.
  • Match what a box plot shows.

Common mistake

Comparison slips

  • Mixing families: comparing one group's mean with the other's median, or a standard deviation with an IQR.
  • Reading spread as size: a larger standard deviation means more variable, not larger values.
  • Ignoring the outliers: if either group has an outlier, say so and use the median and IQR.
  • Numbers without meaning: "6.11 > 1.83" earns little. "Car trips varied much more than bus trips (sxs_x 6.11 minutes compared with 1.83 minutes)" earns the marks.

Summary

  • Find each group's statistics separately with technology, and read sxs_x, not σx\sigma_x.

  • Compare centre (which group is typically higher, and by how much) and spread (which group is more variable or consistent).

  • Use the means and standard deviations for symmetric data without outliers; the medians and IQRs for skewed data or data with outliers.

  • Outliers pull the mean, range and standard deviation, but barely move the median and IQR.

  • Every comparison names the groups and the variable and quotes the statistics with units.

Finished the lesson?

Try the 2 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 5 of 60% read

Save your progress with a free account