The median absolute deviation (MAD) is calculated as the median of the absolute value of each value, xi, minus the median of x:
where
is the median value of the group
The median absolute deviation is used instead of the mean deviation when the deviation value needs to be less affected by extreme values in the tail. This is due to the fact that the median is less affected by the tail values than the mean is.
See also: