Interactive statistics

56 free interactive lessons: from mean and median to A/B tests and Bayes. Drag the charts and build intuition. No sign-up.

Module 3: Distributions

Skewed data and the long tail

The bell is symmetric. But plenty of real data is lopsided: most values are small, with a long tail of rare large ones stretching right. Remember the salaries with the director from part one β€” that is exactly this case. Drag the skewness slider and watch the mean, median and mode drift apart.

modemedianmean
The tail stretches right. Mean = 0.77, median = 0.67, mode = 0.43. The order "mode β†’ median β†’ mean" points in the direction of the skew.

Skewness is asymmetry: one tail is longer than the other. Push the slider right β€” a long tail stretches right (right skew); left β€” the opposite. On a symmetric distribution (slider centered) the mean, median and mode coincide. As soon as a tail appears, they drift apart.

What it means

Incomes, housing prices, session durations, city sizes β€” almost always right-skewed. Their mean is inflated by the tail, and the median is more honest.

You must recognize the shape before the analysis: skew changes which measures and methods are even allowed.

Where it shows up

Service response time is a classic long tail: almost all requests are fast, but rare slow ones pull the mean up. That is why engineers watch the median and the tail percentiles (95th, 99th), not the mean.

Wealth in society works the same way: the mean fortune is far larger than the median because of a few very rich people.

Definitions
Skewness
asymmetry of a distribution: one tail longer than the other.
Long tail
rare but very large (or small) values stretching far from the hump.
Log-normal
a common skewed shape: the log of the data is normally distributed. Typical for incomes, prices, durations.
Next β†’
Enjoying the materials?

This site is built by the DataSlice Telegram channel: data analytics in plain words β€” real cases, metrics, careers. The channel is in Russian.

Open the Telegram channel