median-absolute-deviation · research · also MAD

Median absolute deviation

Median absolute deviation is the median of the absolute distances between observations and their sample median.

Raw MAD = median(|x - median(x)|), in the observations' units. It describes robust central spread, not the slowest requests. [1]

Normal scaling divides raw MAD by about 0.67449 to estimate a normal population's standard deviation consistently as the sample grows. Report whether this adjustment was used; it is not a universal conversion for skewed latency data. [2]

Synthetic completed latencies [1, 1, 1, 1, 100] ms have median 1 ms and raw MAD 0 ms despite one 100 ms request. A zero MAD can therefore coexist with a long observed tail. The mean of absolute distances is a different statistic. [2] [3]

Relations

related
Coefficient of variation, Quantile, Tail latency, Standard deviation

Citations

  1. NIST Dataplot: Median Absolute Deviation (accessed 2026-11-19)
  2. SciPy: median_abs_deviation, scale and center conventions (accessed 2026-11-19)
  3. Hesela: robust and relative latency spread, fixed arithmetic and reproducible code (accessed 2026-11-19)

JSON: /data/terms/median-absolute-deviation.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Median absolute deviation. Hesela. 2026-11-19. https://hesela.dev/terms/median-absolute-deviation/