Median absolute deviation
Median absolute deviation, often shortened to MAD, describes spread using the median of distances from a sample median. It resists the influence of a few extreme values.
Remembering
The median is a middle value in sorted data. An absolute deviation drops the sign of a difference. Some applications multiply the raw MAD by a scaling constant.
Understanding
First determine the center. Then compute a distance to that same center for every observation and find the median of those distances.
Applying
For 2, 3, 4, 5 and 100 the median is 4. The absolute deviations are 2, 1, 0, 1 and 96. Sorted, they are 0, 1, 1, 2 and 96, giving a raw MAD of 1.
Analyzing
Changing 100 to 1,000 leaves the raw MAD unchanged in this sample. A dataset with many repeated center values can have MAD zero despite containing some different observations.
Evaluating
Report the scaling convention and retain the unit of the observations. A normal-consistency scaling factor and the raw statistic give different numerical values.
Creating
Construct two seven-value samples with the same median and MAD but different extremes. Plot both to show which features the summary retains.
Related study: Average.
Further reading from NIST/SEMATECH, Measures of Scale and R statistics, Sample Quantiles. Explanations and examples by BloomWiki.