Chapter 2A QS (PC)
Chapter 2A QS (PC)
∑𝑥
Mean, 𝑥̅ = 𝑛
1
2) For grouped data,
∑ 𝑓𝑥
Mean, 𝑥̅ = ∑𝑓
where 𝑥 = the midpoint
𝑓 = frequency of a class
3
➢ Median (middle term)
1) For raw data
𝑛+1
Median = value of the ( ) 𝑡ℎ in a ranked data set
2
𝑛
2
Value
Median
5
Eg 7: The following table shows the lengths of metal pipes
produced on a particular day. Calculate the median
length.
Length (cm) No. of metal pipes
10 – under 20 3
20 – under 30 7
30 – under 40 10
40 – under 50 16
50 – under 60 34
60 – under 70 13
70 – under 80 7
80 – under 90 6
90 – under 100 4
Total 100
Solution:
Length (cm) f cf
10 – under 20 3 3
20 – under 30 7 10
30 – under 40 10 20
40 – under 50 16 36
Class median
50 – under 60 34 70
60 – under 70 13 83
70 – under 80 7 90
80 – under 90 6 96
90 – under 4 100
100
Total 100
6
𝑛 100 Lm=50
Median = 2 th = th = 50th
2 Cm = 10 = 60-50
Median class boundaries: 50 – 60 fm = 34
𝑐 𝑛 fm-1=36
Median = 𝐿𝑚 + 𝑓𝑚 [2 − ∑ 𝑓𝑚−1 ]
𝑚
10
= 50 + 34 [50 − 36] = 54.12
Interpretation: 50% of the metal pipes are having lengths less
than or equal to 51.42 cm and the other 50% are
having lengths more than or equal to 51.42
cm.
7
Solution:
a)
Production f Class cf
(units) boundaries
13 – 17 2 12.5 – 17.5 2
18 – 22 22 17.5 – 22.5 24
23 – 27 10 22.5 – 27.5 34
28 – 32 14 27.5 – 32.5 48
33 – 37 3 32.5 – 37.5 51
38 – 42 4 37.5 – 42.5 55
43 – 47 6 42.5 – 47.5 61
48 – 52 1 47.5 – 52.5 62
Total 62
Lm=22.5
𝑛 62
Median = 2 th = th = 31th Cm = 5
2
fm = 10
Median class boundaries: 22.5 – 27.5
fm-1=24
𝑐𝑚 𝑛
Median = 𝐿𝑚 + 𝑓 [2 − ∑ 𝑓𝑚−1 ]
𝑚
5
= 22.5 + 10 [31 − 24] = 26
8
b)
`
ub cf
12.5 0
17.5 2
22.5 24
27.5 34
32.5 48
37.5 51
42.5 55
47.5 61
52.5 62
From Ogive,
62
Median = 𝑡ℎ =26
2
➢ Mode (modal)
1) For raw data
✓ The mode is the value that occurs with the highest
frequency in a data set.
Eg 9: The following data shows the number of children in 8
families:
2, 2, 3, 4, 0, 6, 2, 1
Find the mode.
Solution: Mode = 2
Interpretation: Most of the families having 2 children.
9
Eg 10: Find the mode for the following data.
a) 1, 2, 3, 4, 7, 9
b) 1, 2, 2, 3, 4, 5, 5, 8
Solution: a) mode = none
b) mode = 2, 5
Value
Mode
b) By calculation
𝑓𝑚 −𝑓𝑏
mode = 𝐿𝑚 + 2𝑓 × 𝑐𝑚
𝑚 −(𝑓𝑏 +𝑓𝑎 )
10
Note: If the formula is used to compute the mode for frequency
distribution of unequal class size, then the frequency will
be replaced by the adjusted frequency of the
corresponding class.
From histogram,
Mode = 54.5
11
b) Modal class boundaries: 50 - 60 Lm=50
𝑓𝑚 −𝑓𝑏 fm=34
Mode = 𝐿𝑚 + 2𝑓 × 𝑐𝑚
𝑚 −(𝑓𝑏 +𝑓𝑎 ) fb=16
34−16 fa=13
= 50 + 2(34)−(16+13) × 10
cm=10
= 54.62
Interpretation: Most of the metal pipes are having lengths
54.62 cm.
Advantages and disadvantages of mean, median and mode
Mean
Advantages:
• It is easily understood.
• The value of each item is included in the computation.
Thus, it has the kind of exactness that the median and the
mode lack of.
• It is well suited for further analysis.
Disadvantages:
• Its value may not correspond to the actual value, eg. the
average number of children in each family is 2.4
children.
• It may be distorted by a few extremely high or low
values, eg. a distribution of 5 persons’ income (in RM)
500, 200, 250, 300, 6000
x = 7250
7250
Mean = = 1450 (RM)
5
12
The mean is now distorted or pulled up by one person’s
income of RM6,000 (the extreme value). The majority is
only earning between RM200 to RM500. The mean
income of RM1450 is misleading.
Median
Advantages:
• It is of use where the middle value is of significance.
• It is not affected by extreme values. Thus, it is usually
preferred than mean when there are extreme values in the
distribution.
Disadvantages:
• It does not reflect the full range of values.
• It is not suitable for further analysis.
Mode
Advantages:
• It is the more appropriate average in situations where it is
useful to know the most common value, eg. the
purchasing department in a shoe store will order the
modal shoe size.
• It is easy to find and is not influenced by extreme values.
Disadvantages:
• It ignores the dispersion around the modal value.
13
• It is not suitable for further analysis.
• It is not unique.
14
Using scientific calculator: CASIO fx-570MS
15