The procedure for computing the quartiles, deciles etc are same as the median while computing these values in individual and discrete series we add 1 to N whereas in continuous series we do not add 1.
Thus Q1 = size of [(N + 1)/4]th item (individual observations and discrete series)
Q1 = size of N/4 (in continuous series)
Q3 = size of 3 (N +1) /4th item (in individual and discrete series)
Q3 = size of 3N / 4th item (in continuous series)
D4 = size of 4(N+1) / 10th item (in individual and discrete series)
D4 = size of 4N / 10th item (in continuous series)
P60 = size of 60 (N +1) / 100th item (in individual and discrete series)
P60 = size of 60 N / 100th item (in continuous series)
Illustration:
Calculate the lower and upper quartiles third docile and 20th percentile from the following data
Central value |
2.5 |
7.5 |
12.5 |
17.5 |
22.5 |
Frequency |
7 |
18 |
25 |
30 |
20 |
Solution:
As we are given mid-points we will first do the lower and upper limits of the various classes. The method for finding these limits is to take the difference between the two central values divide it by 2 and then deduct the values so obtained from the lower limit and add it to the upper limit in the given case 7.5 - 2.5 / 2 = 5/2 = 2.5 the first class should be 0-5 second 5-10 etc,
Calculation of Q1 Q2 D3 P20
Class group |
F |
c.f |
0-5 |
7 |
7 |
5-10 |
18 |
25 |
10-15 |
25 |
50 |
15-20 |
30 |
80 |
20-25 |
20 |
100 |
|
N=100 |
|
Lower quartile Q1 = size of N/4th item = 100 / 4 = 25th item
Q1 lies in the class 5 -10
Q1 = L+ N/4 – c.f / f xi
L = 5 N/4 = 25, c.f = 7,f = 18 / = 5
Q1 = 5 + 25 – 7 / 18 X 5 = 10
Upper quartile Q3 = size of 3 N / 4th item = 3 X 100 / 4 = 75th item
Q3 lies in the class 15 – 20
Q3 = L + 3N / 4 – c.f / f x i
L + 15, 3N/4 = 75, c.f = 50, f = 30 I + 5
∴ Q3 = 15 + 75 – 50 / 30 x 5 = 15 + 4.17 = 19.17
Third docile
D3 = size of 3N/10th item = 3 x100/10 = 30th item
D3 lies in the class 10 – 15
D3 = L+ 3 N / 10 – c.f / f x I
L = 10, 3N/10 = 30, c.f = 25 f = 25, I = 5
D3 = 10 + 30 – 25 / 25 x 5 = 10 + 1 + 11
Twentieth percentile
P20 = size of 20N / 100th item = 20 X 100 / 100 = 20th item
P20 = L+ 20N/100-c.f / f x i
L = 5, 20 N/ 100 = 20 c.f = 7, f = 18 i=5
P20 = 5 +20 – 7 / 18 x 5+ 5 + 3.61 + 8. 61.