Measure of dispersion

How spread out is the data?

Two datasets can share a mean and still look nothing alike. Drag a dot and watch which measures of spread react, and which ones barely move.

Range
12
max − min
IQR
5
middle half
Mean absolute deviation
2.67
average distance
Standard deviation
3.32
root mean square
Variance
11
standard deviation squared

Distance from the mean

deviations
drag any dot

Each bar is one value's distance from the mean, in the data's own units.

Mean absolute deviationMAD=1n∑i=1n∣xi−xˉ∣=3212=2.67\mathrm{MAD}=\frac{1}{n}\sum_{i=1}^{n}|x_i-\bar{x}|=\frac{32}{12}=2.67
Why squares, not distances?