Descriptive statistics
Descriptive statistics are the numbers, tables and charts that summarise a set of observed values, such as the mean, median, standard deviation, counts and percentages. They describe the data in hand and draw no conclusion beyond it.
What it is
Descriptive statistics are summary figures that describe a set of observed values: where the values centre, how far they spread and how they are distributed. They report what the data shows. They do not test whether the pattern would hold in other data, which is the task of inferential statistics.
The usual summaries fall into groups:
- Centre: the mean is the sum of all values divided by their number. The European Commission glossary defines the median as the value that falls exactly in the middle, with half of the cases above and half below. The mode is the most frequent value.
- Spread: the range (largest minus smallest), the interquartile range and the variance. The Eurostat glossary describes the standard deviation as the most widely used measure of dispersion, equal to the positive square root of the variance.
- Shape: skewness shows whether the values lean to one side. Kurtosis shows how heavy the tails are.
- Association: the correlation between two variables.
- Categories: counts and percentages per category.
The standard deviation of a sample is:
s = square root of [ sum of (x_i - mean)^2 / (n - 1) ]
Here x_i is each value, mean is the sample mean and n is the number of values. A whole population uses n instead of n - 1.
Why it matters
Raw data is too large to read. A few well-chosen summaries show what is typical, how variable it is and whether something looks wrong, before any model or decision is built on it.
The same summaries expose problems early. An impossible minimum, a mean far from the median or a count that does not match the source points to errors that data cleaning then investigates.
Worked example
Illustrative numbers. Five expense claims are 10, 12, 12, 14 and 52.
- Mean: 100 / 5 = 20.
- Median: the middle of the sorted values is 12.
- Mode: 12, the value that appears twice.
- Range: 52 - 10 = 42.
- Standard deviation: the deviations from the mean are -10, -8, -8, -6 and 32. Their squares sum to 1,288. Divided by 4 this is 322, and the square root is about 17.9.
The mean of 20 is higher than four of the five claims, because one large value pulls it up. The median of 12 describes the typical claim better here.
How to read it
A mean well above the median signals a long upper tail or an outlier. A mean close to the median suggests a roughly symmetric set.
The standard deviation is in the same units as the data. A larger value means the values lie further from the mean. A centre figure is read together with a spread figure, and a chart of the distribution is checked before the summary is trusted.
Assumptions
- The data has been checked for errors, because every summary inherits them.
- The statistic suits the type of data: a mean needs numeric values, while a mode is the usual summary for categories.
- The group described is stated, whether a sample or the whole population.
Who uses it
- Data analysts and data scientists produce summary tables and distributions as the first step of any analysis.
- Business intelligence analysts report averages, medians and counts in dashboards.
- Financial planning analysts summarise historical results and their variability before building a forecast.
- Credit risk analysts and model risk and validation staff describe model inputs and outputs by centre and spread.
- Performance analysts summarise return series by their mean and standard deviation.
Common confusions
- Descriptive versus inferential statistics: descriptive figures summarise the data at hand, while inference estimates something about a wider population from a sample.
- Mean versus median: the mean uses every value and moves with extremes, while the median depends only on the middle position.
- Standard deviation versus variance: the variance is in squared units, while the standard deviation returns to the original units.
- Correlation versus causation: a correlation describes how two variables move together and says nothing about why.