SECTION 1
Historical Context & Motivation
If someone tells you the average temperature in two cities is 70 °F, you might assume they feel similar. But what if one city swings between 30 °F and 110 °F while the other hovers between 65 °F and 75 °F? The averages match, yet the experiences are drastically different. This is exactly why statisticians developed measures of spread — tools that capture how much data values vary from the center. Without spread, a single average can be deeply misleading.
The story of measuring variability stretches back centuries, evolving alongside the growing need for accurate predictions in astronomy, insurance, and public health. Each era contributed a new tool — from the simple range to the sophisticated standard deviation — reflecting humanity's deepening understanding of uncertainty.
1700s • The Range Emerges
1794 • Carl Friedrich Gauss & Error Theory
1893 • Karl Pearson Coins 'Standard Deviation'
1977 • John Tukey & the IQR
The central question these tools address is straightforward: How tightly clustered or widely scattered are the values in a data set? A measure of center like the mean or median tells you where the data sits on average, but it says nothing about consistency. Measures of spread fill that gap, giving you a fuller picture of any data set.
SECTION 2
Core Principles & Definitions
Before diving into formulas, it helps to understand the big ideas that connect all measures of spread. Each measure answers the same fundamental question — how variable is the data? — but they approach it from different angles, making some more useful than others depending on the situation.
Range
Interquartile Range (IQR)
Mean Absolute Deviation (MAD)
Standard Deviation (SD)
KEY TAKEAWAY
SECTION 3
Visualizing Spread — Dot Plots Compared
The best way to build intuition for spread is to see two data sets with the same mean but very different variability. The diagram below shows two classes' quiz scores. Both classes have a mean of 80, but one is tightly clustered while the other is widely scattered.
Notice how Class A's dots huddle close to the dashed mean line, while Class B's dots stretch across the entire number line. A teacher looking only at the mean would think both classes performed identically. But the spread tells a different story: Class A is consistent, while Class B has a wide range of understanding. This is precisely the information that range, IQR, MAD, and standard deviation quantify.
SECTION 4
Mathematical Framework
Now let's translate these ideas into formulas you can use. Each formula below includes variable definitions and a brief explanation of what it captures.
RANGE
Simply subtract the smallest value from the largest value. Result is always ≥ 0. A range of 0 means every data point is the same.
INTERQUARTILE RANGE (IQR)
Q₁ = first quartile (median of the lower half). Q₃ = third quartile (median of the upper half). The IQR measures the spread of the middle 50% of data, ignoring the most extreme values.
MEAN ABSOLUTE DEVIATION (MAD)
x̄ = mean of the data set. n = number of data values. Each |xᵢ − x̄| is the absolute distance of a data point from the mean. Average all those distances to get the MAD.
STANDARD DEVIATION (SD) — POPULATION
σ (sigma) = population standard deviation. Square each deviation from the mean, average those squares, then take the square root. Squaring magnifies large deviations, making SD especially sensitive to outliers.
Sample vs. Population
SECTION 5
Step-by-Step Breakdown — Finding Quartiles & IQR
Of the four measures, the IQR requires the most careful procedure because you must first locate Q₁ and Q₃. The diagram below walks through the process on an ordered data set of nine values.
Notice that the median itself is excluded from both halves when the data set has an odd number of values. If the data set has an even number of values, split it evenly down the middle. The key idea is that Q₁ marks where 25% of the data falls below, and Q₃ marks where 75% falls below. The IQR captures exactly the middle chunk of data between these two markers.
When to Use IQR vs. Range
SECTION 6
Worked Example — Analyzing Test Scores
A teacher records the following 10 quiz scores (out of 100) for her class: 68, 72, 75, 78, 80, 82, 85, 88, 90, 92. Let's compute all four measures of spread.
Computing Range, IQR, MAD, and SD
- 1
Step 1 — Range
Maximum = 92, Minimum = 68. Range = 92 − 68.Range = 24 - 2
Step 2 — Find Q₁, Q₃, and IQR
Data is already sorted. With 10 values, the lower half is {68, 72, 75, 78, 80} and the upper half is {82, 85, 88, 90, 92}. Q₁ = median of lower half = 75. Q₃ = median of upper half = 88. IQR = 88 − 75.IQR = 13 - 3
Step 3 — Compute the Mean
Sum = 68 + 72 + 75 + 78 + 80 + 82 + 85 + 88 + 90 + 92 = 810. Mean = 810 ÷ 10.x̄ = 81 - 4
Step 4 — Mean Absolute Deviation (MAD)
Find each |xᵢ − 81|: |68−81|=13, |72−81|=9, |75−81|=6, |78−81|=3, |80−81|=1, |82−81|=1, |85−81|=4, |88−81|=7, |90−81|=9, |92−81|=11. Sum of absolute deviations = 13+9+6+3+1+1+4+7+9+11 = 64. MAD = 64 ÷ 10.MAD = 6.4 - 5
Step 5 — Standard Deviation (SD)
Square each deviation: 169, 81, 36, 9, 1, 1, 16, 49, 81, 121. Sum of squares = 564. Divide by n = 10: 564 ÷ 10 = 56.4. Take the square root: √56.4 ≈ 7.51.σ ≈ 7.51 - 6
Step 6 — Interpret the Results
The range of 24 shows the total span of scores. The IQR of 13 tells us the middle 50% of students scored within a 13-point band. The MAD of 6.4 means a typical score falls about 6.4 points from the mean of 81. The SD of 7.51 is slightly larger than the MAD because squaring penalizes the more extreme deviations (68 and 92) more heavily.
SECTION 7
Strengths & Limitations of Each Measure
No single measure of spread is perfect for every situation. Each one has trade-offs, and choosing the right tool depends on the shape of your data and the question you're trying to answer.
| Measure | Strengths | Limitations |
|---|---|---|
| Range | Extremely easy to compute; gives instant sense of total span | Uses only 2 data points; heavily distorted by a single outlier |
| IQR | Resistant to outliers; focuses on the typical middle of the data | Ignores 50% of the data entirely; doesn't use every value |
| MAD | Uses every data point; easy to interpret ('average distance from the mean') | Less common in advanced statistics; absolute values are harder to manipulate algebraically |
| SD | Uses every data point; foundational in advanced statistics and the normal distribution | Sensitive to outliers because squaring magnifies large deviations; less intuitive to interpret |
Comparison of the four introductory measures of spread
CHOOSING THE RIGHT MEASURE
SECTION 8
Connection to Advanced Theory
The measures of spread you learn in this course are stepping stones to deeper ideas in statistics. Understanding how these introductory tools connect to advanced concepts will help you see why mastering them now pays off later.
| Introductory Concept | Advanced Extension |
|---|---|
| Range (max − min) | In probability, the range of a random variable defines its support — the set of all possible outcomes. |
| IQR and outlier detection | The '1.5 × IQR rule' is used to flag outliers in box plots, a critical tool in exploratory data analysis (EDA). |
| MAD (average absolute deviation) | In robust statistics, MAD is scaled to estimate σ without being distorted by outliers — useful in machine learning preprocessing. |
| Standard deviation (σ) | σ is the building block of variance, z-scores, confidence intervals, hypothesis testing, and the normal distribution's '68-95-99.7' rule. |
How introductory spread measures connect to advanced statistics
One especially powerful application is the Empirical Rule (also called the 68-95-99.7 rule). For data that follows a bell-shaped (normal) distribution, approximately 68% of the values fall within one standard deviation of the mean, 95% within two, and 99.7% within three. This rule turns the abstract SD into a concrete prediction tool. You'll explore this in detail when you study the normal distribution later in the course.
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
Measures of spread quantify how much data values vary from the center. The range (maximum minus minimum) is the quickest measure but is easily distorted by outliers. The interquartile range (IQR) captures the span of the middle 50% of data by computing Q₃ − Q₁, making it resistant to extreme values and an ideal partner for the median. The mean absolute deviation (MAD) averages the absolute distances of each data point from the mean, providing an intuitive 'typical distance' interpretation.
The standard deviation (SD) squares each deviation before averaging and then takes the square root, penalizing large deviations more heavily. SD is the most widely used measure in advanced statistics and connects directly to the normal distribution and z-scores. When reporting summary statistics, pair the median with the IQR for skewed data and the mean with the SD for symmetric data to give a complete, coherent picture of any distribution.