Sample Statistics

The Sample Median Absolute Deviation

The Problem

The median absolute deviation (MAD) is another measure of variability. As it uses the median, it tends to be more resistent to outliers than measures of spread using the mean (like the variance). To illustrate calculating the median absolute deviation, assume that you collected the following 5 data values:

17, 37, 0, 39, 9

Calculate the median absolute deviation of this sample.

Your Answer

In the box below, please enter the sample median absolute deviation of the data given above, then click on the “Check your answer!” button. Please round your answer to the ten-thousandths place.


Show Formula

Show Solution

Show the R Code

Show the Excel Code

© Ole J. Forsberg, Ph.D. 2018. All rights reserved.   .