Skip to content

Mathematics · Ch 13 — Statistics

Mean Deviation for Grouped Data

4

Mean Deviation for Grouped Data

For grouped data — where each distinct value (or each class interval, represented by its midpoint) carries an associated frequency fif_i — the mean deviation formulas of the previous section are adapted by weighting each absolute deviation by how many times it actually occurs.

Discrete frequency distribution. If the distinct values x1,x2,…,xkx_1,x_2,\ldots,x_k occur with frequencies f1,f2,…,fkf_1,f_2,\ldots,f_k respectively, and N=∑fiN=\sum f_i is the total number of observations, the mean is xˉ=1N∑fixi\bar x = \dfrac{1}{N}\sum f_i x_i, and the mean deviation about the mean is

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

The mean deviation about the median, M.D.(M)=1N∑fi∣xi−M∣\text{M.D.}(M)=\dfrac1N\sum f_i|x_i-M|, is defined the same way, with MM found from the cumulative frequencies of the discrete distribution.

Continuous frequency distribution. When the data is organised into class intervals, each class is first represented by its midpoint (also called the class mark), xi=lower limit+upper limit2x_i = \dfrac{\text{lower limit}+\text{upper limit}}{2}, and the same discrete-style formula is then applied treating the midpoints as the xix_i values:

xˉ=1N∑fixi,M.D.(xˉ)=1N∑fi ∣xi−xˉ∣.\bar x = \dfrac1N\sum f_i x_i, \qquad \text{M.D.}(\bar x)=\dfrac1N\sum f_i\,|x_i-\bar x|.

This midpoint substitution is an approximation — it assumes every observation within a class is located at that class's midpoint — but it is the standard, universally used convention, and becomes more accurate as the class width narrows.

Steps to compute (both cases).

  1. Find N=∑fiN=\sum f_i and the mean xˉ=1N∑fixi\bar x = \dfrac1N\sum f_i x_i (using class midpoints for continuous data).
  2. Find the absolute deviation ∣xi−xˉ∣|x_i-\bar x| of every distinct value/midpoint from xˉ\bar x.
  3. Multiply each absolute deviation by its frequency: fi ∣xi−xˉ∣f_i\,|x_i-\bar x|.
  4. Sum this column and divide by NN. …
Table 1Mean deviation about the mean for a grouped frequency distribution (marks of 50 students)

| Class interval | Frequency fif_i | Midpoint xix_i | ∣xi−xˉ∣|x_i-\bar x| (mean =26=26) | fi∣xi−xˉ∣f_i|x_i-\bar x| |

|---|---|---|---|---|

| 0-10 | 6 | 5 | 21 | 126 |

| 10-20 | 9 | 15 | 11 | 99 |

| 20-30 | 15 | 25 | 1 | 15 |

| 30-40 | 14 | 35 | 9 | 126 | …