Module 02

Central Tendency

Finding the center of your data

Three Measures of Center

  • 01

    Mean

    Arithmetic average of all values

  • 02

    Median

    Middle value when sorted

  • 03

    Mode

    Most frequently occurring value

01

Mean

The Arithmetic Mean

3
7
5
9
6
(3 + 7 + 5 + 9 + 6) ÷ 5 = 6

The mean is calculated by summing all values and dividing by the count. It represents the 'balance point' of the data—if your data were weights on a seesaw, the mean is where it balances.

Mean as Balance Point

3 5 6 7 9 Mean = 6

Think of the mean as a fulcrum. The distances from each point to the mean, weighted by frequency, balance out. Points below the mean 'pull' down; points above 'pull' up.

Sensitivity to Outliers

Without outlier: 3, 5, 6, 7, 9
Mean: 6
With outlier: 3, 5, 6, 7, 9, 100
Mean: 21.7

One extreme value can dramatically shift the mean. Adding 100 to our dataset moved the mean from 6 to 21.7—even though 5 of 6 values are still below 10. This is why mean is called 'non-robust.'

When Mean Works Best

✓ Use Mean When
• Data is symmetric
• No extreme outliers
• Interval or ratio data
• You need mathematical properties
✗ Avoid Mean When
• Data is skewed
• Outliers are present
• Ordinal data
• Open-ended categories

Mean is ideal for symmetric, well-behaved data. It's mathematically tractable (used in variance, regression, etc.). But for skewed data or data with outliers, median is often better.

Interactive Mean Calculator

Interactive Data Explorer
37596
Click a number to remove it
Mean6.00
Median6.00
ModeNone
Count5

Add your own numbers to see how the mean changes! Try adding an outlier like 100 to see how sensitive the mean is. Compare how mean and median respond differently to extreme values.

02

Median

The Middle Value

3
5
6
7
9
2 values belowMEDIAN = 62 values above

The median is the middle value when data is sorted. For odd n, it's the center value. For even n, it's the average of the two center values. It divides the distribution in half.

Median with Even Numbers

3
5
6
7
9
12
(6 + 7) ÷ 2 = 6.5

With an even count (6 values here), there's no single middle value. Take the two central values (6 and 7 at positions 3 and 4) and average them: (6+7)/2 = 6.5.

Outlier Resistance

Data: 3, 5, 6, 7, 9
Median = 6Mean = 6
Data: 3, 5, 6, 7, 100
Median = 6Mean = 24.2
Median unchanged! Replacing 9 with 100 doesn't affect the middle value.

Median is 'robust'—resistant to outliers. Changing 9 to 100 doesn't affect the median at all. The median only cares about position, not actual values at the extremes.

Median for Skewed Distributions

Income Distribution (Right-Skewed)
▼ Median: $45K
▼ Mean: $62K
A few high earners pull the mean up, but median shows what a 'typical' person earns.

For skewed distributions like income, median better represents the 'typical' value. High earners inflate the mean, but median shows where most people actually fall.

03

Mode

Most Frequent Value

3
5
5
5
7
7
9
Mode = 5 (appears 3 times)

The mode is simply the most frequently occurring value. Unlike mean and median, it identifies what's most common rather than a mathematical center. It's the only measure applicable to nominal data.

Bimodal and Multimodal

Unimodal: 2, 3, 5, 5, 5, 7, 8
Mode: 5
Bimodal: 2, 2, 2, 5, 8, 8, 8
Modes: 2 and 8
No mode: 1, 2, 3, 4, 5, 6
Mode: None (all equal frequency)

Data can have one mode (unimodal), two modes (bimodal), or more (multimodal). If all values occur equally often, there's no mode. Bimodal data often suggests two distinct groups.

Mode for Categories

Favorite Color Survey
Red
12
Blue
27
Green
18
Yellow
8
Mode: Blue

Mode is the ONLY measure of central tendency for nominal data. You can't calculate a mean or median of colors, but you can identify which color is most popular.

When Mode Falls Short

Problem 1
1, 2, 2, 3, 4, 5, 6, 7, 8, 9, 10

Mode = 2, but data is spread 1-10. Mode doesn't represent the 'center.'
Problem 2
Continuous data rarely repeats exactly.

Heights: 170.2, 171.5, 168.9...
No exact duplicates = no mode.

Mode has limitations: (1) It may not be near the center of the distribution. (2) Continuous data rarely has exact repeats, making mode meaningless without binning. (3) It ignores most of the data.

04

Choosing the Right Measure

Symmetric Distributions

Mean = Median = Mode

In a perfectly symmetric distribution (like the normal distribution), mean, median, and mode are all equal. They all point to the same center. Use any measure—mean is typically preferred for its mathematical properties.

Right-Skewed Distributions

Mode < Median < Mean
Tail pulls mean to the right

In right-skewed data (income, prices), the long tail pulls the mean toward higher values. Mode < Median < Mean. The median is usually the best measure of 'typical' value here.

Left-Skewed Distributions

Mean < Median < Mode
Tail pulls mean to the left

In left-skewed data (age at death in developed countries, test scores on easy exams), the tail pulls mean toward lower values. Mean < Median < Mode.

Which Measure to Use?

SituationUseWhy
Symmetric dataMeanBest math properties
Skewed dataMedianRobust to outliers
Outliers presentMedianNot affected
Categorical dataModeOnly option
Finding 'typical'MedianRepresents middle
Further calculationsMeanUsed in formulas

No single measure is always best. Consider your data type, distribution shape, presence of outliers, and intended use. Report multiple measures when appropriate.

★

Real-World Examples

Apply your knowledge to practical scenarios

01

Company Salary Analysis

A company with 100 employees reports: 'Average salary is $85,000.' The CEO earns $2,000,000 while most employees earn between $45,000-$65,000.

Analysis: The mean ($85,000) is misleading because one extreme value (CEO salary) pulls it up. The median ($52,000) better represents the 'typical' employee. This is classic right-skewed data.

Sample Data
{
  "mean": 85000,
  "median": 52000,
  "mode": 50000,
  "ceo_salary": 2000000
}
Q Which measure should the union use to argue for raises? +
A Median - The median shows what a typical employee actually earns, not inflated by executive pay.
Q Which measure might management use to make salaries seem higher? +
A Mean - The mean is pulled up by high earners, making overall compensation appear higher.
Key Insights
  • Always ask 'mean or median?' when someone reports an 'average' - especially for income, house prices, or any data with potential outliers.
02

Class Test Score Comparison

Two classes take the same test. Class A: scores are 70, 72, 74, 76, 78 (mean=74, median=74). Class B: scores are 50, 60, 74, 88, 98 (mean=74, median=74).

Analysis: Both classes have identical mean AND median, but Class B has much more variability. This shows why central tendency alone is insufficient - you need spread measures too.

Key Insights
  • Two datasets can have the same center but completely different shapes. Always report spread alongside central tendency.
03

Mystery of the Double Peak

A shoe store analyzes customer purchases. Mean shoe size = 8.5, but very few customers actually buy size 8.5. The mode reveals two peaks: size 6 and size 11.

Key Insights
  • When mean falls in a 'dead zone' with few observations, suspect bimodal data. The mode (or histogram) reveals the true story.
?

Central Tendency Quiz

Test your understanding • Passing score: 70%

0 of 10 answered
Q1 multiple-choice

The scores on a test are: 45, 55, 60, 65, 95. Which measure is most affected by the outlier (95)?

Explanation: The mean is pulled toward outliers. Mean = 64, but median = 60. The outlier (95) adds 15 points to the mean but doesn't change the middle value.
Q2 multiple-choice

For the data set {2, 3, 3, 4, 5, 5, 5, 6, 7}, what is the mode?

Explanation: The mode is the most frequent value. 5 appears three times, more than any other value. The mode is 5.
Q3 multiple-choice

Home prices in a neighborhood are: $200K, $220K, $240K, $260K, $1.5M. What's the best measure of central tendency?

Explanation: The median ($240K) best represents typical home prices. The $1.5M mansion pulls the mean way up to $484K, which doesn't represent most homes in the area.
Q4 multiple-choice

If mean > median, the distribution is:

Explanation: When mean > median, high outliers pull the mean to the right, creating right (positive) skew. The tail extends to the right.
Q5 calculation

Calculate the mean of: 12, 15, 18, 21, 24

Solution: (12 + 15 + 18 + 21 + 24) / 5 = 90 / 5 = 18
Explanation: undefined
Q6 multiple-choice

What is the median of: 3, 7, 9, 12, 15, 18?

Explanation: With an even number of values, the median is the average of the two middle values: (9 + 12) / 2 = 10.5
Q7 multiple-choice

Which measure of central tendency can be used for nominal data?

Explanation: Only mode works for nominal data. You can find the most common category (e.g., most popular color), but can't calculate mean or median without numeric values.
Q8 multiple-choice

The trimmed mean removes the top and bottom X% of values before calculating. Why use it?

Explanation: Trimmed means reduce outlier influence while still using most data points. A 10% trimmed mean removes the highest and lowest 10% before averaging - a compromise between mean and median.
Q9 multiple-choice

Data: 5, 5, 5, 5, 5. Which statement is TRUE?

Explanation: All three measures equal 5. When all values are identical, mean = median = mode. The data has zero variance but still has central tendency.
Q10 multiple-choice

Geometric mean is preferred over arithmetic mean for:

Explanation: Geometric mean is used for ratios, percentages, and growth rates. If investment returns are +50% then -33%, arithmetic mean suggests +8.5% average, but geometric mean correctly shows 0% (you're back to start).

Quiz Results

0 %

← Data Types Next: Spread →