The mean absolute deviation, or MAD, and the interquartile range, or IQR, are measures of variability. Measures of variability tell you how much the values in a data set tend to differ from one another. A greater measure of variability means that the data are more spread out, while a smaller measure of variability means that the data are more consistent and are closer to the measure of center.
To calculate the MAD of a data set:
|data value – mean|
To calculate the IQR, subtract the value of the first quartile from the value of the third quartile. Recall that the first and third quartile are included in the five-number summary.