Descriptive Statistics
Concepts and tools for describing and summarizing data clearly and objectively.
https://morrisonkuhlsen.com/en/descriptive-statistics/
Descriptive Statistics
Descriptive Statistics is the branch of Statistics concerned with organizing, summarizing, visualizing and interpreting data. Before building models, making predictions or testing hypotheses, we need to understand what the data are showing, in a way that is clear, objective and easy to see.
What is Descriptive Statistics?
Descriptive Statistics is the researcher’s first contact with the data.
It does not necessarily try to make predictions or generalize to an entire population.
Its main goal is to describe the observed data set.
In other words, it answers questions such as:
- What is a typical value in the data?
- Are the data widely spread out?
- Are there extreme values?
- Is the distribution symmetric or skewed?
- What patterns appear when we organize the data into tables or charts?
Why does Descriptive Statistics matter?
Picture a table with thousands of rows of student grades, service times, sales figures or biological measurements. Looking at all those numbers directly is confusing and not very productive.
Descriptive Statistics solves this by producing numerical and visual summaries.
Organization
Data can be classified, sorted and grouped into tables, which makes a first reading of the phenomenon easier.
Summary
Measures such as the mean, median, mode, variance and standard deviation represent large data sets with just a few numbers.
Visualization
Charts make patterns, trends, spread and skewness much easier to see.
Interpretation
Descriptive analysis turns numbers into practical conclusions, supporting decisions in many different fields.
The main measures of Descriptive Statistics
Descriptive Statistics is usually split into three large groups of measures:
- Measures of central tendency
- Measures of dispersion
- Measures of position
Each group reveals a different aspect of how the data behave.
1. Measures of central tendency
Measures of central tendency show where the data seem to concentrate.
They try to answer the question:
Which value represents this data set well?
Arithmetic mean
The arithmetic mean is one of the best-known measures.
It is found by adding up all the values and dividing by the number of observations.
We can also write:
Where:
- \(\bar{x}\) is the mean;
- \(x_i\) is each observed value;
- \(n\) is the total number of observations.
Example
Consider the grades:
\[6,\ 7,\ 8,\ 9,\ 10\]The mean is:
So the mean grade is 8.
Median
The median is the value in the middle position once the data are sorted.
If the number of observations is odd, the median is the middle value.
If it is even, the median is the mean of the two middle values.
Example with an odd count
Data:
\[3,\ 5,\ 7,\ 9,\ 11\]The median is:
\[7\]Example with an even count
Data:
\[4,\ 6,\ 8,\ 10\]The two middle values are \(6\) and \(8\). So:
Mode
The mode is the value that appears most often in a data set.
Example:
\[2,\ 3,\ 3,\ 4,\ 5,\ 5,\ 5,\ 6\]Here the mode is:
\[5\]because the number 5 appears more times than any other.
2. Measures of dispersion
While measures of central tendency show the “center” of the data, measures of dispersion show how spread out the data are.
Two classes can have the same mean and behave very differently.
For example:
- Class A: \(7,\ 7,\ 7,\ 7,\ 7\)
- Class B: \(2,\ 5,\ 7,\ 9,\ 12\)
Both can have a similar mean, but Class B varies much more.
Range
The range is the difference between the largest and the smallest observed value.
Example:
\[4,\ 6,\ 8,\ 10,\ 15\]We have:
\[x_{\max} = 15\] \[x_{\min} = 4\]Therefore:
Variance
The variance measures how far, on average, the data lie from the mean.
The larger the variance, the more spread out the values.
For a population:
For a sample:
Where:
- \(\sigma^2\) is the population variance;
- \(s^2\) is the sample variance;
- \(\mu\) is the population mean;
- \(\bar{x}\) is the sample mean.
Standard deviation
The standard deviation is the square root of the variance.
It is widely used because it is back in the same unit as the original data.
If the variance is in “points squared”, the standard deviation is measured in “points” again.
3. Measures of position
Measures of position show where a value sits relative to the rest of the data set.
The main ones are:
- quartiles;
- deciles;
- percentiles.
Quartiles
Quartiles split the sorted data into four parts.
| Quartile | Interpretation |
|---|---|
| Q1 | 25% of the data lie below this value. |
| Q2 | 50% of the data lie below this value. It is the same as the median. |
| Q3 | 75% of the data lie below this value. |
Tables and charts in Descriptive Statistics
Besides numerical measures, Descriptive Statistics uses charts to make interpretation easier.
| Chart type | Main use |
|---|---|
| Bar chart | Comparing categories. |
| Histogram | Seeing the distribution of quantitative data. |
| Boxplot | Spotting the median, the quartiles and possible extreme values. |
| Line chart | Following change over time. |
| Scatter plot | Looking at the relationship between two quantitative variables. |
A worked example
Consider the service time, in minutes, of 8 people:
\[5,\ 7,\ 8,\ 8,\ 10,\ 12,\ 15,\ 18\]Mean
The mean service time is approximately:
\[10.38 \text{ minutes}\]Median
Since there are 8 values, the median is the mean of the 4th and 5th values:
\[8 \quad \text{and} \quad 10\]The median is:
\[9 \text{ minutes}\]Mode
The value that repeats most often is:
\[8\]So the mode is:
\[Mo = 8\]Mean, median and mode: when to use each
| Measure | When is it most useful? |
|---|---|
| Mean | When the data have no very strong extreme values. |
| Median | When very high or very low values are distorting the mean. |
| Mode | When we want to find the most frequent value. |
Descriptive Statistics and exploratory analysis
Descriptive Statistics is closely tied to Exploratory Data Analysis, known as EDA.
The idea of exploratory analysis is to investigate the data before applying more advanced models.
Along the way, we look for:
- patterns;
- trends;
- outliers;
- typing errors;
- relationships between variables;
- possible hypotheses for future studies.
Overview
| Category | Main tools | What does it reveal? |
|---|---|---|
| Central tendency | Mean, median and mode | The center of the data. |
| Dispersion | Range, variance and standard deviation | How spread out the data are. |
| Position | Quartiles, deciles and percentiles | Where values sit relative to each other. |
| Visualization | Tables, charts, histograms and boxplots | The shape and patterns of the data. |
Descriptive Statistics is the foundation of all data analysis. It turns isolated observations into organized information, revealing patterns, trends, variation and behavior that would go unnoticed just by looking at the raw data.
“Statistics is the grammar of science.”
— Karl Pearson