Summarising a messy sample
Descriptive statistics compress a sample into a few numbers: where it sits (location), how spread out it is (scale) and what shape it has. The usual summaries are the mean and the sample standard deviation , with in the denominator because the mean has already been estimated from the same data. They are optimal for clean, bell-shaped data and fragile otherwise.
Real return data has outliers: a crash day, a bad tick, a merger. A single extreme value drags the mean and inflates the standard deviation without limit, which is why they have a breakdown point of zero. Robust alternatives resist that: the median for location, the median absolute deviation (MAD) for scale, and the trimmed mean, which drops a fraction of the smallest and largest values before averaging. Winsorising is similar but clips the extremes instead of discarding them.
- Location: mean (fragile), median and trimmed mean (robust).
- Scale: standard deviation (fragile), MAD and interquartile range (robust).
- Robust is not free: for clean normal data the mean is more precise than the median, so choose by the data you expect.
Lab · what's graded
- The mean10 pts
- The median10 pts
- A trimmed mean15 pts
- The median absolute deviation15 pts
- Which estimators are robust15 pts
- A sample standard deviation15 pts
- One extreme day20 pts