Summary Statistics

Summary statistics are numerical values that condense a large dataset into a few key measures, making it possible to quickly understand the distribution, center, and spread of data. Rather than examining every single data point, statisticians use summary statistics to communicate the essential characteristics of a dataset efficiently. These measures form the foundation of descriptive statistics and are used in virtually every field — from analyzing exam scores in a classroom to interpreting clinical trial results in medicine. The two most important categories of summary statistics are measures of central tendency and measures of spread (also called measures of dispersion). Measures of central tendency — including the mean and median — describe where the 'middle' of the data lies. Measures of spread — including variance, standard deviation, and interquartile range — describe how tightly or loosely the data cluster around that center. Together, these metrics paint a complete picture of any dataset. Understanding summary statistics is essential for interpreting real-world data correctly. For example, knowing only the mean salary at a company can be misleading if salaries are highly skewed by a few executives earning millions. The median would tell a more honest story. Learning when to use each statistic, and how to calculate it precisely, is a critical skill in mathematics and data literacy.

Key takeaways
  • Mean (Arithmetic Average)
  • Median
  • Variance
  • Standard Deviation
  • Percentiles and the Interquartile Range (IQR)

Mean (Arithmetic Average)

The mean is calculated by summing all values in a dataset and dividing by the number of values. For a dataset with n values x₁, x₂, ..., xₙ, the mean is x̄ = (1/n)∑xᵢ. The mean uses every data point, making it sensitive to extreme values called outliers. For example, if nine students score 70 and one scores 100, the mean is 73 — slightly inflated by the outlier.

Median

The median is the middle value when data are arranged in ascending order. If n is odd, the median is the value at position (n+1)/2. If n is even, it is the average of the values at positions n/2 and n/2 + 1. The median is resistant to outliers. For the dataset {2, 5, 7, 9, 100}, the median is 7 while the mean is 24.6 — demonstrating how the median better represents the center when outliers exist.

Variance

Variance measures how spread out the data are around the mean. The population variance is σ² = (1/N)∑(xᵢ − μ)², where μ is the population mean. The sample variance uses division by (n−1) instead of n: s² = (1/(n−1))∑(xᵢ − x̄)². Dividing by (n−1) is called Bessel's correction; it corrects for the bias introduced when using a sample to estimate population variance. Variance is expressed in squared units of the original data.

Standard Deviation

Standard deviation is simply the square root of variance: σ = √σ² for a population, or s = √s² for a sample. Because standard deviation is in the same units as the original data, it is much more interpretable than variance. In a roughly bell-shaped (normal) distribution, approximately 68% of data fall within one standard deviation of the mean, 95% within two, and 99.7% within three — a rule known as the empirical rule or 68-95-99.7 rule.

Percentiles and the Interquartile Range (IQR)

The pth percentile is the value below which p% of the data fall. The 25th percentile (Q1), 50th percentile (Q2, the median), and 75th percentile (Q3) are called quartiles. The interquartile range is IQR = Q3 − Q1, representing the middle 50% of the data. The IQR is a robust measure of spread that is unaffected by outliers. A common rule identifies an outlier as any value below Q1 − 1.5×IQR or above Q3 + 1.5×IQR.

The Key Equation

s2=1n−1∑i=1n(xi−xˉ)2s^2 = \frac{1}{n-1}\sum_{i=1}^{n}(x_i - \bar{x})^2
  • s^2 — Sample variance (units²): The estimated spread of the population, based on the sample; expressed in squared units of the data.
  • n — Sample size (dimensionless): The total number of data points in the sample.
  • x_i — Individual data value (same as data): The ith observation in the dataset.
  • \bar{x} — Sample mean (same as data): The arithmetic average of all data values in the sample.
  • n-1 — Degrees of freedom (dimensionless): Bessel's correction term that makes the sample variance an unbiased estimator of the population variance.

Worked Example

Problem. Seven students received the following scores on a math quiz: {4, 8, 6, 5, 3, 9, 7}. Calculate the mean, median, sample variance, sample standard deviation, Q1, Q3, and IQR.

xˉ=6,  s2=286≈4.67,  s≈2.16,  IQR=4\bar{x}=6,\; s^2=\tfrac{28}{6}\approx4.67,\; s\approx2.16,\; \text{IQR}=4

Answer. Mean = 6, Median = 6, s² ≈ 4.67, s ≈ 2.16, Q1 = 4, Q3 = 8, IQR = 4

Figure
Diagram
Box-and-Whisker Plot: Quiz Scores {3,4,5,6,7,8,9}13579Q1=4Median=6Q3=8Min=3Max=9IQR = 4Mean = 6 (marked with ×)×Scale: each 40px = 1 unit
Origins · 1 minKarl Pearson and how this was discovered
KP
Karl Pearson
1857–1936 · British

Karl Pearson founded much of modern mathematical statistics. He formalized the concept of standard deviation (coining the term in 1894), introduced the Pearson correlation coefficient, developed the chi-squared test, and established the world's first university statistics department at University College London. His work transformed statistics from a descriptive tool into a rigorous mathematical discipline. Pearson was deeply influenced by his friend Francis Galton and once said that statistics was the 'grammar of science' — a phrase that became the title of his famous 1892 book.

  • Normal Distribution — The mean and standard deviation are the two parameters that completely define a normal distribution, making summary statistics essential for working with bell curves.
  • Data Visualization — Box plots, histograms, and other visualizations display summary statistics graphically, linking numerical summaries to visual data exploration.
  • Correlation and Linear Regression — Correlation coefficients and regression analysis build directly on the mean and standard deviation to measure relationships between variables.
  • Sampling and Estimation — Sample statistics such as x̄ and s² are used to estimate population parameters μ and σ², connecting summary statistics to inferential statistics.