Statistics 📊 Describing Data

Choosing the Right Summary

Mean or median? SD or IQR? Which plot? A capstone on describing a dataset honestly.

Intro StatisticsAP Statistics level
💡
The big idea: You already know how to compute a mean, a median, a standard deviation, and an IQR, and how to draw a histogram or a box plot. The real skill is choosing which of them to report. One idea settles most cases: if the data is roughly symmetric with no wild outliers, the mean and standard deviation describe it best; if it is skewed or has outliers, switch to the median and IQR, which shrug off the extremes. Box plots then let you compare several groups side by side at a glance.
🎯 By the end, you'll be able to
  • Decide when to summarize a dataset with the mean and standard deviation versus the median and IQR
  • Explain why the median and IQR are resistant to outliers while the mean and standard deviation are not
  • Use the gap between the mean and the median as a quick signal of skew
  • Compare several groups at a glance using side-by-side box plots
📎 You should already know
  • Mean, median, and mode as measures of center
  • Range, variance, and standard deviation
  • Quartiles, box plots, and outliers
  • Histograms and the shape of data

You already have the tools — now the skill is picking them

The earlier lessons in this module handed you a whole toolbox. You can measure the center of a dataset with the mean, the median, or the mode. You can measure its spread with the range, the standard deviation, or the IQR. And you can show its shape with a histogram or a box plot.

This capstone adds no new formulas. Instead it answers the question that trips people up on real data: given a particular dataset, which of those tools should you actually report? Reach for the wrong summary and you can paint a misleading picture without ever making an arithmetic mistake.

🔑 The one decision that drives everything: shape
Look at the shape of the data first, then choose:
  • Roughly symmetric, no big outliers — report the mean and the standard deviation. They use every value, so they carry the most information when nothing is pulling on the tails.
  • Skewed, or has outliers — report the median and the IQR. They describe the bulk of the data without being yanked around by a few extreme points.
Mean-and-SD and median-and-IQR are the two natural pairs. Mixing a resistant center with a non-resistant spread (or vice versa) usually just muddles the story.

Why the shape decides: resistance

The reason is resistance — how much a summary moves when one value goes to an extreme.

The mean is a balance point, so it feels every value's exact size. In the mean vs. median lesson you saw a single dragged outlier make the mean lurch across the number line while the median barely twitched. The standard deviation is even more sensitive: it squares each distance from the mean, so one far-away point dominates it. Mean and SD are not resistant.

The median is just the middle value by position, and the IQR is the width of the middle 50%. Neither cares how far away the extreme points sit — only that they are above or below. Median and IQR are resistant. That is exactly why they are the honest choice when the data is lopsided: they report what a typical value looks like instead of a number inflated by a handful of extremes.

\[ \text{IQR} = Q_3 - Q_1 \]
The interquartile range: the spread of the middle 50% of the data, from the first quartile Q1 to the third quartile Q3. Like the median, it ignores how far the extreme values reach.

Read the shape straight off a box plot

A box plot is built entirely from resistant, position-based numbers — the five-number summary — so it is the perfect place to see shape and spot trouble. Two quick tells:

  • Skew: if the median line sits off-center inside the box, or one whisker is much longer than the other, the data is skewed toward the long side.
  • Outliers: any point drawn as a separate dot beyond the whiskers falls outside the 1.5×IQR fences — a flag that the mean and SD would be distorted.

In the tool below, switch the Data shape between symmetric, right-skewed, and with-an-outlier, and hit Regenerate a few times. Watch the box slide off-center for skewed data and a red dot break away when there is an outlier — the exact situations where you would abandon the mean and SD for the median and IQR.

🎮 Interactive: box plots and the five-number summary LIVE
Pick a data shape and regenerate. The strip of raw points sits above a box-and-whisker built from Q1, the median, and Q3; the readouts show the IQR. A median pushed off-center or a stray dot beyond the whiskers is your cue to summarize with the median and IQR instead of the mean and SD.
✨ The tell-tale gap between mean and median
You do not always need a plot. Just compare the two centers. In symmetric data the mean and median land close together. When they drift far apart, the mean is being dragged toward a long tail — so the gap itself is a signal of skew or outliers. If the mean sits well above the median, the data is right-skewed (a few large values); if it sits well below, it is left-skewed. Either way, that gap is your cue to lead with the median.

Comparing groups: line up the boxes

Describing one dataset is half the job; often you need to compare several. Drawing side-by-side box plots on a shared axis is the cleanest way to do it, because each box shows a group's center, spread, and outliers in the same picture.

Scanning across them, you can read at a glance which group has the higher median (compare the middle lines), which is more spread out (compare box widths and whisker lengths), and which has unusual values (look for stray dots) — no new formula required. When groups are skewed or have outliers, comparing box plots is far more honest than comparing a single mean per group, which could hide a lopsided distribution behind one number.

⚠️ Describe honestly, not flatteringly
A summary can be technically correct and still mislead. Reporting only the mean of a strongly skewed dataset — say an 'average' income lifted by a few very high earners — makes the typical case look better than it is. Good practice: pick the summary that fits the shape, mention any outliers rather than quietly averaging them in, and when in doubt show the distribution (a histogram or box plot) alongside the numbers so the reader can see the shape for themselves.
📝 Worked example: A neighborhood's nine home sale prices, in thousands of dollars, are: 180, 195, 210, 220, 230, 240, 260, 285, and 900 (one property was a large estate). Which center and spread should describe 'a typical home price' here, and why?
  1. Check the shape: eight values sit between 180 and 285, and one lone value at 900 sits far out to the right. That is a right-skewed dataset with an outlier.
  2. Find the median: with nine sorted values the middle (5th) value is 230, so the typical home is around $230k.
  3. Find the mean: the nine prices sum to 2720, so the mean is 2720 / 9 ≈ 302, i.e. about $302k.
  4. Notice the gap: the mean (302) sits far above the median (230) — the single $900k estate is dragging it up. The mean is not resistant, so it overstates the typical home.
  5. Choose the resistant pair: report the median for center and the IQR for spread, and show a box plot so the $900k estate appears as an outlier dot rather than silently inflating the summary.
✓ Use the median (about $230k) with the IQR, not the mean (about $302k) with the SD — the data is right-skewed with an outlier, so the resistant pair honestly describes a typical home while the mean is pulled upward by the single large estate.

Check your understanding

1. A dataset of household incomes is strongly right-skewed, with a few very high earners. Which pair best describes a typical household?
Skew and high outliers pull the mean and SD upward, so the resistant pair — median and IQR — describes the typical household more honestly.
2. A set of exam scores is roughly symmetric and bell-shaped with no outliers. The most informative summary is:
When the data is symmetric and outlier-free, nothing is distorting the mean or SD, and they use every value — so they carry the most information.
3. For the values 4, 5, 6, 7, 40, the mean is 12.4 while the median is 6. This large gap between the mean and the median is a signal that:
The value 40 drags the non-resistant mean (12.4) well above the median (6). A big mean–median gap flags skew or an outlier, and here the median is the more honest center.
4. You want to compare the distributions of five different classes on a single graph, seeing each one's center, spread, and outliers at a glance. The best choice is:
Side-by-side box plots line up each group's median, box width, whiskers, and outlier dots on the same axis, so you can compare center, spread, and unusual values in one view.
✅ Key takeaways
  • Choosing a summary is a judgment call about the data's shape, not a new formula.
  • Roughly symmetric, outlier-free data: report the mean and standard deviation — they use every value.
  • Skewed or outlier-prone data: report the median and IQR — they resist extreme values.
  • A large gap between the mean and the median is a red flag for skew or outliers.
  • Side-by-side box plots compare the center, spread, and outliers of several groups at once.
  • Describe honestly: pick summaries that fit the shape and show the distribution when in doubt.