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 summary statistic is a quantity computed from data that summarises some aspect of the whole dataset in a single, comparable value. Instead of listing 10,000 exam scores, we report a mean of 64 and a standard deviation of 12 — three numbers that tell us where scores cluster and how widely they spread. Summary statistics matter because raw data is overwhelming and incomparable: you cannot eyeball whether one class outperformed another by scanning two long lists, but you can compare their means instantly. They form the foundation of all of statistics and data science, from quality control to clinical trials. A surprising fact: the mean can be a value that no individual in the dataset actually has — the "average family" with 2.4 children does not exist, yet the number 2.4 is genuinely informative.
The Core Insight
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
Dataset and Notation
Let a dataset be a list of numerical observations:
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 (, ).
Measures of Central Tendency
The arithmetic mean (average):
The median is the middle value when data is sorted in order. For sorted data:
The mode is the value (or values) that appears most frequently. A dataset may be unimodal, bimodal, or have no mode.
Measures of Dispersion
The range is the simplest spread measure:
The population variance and sample variance :
The standard deviation is the square root of the variance, returning to original units:
The interquartile range measures the spread of the middle 50%:
Properties of the Mean and Variance
For any dataset and constants , transforming each value gives:
Why It Holds / Derivation
The Mean Minimises Squared Deviations
We prove the mean is the value that minimises the total squared distance .
Step 1. Define the function we wish to minimise: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 .)
Carl Friedrich Gauss | 1777–1855
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.
The mean as balance point, with mean and median diverging on a right-skewed distribution
Worked Examples
Test Scores — Full Summary
Given: Seven students score: 55, 70, 70, 80, 85, 90, 100. Step 1 — Mean (Eq. 2):The Outlier Effect on Mean vs Median
Given: Five house prices (in $1000s): 200, 220, 240, 260, 2000 (a mansion). Step 1 — Mean (Eq. 2):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 .Same Summaries, Different Data — Anscombe's Quartet
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
- Standardised testing — the SAT reports scaled scores with a fixed mean (around 500 per section) and standard deviation (100), so a score of 600 always means "one SD above average" regardless of test difficulty.
- Quality control in manufacturing — Six Sigma processes keep defects within six standard deviations of the mean, targeting fewer than 3.4 defects per million.
- Clinical trials — drug efficacy is reported as mean change in a biomarker with its standard error, letting regulators judge whether an effect is real or noise.
- Economics — governments report median household income (resistant to billionaires) and the Gini coefficient (a spread measure of inequality).
- Sports analytics — a baseball player's batting average is a mean; "consistency" is judged by the standard deviation of game-to-game performance.
- Weather forecasting — "average rainfall" plus its variability tells farmers both the expected season and the risk of drought or flood.
- Finance — investment risk is literally defined as the standard deviation (volatility) of returns; the Sharpe ratio divides mean excess return by this standard deviation.
Historical Development
- c. 1654 — Pascal and Fermat lay the groundwork of probability through correspondence on gambling problems, foreshadowing the idea of expected (average) value.
- 1722 — Roger Cotes proposes weighting observations by reliability, an early idea of the weighted mean.
- 1801 — Gauss uses least squares and the normal distribution to recover the orbit of Ceres, cementing the mean as the optimal estimator.
- 1809 — Gauss publishes Theoria Motus, formalising the Gaussian error distribution.
- 1888 — Francis Galton introduces correlation and the concept of regression toward the mean while studying heredity.
- 1894 — Karl Pearson coins the term standard deviation and develops the method of moments, founding the modern statistical vocabulary.
- 1908 — William Gosset ("Student") publishes the t-distribution to handle small samples, addressing why matters.
- 1925 — Ronald Fisher's Statistical Methods for Research Workers systematises variance, popularising the analysis of variance (ANOVA).
- 1973 — Francis Anscombe publishes his quartet, warning that summary statistics must always be paired with visualisation.
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.