> For the complete documentation index, see [llms.txt](https://stephanosterburg.gitbook.io/scrapbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stephanosterburg.gitbook.io/scrapbook/math/statistics-and-probability/mean-absolute-deviation-mad.md).

# Mean Absolute Deviation (MAD)

example 1: 2, 2, 4, 4 => mean = 3

$$\frac{\vert 2-3 \vert + \vert 2-3 \vert + \vert 4-3 \vert + \vert 4-3 \vert}{4} = 1$$

example 2: 1, 1, 6, 4 => mean = 3

$$\frac{\vert 1-3 \vert + \vert 1-3 \vert + \vert 6-3 \vert + \vert 4-3 \vert}{4} = 2$$
