Mean, Median, and Mode Explained
Learn the differences between mean, median, and mode, when to use each measure of central tendency, and how to calculate them with examples.
Introduction
Mean, median, and mode are three fundamental measures of central tendency in statistics. They all describe the "center" of a dataset, but in different ways.
Understanding when to use each is crucial for accurate data analysis. Each measure has its strengths and weaknesses, and choosing the right one depends on your data and goals.
๐ Mean
Average value
๐ Median
Middle value
๐ Mode
Most frequent
What is the Mean?
The mean (also called average) is the sum of all values divided by the number of values.
Formula:
Mean = (Sum of all values) / (Number of values)
Example:
Dataset: [2, 4, 6, 8, 10]
Mean = (2+4+6+8+10)/5 = 30/5 = 6
What is the Median?
The median is the middle value when data is sorted in ascending order. If there's an even number of values, it's the average of the two middle values.
Steps:
- Sort the data in ascending order
- If odd number of values: median is the middle value
- If even number of values: median is average of two middle values
Example 1 (odd):
Dataset: [1, 3, 5, 7, 9] โ Median = 5 (middle value)
Example 2 (even):
Dataset: [2, 4, 6, 8] โ Median = (4+6)/2 = 5
What is the Mode?
The mode is the value that appears most frequently in the dataset. A dataset can have one mode, multiple modes, or no mode.
Example 1:
Dataset: [1, 2, 2, 3, 4] โ Mode = 2 (appears twice)
Example 2:
Dataset: [1, 2, 3, 4, 5] โ No mode (all values appear once)
Comparing the Three Measures
Dataset: [2, 4, 4, 4, 5, 5, 7, 9]
Mean
5
(40/8)
Median
4.5
((4+5)/2)
Mode
4
(appears 3ร)
When to Use Each
Use Mean when:
- Data is normally distributed
- No extreme outliers
- Need to use the value in further calculations
- Data is continuous and evenly spread
Use Median when:
- Data has outliers or is skewed
- Need a measure resistant to extreme values
- Working with ordinal data
- Income, house prices, or other skewed distributions
Use Mode when:
- Working with categorical data
- Need to know the most common value
- Data has clear peaks
- Finding the most popular choice
Common Mistakes
- Using mean for skewed data: Median is better for skewed distributions
- Confusing median with mean: They're different measures
- Forgetting to sort for median: Always sort data first
- Multiple modes: A dataset can have more than one mode
When to Use a Calculator
Statistics calculators are helpful when:
- Working with large datasets
- Need quick, accurate calculations
- Comparing multiple measures
- Verifying manual calculations