medianabsolute
Median absolute deviation, commonly abbreviated as MAD, is a robust statistic used to measure the dispersion of a univariate data set. It is defined as the median of the absolute deviations from the data’s median: MAD = median(|xi − median(x)|) for a sample x1, x2, ..., xn. In a population setting with true median m, MAD = median(|X − m|). Because it relies on medians rather than means, MAD is resistant to outliers and extreme values.
Scaling to estimate standard deviation: for data that are approximately normally distributed, MAD can be scaled
Properties and use cases: MAD is notable for its robustness to outliers, making it a preferred scale
Computation and considerations: MAD depends on the median, which makes it more computationally intensive than variance-based