Summary Statistics
Summary statistics are single numbers (or small sets of numbers) that capture the essential features of a dataset — its center, spread, and shape. The two big families are measures of central tendency (mean, median, mode) and measures of dispersion (range, variance, standard deviation, IQR). Used everywhere data is collected — science, economics, sports, medicine, polling. Formalised through the 18th–20th centuries by Gauss, Galton, Pearson, and others.
A dataset has too many numbers to hold in your head. Summary statistics compress that dataset into a few numbers that answer three questions: Where is the data centred? (central tendency), How spread out is it? (dispersion), and What is its shape? (skewness, symmetry). Crucially, this compression is lossy — different datasets can share the same mean and standard deviation while looking completely different. A good analyst always pairs a measure of center with a measure of spread, and ideally with a picture.
Formal Statement
Let a dataset be a list of numerical observations:
Derivation hint: This is just notation — denotes the -th observation, and is the total count (the sample size). We distinguish a population (all members of interest, size ) from a sample (a subset we actually measure, size ). Population summaries use Greek letters (, ); sample summaries use Roman letters (, ).
The arithmetic mean (average):
Derivation hint: Add every value, then divide by how many there are; this is the "balance point" of the data. The median is the middle value when data is sorted in order. For sorted data:
Derivation hint: Sort the values; the median is the position that splits the lower 50% from the upper 50% — average the two middle ones if there is no single middle. The mode is the value (or values) that appears most frequently. A dataset may be unimodal, bimodal, or have no mode.
The range is the simplest spread measure:
Derivation hint: Subtract the smallest observation from the largest. The population variance and sample variance :
Derivation hint: Find each deviation from the mean, square it (so positives and negatives don't cancel), average the squares — but divide the sample version by , not (Bessel's correction). The standard deviation is the square root of the variance, returning to original units:
Derivation hint: Variance is in squared units (e.g. cm²); taking the square root restores the original units (cm) so it can be compared to the data directly. The interquartile range measures the spread of the middle 50%:
Derivation hint: is the median of the lower half, the median of the upper half; their difference ignores extreme tails.
For any dataset and constants , transforming each value gives:
Derivation hint: Adding shifts every value equally so it shifts the mean but not the spread; multiplying by scales the mean by and the variance by because variance involves squared deviations.
Why It Holds / Derivation
We prove the mean is the value that minimises the total squared distance .
Step 1. Define the function we wish to minimise:
Derivation hint: Each term measures how far observation is from a candidate center , squared.
Step 2. Expand and differentiate with respect to (treating as constants):
Derivation hint: Apply the chain rule term by term; the derivative of with respect to is .
Step 3. Set to find the minimum:
Derivation hint: Split the sum, solve for ; since , this critical point is genuinely a minimum. Hence the mean is the "least-squares center" — no other single number is closer, on average, to all the data in the squared sense. (The median plays the same role for absolute distances .)
∎Gauss developed the method of least squares while predicting the orbit of the asteroid Ceres in 1801, after astronomers lost track of it. His work formalised why the mean is the natural "best estimate" of a true value corrupted by random errors, and led him to the normal (Gaussian) distribution — the bell curve whose two summary statistics, and , completely determine its shape. His insight that errors cluster symmetrically around a central value underpins the entire modern theory of summary statistics.
Building Intuition
Think of the mean as a balance point: if you placed equal weights at each data value along a ruler, the mean is where the ruler balances on a fulcrum. This is why a single billionaire can drag the mean income of a town far above what a typical person earns — that one huge weight is far from the fulcrum and pulls hard. The median, by contrast, is the "middle person in line." It does not care how rich the billionaire is, only that they stand at one end. This is why economists report median household income, not mean — it resists outliers. For spread, imagine darts on a board. Two players might have the same average position (both centred on the bullseye) but one scatters wildly while the other clusters tight. The standard deviation is the typical distance of a dart from the center. A small means consistency; a large means unpredictability.
Worked Examples
Given: Seven students score: 55, 70, 70, 80, 85, 90, 100.
Step 1 — Mean (Eq. 2):
Step 2 — Median (Eq. 3): Already sorted, (odd), middle position is th value: .
Step 3 — Mode: The value 70 appears twice; all others once. Mode = 70.
Step 4 — Range (Eq. 4): .
Step 5 — Sample variance (Eq. 5): Deviations from : squared deviations sum to roughly .
Step 6 — Standard deviation (Eq. 6): .
Given: Five house prices (in $1000s): 200, 220, 240, 260, 2000 (a mansion).
Step 1 — Mean (Eq. 2):
Step 2 — Median (Eq. 3): Sorted: 200, 220, 240, 260, 2000. Middle () is the 3rd value: .
Step 3 — Compare: The mean () suggests typical homes cost over half a million; the median () reflects what an ordinary buyer faces. The single mansion inflated the mean by 240% but left the median untouched.
Common Misconceptions
"The mean is always the best measure of center." False. For skewed data or data with outliers, the mean is dragged toward the tail and misrepresents the typical value. Use the median for income, house prices, and reaction times. "Standard deviation and variance are interchangeable." They convey the same information, but variance is in squared units and cannot be compared to the raw data — always report standard deviation when describing spread in context. Finally, dividing sample variance by instead of systematically underestimates the true population variance; the (Bessel's correction) compensates for using instead of the unknown .
In 1973, statistician Francis Anscombe constructed four datasets that share nearly identical summary statistics: the same mean of (9.0), same mean of (7.5), same variance, and same correlation (0.816). Yet when plotted, one is a clean line, one is a curve, one has a single outlier dominating, and one is a vertical cluster with one stray point. This is the definitive proof that summary statistics alone can hide everything important — never trust numbers without also plotting the data. A more recent version, the "Datasaurus Dozen," shows a dinosaur shape and a star sharing identical means and standard deviations.
Connections
Summary statistics are the gateway to the rest of statistics. The mean and variance define the Normal Distribution, whose bell shape is fully specified by just and . Standard deviation underlies the Z-Score, which measures how many standard deviations a value lies from the mean and enables comparison across different scales. The median and quartiles build the Box Plot, a graphical summary of the five-number summary. Variance generalises to Covariance and Correlation, which summarise relationships between two variables rather than one. And the whole framework of summarising samples to infer about populations is the foundation of Statistical Inference and Hypothesis Testing.
Real-World Applications
Historical Development
Subtleties & Limits
Summary statistics are inherently lossy compression, and choosing which statistics to report is more art than science. For heavily non-normal or multimodal data, no small set of standard summaries faithfully captures the shape — a bimodal distribution (e.g. ages at a wedding: children and adults) has a mean lying in the empty valley between the two peaks. Robust statistics (median, IQR, trimmed means) trade efficiency for resistance to outliers, and there is no universal rule for when to prefer them. Modern debates concern summarising high-dimensional and streaming data, where computing exact medians is expensive and approximate "sketch" algorithms are used. The deepest open question is partly philosophical: how do we summarise data honestly when any single number can be cherry-picked to mislead — a concern at the heart of data ethics and reproducibility.
See Also
Normal Distribution · Z-Score · Box Plot · Covariance and Correlation · Statistical Inference · Hypothesis Testing · Probability Distributions · Sampling Methods