Skip to content

Mathematics · Ch 13 — Statistics

Mean Deviation about the Mean and Median (Ungrouped Data)

3

Mean Deviation about the Mean and Median (Ungrouped Data)

Mean deviation (also called mean absolute deviation) measures the average distance of the observations from a fixed central value — usually the mean or the median — treating every distance as a positive quantity regardless of whether the observation lies above or below that central value.

Why absolute value, and not the plain (signed) deviation? If the signed deviations xi−xˉx_i-\bar x were simply averaged, the result would always be exactly zero for the mean, since by definition ∑(xi−xˉ)=∑xi−nxˉ=nxˉ−nxˉ=0\sum(x_i-\bar x)=\sum x_i - n\bar x = n\bar x - n\bar x = 0 — the positive deviations (observations above the mean) always exactly cancel the negative deviations (observations below the mean). A similar near-cancellation happens around the median. So a plain average of signed deviations can never measure spread; it is identically zero no matter how scattered the data is. Taking the absolute value ∣xi−xˉ∣|x_i-\bar x| of each deviation before averaging removes the sign, so that a value 1010 units above the mean and a value 1010 units below the mean both contribute the same positive amount (1010) to the total spread, instead of cancelling to 00.

Mean deviation about the mean, for ungrouped data. If x1,x2,…,xnx_1,x_2,\ldots,x_n is the data with mean xˉ=1n∑i=1nxi\bar x = \dfrac1n\sum_{i=1}^n x_i, the mean deviation about the mean is

M.D.(xˉ)=1n∑i=1n∣xi−xˉ∣.\text{M.D.}(\bar x) = \dfrac{1}{n}\sum_{i=1}^{n}|x_i-\bar x|.

Mean deviation about the median, for ungrouped data. If MM denotes the median of the data (the middle value when the data is arranged in ascending order — the average of the two middle values when nn is even), the mean deviation about the median is

M.D.(M)=1n∑i=1n∣xi−M∣.\text{M.D.}(M) = \dfrac{1}{n}\sum_{i=1}^{n}|x_i-M|.

Steps to compute mean deviation about the mean (ungrouped).

  1. Find the mean xˉ\bar x of the data.
  2. Find the absolute deviation ∣xi−xˉ∣|x_i-\bar x| of every observation from xˉ\bar x.
  3. Sum these absolute deviations and divide by nn.

The same three steps apply to the mean deviation about the median, using MM in place of xˉ\bar x throughout. (When nn is odd, the median is the unique middle value of the sorted data; when nn is even, it is the average of the two middle values — this second case is illustrated in the exercises.) …