01 / 21

Measures of
Spread

Understand how data varies with Range, IQR, Variance, and Standard Deviation: the essential tools for describing data variability.

College Statistics

Why Measure Spread?

Two datasets can share the same mean yet look completely different. Measures of center (mean, median) tell you where data clusters, but measures of spread tell you how far values stray from that center.

Mean Dataset A: Low Spread Dataset B: High Spread Same mean, very different variability

Four Measures of Variability

Range
Difference between the maximum and minimum values. Simplest but most sensitive to outliers.
IQR
Interquartile Range: the spread of the middle 50% of data. Resistant to outliers.
Variance
Average of the squared deviations from the mean. Measures total dispersion.
Std Dev
Square root of variance. Same units as the original data, easier to interpret.

The Range

2 5 7 10 15
\(\text{Range} = 15 - 2 = 13\)

The range uses only two data points: the largest and smallest. It's quick to compute but a single outlier can inflate it dramatically.

Interquartile Range: IQR

Min
\(Q_1\)
Median
\(Q_3\)
Max
\(\text{IQR} = Q_3 - Q_1\)
Middle 50% of the data

The IQR ignores the extreme 25% on each end, making it resistant to outliers. It's the basis for identifying outliers via the 1.5 × IQR rule.

Variance: The Core Formula

Each deviation \((x_i - \bar{x})\) is squared so that positive and negative deviations don't cancel out. We divide by \(n - 1\) for a sample (Bessel's correction) to produce an unbiased estimator of the population variance.

Standard Deviation

Taking the square root of the variance returns the measure to the original units of the data. If your data is in kilograms, \(s^2\) is in \(\text{kg}^2\), but \(s\) is back in kg.

Variance
Units are squared. Useful in theoretical formulas and ANOVA calculations.
Std Dev
Units match the data. Easier to interpret and communicate in context.

Population vs Sample

Population Sample
Symbol (Mean) \(\mu\) \(\bar{x}\)
Symbol (Variance) \(\sigma^2\) \(s^2\)
Symbol (Std Dev) \(\sigma\) \(s\)
Divisor \(N\) \(n - 1\)
When to use Entire group known Subset of the population

How to Calculate Step by Step

1
Find the mean \(\bar{x}\) by summing all values and dividing by \(n\).
2
Subtract the mean from each data point to get deviations \((x_i - \bar{x})\).
3
Square each deviation \((x_i - \bar{x})^2\) to eliminate negatives.
4
Sum the squared deviations \(\sum (x_i - \bar{x})^2\).
5
Divide by \(n - 1\) (sample) or \(N\) (population) to get variance \(s^2\).
6
Take the square root of the variance to obtain the standard deviation \(s\).

Worked Example: Range & IQR

Range
\(25 - 3 = \) 22
\(Q_1\)
Median of lower half \(\{3,7,8,12\}\): \(\frac{7+8}{2} = \) 7.5
\(Q_3\)
Median of upper half \(\{14,18,21,25\}\): \(\frac{18+21}{2} = \) 19.5

Worked Example: Variance & \(s\)

\(x_i\) \(x_i - \bar{x}\) \((x_i - \bar{x})^2\)
4\(-2\)4
8\(+2\)4
6\(0\)0
5\(-1\)1
7\(+1\)1

Example: Outlier Impact

Compare two datasets that differ by a single outlier:

Dataset A
\(\{10, 12, 11, 13, 14\}\)
Range = 4, \(s \approx\) 1.58
Dataset B
\(\{10, 12, 11, 13, 50\}\)
Range = 40, \(s \approx\) 17.25

Visualizing Standard Deviation

\(\mu\)
\(\mu-\sigma\)
\(\mu+\sigma\)
\(\mu-2\sigma\)
\(\mu+2\sigma\)
68% 95% The Empirical Rule (68-95-99.7)

Resistant vs Non-Resistant Measures

Property Resistant Non-Resistant
Measures IQR, Median Range, Variance, Std Dev, Mean
Outlier effect Minimal Large
Best for Skewed data Symmetric data
Pairing Median + IQR Mean + Std Dev

Common Mistakes

✕ Dividing by \(n\) for a sample
For a sample, always divide by \(n - 1\). Using \(n\) underestimates the true variance.
✕ Forgetting to square root
Variance is in squared units. Report the standard deviation when you need the same units as the data.
✕ Using Range with outliers
The range is determined entirely by the two most extreme values. One outlier can make it meaningless.

Summary of Spread Measures

Measure Formula Pros Cons
Range \(x_{\max} - x_{\min}\) Simple, fast Sensitive to outliers
IQR \(Q_3 - Q_1\) Resistant Ignores tails
Variance \(\frac{\sum(x_i-\bar{x})^2}{n-1}\) Uses all data Squared units
Std Dev \(\sqrt{s^2}\) Original units Sensitive to outliers

Question 1 of 5

For the dataset \(\{2, 5, 7, 10, 15\}\), what is the range?

Question 2 of 5

When computing the sample variance, we divide by:

Question 3 of 5

A sample has a variance of \(s^2 = 16\). What is the standard deviation?

Question 4 of 5

Which measure of spread is most resistant to outliers?

Question 5 of 5

For a bell-shaped distribution, approximately what percentage of data falls within one standard deviation of the mean?