Measures of Variation
Measures of Variation
2+2+3+4+14 25
Clearly the median=3 and the mean, X̄ = 5 = 5 =5
For grouped
Pn
data say with k groups, the Mean deviation is given by;
i=1 fi ×(|Xi −X̄ |)
MD= n
Where xi represent the class mark for the i th class
the frequency of the i th class, and
fi is P
k
n = i=1 fi
Similarly the
PnMedian deviation is given by; Median
f ×(|X −median|)
deviation= i=1 i ni
Where xi , fi and n are defined as before.
Length No of carrots
150-154 5
155-159 2
160-164 6
165-169 8
170-174 9
175-179 11
180-184 6
185-189 3
50
5 Variance
To find the indicator of the overall variation, we take the average of the
squared deviations.
If the deviations are squared and averaged over all the observations, this
yields a measure called variance.
The variance is useful for comparing the variability of two or more separate
data sets that have approximately the same mean.
The data set with the smaller(smallest) value of the variance has less (the
least) variability of measurements around the mean.
The square root of the variance is called the standard deviation.
√ √
Then the standard deviation is given as Var = 44.714 = 6.761
Notice
Pn that the sum of deviation is always =o, ie
i=1 (X I − X̄ ) = 0
Variance & Standard deviation for grouped Data
As mentioned before, for grouped data the observations in a class are
represented by the class mark, xi , with k number of groups (classes)
Then the variance
Pk can be calculated as follows:
(x −x̄)2 fi
Var(x) = i=1 ni which can be writen as
Pk
xi2 fi −nx̄ 2
Var(x) = i=1
n
The following data represent the scores of 9 students in a test out of 15 marks.
11, 8, 13, 6, 12, 7, 10, 9, 11
Compute:
i Mean deviation
ii Median deviation
iii The variance
iv The standard deviation
Table: Table 1