Questions tagged [mad]

Median Absolute Deviation (MAD) is a measure of variability in a sample of data, and is often used as an alternative to measures like standard deviation since it is more resistant to outliers. Use the [mae] tag if you are asking about the point forecast accuracy measure called MAD or MAE.

The MAD (Median Absolute Deviation from the median) of a sample $X_1, X_2, ..., X_n$ is

$$ {\rm MAD} = {\rm median}_{i} (|X_i - M|) $$

where

$$ M = {\rm median}( \{X_1, X_2, ..., X_n \} ) $$

It is used as a measure of dispersion in a data set for being a robust alternative to measures like the observed standard deviation, since it is less sensitive to outliers. It is not to be confused with the mean absolute deviation, $\mathbb E^X\{|X-\mathbb E^X[X]]\}$ or its empirical version.

66 questions
5
votes
1 answer

Median absolute deviation: impact/bias when forcing a median of zero

I want to estimate the median absolute deviation (MAD) of a signal. The MAD is defined as the median of the absolute difference between the signal and its median. Now I have a signal that I know for a fact has a median of zero. Its empirical median…
P-Gn
  • 147
  • 8
0
votes
1 answer

Only four values per site - how do I detect outliers (with MAD)?

I have four weights. I want to test if there is an outlier within those four weights. To me, the number seems quite small to detect outliers. I thought that the Median Absolute Deviation (MAD) may be a way to detect outliers. I used it in R with…