Chapter 2B QS (PC)
Chapter 2B QS (PC)
Measures of Dispersion
➢ Measures of dispersion help us to understand the spread or
variability of a set of data. It gives additional information to judge
the reliability of the measure of central tendency and helps in
comparing dispersion that is present in various samples.
➢ Two data sets can have the same mean, the same median, or the
mode and yet they are very different in other respects.
➢ Example: consider the heights (cm) of five employees from each
of the sales and production departments as shown:
Sales department: 183 185 193 193 198
Production department: 170 183 193 193 213
The two groups have the same mean heights, 190.4cm, the same median heights,
193cm, and the same modal heights, 193cm.
Nonetheless, it is clear that the two data sets differ. To describe this difference
quantitatively, we use a measure of dispersion.
1
Eg 1: Find the range for the following data.
10 15 17 20 25 29 30 35 38 40 45
Solution: Range = 45 – 10 = 35
2
Quartile Deviation (semi-interquartile range)
𝑄3 −𝑄1
QD = where 𝑄1 = lower quartile or first quartile
2
53 58 68 73 75 76 79 80 85 88 91 99
12+1
a) Q1 = ( ) 𝑡ℎ = 3.25th = 68 + 0.25(73 – 68) = 69.25
4
3(12+1)
Q3 = ( ) 𝑡ℎ = 9.75th = 85 + 0.75(88 – 85) = 87.25
4
3
Eg 4: The following are the ages of nine employees of an insurance
company.
47 28 39 51 33 37 59 24 33
Find the quartile deviation.
24 28 33 33 37 39 47 51 59
9+1
Q1 = ( ) 𝑡ℎ = 2.5th =28 + 0.5(33 – 28) = 30.5
4
3(9+1)
Q3 = ( ) 𝑡ℎ =7.5th = 47 + 0.5(51 – 47) = 49
4
49−30.5
QD = = 9.25
2
Value
5
62 LQ1=17.5
(a) Q1 = value of the th = value of the 15.5 th item
4 cQ1=5
Q1 class: 17.5 – 22.5 fQ1=22
5 fq1-1=2
Q1 = 17.5 + 22 [15.5 − 2] = 20.57
3(62)
Q3 = value of the th = value of the 46.5 th item
4
LQ3=27.5
Q3 class: 27.5 – 32.5
cQ3=5
5
Q3 = 27.5 + 14 [46.5 − 34] = 31.96 fQ3=14
fq3-1=34
31.96−20.57
Quartile deviation = = 5.695
2
(b)
Q1 = 20.5
25% of the days are having production less than or equal to 20.5
units and the other 75% of the days are more than or equal to 20.5
units.
6
Q3 = 32
75% of the days are having production less than or equal to 32
units and the other 25% of the days are more than or equal to 32
units.
32−20.5
Quartile deviation = = 5.75
2
(∑ 𝑥)2
∑ 𝑥2 −
Sample standard deviation : 𝑠 = √𝑠 2 = √ 𝑛
𝑛−1
s = √5.7 = 2.39
∑ 𝑥2 ∑𝑥 2 5920.465 176.8 2
=
2
−(𝑁) = −( ) = 118.460
𝑁 6 6
= √118.460 = 10.88
8
2) For grouped data
2
(∑ 𝑓𝑥)
∑ 𝑓𝑥 2 ∑ 𝑓𝑥 2 ∑ 𝑓𝑥 2 −
𝜎2 = ∑𝑓
− (∑ ) and 𝑠2 = 𝑛
𝑓 𝑛−1
2
2 (∑ 𝑓𝑥)
∑ 𝑓𝑥 −
Sample standard deviation : 𝑠 = √𝑠 2 = √ 𝑛
𝑛−1
9
Solution:
x f fx fx2
1 3 3 3
2 4 8 16
3 8 24 72
4 2 8 32
5 3 15 75
f= 20 fx= 58 fx2= 198
∑ 𝑓𝑥 2 ∑ 𝑓𝑥 2 198 58 2
St. dev = √ ∑𝑓
− ( ∑ 𝑓 ) = √ 20 − (20) = 1.22
10
x f fx fx2
5 4 20 100
15 9 135 2025
25 6 150 3750
35 4 140 4900
45 2 90 4050
f = 25 fx = 535 fx2 = 14825
∑ 𝑓𝑥 2 ∑ 𝑓𝑥 2 14825 535 2
Variance = ∑𝑓
− ( ∑𝑓 ) = − ( 25 ) = 135.04
25
No. of orders f
10 – 12 4
13 – 15 12
16 – 18 20
19 – 21 14
11
x f fx fx2
11 4 44 484
14 12 168 2352
17 20 340 5780
20 14 280 5600
f = 50 fx = 832 fx2 = 14216
2 2
(∑ 𝑓𝑥) (832)
∑ 𝑓𝑥 2 − 14216−
𝑛 50
Variance = = = 7.582
𝑛−1 50−1
Coefficient of Variation
➢ Useful for relative comparison.
𝑠𝑡𝑎𝑛𝑑𝑎𝑟𝑑 𝑑𝑒𝑣𝑖𝑎𝑡𝑖𝑜𝑛
CV = × 100%
𝑚𝑒𝑎𝑛
23.0
CV of Machine B = 281.3 × 100% = 8.18%
To get some basic statistics from the data, follow the following
procedure:
13
14
15