Unprompted← All traps

Thinking trap · Data

Mean vs median

Also called average vs median.

The median is the middle value of sorted data. A few extreme values can pull the mean far from it, and far from what is typical.

An everyday example

Say ten homes sold on a street last year. Nine sold for $300,000 each, and one large house sold for $3 million.

The mean price is $570,000, but not a single home sold near that price. The median price, halfway between the two middle sales, is $300,000, which describes a typical home much better.

Incomes, home prices, wait times and file sizes often have a long tail of large values. For them, the median usually tells the typical story.

How an AI answer falls for it

You ask an AI whether a 20-minute tutorial fits into a typical app visit. It answers with confidence:

“Sessions last 24 minutes on average, so most visits are long enough for a 20-minute tutorial.”

Session lengths often have a long tail. Most sessions may last 2 or 3 minutes, while a few that are left open all day push the mean up.

The AI took the mean as the typical value. If the median is 3 minutes, most visits end long before a 20-minute tutorial would. It should have asked for the median, or for a breakdown of short and long sessions.

How to catch it

  • Ask whether the data has a few very large or very small values.
  • When it does, ask for the median as well as the mean.
  • Treat the word "average" with care. It can mean either one, and the choice can change the story.
  • Look at the shape of the data if you can. A simple chart shows a long tail at once.

Practice

Every daily challenge hides one trap, or none. Play today's challenge

Related traps

Further reading