Grouped Data Calculation PDF
Grouped Data Calculation PDF
Calculation
Mean, Median and Mode
2. First Quantile, third Quantile and
Interquantile Range.
1.
4
12
20
14
n = 50
Solution:
Number
of order
10 12
13 15
16 18
19 21
fx
4
12
20
14
n = 50
11
14
17
20
44
168
340
280
= 832
fx = 8 3 2 = 1 6 .6 4
n
50
2 - F
+
i
f
m
Where:
n = the total frequency
F = the cumulative frequency before class median
f = the frequency of the class median
m
Frequency
8
14
12
9
7
Solution:
1st Step: Construct the cumulative frequency distribution
Time to travel
to work
1 10
11 20
21 30
31 40
41 50
So,
Frequency
8
14
12
9
7
n 50
class median is the 3rd class
=
= 25
2
2
F = 22, fm = 12, L = 20.5 and i = 10
m
Cumulative
Frequency
8
22
34
43
50
Therefore,
n
Median = Lm + 2
i
f
m
25 - 22
= 21.5 +
10
12
= 24
Thus, 25 persons take less than 24 minutes to travel to work and another 25 persons
take more than 24 minutes to travel to work.
Quartiles
Using the same method of calculation as in the Median,
we can get Q1 and Q3 equation as follows:
n
4-F
Q1 = LQ1 +
f Q1
3n
4 -F
Q3 = LQ3 +
f Q3
Example: Based on the grouped data below, find the Interquartile Range
Frequency
8
14
12
9
7
Solution:
1st Step: Construct the cumulative frequency distribution
Time to travel
Frequency
to work
1 10
8
11 20
14
21 30
12
31 40
9
41 50
7
2nd Step: Determine the Q1 and Q3
n 50
=
= 12 . 5
4
4
Class Q1 is the 2nd class
Therefore,
Class Q 1 =
Cumulative
Frequency
8
22
34
43
50
n
4 -F
Q1 = LQ1 +
fQ1
12.5 - 8
= 10.5 +
10
14
= 13.7143
3n 3 ( 50 )
Class Q 3 =
=
= 37 .5
4
4
Class Q3 is the 4th class
Therefore,
n
4 -F
Q3 = LQ3 +
fQ3
37.5 - 34
= 30.5 +
10
9
= 34.3889
Interquartile Range
IQR = Q3 Q1
IQR = Q3 Q1
calculate the IQ
IQR = Q3 Q1 = 34.3889 13.7143 = 20.6746
1
M o d e = Lmo +
i
1
2
Where:
i is the class width
1 is the difference between the frequency of class mode and the frequency
Frequency
1 10
11 20
21 30
31 40
41 50
8
14
12
9
7
Solution:
Based on the table,
Lmo = 10.5, 1 = (14 8) = 6, 2 = (14 12) = 2 and
i = 10
6
M o d e = 1 0 .5 +
1 0 = 1 7 .5
6
+
2
2 =
s =
2
fx
Sample:
fx
Standard Deviation:
Population:
( fx )
2 = 2
s2 = s2
( fx )
n 1
Example: Find the variance and standard deviation for the following data:
No. of order
10 12
13 15
16 18
19 21
4
12
20
14
Total
n = 50
Solution:
No. of order
10 12
13 15
16 18
19 21
Total
fx
fx2
4
12
20
14
n = 50
11
14
17
20
44
168
340
280
832
484
2352
5780
5600
14216
Variance,
s2 =
fx
( fx )
n 1
(832 )
14216
50
50 1
= 7.5820
2
Standard Deviation, s = s = 7.5820 = 2.75