Skip to main content
Albero Academy

Dispersion

Range, variance and standard deviation — how spread out data is.

Descriptive Statistics9 min

Two datasets can share the same mean but look completely different — one tightly clustered, one wildly spread. Dispersion measures that spread, and it's as important as the average: it tells you how reliable the "typical" value is.

The measures

MeasureMeaning
RangeMax − min (simple, outlier-sensitive)
VarianceAverage squared distance from the mean
Standard deviationSquare root of variance — in the data's units
IQRInterquartile range (Q3 − Q1) — robust spread
standard deviation
import numpy as np
a = [10, 10, 10, 10] # np.std → 0 (no spread)
b = [2, 8, 12, 18] # np.std → 5.7 (spread out)
# same-ish mean, very different consistency

Standard deviation

Key takeaways

  1. 01Dispersion measures how spread out data is — as important as the average.
  2. 02Range = max − min; variance = mean squared distance from the mean.
  3. 03Standard deviation (√variance) is in the data's units and most interpretable.
  4. 04The IQR (Q3 − Q1) is a robust spread measure for skewed data.

Finished this chapter?

Mark it complete to track your progress through Statistics.