The Median Absolute Deviation Around the Median is a measure of dispersion of a set of data points. It can be used in place of the standard deviation when the weight of outliers shall be reduced.

### Indicator Description

The Median Absolute Deviation Around the Median is a measure of dispersion of a set of data points. It can be used in place of the standard deviation when the weight of outliers shall be reduced.

Calculation: The Median Absolute Deviation of the selected data set is the median of the absolute deviations from the median of the data set.

The Median Absolute Deviation is calculated from price data over the selected lookback period.

- We start with the calculation of a central tendency, such as the mean, median or mode of the selected input data.
- Next we find out how much the data points deviate from the central tendency and calculate the absolute differences dropping any negative signs.
- We take the absolute values of the differences and calculate the median.

The indicator which can be downloaded here is the median absolute deviation around the median, which is often referred to as the “median absolute deviation”.

This calculation is a much more robust measure of dispersion than the standard deviation. Large outliers will have a far lesser impact on the dispersion, when the mean absolute deviation around the median is used instead of the standard deviation.

The Median Absolute Deviation around the median is always smaller than the standard deviation. When the data is normally distributed the standard deviation is about 1.4826 times the Median Absolute Deviation. The exact factor can be derived from the cumulative distribution function of the standard normal distribution.

#### Other Library indicators

Other indicators from the statistical analysis category include the Interquartile Range, Mean Absolute Deviation (Around the Median), Median Absolute Deviation (Around the Median), Moving Mean TPO, Moving Median TPO, Moving Mode TPO, Moving Mean VWTPO, Moving Median VWTPO, Moving Mode VWTPO, Moving Median, Standard Deviation, Volume Weighted Standard Deviation, Volume Weighted Mean Absolute Deviation and the Modified Z Score. You may furthermore review the Raff Channel, Daily Regression Channel and Indicator Spotlight newsletter post on the Linear Regression Channel.

The indicator is available for NinjaTrader 8.