Introduction to Statistics: Mean, Median and Mode
Learn to find measures of center and spread, read box plots and spot outliers in data sets, with a worked example for each measure you ѕtudy.
What You’ll Learn
- Calculate the mean, median, and mode of a data set.
- Choose the best measure of center for a given distribution.
- Build a five-number summary and read a box plot.
- Apply the 1.5 × IQR rule to identify outliers.
- Describe the spread of a data set using range and IQR.
Quick Reference
| Measure | How to Find It | Sensitive to Outliers? |
|---|---|---|
| Mean | Sum of all values ÷ number of values | Yes |
| Median | Middle value of the sorted data set | No (resistant) |
| Mode | Most frequently occurring value | No |
| Range | Maximum value − Minimum value | Yes |
| IQR | Q3 − Q1 (middle 50% spread) | No (resistant) |
Core Concepts
Five-Number Summary
Minimum, Q1, Median, Q3, and Maximum form the five landmarks drawn on a box plot.
Choosing Center
Use median and IQR when a distribution is skewed or contains outliers; use mean when data are roughly symmetric.
1.5 × IQR Rule
A data point below Q1 − 1.5·IQR or above Q3 + 1.5·IQR is flagged as a potential outlier.
Sorting First
Always order the data set from least to greatest before locating the median or quartiles.
Skew Direction
If the mean is larger than the median, the data is right-skewed; smaller means it’s left-skewed.
Discrete vs Continuous
Count-based values (dice rolls, students) are discrete; measured values (height, time) are continuous.
Worked Lessons
Lesson 1 — Finding the Mean
The mean is the arithmetic average of a set of values. Add every value, then divide by how many values there are.
Example
- Data set: {3, 5, 8, 10, 14}
- Sum: 3 + 5 + 8 + 10 + 14 = 40
- Count: 5
- Mean = 40 ÷ 5 = 8
Lesson 2 — Finding the Median
The median is the middle value of a sorted data set. If the count is even, average the two middle values.
Example (odd count)
- Data set: {2, 5, 9, 12, 20}
- Sorted: 2, 5, 9, 12, 20
- Median = 9
Example (even count)
- Data set: {4, 7, 10, 15}
- Sorted: 4, 7, 10, 15
- Median = (7 + 10) ÷ 2 = 8.5
Lesson 3 — Finding the Mode
The mode is the value that occurs most often. A data set may have one mode, more than one mode, or no mode at all.
Example
- Data set: {4, 7, 4, 2, 7, 4, 9}
- Counts: 4 appears 3 times; 7 appears 2 times; others appear once.
- Mode = 4
Lesson 4 — Range, Quartiles and IQR
Range measures total spread. Quartiles split the sorted data into four equal parts. The interquartile range (IQR) measures the middle 50%.
Example
- Data set: {2, 5, 7, 8, 11, 14, 17, 20, 22}
- Min = 2, Max = 22 → Range = 20
- Median (Q2) = 11
- Lower half: 2, 5, 7, 8 → Q1 = (5 + 7) ÷ 2 = 6
- Upper half: 14, 17, 20, 22 → Q3 = (17 + 20) ÷ 2 = 18.5
- IQR = Q3 − Q1 = 18.5 − 6 = 12.5
Lesson 5 — Reading a Box Plot
A box plot (also called a box-and-whisker plot) displays the five-number summary. Each section covers 25% of the data.
If the right whisker is much longer than the left, the data is right-skewed. Points drawn beyond the whiskers are usually outliers flagged by the 1.5 × IQR rule.
Self-Check Practice
1. Find the mean, median, and range of {4, 6, 7, 7, 11}.
Show worked answer
Mean = 35/5 = 7; Median = 7; Range = 11 − 4 = 7.
2. If 11 is replaced by 61 in {4, 6, 7, 7, 61}, which changes more: mean or median?
Show worked answer
The mean jumps from 7 to 17, while the median stays 7. The mean changes much more because it is sensitive to outliers.
3. Find the mode of {2, 4, 4, 6, 8, 8, 8, 10}.
Show worked answer
The value 8 appears three times — more than any other — so the mode is 8.
4. Compute the IQR for {1, 3, 5, 7, 9, 11, 13}.
Show worked answer
Median = 7. Lower half: 1, 3, 5 → Q1 = 3. Upper half: 9, 11, 13 → Q3 = 11. IQR = 11 − 3 = 8.
5. Which measure of center best describes the typical home price in a neighborhood where one mansion is far more expensive than the others?
Show worked answer
The median, because it is resistant to outliers. The mean would be pulled upward by the single very expensive home.
Glossary
- Mean
- Sum of all values divided by the count.
- Median
- Middle value of a sorted data set.
- Mode
- Value that occurs most frequently.
- Range
- Difference between the maximum and minimum.
- Quartile
- One of three values that divide sorted data into four equal parts.
- IQR
- Interquartile range — the width of the middle 50%.
- Outlier
- A value far from the rest of the data.
- Skew
- Asymmetry in a distribution’s shape.
Ѕtudy Notes
- Count the total number of values before and after sorting so you do not drop a duplicate.
- Remember that each section of a box plot represents 25% of the data, even if one whisker looks longer.
- For an even number of data points, the median lies between the two middle values — not on a data point itself.
- Report the median and IQR together when a distribution has outliers; report the mean and standard deviation when it is symmetric.
- A single outlier will not change the median by much, but it can shift the mean dramatically.