Statistics for Finance
Mean, median and mode
"The average" can mean three different things, and they can tell very different stories about the same numbers. Knowing which one you're looking at protects you from misleading figures.
What does a typical employee earn?
Example, with made-up numbers. A small company has 10 people. Nine earn between $45,000 and $65,000. The founder pays herself $1,000,000. A job ad says "average salary: $149,500". Is that what a new hire should expect?
The idea
There are three common ways to describe a "typical" value. Each answers a slightly different question.
One very large salary drags the mean far to the right, away from where nine of the ten people are. The median stays with the group.
A value far away from the rest, like the founder's salary, is called an outlier. The mean uses every value, so one outlier can pull it a long way. The median only cares about the middle, so it barely moves.
Finding the median
Sort the values from smallest to largest. With an odd number of values, the median is the middle one. With an even number, there are two middle values, so take their mean.
The company has 10 salaries, so the middle two are the 5th and 6th: $55,000 and $58,000. The median is (55,000 + 58,000) ÷ 2 = $56,500.
Quick check
What is the median of 9, 3, 24, 7, 7?
Which one to use
| Use | When | Finance example |
|---|---|---|
| Mean | Values are fairly even, or you need a total (mean × count = total) | Average return on a portfolio, average order size |
| Median | A few extreme values could distort the picture | House prices, incomes, company sizes |
| Mode | The data is categories or repeated values | Most common loan amount, most popular account type |
When items differ in size, such as holdings in a portfolio, you need a weighted mean, which you met in Mathematics.
Worked example
Example, with made-up numbers. A small broker handled this many trades over 7 days: 12, 15, 15, 18, 20, 22, 45. Find the mean, median and mode. Which best describes a normal day?
| Mean: add and divide | 147 ÷ 7 = 21 |
| Median: middle of 7 sorted values | 4th value = 18 |
| Mode: most frequent | 15 (twice) |
The 45-trade day was unusual and lifts the mean to 21, higher than 5 of the 7 days. The median ignores that one busy day.
Try it yourself
Paste any list of numbers and get all three.
Common mistakes
Three slips beginners make.
- Not sorting before finding the median. The median is the middle of the sorted list, not of the list as written.
- Picking one middle value from an even count. With 10 values, average the 5th and 6th.
- Trusting "average" in a headline. Ask whether it's the mean or the median, and whether a few huge values could be pulling it.
Remember
- Mean: add and divide. Median: the middle of the sorted values. Mode: the most frequent.
- Outliers pull the mean but barely move the median.
- Use the median for lopsided data like incomes and house prices.
Check yourself
Three questions. Try them without scrolling up.
1. What is the median of 4, 10, 6, 8?
2. One house on a street sells for 10 times more than the rest. Which average changes least?
3. A bank wants to know its customers' most popular account type. Which average fits?
Averaging returns
Up 50%, then down 50%: why the simple average of returns misleads.