Skip to content

Median Absolute Deviation

A robust measure of univariate dispersion defined as the median of the absolute distances from the sample median, resistant to a minority of extreme observations.

Version
v2 · 2026-11-14 · History
Domain-specific #
10649
Domain group
Formal Sciences
Origin domain
Experimental Design & Statistics
Subdomain
Robust Statistics → Experimental Design & Statistics

Core Idea

The median absolute deviation (MAD) is a robust scale statistic for one-dimensional quantitative data. First find the sample median, take every absolute distance from that median, and then take the median of those distances. For the data 1, 1, 2, 2, 4, 6, 9, the center is 2 and the absolute deviations are 1, 1, 0, 0, 2, 4, 7, whose median is 1. For the data 1, 1, 2, 2, 4, 6, 9, the center is 2 and the absolute deviations are 1, 1, 0, 0, 2, 4, 7, whose median is 1.

How would you explain it like I'm…

Middle of the Distances

Line up some numbers and find the one in the middle. Now check how far each number is from that middle one, and find the middle of those distances. That tells you how spread out the numbers usually are, and one really far-away number can't trick it much.

Typical Distance From the Middle

The median absolute deviation, or MAD, tells you how spread out a set of numbers is. First you find the median, the middle number. Then you find how far every number is from it, ignoring whether it's above or below. Then you take the median of those distances. For 1, 1, 2, 2, 4, 6, 9, the middle is 2, the distances are 1, 1, 0, 0, 2, 4, 7, and the middle distance is 1. Because it uses middles instead of averages, a few wild numbers don't change it much.

Robust Spread Measure

The median absolute deviation (MAD) is a robust way to measure the spread of numerical data. You find the median, compute each value's absolute distance from it, and then take the median of those distances. For the data 1, 1, 2, 2, 4, 6, 9, the median is 2, the distances are 1, 1, 0, 0, 2, 4, 7, and the MAD is 1. Compare the standard deviation, which averages squared distances from the mean, so one extreme value can inflate it a lot. MAD uses medians at both steps, so outliers have limited effect. Some people multiply MAD by a constant so it lines up with the standard deviation for normal data, so you should always say which version you're reporting.

 

The median absolute deviation is a robust scale estimator for univariate quantitative data, defined as MAD = median_i |x_i − median(x)|. Both the center and the aggregation of deviations use the median, so a minority of extreme observations has bounded effect, unlike the standard deviation, which is built from the mean and squared deviations. Worked example: for 1, 1, 2, 2, 4, 6, 9 the median is 2, absolute deviations are 1, 1, 0, 0, 2, 4, 7, and their median is 1. In practice the raw MAD is often multiplied by a consistency factor so that it estimates a target scale parameter, most commonly the standard deviation under a normal model. Because raw and scaled versions coexist, any reported MAD should state the formula and scaling convention.

Scope of Application

Use MAD with data units, missing-value treatment, sample/population meaning, raw or scaled convention, tie handling, and intended distribution stated. Use MAD with data units, missing-value treatment, sample/population meaning, raw or scaled convention, tie handling, and intended distribution stated.

  • Robust statistics. Estimates scale under contamination.
  • Outlier detection. Builds robust standardized distances.
  • Quality control. Monitors skewed or heavy-tailed data.
  • Signal processing. Summarizes noise amplitude.
  • Exploratory analysis. Compares spread with medians.

Clarity

MAD can be zero when at least half the observations equal the median, even though other values vary. The closest near miss sets the boundary: Mean absolute deviation from the median is closest: it uses the same distances but averages them, losing the defining median aggregation and some robustness.

Manages Complexity

Robustness does not mean universal efficiency or adequacy. Discrete, asymmetric, multimodal, censored, or very small samples can need different scale descriptions and interval methods. The central outlier resistance–efficiency tradeoff is this: Robustness protects against extremes but can sacrifice precision in ideal light-tailed models. A second simple formula–software convention tension matters because Scaled and raw outputs can share the same name.

Abstract Reasoning

Use three linked moves: confirm one quantitative scale and clean missing values; compute the sample median; form absolute deviations from that median. As a collapse test, the case exits when deviations are centered elsewhere or summarized by something other than their median. A fourth check is to take their median and retain units.

Knowledge Transfer

Median-centered robust distance transfers to residual analysis, but univariate data and the exact two-stage median operation delimit MAD. The nearest stopping boundary is explicit: Mean absolute deviation from the median is closest: it uses the same distances but averages them, losing the defining median aggregation and some robustness. The inclusion test remains: A statistic is MAD when it takes the median of absolute deviations from the sample median under a declared scaling convention. The structure no longer applies when the case exits when deviations are centered elsewhere or summarized by something other than their median. No canonical parent prime is currently asserted; broader structural comparisons remain related-prime analogies until separately adjudicated in the DAG. It supplies both center and aggregation.

Neighborhood in Abstraction Space

Median Absolute Deviation sits in a crowded region of the domain-specific corpus (40th percentile for distinctiveness): several abstractions share nearly its structure, so a description that fits it tends to fit its neighbors too.

Family — Empirical Measurement & Statistical Inference Methods (54 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14