Skip to content

Mathematics · Ch 13 — Statistics

Mean Deviation for Ungrouped Data

13.4.1

Mean Deviation for Ungrouped Data

Mean Deviation for Ungrouped Data

When we have nn observations x1,x2,x3,…,xnx_1, x_2, x_3, \ldots, x_n, the mean deviation measures the average distance of each observation from a chosen central value. The central value we use is either the mean (xˉ\bar{x}) or the median (MM). The process follows four clear steps.

The Four-Step Procedure

Step 1: Choose the central value. Decide whether you are finding the mean deviation about the mean or about the median. Call this central value aa.

Step 2: Find the deviations. For each observation xix_i, compute xi−ax_i - a. These deviations can be positive, negative, or zero.

Step 3: Take absolute values. Drop any negative signs to get ∣xi−a∣|x_i - a|. This gives the distance of each observation from aa, regardless of direction.

Step 4: Find the mean of these absolute deviations. Add up all the absolute deviations and divide by nn.

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

When the central value is the mean xˉ\bar{x}, we write:

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

When the central value is the median MM, we write:

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

Note

In this chapter, the symbol MM is used to denote the median unless stated otherwise.

Worked Example 1: Mean Deviation About the Mean

Find the mean deviation about the mean for the data: 6, 7, 10, 12, 13, 4, 8, 12.

Step 1: Compute the mean.

xˉ=6+7+10+12+13+4+8+128=728=9\bar{x} = \frac{6 + 7 + 10 + 12 + 13 + 4 + 8 + 12}{8} = \frac{72}{8} = 9

Step 2: Find the deviations xi−xˉx_i - \bar{x}.

xix_ixi−xˉx_i - \bar{x}
66 - 9 = -3
77 - 9 = -2
1010 - 9 = 1
1212 - 9 = 3
1313 - 9 = 4
44 - 9 = -5
88 - 9 = -1
1212 - 9 = 3

Step 3: Take absolute values ∣xi−xˉ∣|x_i - \bar{x}|.

3,  2,  1,  3,  4,  5,  1,  33, \; 2, \; 1, \; 3, \; 4, \; 5, \; 1, \; 3

Step 4: Compute the mean deviation.

M.D.(xˉ)=18∑i=18∣xi−xˉ∣=3+2+1+3+4+5+1+38=228=2.75\text{M.D.}(\bar{x}) = \frac{1}{8} \sum_{i=1}^{8} |x_i - \bar{x}| = \frac{3 + 2 + 1 + 3 + 4 + 5 + 1 + 3}{8} = \frac{22}{8} = 2.75

Tip

Once you are comfortable with the steps, you can combine them into a single calculation table rather than writing each step separately. The key is to always find the absolute values before summing.

Worked Example 2: Larger Data Set

Find the mean deviation about the mean for: 12, 3, 18, 17, 4, 9, 17, 19, 20, 15, 8, 17, 2, 3, 16, 11, 3, 1, 0, 5.

Step 1: Compute the mean.

xˉ=120∑i=120xi=20020=10\bar{x} = \frac{1}{20} \sum_{i=1}^{20} x_i = \frac{200}{20} = 10

Step 2 and 3: Find the absolute deviations ∣xi−xˉ∣|x_i - \bar{x}|.

xix_i∣xi−10∣\lvert x_i - 10 \rvertxix_i∣xi−10∣\lvert x_i - 10 \rvert
12282
37177
18828
17737
46166
91111
17737
19919
2010010
15555

Step 4: Sum the absolute deviations and divide.

∑i=120∣xi−xˉ∣=2+7+8+7+6+1+7+9+10+5+2+7+8+7+6+1+7+9+10+5=124\sum_{i=1}^{20} |x_i - \bar{x}| = 2 + 7 + 8 + 7 + 6 + 1 + 7 + 9 + 10 + 5 + 2 + 7 + 8 + 7 + 6 + 1 + 7 + 9 + 10 + 5 = 124

M.D.(xˉ)=12420=6.2\text{M.D.}(\bar{x}) = \frac{124}{20} = 6.2

Worked Example 3: Mean Deviation About the Median

Find the mean deviation about the median for: 3, 9, 5, 3, 12, 10, 18, 4, 7, 19, 21.

Step 1: Find the median. First arrange the data in ascending order.

3,3,4,5,7,9,10,12,18,19,213, 3, 4, 5, 7, 9, 10, 12, 18, 19, 21

There are 11 observations (odd). The median is the (11+12)th=6th\left(\frac{11+1}{2}\right)^{\text{th}} = 6^{\text{th}} observation.

M=9M = 9 …