The k-th percentile is the value below which of observations in a dataset fall. Common percentiles:
- 25th percentile (Q1): lower quartile.
- 50th percentile (Q2): median.
- 75th percentile (Q3): upper quartile.
- 90th, 95th, 99th: tails — used for extremes.
Interquartile range (IQR) = , a robust measure of spread (insensitive to outliers, unlike standard deviation).
Computation: sort data, compute rank , take the -th observation (interpolating between integer ranks). Multiple slightly-different definitions exist — Excel, R, NumPy use different conventions.
Applications: standardised test scores, paediatric growth charts, P99 latency in engineering, box plots. Percentiles are non-parametric — they make no assumption about distribution shape.