SECTION 1
Historical Context & Motivation
Imagine you just scored 85 on a test. Is that good? You can't tell unless you know how everyone else did. For thousands of years, people have wanted ways to summarize large groups of numbers with just one or two values. That idea is at the heart of statistics.
Ancient astronomers noticed that their measurements of star positions varied slightly every night. They needed a single "best guess" to use in their maps. Over time, mathematicians developed tools to find the center of a data set and to measure how spread out the values are.
~3000 BCE • Ancient Record-Keeping
1669 • The Arithmetic Mean
1882 • The Median Gains Popularity
1900s • Spread Matters Too
Today you'll learn the same tools that scientists, coaches, and data analysts use every day. The big question is: How can we describe a whole data set with just a couple of numbers?
SECTION 2
Core Principles & Definitions
To summarize data, you need two kinds of numbers. The first kind tells you where the center is — a typical value. The second kind tells you the variability — how spread out the values are from that center.
Mean (Average)
Median (Middle Value)
IQR (Interquartile Range)
MAD (Mean Absolute Deviation)
KEY TAKEAWAY
SECTION 3
Visualizing Center & Spread
The dot plot below shows quiz scores for two different classes. Both classes have the same mean (7 points), but look how different the shapes are! Class A has scores bunched close together, while Class B has scores spread far apart.
This is why we need measures of variability. If you only reported the mean, you'd think both classes performed the same way. But a student in Class B might have scored a 2 or a 12 — very different experiences from Class A, where most students scored between 6 and 8.
SECTION 4
The Formulas You Need
Let's look at each formula one at a time. Don't worry — each one is just addition, subtraction, and division!
MEAN (AVERAGE)
Add every number in your data set. Then divide by how many numbers there are. For example, for the set {3, 5, 7}: Mean = (3 + 5 + 7) ÷ 3 = 5.
MEDIAN (MIDDLE VALUE)
Step 1: Put the numbers in order from least to greatest. Step 2: If there is an odd number of values, the median is the one right in the middle. If there is an even number of values, average the two middle numbers.
IQR (INTERQUARTILE RANGE)
Q1 (first quartile) is the median of the lower half. Q3 (third quartile) is the median of the upper half. The IQR tells you the range of the middle 50% of your data.
MAD (MEAN ABSOLUTE DEVIATION)
The vertical bars | | mean "absolute value" — just ignore any negative signs. First find the mean. Then find how far each value is from the mean. Finally, average all those distances.
Quick Tip
SECTION 5
Finding the IQR Step by Step
The IQR can feel tricky at first, so let's break it down visually. Imagine you have 11 quiz scores. The diagram below shows how to split the data into quartiles.
Notice that the overall median (8) is not included in either the lower or upper half when you have an odd number of values. You only use the numbers on each side of it to find Q1 and Q3.
SECTION 6
Worked Example: Full Analysis
A gym teacher records the number of push-ups 8 students completed: 10, 15, 12, 8, 20, 14, 11, 18. Let's find the mean, median, IQR, and MAD.
Push-Up Data: Full Statistical Summary
- 1
Step 1 — Order the Data
Arrange the values from least to greatest: 8, 10, 11, 12, 14, 15, 18, 20.Ordered: 8, 10, 11, 12, 14, 15, 18, 20 - 2
Step 2 — Find the Mean
Add all values: 8 + 10 + 11 + 12 + 14 + 15 + 18 + 20 = 108. Divide by the number of values: 108 ÷ 8 = 13.5.Mean = 13.5 - 3
Step 3 — Find the Median
There are 8 values (an even number). The two middle values are the 4th and 5th: 12 and 14. Average them: (12 + 14) ÷ 2 = 13.Median = 13 - 4
Step 4 — Find Q1, Q3, and IQR
Lower half: 8, 10, 11, 12. The median of the lower half = (10 + 11) ÷ 2 = 10.5, so Q1 = 10.5. Upper half: 14, 15, 18, 20. The median of the upper half = (15 + 18) ÷ 2 = 16.5, so Q3 = 16.5. IQR = 16.5 − 10.5 = 6.IQR = 6 - 5
Step 5 — Find the MAD
The mean is 13.5. Find how far each value is from 13.5: |8 − 13.5| = 5.5, |10 − 13.5| = 3.5, |11 − 13.5| = 2.5, |12 − 13.5| = 1.5, |14 − 13.5| = 0.5, |15 − 13.5| = 1.5, |18 − 13.5| = 4.5, |20 − 13.5| = 6.5. Sum of distances: 5.5 + 3.5 + 2.5 + 1.5 + 0.5 + 1.5 + 4.5 + 6.5 = 26. MAD = 26 ÷ 8 = 3.25.MAD = 3.25 - 6
Step 6 — Interpret the Results
The typical student did about 13–13.5 push-ups. On average, students were about 3.25 push-ups away from the mean. The middle half of students completed between 10.5 and 16.5 push-ups (a span of 6).
SECTION 7
When to Use Which Measure
Mean and median both describe the center. IQR and MAD both describe the spread. So when should you pick one over the other? The answer depends on whether your data has outliers (values that are much larger or smaller than the rest).
| Feature | Mean & MAD | Median & IQR |
|---|---|---|
| Best when | Data is roughly symmetric with no outliers | Data is skewed or has outliers |
| Effect of outliers | Pulled strongly by extreme values | Barely affected by extreme values |
| Uses every value? | Yes — every number changes the result | No — only position matters, not exact values |
| Example data | Test scores: 78, 82, 85, 88, 90 | Home prices: $150K, $160K, $170K, $180K, $2M |
Comparison of center and variability measures
KEY TAKEAWAY
SECTION 8
Connection to Future Topics
The ideas you're learning now are the building blocks for more advanced statistics. In high school and college, you'll encounter related tools that do similar jobs in more powerful ways.
| What You Know Now | What Comes Next |
|---|---|
| Mean (average) | Weighted mean — some values count more than others (like final exams counting more than homework) |
| MAD (mean absolute deviation) | Standard deviation — a similar idea but it squares the differences before averaging, making it more useful in algebra |
| IQR (interquartile range) | Box-and-whisker plots — a visual that shows Q1, median, Q3, and outliers all at once |
| Median | Percentiles — the median is actually the 50th percentile; you'll learn about any percentile you want |
From middle-school stats to high-school stats
Don't worry about mastering those advanced topics now. The important thing is that by understanding mean, median, IQR, and MAD, you already have a strong foundation. Everything else is just an extension of these same ideas.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
To describe a data set, you need two types of measures. Measures of center tell you the typical value: the mean (add all values and divide by how many) and the median (the middle value when data is ordered). Measures of variability tell you how spread out the data is: the MAD (average distance from the mean) and the IQR (range of the middle 50%, found by Q3 − Q1).
Use the mean and MAD when your data is symmetric and has no outliers. Use the median and IQR when your data is skewed or contains extreme values. Together, a measure of center and a measure of variability give you a complete snapshot of any data set.