Introduction
The word “mean” is used in every aspect of daily life:
average test scores, average temperature, average income…
It’s a familiar term, but from the perspective of statistics it’s quite deep and often misunderstood.
In this article, we will cover:
- Intuitive, kid-friendly understanding
- Rigorous mathematical definition (with LaTeX/MathML)
- Examples using Python and Excel
- Common pitfalls of the mean
- Applications (food prices, economic data)
explained step by step.
🍬 Intuition: Sharing Candies
Suppose we have 5 candies and 3 people.
“How many candies does each person get if we share them equally?”
That’s the idea of the mean.
This “1.67 per person” is the mean.
You can’t literally split candies like that, but the mean gives a per-person benchmark.
📊 Mathematical Definition
In statistics, the (arithmetic) mean is defined as follows.
Here,
- : mean value
- : number of data points
- : each observation
In short, the mean is “sum of all values divided by the number of values.”
Example: test scores 70, 80, 90
💻 How to Calculate (Python / Excel)
Python
import numpy as np
scores = [70, 80, 90]
mean_score = np.mean(scores)
print(mean_score) # 80.0
Excel
Type in a cell:
=AVERAGE(A1:A3)
⚠️ Pitfall of the Mean
The mean is convenient but very sensitive to outliers.
Example: Company Salaries
- 9 employees: 4,000,000 yen
- 1 CEO: 50,000,000 yen
The mean salary is:
In reality most employees make 4,000,000 yen, so the mean looks higher than the typical value.
👉 In such cases, the median is often more appropriate.
📈 Mean vs. Median vs. Mode
- Mean: sum ÷ count; sensitive to outliers.
- Median: middle value; robust to outliers.
- Mode: most frequent value; reflects popularity/trend.
👉 Don’t rely on the mean alone—compare with the median and mode.
🌾 Application: Food Prices
Annual Average Price
Let monthly wheat prices be
Then the annual mean is:
Effect of Outliers
If 11 months are 300 and one month spikes to 1,200:
The mean is 391, but most months are 300.
👉 The median (300) better captures the typical level.
📚 Use Cases
- Education
- Use average test scores to see class performance.
- Watch for outliers and individual differences.
- Economics & Statistics
- Use average income/price levels in policy analysis.
- Always check together with median and variance.
- Business
- Monitor average sales and average order value.
- Decide how to handle outliers before acting.
✅ Summary
- The mean is “sum ÷ count.”
- In formula form:
- Because it’s sensitive to outliers, compare with the median and mode.
- For volatile time series (e.g., prices), don’t rely on the mean alone.
Further Reading
- Median: A Robust Measure Against Outliers
- Variance & Standard Deviation: Measuring Data Spread
- Moving Average and Time Series Applications
コメント