Practice Problem and Solution (Central Tendency and Dispersion)
Practice Problem and Solution (Central Tendency and Dispersion)
Ungrouped Data:
123, 116, 122, 110, 175, 125, 125, 111, 118, 117
Solution:
x i
i)Mean, x = i =1
=124.2 hours
ii) The sum of deviation of each value from their mean is zero
Calculation Table
xi x ( xi − x )
123 124.2 -1.2
116 -8.2
122 -2.2
110 -14.2
175 50.8
125 0.8
125 0.8
111 -13.2
118 -6.2
117 -7.2
(x
i =1
i − x) = 0
n
So The sum of deviation of each value from their mean is zero, (x
i =1
i − x) = 0
n
Median=Average of and
2
118 + 122
= = 120
2
So the median lifetime is 120 hours i.e. The middle most battery has lifetime of 120 hours.
Mode:
x Tally marks fi
110 / 1
111 / 1
116 / 1
117 / 1
118 / 1
122 / 1
123 / 1
125 // 2
175 / 1
Total 10
Since 125 occurs most frequently. So, mode is 125.
1.5-2.0 2
2.0-2.5 1
2.5-3.0 4
3.0-3.5 15
3.5-4.0 10
4.0-4.5 5
4.5-5.0 3
Solution:
Calculation table:
fi
2.5-3.0 4 2.75 11
fx
i =1
i i = 138.5
fx i i
Sample Mean, x = i =1
138.5
=
40
=3.4625 year.
N 40
Median group= = = 20th observation
2 2
fi
1.5-2.0 2 1.75 2
2.0-2.5 1 2.25 3
2.5-3.0 4 2.75 7
3.5-4.0 10 3.75 32
4.0-4.5 5 4.25 37
4.5-5.0 3 4.75 40
N=40
40
−7
= 3.0 + 2 0.5
15
= 3.43 years
Here, 1 = 15 − 4 = 11
2 = 15 −10 = 5
1
Mode= L + c
1 + 2
11
= 3.0 + 0.5
11 + 5
=3.34 year
Solution: So will calculate geometric mean because data are given in percentages.
xi log xi
105.0 2.021
102.5 2.011
107.5 2.031
110.0 2.041
105.0 2.021
n
log xi 10.125
i =1
We know log GM= =
n 5
=2.025
GM=Antilog (2.025)=105.93
Solution:
Since the information are given in unit of time. So we will use harmonic mean.
Calculation Table
xi 1
xi
A 4 0.25
B 5 0.20
C 6 0.167
D 10 0.100
E 12 0.083
n
1
x
i =1
= 0.8
i
n
We know, HM= =5/0.8=6.25 minute
n 1
i =1 x i
Solution:
xi 1 log xi
xi
10 0.10 1.00
20 0.05 1.30
30 0.033 1.47
50 0.02 1.69
60 0.016 1.77
n n n
1
xi = 170
i =1
i =1 xi
= 0.22 log x =7.23
i =1
i
n
x i
170
We know AM= x = i =1
= = 34
n 5
n
log x i
7.23
log GM = i =1
= = 1.446
n 5
n 5
HM = n
= = 22.72
1
x
.22
i =1 i
25-35 4
35-45 7
45-55 15
55-65 14
65-75 8
75-85 2
Calculation Table
N=50
We know,
We know,
We know,
Weighted average:
Ex : In a company, there are 50 skilled workers with daily wage 500 TK,25 semi-skilled workers with
daily wage 400 Tk and 15 unskilled workers with daily wage 300 TK. What is the average daily wages of
the workers?
Weighted Average =
=438.89TK
Solution:
To compare the variability in the data set, standard deviation and coefficient of variation is the
most appropriate measure.
Variety 1:
−
Sample mean, x =
xi = 38 + 23 + ...... + 38 = 316 = 35.11 kg
n 9 9
Calculation Table
xi x i2
38 1444
23 529
35 1225
41 1681
44 1936
29 841
37 1369
31 961
38 1444
x i =316 x 2
i =11430
(x i − x)
2
n −1
n
x
i =1
2
i − nx 2
=
n −1
11430 − 9 35.112
=
9 −1
=6.47 kg
s
Coefficient of variation, CV= 100
x
6.47
= 100
35.11
=18.43%
Variety 2:
−
Sample mean, x =
x i
=
45 + 25 + ...... + 43 341
= = 37.89 kg
n 9 9
Calculation Table:
xi 45 25 31 38 50 33 36 40 43 x =341
i
xi2 2025 625 961 1444 2500 1089 1296 1600 1849 x =13389
2
i
(x i − x)
2
x
i =1
2
i − nx 2
=
n −1
13389 − 9 37.89 2
=
9 −1
=7.75 kg
s
Coefficient of variation, CV= 100
x
7.65
= 100
37.89
=20.19%
Interpretation: Since the CV of yield capability of variety 1 is 18.43% and the CV of yield
capability of variety 2 is 20.19%. There is more variation in the distribution of variety 2 relative
to the distribution of variety 1.So distribution of variety 2 is more variable and distribution of
variety 1 is more stable and consistent.
Example of grouped sample data:
The following data represent the electricity cost for a sample of 50 two bedroom apartment and a
sample of 50 three bedroom apartment in a city of Newmexico during the month of May last
year:
Compare the variability in the electricity costs using an appropriate measure. Electricity cost of
which type of apartment shows more consistency?
Solution:
To compare the variability in the data set, standard deviation and coefficient of variation is the
most appropriate measure.
N
9040
=
50
= 180.8$
Sample Mean, x =
fx i i
N
9140
=
50
= 182.8$
Sample Standard Deviation, s =
fx 2
i i − N x2
N −1
1693800 − 50 182.82
=
50 − 1
= 21.67$
s
Coefficient of Variation, CV= 100
x
21.67
= 100
182.8
= 11.85%
Interpretation: Since the CV of electricity cost for sample of two bedroom apartment is 14.52%
and the CV of electricity cost for sample of three bedroom apartment is 11.85% . It is clear that
there is more variation in the distribution of two bedroom sample relative to the distribution of
three bedroom sample. So distribution of two bedroom sample is more variable and distribution
of three bedroom sample is more stable and consistent.