Lesson 292 of 2116
Mean, Median, Mode: Three Kinds of Average
Saying the average is 50,000 dollars can mean three different things. Picking the wrong kind of average is how statistics starts lying to you.
Lesson map
What this lesson covers
Learning path
The main moves in order
- 1Average Is a Slippery Word
- 2mean
- 3median
- 4mode
Concept cluster
Terms to connect while reading
Section 1
Average Is a Slippery Word
Say a neighborhood's average income is 100,000 dollars. That could mean: everyone earns 100k, or 9 families earn 50k and one tech founder earns 550k. Same average, wildly different realities. Three different averages solve this ambiguity.
Compare the options
| Statistic | How to compute | When it lies |
|---|---|---|
| Mean | Sum ÷ count | When outliers exist |
| Median | Middle value when sorted | Rarely lies; robust to outliers |
| Mode | Most common value | Useless on continuous data |
Intuition with a concrete case
Three averages of the same data
import numpy as np
from scipy import stats
salaries = [40_000, 45_000, 50_000, 50_000, 55_000,
60_000, 65_000, 70_000, 80_000, 550_000]
print('Mean:', np.mean(salaries)) # 106,500 (misleading)
print('Median:', np.median(salaries)) # 57,500 (typical)
print('Mode:', stats.mode(salaries)) # 50,000 (most common)When reporters get this wrong
- Average house price: reported as mean, skewed by mansions
- Average response time: mean hides long-tail slow requests
- Average test score: mean hides bimodal distributions (strugglers + high performers)
- Average life expectancy: historical data skewed by infant mortality
Better than one number
When in doubt, report all three plus percentiles. The 25th, 50th (median), 75th, and 95th percentiles together tell a much richer story than any single statistic. A boxplot visualizes this in one picture.
Key terms in this lesson
The big idea: average is not one thing. Picking the right statistic is half the battle in honest analysis.
End-of-lesson quiz
Check what stuck
15 questions · Score saves to your progress.
Tutor
Curious about “Mean, Median, Mode: Three Kinds of Average”?
Ask anything about this lesson. I’ll answer using just what you’re reading — short, friendly, grounded.
Progress saved locally in this browser. Sign in to sync across devices.
Related lessons
Keep going
Creators · 45 min
Open vs. Closed Models: Philosophy and Strategy
Open-source AI is both a technical movement and a political one. Understand the arguments so you can pick a stack and defend it.
Creators · 45 min
Your First Dataset Project, End to End
A complete walkthrough from question to shareable dataset. The first project is the hardest; this lesson gets you to the other side.
Creators · 45 min
Pandas Fundamentals in 40 Minutes
Pandas is the Python library that made data science what it is today. Ten verbs get you through 90 percent of day-to-day data work.
