Sub topic 8
Mean, median, and range: which one to report
This chapter assumes you can compute a percentage and an average by hand. It also assumes you have written a memo or proposal that includes a figure. It builds on the earlier chapters on giving numbers a baseline and on absolute versus relative change.
One set of numbers, three different stories
A summary statistic replaces a list of values with one number. Every summary hides something, so you need to choose the one that hides the least of what your reader cares about.
Suppose your team resolved ten support tickets last week. The hours to resolve each were:
2, 3, 3, 4, 4, 5, 5, 6, 7, 48
import statistics
hours = [2, 3, 3, 4, 4, 5, 5, 6, 7, 48]
mean = statistics.mean(hours)
median = statistics.median(hours)
p90 = statistics.quantiles(hours, n=10, method="inclusive")[-1]
print(f"Mean: {mean:.1f} hours")
print(f"Median: {median:.1f} hours")
print(f"Range: {min(hours)} to {max(hours)} hours")
print(f"90th percentile: {p90:.1f} hours")
without_outlier = hours[:-1]
print(f"Mean without the 48-hour ticket: {statistics.mean(without_outlier):.1f} hours")The output is:
Mean: 8.7 hours
Median: 4.5 hours
Range: 2 to 48 hours
90th percentile: 11.1 hours
Mean without the 48-hour ticket: 4.3 hoursOne ticket moved the mean from 4.3 hours to 8.7 hours. The median barely noticed it. A reader who sees "average resolution time was 8.7 hours" will picture a typical ticket taking nearly nine hours. That picture is wrong for nine of the ten tickets.
What each measure answers
| Measure | How it is found | Question it answers | Weakness |
|---|---|---|---|
| Mean | Sum divided by count | What is the total per item? | One extreme value pulls it |
| Median | Middle value after sorting | What does a typical item look like? | Ignores how large the extremes are |
| Range | Highest minus lowest, or both ends stated | How far apart are the values? | Depends on only two values |
The mean answers questions about totals
The mean multiplies back to the total. If invoices cost $12 each to process on average and you process 40,000 a year, the annual cost is $480,000. The median cannot do this. Use the mean when the reader will multiply it by a count, such as budgeting, capacity planning, or cost per unit.
The median answers questions about a typical case
Half of the values are below the median and half are above. Use it when the data is skewed, meaning a few very large values stretch one side. Common examples are salaries, deal sizes, response times, and house prices. Here the mean describes almost nobody.
The range answers questions about reliability
Two processes can have the same mean and very different experiences. A delivery service that always takes 3 days and one that takes 1 to 5 days both average 3, but a customer planning around them needs different advice. Reporting the lowest and highest values, or a percentile such as the 90th, shows the spread.
Choosing: a quick decision path
Compare the mean and median before you decide. If they are close, the data is roughly symmetric and either choice is safe. If they are far apart, the gap is itself a finding. In the ticket example the gap says that most tickets are quick and a few are very slow.
Writing the summary into the sentence
Name the statistic in the sentence. "Average" is ambiguous, because readers may take it as the mean, the median, or "typical". Write the specific word.
Weak: Tickets take an average of 8.7 hours to resolve.
Stronger: Half of tickets are resolved within 4.5 hours (median), but one ticket took 48 hours, which raises the mean to 8.7 hours.
The stronger version gives the typical case, shows the extreme, and explains the difference between two figures a skeptical reader might otherwise find contradictory.
When you report a range, state both ends rather than a single width. "Resolution times ranged from 2 to 48 hours" tells the reader more than "the range was 46 hours". If a single outlier sets the top end, say so, or give the 90th percentile as well: "Nine in ten tickets closed within 11 hours."
Edge cases and common errors
- Reporting the mean of skewed data without comment. Salary and deal-size means are the classic case. One executive or one very large contract can make the mean look like everyone's experience.
- Reporting the median when the total matters. If a few large refunds account for most of your refund cost, the median refund hides where the money goes.
- Averaging averages. If branch A has a 4% error rate on 100 orders and branch B has 2% on 900 orders, the combined rate is 22 errors in 1,000 orders, or 2.2%. The simple average of the two rates, 3%, overstates it because it ignores the different sizes. Weight by count.
- Using the range on small or noisy data. The range depends on two values only. A single typo or one unusual day can double it. Prefer a percentile once you have more than a few dozen observations.
- Summarizing too few values. With five observations, any summary is fragile. Say how many values you used, for example "median of 12 projects". The sample size also tells the reader how much to trust the figure.
- Using a mean on data with a hard floor or ceiling. Satisfaction scores on a 1 to 5 scale are ordinal, so the gaps between points are not necessarily equal. Reporting the share of customers who chose 4 or 5 is often clearer than a mean of 3.7.
- Two clusters. If tickets are either quick fixes (about 2 hours) or escalations (about 40 hours), the data has two groups. Both the mean and the median may fall where no ticket actually sits. Report the groups separately: "Of 100 tickets, 82 closed in about 2 hours and 18 were escalated and took about 40."
A short template for the report
- State the statistic by name and the unit.
- Give the comparison point from the previous chapter, such as last quarter or the target.
- Add a measure of spread if the values vary widely.
- Give the count behind the figure.
Example: "The median time to first reply was 3.1 hours in Q3, down from 4.6 in Q2 (n = 1,840 tickets). Nine in ten tickets received a reply within 9 hours."
Exercise
A proposal says, "The average order value is $212." The 50 orders in the sample include 48 orders between $40 and $90 and two orders of $5,000. The median is $63. The reader will use the figure to decide how much to spend on packaging for a typical order. Which statistic should you report, and how would you write the sentence?
Show answer
Report the median, because the decision concerns a typical order and two extreme orders pull the mean far above it. Example: "Half of the 50 sampled orders were $63 or less, and 48 of 50 fell between $40 and $90. Two orders of $5,000 raise the mean to $212, so the mean does not describe a typical order."
Exercise
Your finance team will multiply "refund cost per refund" by the expected number of refunds next year to set a budget. Should the memo report the mean or the median refund, and why?
Show answer
The mean. The budget needs the total, and only the mean multiplies by a count to give the total. The median would understate the cost if a few large refunds account for much of the spending. You can add the median and the largest refunds as context so the reader understands why the mean is higher.