Chapter 3 - Descriptive Statistics (Grouped Data)
Chapter 3 - Descriptive Statistics (Grouped Data)
Chapter 3 - Descriptive Statistics (Grouped Data)
(Part 2)
Grouped Data
Numerical Descriptive Measures of
Data
• When the amount of raw data is large, it is better
presented in a table of frequency distribution.
Computing measures of central tendency for
grouped data is different from computing raw data.
(a) Mean
Mean = X =
fx
i
f
Where 𝑓 = 𝑓𝑟𝑒𝑞𝑢𝑒𝑛𝑐𝑦 𝑑𝑖𝑠𝑡𝑟𝑖𝑏𝑢𝑡𝑖𝑜𝑛
𝑥𝑖 = 𝑚𝑖𝑑𝑝𝑜𝑖𝑛𝑡 𝑜𝑓 𝑐𝑙𝑎𝑠𝑠 𝑖𝑛𝑡𝑒𝑟𝑣𝑎𝑙
(b) Median
n
2 − f m −1
Median = Lm + c
fm
Where n = sample size
Lm = lower limit of the median class
∑fm-1 = cumulative frequency before the median class
fm = frequency of median class
c = median class size
class size = lower limit of 2nd class interval – lower limit of
1st class interval
(c) Mode
f 0 − f1
Mode = L+ c
( f 0 − f1 ) + ( f 0 − f 2 )
1 σ 𝑓𝑥 2
2
Variance; s = 2
𝑓𝑥 −
𝑛−1 𝑛
First Quartile, n
4 − F1
Q1 = L1 + c1
f1
Where
L1 = lower limit of the first quartile class,
n = number of observations,
F1 = cumulative frequency before the first quartile class,
f1 = frequency of the first quartile class, and
c1 = first quartile class size.
Third Quartile,
3n
4 − F3
Q3 = L3 + c3
f3
Where
L3 = lower limit of the third quartile class,
n = number of observations,
F3 = cumulative frequency before the third quartile class,
f3 = frequency of the third quartile class, and
c3 = third quartile class size.
Example
• Table 4.3 shows the years of working experience for one-
hundred-and-twenty employees of Jimmy’s company.
𝑛 120
= = 60
2 2
f 0 − f1
Mode = L + c
( f 0 − f1 ) + ( f 0 − f 2 )
28 − 20
=9+ 4.0 = 11.67
(28 − 20) + (28 − 24)
Solution: b) Variance and Standard Deviation
Create the column 𝑓𝑖 𝑥𝑖2 ∶
Years of Number of Mid-point 𝒙𝒊 𝑓𝑖 𝑥𝑖 𝑓𝑖 𝑥𝑖2
Experience Employees
𝒇𝒊
1-4 16 2.5 40 100
5-8 20 6.5 130 845
9-12 28 10.5 294 3087
13-16 24 14.5 348 5046
17-20 16 18.5 296 5476
21-24 11 22.5 247.5 5568.75
25-28 5 26.5 132.5 3511.25
Total 120 𝑓𝑖 𝑥𝑖 = 1,488 23,634
Variance;
1 σ 𝑓𝑥 2
2
s = 2
𝑓𝑥 −
𝑛−1 𝑛
2
1 1488 5182.8
= 23,634 − = = 43.5529
120 − 1 120 119
Standard Deviation;
𝑛 120
Location of 𝑄1 = = = 30; (so, interval 5-8).
4 4
𝑛 120
Location of 𝑄3 = 3 =3 = 90; (so, interval 17-20).
4 4
Step 3: Determine the values of Q1 and Q3 using their formulae.
n 3n
− F 4 − F3
4 1 Q3 = L3 +
Q1 = L1 + c1 c3
f f3
= =
End of Chapter 3