summary statistics
Descriptive Statistics
You should know: expectation
Overview
A descriptive statistic is a summary statistic that quantitatively describes or summarizes features from a collection of information, while descriptive statistics is the process of using and analyzing those statistics. Descriptive statistics is distinguished from inferential statistics by its aim to summarize a sample, rather than use the data to learn about the population that the sample of data is thought to represent — it generally is not developed on the basis of probability theory. Even when a data analysis draws its main conclusions using inferential statistics, descriptive statistics are almost always presented alongside it, e.g. a table giving sample size, average age, and other characteristics.
Intuition
Given a spreadsheet of 10,000 numbers, nobody wants to read every single one. Descriptive statistics condense a dataset down to a handful of numbers that capture its essential shape: where is it centered (mean, median), how spread out is it (variance, standard deviation, range), and what does its distribution look like (skewness, quartiles). The goal is purely to describe the data you actually have — not to guess something about a larger population it might have come from (that's inferential statistics' job).
Interactive Graph
Formal Definition
For a sample x₁, x₂, ..., xₙ, the key descriptive statistics are:
The arithmetic average of the data
Uses n−1 (Bessel's correction) so s² is an unbiased estimator of the population variance
Same units as the original data, unlike variance
Sorted data's middle value(s)
Notation
| Notation | Meaning |
|---|---|
| Sample mean | |
| Sample standard deviation | |
| Sample variance | |
| Interquartile range — spread of the middle 50% of data |
Properties
Mean minimizes squared deviation
Median minimizes absolute deviation
Sensitivity to outliers
Standard deviation shares units with the data
Applications
Worked Examples
Mean: sum divided by n=5.
Median: middle value of the sorted data {2,4,4,6,9}.
Sample variance uses n−1 = 4 in the denominator.
Standard deviation is the square root of variance.
Answer: Mean = 5, median = 4, sample standard deviation ≈ 2.646.
Practice Problems
Find the mean and median of {1, 3, 3, 6, 7, 8, 9}.
A dataset has one extreme outlier added to it. Which statistic changes the LEAST?
Five concrete cube strengths (MPa) are 30, 32, 33, 35, 60 (the last from a testing error). Compute the mean and median, and say which better represents typical strength.
A concrete supplier reports mean strength 40 MPa with standard deviation 4 MPa. Compute the coefficient of variation and explain what it tells a quality engineer.
Common Mistakes
Using the mean to summarize heavily skewed data (like income).
A few extremely high values pull the mean upward, misrepresenting a 'typical' value. The median is usually a better measure of center for skewed distributions.
Dividing by n instead of n−1 when computing a sample variance.
Dividing by n gives a biased (too-small) estimate of the population variance. Bessel's correction (dividing by n−1) makes the sample variance an unbiased estimator.
Quiz
Summary
- Descriptive statistics summarize a dataset's center (mean, median), spread (variance, standard deviation, IQR), and shape.
- Sample mean x̄ = (1/n)Σxᵢ; sample variance uses Bessel's correction: s² = (1/(n−1))Σ(xᵢ−x̄)².
- The median is robust to outliers; the mean is not.
- Descriptive statistics summarize the sample itself and make no claims about a broader population — that is the job of inferential statistics.
- IQR = Q3 − Q1 captures the spread of the middle 50% of data and is commonly used to detect outliers.
Mathematics