Descriptive Statistics Deep Dive: Measures of Center, Spread, and Shape
Master the fundamental descriptive statistics — mean, median, mode, variance, standard deviation, skewness, and kurtosis — and learn when to use each one.
Descriptive Statistics Deep Dive: Measures of Center, Spread, and Shape
Descriptive statistics summarize a dataset with a few key numbers. Instead of looking at thousands of rows, you get a quick picture: where is the center? how spread out are the values? what shape does the data have?
---
The Three Pillars of Descriptive Statistics
| Pillar | Question | Key Measures |
|---|---|---|
| Central Tendency | Where is the middle? | Mean, Median, Mode |
| Dispersion (Spread) | How spread out are values? | Range, Variance, Standard Deviation, IQR |
| Shape | Is it symmetric or skewed? | Skewness, Kurtosis |
Measures of Central Tendency
Mean (Average)
Add all values and divide by the count.
Formula: Mean = Sum of all values / Number of values
| Pros | Cons |
|---|---|
| Uses all data points | Sensitive to outliers |
| Most familiar measure | Misleading for skewed data |
| Good for symmetric data | Not meaningful for categorical data |
Median (Middle Value)
Sort all values and pick the one in the middle. If there is an even number of values, average the two middle ones.
| Pros | Cons |
|---|---|
| Robust to outliers | Ignores the magnitude of extreme values |
| Better for skewed data | Harder to compute mathematically |
| Always exists for ordered data | Less statistically efficient than mean |
Mode (Most Frequent Value)
The value that appears most often.
| Pros | Cons |
|---|---|
| Works for categorical data | May not be unique (multiple modes) |
| Easy to understand | May not exist (all values unique) |
| Shows the peak of the distribution | Ignores most of the data |
Choosing the Right Measure
| Data Characteristic | Best Measure | Why |
|---|---|---|
| Symmetric, no outliers | Mean | Uses all data, most precise |
| Skewed or has outliers | Median | Not affected by extremes |
| Categorical | Mode | Only measure that works for categories |
| Income, house prices | Median | Almost always right-skewed |
| Test scores (roughly normal) | Mean | Symmetric, standard measure |
Measures of Dispersion (Spread)
Range
Formula: Range = Maximum - Minimum
| Pros | Cons |
|---|---|
| Simplest measure | Completely determined by 2 extreme values |
| Quick overview | Very sensitive to outliers |
Variance
The average of the squared deviations from the mean. Measures how far values typically are from the center.
Formula: Variance = Sum of (each value - mean)² / (n - 1)
The result is in squared units (e.g., if data is in dollars, variance is in dollars²), which makes it hard to interpret directly.
Standard Deviation (SD)
The square root of the variance. Same units as the original data.
Formula: SD = √Variance
| SD Size | Interpretation |
|---|---|
| Small SD | Values are tightly clustered around the mean |
| Large SD | Values are widely spread out |
- 68% of values within ±1 SD of the mean
- 95% within ±2 SD
- 99.7% within ±3 SD
Interquartile Range (IQR)
The range of the middle 50% of the data.
Formula: IQR = Q3 - Q1
Where:
- Q1 (25th percentile): 25% of values are below this
- Q3 (75th percentile): 75% of values are below this
| Pros | Cons |
|---|---|
| Robust to outliers | Ignores 50% of the data |
| Good for skewed data | Less precise than SD for normal data |
| Used in box plots | Not as well known |
Comparing Spread Measures
| Measure | Best For | Sensitive to Outliers? |
|---|---|---|
| Range | Quick overview | Very |
| Variance / SD | Normal data, precise analysis | Yes |
| IQR | Skewed data, outlier detection | No |
Measures of Shape
Skewness
Measures whether the data is symmetric or leans to one side.
| Skewness Value | Shape | Mean vs Median |
|---|---|---|
| ≈ 0 | Symmetric | Mean ≈ Median |
| > 0 (positive) | Right-skewed (long right tail) | Mean > Median |
| < 0 (negative) | Left-skewed (long left tail) | Mean < Median |
Kurtosis
Measures how heavy the tails are and how peaked the center is compared to a normal distribution.
| Kurtosis Value | Shape | Interpretation |
|---|---|---|
| ≈ 3 (or excess ≈ 0) | Normal tails | Standard bell curve |
| > 3 (leptokurtic) | Heavy tails, sharp peak | More outliers than expected |
| < 3 (platykurtic) | Light tails, flat top | Fewer outliers than expected |
Why Shape Matters
| Impact | Consequence of Ignoring Shape |
|---|---|
| Statistical tests | t-tests assume normality; results are unreliable for skewed data |
| Mean vs Median | Using the mean on skewed data gives a misleading "average" |
| Outlier detection | Kurtosis tells you how many outliers to expect |
| ML models | Some algorithms assume symmetric, normally distributed features |
Percentiles and Quartiles
Percentiles divide your data into 100 equal parts. The P-th percentile is the value below which P% of the data falls.
| Percentile | Also Known As | Meaning |
|---|---|---|
| P0 | Minimum | Smallest value |
| P25 | Q1 (First Quartile) | 25% of data is below this |
| P50 | Median (Q2) | 50% of data is below this |
| P75 | Q3 (Third Quartile) | 75% of data is below this |
| P100 | Maximum | Largest value |
Five-Number Summary
The five-number summary (Min, Q1, Median, Q3, Max) gives a complete picture of the data and is the basis for box plots.
---
Coefficient of Variation (CV)
Compares spread across datasets with different units or scales.
Formula: CV = (Standard Deviation / Mean) × 100%
| CV | Interpretation |
|---|---|
| < 15% | Low variability |
| 15-30% | Moderate variability |
| > 30% | High variability |
---
Summary Table
| Statistic | What It Measures | Robust to Outliers? | Works for Categorical? |
|---|---|---|---|
| Mean | Center | No | No |
| Median | Center | Yes | No |
| Mode | Center | Yes | Yes |
| Range | Spread | No | No |
| Variance | Spread | No | No |
| Standard Deviation | Spread | No | No |
| IQR | Spread | Yes | No |
| Skewness | Shape | No | No |
| Kurtosis | Shape (tails) | No | No |
| CV | Relative spread | No | No |
What's Next?
- [Probability Distributions](probability-distributions) — Understand the shapes your data can take
- [Statistical Tests Guide](statistical-tests-guide) — Use descriptive stats to choose the right test
- [Data Operations Guide](data-operations-guide) — Compute these stats in the platform
- [Statistics Overview](statistics-overview) — The full statistics workspace
Related Articles
Statistics Overview: What Are Statistics and How to Use Them
A beginner-friendly introduction to statistics, descriptive vs inferential analysis, the Statistics workspace layout, and running your first analysis.
Probability Distributions: Understanding How Data Is Shaped
Learn about the most important probability distributions — Normal, Binomial, Poisson, Uniform, and Exponential — and how they help you understand and model real-world data.
Data Operations Guide: All 15 Transformations Explained
A complete guide to all 15 data operations: label encode, one-hot encode, filter, transpose, rename, date conversion, concatenate, cross tab, rename factor, impute, grouping, drop duplicates, ignore column, delete missing, and data table view.
Statistical Tests
A complete guide to all 14+ hypothesis tests -- when to use each one, how to run them, and how to interpret results.
Was this helpful?