Lesson 8 · Standard Deviation

Mean Deviation

Optional MathematicsSubject
8 minEstimated read

Spread and the Centre of Data

A mean, a median or a mode gives one value that stands for a whole set of data. That value is called a central value or an average. But an average alone does not tell the whole story. Two classes can both have an average mark of 50, while in one class every student scored between 45 and 55 and in the other the marks run from 10 to 90. The averages are equal, yet the two sets of marks behave very differently.

How widely the items are scattered around the central value is called dispersion. Range and quartile deviation measure dispersion using only a few items of the data. Mean deviation goes further: it uses every single item, by measuring how far each one lies from the centre.

What Mean Deviation Is

Take any item X and a central value such as the mean. The difference \( X - \bar{X} \) is the deviation of that item. Items above the centre give positive deviations and items below it give negative ones. If we simply added these deviations, the positives and negatives would cancel out. In fact, deviations taken from the mean always add up to exactly zero, so their plain average tells us nothing.

The way out is to ignore the signs and keep only the size of each deviation, that is, its distance from the centre. This size is written with two straight bars, \( |X - \bar{X}| \), and is called the absolute deviation. For example, \( |-6| = 6 \) and \( |6| = 6 \): an item 6 below the centre and an item 6 above it are both 6 away.

Each item's distance from the centre is counted as positive, whichever side of the centre the item lies on.
Each item's distance from the centre is counted as positive, whichever side of the centre the item lies on.
Definition

Absolute deviation: the distance of an item from the central value, found by subtracting and then ignoring the sign. It is written \( |X - \bar{X}| \) when taken from the mean and \( |X - M_d| \) when taken from the median.

Definition

Mean deviation (MD): the mean of the absolute deviations of the items taken from a central value (mean, median or mode) of the data. It is also called the mean absolute deviation.

For a set of N items, the definition becomes the formula below, where \( \bar{X} \) stands for the central value of the data:

\[ \text{MD} = \frac{\sum |X - \bar{X}|}{N} \]

A small mean deviation means the items crowd closely around the centre. A large one means they are spread far out. The mean deviation is always in the same unit as the data: if the data are in rupees, the mean deviation is in rupees too.

Why the Median Is Preferred

Mean deviation can be calculated either from the mean or from the median. Of the two, the median is preferred. The reason is a special property: when the signs are ignored, the sum of the deviations taken from the median is the smallest possible. No other value, not even the mean, gives a smaller total of absolute deviations.

You can see this with the marks 40, 44, 54, 60 and 62. Their median is 54 and their mean is \( 260 \div 5 = 52 \). Measured from the median, the distances are 14, 10, 0, 6 and 8, which add up to 38. Measured from the mean, the distances are 12, 8, 2, 8 and 10, which add up to 40. The total from the median is the smaller one.

Key idea

The sum of absolute deviations is least when they are taken from the median. That is why mean deviation from the median is the preferred form.

Formulas for Individual and Discrete Series

In an individual series, every item is listed separately, like 12, 15, 18, 20. Each item appears once in the sum, so we add the absolute deviations directly.

\[ \text{MD from mean} = \frac{\sum |X - \bar{X}|}{N} \]

\[ \text{MD from median} = \frac{\sum |X - M_d|}{N} \]

Here \( \bar{X} \) is the mean of the data, \( M_d \) is the median and N is the number of items.

In a discrete series, each value X comes with a frequency f telling how many times it occurs. A value that occurs 8 times has its distance counted 8 times, so each absolute deviation is multiplied by its frequency before adding.

\[ \text{MD from mean} = \frac{\sum f|X - \bar{X}|}{N} \]

\[ \text{MD from median} = \frac{\sum f|X - M_d|}{N} \]

In a discrete series, N is the total frequency, \( N = \sum f \), not the number of different values in the table.

Common mistake

In a discrete series, divide by the total frequency N, not by the number of columns. A table with five values of X and frequencies adding to 25 has N = 25.

Coefficient of Mean Deviation

Mean deviation carries the unit of the data, so it cannot be used directly to compare two series measured in different units, or series whose averages are very different. A spread of 5 kg means a lot for babies' weights and very little for elephants' weights. To compare, we divide the mean deviation by the average it was taken from. The result is a pure number with no unit.

Definition

Coefficient of mean deviation (CMD): the mean deviation divided by the average from which the deviations were taken. It is a relative measure used to compare the dispersion of two series.

\[ \text{CMD from mean} = \frac{\text{MD}}{\bar{X}} \]

\[ \text{CMD from median} = \frac{\text{MD}}{M_d} \]

If the deviations were taken from the mean, divide by the mean. If they were taken from the median, divide by the median. Of two series, the one with the smaller coefficient is the more consistent, or less scattered, one.

Match the divisor

Never mix the two. A mean deviation found from the median must be divided by the median, and one found from the mean must be divided by the mean.

Example: Mean Deviation from the Mean (Individual Series)

Find the mean deviation from the mean and its coefficient for the marks of five students in a quiz: 4, 7, 9, 12, 18.

Step 1: Finding the mean by adding the items and dividing by N = 5:

\[ \bar{X} = \frac{4 + 7 + 9 + 12 + 18}{5} = \frac{50}{5} = 10 \]

Step 2: Subtracting the mean from each item and then dropping the signs. The table keeps the work in order:

X\( X - \bar{X} \)\( |X - \bar{X}| \)
4-66
7-33
9-11
1222
1888
N = 5\( \sum |X - \bar{X}| = 20 \)

Notice that the middle column adds up to 0, which is exactly why the signs must be ignored.

Step 3: Dividing the sum of absolute deviations by N:

\[ \text{MD} = \frac{\sum |X - \bar{X}|}{N} = \frac{20}{5} = 4 \]

Step 4: Dividing the mean deviation by the mean, since the deviations came from the mean:

\[ \text{CMD} = \frac{\text{MD}}{\bar{X}} = \frac{4}{10} = 0.4 \]

So, on average, a mark lies 4 marks away from the mean mark of 10.

Example: Mean Deviation from the Median (Individual Series)

Find the mean deviation from the median and its coefficient of the data 40, 44, 54, 60, 62.

Step 1: Arranging the data in ascending order, which the median needs. Here it is already in order:

\[ 40,\ 44,\ 54,\ 60,\ 62 \]

\[ N = 5 \]

Step 2: Finding the position of the median with the rule \( \left(\frac{N+1}{2}\right)^{\text{th}} \) item:

\[ M_d = \left(\frac{5 + 1}{2}\right)^{\text{th}} \text{ item} = 3^{\text{rd}} \text{ item} = 54 \]

Step 3: Making a table of the deviations from the median, \( X - M_d \), and their absolute values, \( |X - M_d| \):

Deviations of 40, 44, 54, 60 and 62 from the median 54, with the signs dropped in the last column.
Deviations of 40, 44, 54, 60 and 62 from the median 54, with the signs dropped in the last column.

Step 4: Dividing the sum of absolute deviations by N:

\[ \text{MD} = \frac{\sum |X - M_d|}{N} = \frac{38}{5} = 7.6 \]

Step 5: Dividing the mean deviation by the median:

\[ \text{CMD} = \frac{\text{MD}}{M_d} = \frac{7.6}{54} = 0.14 \]

When N is even there is no single middle item. The \( \left(\frac{N+1}{2}\right)^{\text{th}} \) item then falls halfway between two items, and the median is the average of those two. For 12, 13, 14, 15, 16, 17 the median is the 3.5th item, which is \( \frac{14 + 15}{2} = 14.5 \).

Example: Mean Deviation from the Median (Discrete Series)

A survey asked 22 students how many books they read in a month. Find the mean deviation from the median and its coefficient.

Books read (X)246810
No. of students (f)35842

Step 1: Writing the cumulative frequency (c.f.) of each value, so that we can see which value holds each position. Then working out \( |X - M_d| \) and \( f|X - M_d| \) once the median is known:

Xfc.f.\( |X - M_d| \)\( f|X - M_d| \)
233412
458210
681600
842028
1022248
N = 22\( \sum f|X - M_d| = 38 \)

Step 2: Finding the position of the median:

\[ M_d = \left(\frac{22 + 1}{2}\right)^{\text{th}} \text{ item} = 11.5^{\text{th}} \text{ item} \]

Step 3: Reading the median from the c.f. column. The cumulative frequency just greater than 11.5 is 16, and its value is 6, so:

\[ M_d = 6 \]

Step 4: Dividing the sum of \( f|X - M_d| \) by the total frequency:

\[ \text{MD} = \frac{\sum f|X - M_d|}{N} = \frac{38}{22} = 1.73 \]

Step 5: Dividing the mean deviation by the median:

\[ \text{CMD} = \frac{\text{MD}}{M_d} = \frac{1.73}{6} = 0.29 \]

Example: Mean Deviation from the Mean (Discrete Series)

Find the mean deviation from the mean and its coefficient of the data given below:

Values of X with their frequencies f.
Values of X with their frequencies f.

Step 1: Making one table that gives fX first, for the mean, and then the deviations. The deviation columns can only be filled after the mean is found in Step 2, but it is neat to keep them in the same table:

Working table for the mean and the mean deviation from the mean, first three rows.
Working table for the mean and the mean deviation from the mean, first three rows.
The last two rows of the same table, with the column totals N = 25, \( \sum fX = 550 \) and \( \sum f|X - \bar{X}| = 128 \).
The last two rows of the same table, with the column totals N = 25, \( \sum fX = 550 \) and \( \sum f|X - \bar{X}| = 128 \).

Step 2: Finding the mean from the fX column:

\[ \bar{X} = \frac{\sum fX}{N} = \frac{550}{25} = 22 \]

Step 3: Subtracting 22 from each X, dropping the sign, and multiplying by f. For X = 15, for example, \( |15 - 22| = 7 \) and \( 4 \times 7 = 28 \). Adding the last column gives 128. Dividing by N:

\[ \text{MD} = \frac{\sum f|X - \bar{X}|}{N} = \frac{128}{25} = 5.12 \]

Step 4: Dividing the mean deviation by the mean, because the deviations were taken from the mean:

\[ \text{CMD} = \frac{\text{MD}}{\bar{X}} = \frac{5.12}{22} = 0.233 \]

Method at a Glance

Every mean deviation question follows the same path. Only the central value and the use of f change.

  • Decide which central value the question asks for: the mean or the median.
  • For the median, arrange the data in ascending order. In a discrete series, add a c.f. column.
  • Find the central value: \( \bar{X} = \frac{\sum X}{N} \) or \( \frac{\sum fX}{N} \), or the \( \left(\frac{N+1}{2}\right)^{\text{th}} \) item for the median.
  • Subtract the central value from each item and drop the sign.
  • In a discrete series, multiply each absolute deviation by its frequency.
  • Add the absolute deviations and divide by N to get MD.
  • Divide MD by the same central value to get the coefficient.
SeriesMD from meanMD from median
Individual\( \frac{\sum |X - \bar{X}|}{N} \)\( \frac{\sum |X - M_d|}{N} \)
Discrete\( \frac{\sum f|X - \bar{X}|}{N} \)\( \frac{\sum f|X - M_d|}{N} \)
Coefficient\( \frac{\text{MD}}{\bar{X}} \)\( \frac{\text{MD}}{M_d} \)
🔐

The full lesson is waiting for you

The notes are free to read in full. A free account opens the rest of the practice, and tracks your progress and confidence score for every subject. Presentations and videos need approval from Learn Yeti.