Lecture3-slides
Lecture3-slides
Ungrouped Grouped
Data Data
1- Arithmetic Mean
Case 1: Ungrouped Data
a) The mean for sample with size n, is given as:
n
X1 + X 2 + X 3 + + X n ∑X i
=X = i =1
n n
b) For a population with size N, the mean is given as:
N
X1 + X 2 + X 3 + + X n ∑X i
=µ = i =1
N N
Example1: The data represent the number of days off per year for a sample of individuals selected from nine
different countries. Find the mean.
20, 26, 40, 36, 23, 42, 35, 24, 30
Solution:
X
= ∑=
X 20 + 26 + 40 + 36 + 23 + 42 + 35 + 24 + 30 276
= = 30.7 days
n 9 9
Case 2: Grouped Data
n
∑ f .X
1 n i i
=X =
i =1
n
n
∑ fi . X i
∑ fi i =1
i =1
Example 2: The following table gives the frequency distribution of the number of orders received each day during
the past 50 days at the office of a mail-order company. Calculate the mean.
Solution
Number of orders f
10 – 12 4
13 – 15 12
16 – 18 20
19 – 21 14
n = 50
Number of f X f. X
orders
10 – 12 4 11 44
13 – 15 12 14 168
16 – 18 20 17 340
19 – 21 14 20 280
n = 50 = 832
X ∑ = = 16.64 orders
f . X 832
=
n 50
2- The Median
Example 4: The number of cloudy days for the top 10 cloudiest cities is shown. Find the median.
209, 223, 211, 227, 213, 240, 240, 211, 229, 212
Solution:
Arrange the data in order.
209, 211, 211, 212, 213, 223, 227, 229, 240, 240
↑
Median
213 + 223
MD = = 218
2
Hence, the median is 218 days.
51 – 55 2
56 – 60 7
61 – 65 8
66 – 70 4
Construct the cumulative frequency distribution
Seconds f cf
51 – 55 2 2
56 – 60 7 9
61 – 65 8 17
66 – 70 4 21
n 21
= = 10.5 → class median is the 3rd class
2 2
So, Fm-1 = 9, fm = 8, i = 5 and L = 60.5
Therefore,
n
2 − Fm−1
MD= L + i
fm
10.5 − 9
= 60.5 + 5
8
=60.5 + 0.9375 =61.4375
Finding Median Graphically
(from Ogive)
n 200
= = 100
2 2
3- The Mode
Case 1: Ungrouped Data
Example 6: The data show the number of licensed nuclear reactors in the United States for a recent 15-year period.
Find the mode.
104 104 104 104 104
107 109 109 109 110
109 111 112 111 109
Solution
Since the values 104 and 109 both occur 5 times, the modes are 104 and 109. The data set is said to be bimodal.
Case 2: Grouped Data
f m − f m−1
Mode= L + i
( f m − f m−1 ) + ( f m − f m +1 )
Example 7: Based on the grouped data below, find the mode.
Solution
Seconds f
51 – 55 2
56 – 60 7
61 – 65 8
66 – 70 4
w1 X 1 + w2 X 2 + ... + wn X n ∑w X i i
=X = i =1
n
w1 + w2 + ... + wn
∑w i =1
i
∑w X i i
(3)(4) + (3)(2) + (4)(3) + (2)(1) 32
The grade point average (GPA) = =
X i =1
n = = = 2.7
3+ 3+ 4+ 2 12
∑ wi
i =1
Distribution Shapes
symmetric distribution,