Professional Documents
Culture Documents
Lecture 4 (Measures of Central Tendency)
Lecture 4 (Measures of Central Tendency)
Lecture 4 (Measures of Central Tendency)
4
Introduction to Statistics
Statistics and Probability
Dr. Shabbir Ahmad
Assistant Professor,
Department of Mathematics,
COMSATS University
Islamabad, Wah Campus
𝒙𝟏 + 𝒙𝟐 + ⋯ + 𝒙𝒏
ഥ=
𝒙
𝒏
97+110+130+152+168+187+22+266+226 1358
𝑥ҧ = = = 150.8889
9 9
σ 𝑓𝑥
𝑋ത =
σ𝑓
Where,
σ 𝒇𝒙= Sum of the product of mid points (𝑥) with respective class
frequency, may be obtained as “first take the product of 𝑥 and 𝑓
then add the results”
σ 𝐟 = 𝑵= Sum of all the frequency
Dr. Shabbir Ahmad
Assistant Professor, Department of Mathematics, COMSATS University Islamabad, Wah Campus
Cell # 0323-5332733, 0332-5332733. Date: 15-Sep-21 5:17:51 PM
Solution:
Example 2
Weights 𝑓 Mid points (𝑥) 𝑓𝑥
Question: Calculate the mean weight of 60 apples 65-84 9 74.5 670.5
(weight nearest to grams), from the data given in 85-104 10 94.5 945.0
105-124 17 114.5 1946.5
the following frequency distribution:
Where, σ𝒏𝐢=𝟏 𝒇𝒊 𝐥𝐨𝐠𝒙𝒊 = Sum of the product of log of midpoint (𝑥) with
respective class frequency 𝑓 . σ𝒏𝐢=𝟏 𝒇𝒊 = sum of all frequencies
Dr. Shabbir Ahmad
Assistant Professor, Department of Mathematics, COMSATS University Islamabad, Wah Campus
Cell # 0323-5332733, 0332-5332733. Date: 15-Sep-21 5:17:51 PM
Example
15
Question: Calculate the geometric mean of the following frequency distribution:
Classes x f log(x) flog(x)
110-119 114.5 1 2.058805 2.058805
120-129 124.5 4 2.095169 8.380677
130-139 134.5 17 2.128722 36.18828
140-149 144.5 28 2.159868 60.4763
150-159 154.5 25 2.188928 54.72321
160-169 164.5 18 2.216166 39.89099
170-179 174.5 13 2.241795 29.14334
180-189 184.5 6 2.265996 13.59598
190-199 194.5 5 2.28892 11.4446
200-209 204.5 2 2.310693 4.621387
210-219 214.5 1 2.331427 2.331427
Total 120 262.855
Dr. Shabbir Ahmad
Assistant Professor, Department of Mathematics, COMSATS University Islamabad, Wah Campus
Cell # 0323-5332733, 0332-5332733. Date: 15-Sep-21 5:17:51 PM
16
σ𝑛
𝑖=1 𝑓𝑖 𝑙𝑜𝑔𝑥𝑖
Calculations: 𝐺 = 𝑎𝑛𝑡𝑖𝑙𝑜𝑔 σ𝑛
𝑖=1 𝑓
262.855
𝐺 = 𝑎𝑛𝑡𝑖𝑙𝑜𝑔
120
𝐺 = 𝑎𝑛𝑡𝑖𝑙𝑜𝑔 2.19045
𝐺 = 155.0452
Dr. Shabbir Ahmad
Assistant Professor, Department of Mathematics, COMSATS University Islamabad, Wah Campus
Cell # 0323-5332733, 0332-5332733. Date: 15-Sep-21 5:17:51 PM
Merits and Demerits of GM
Merits Demerits
i. It is based on all observation i. It cannot be located by
ii. It is well defined by mathematical inspection of the data
formulae
iii. It can be used for further algebraic graphically.
mathematical treatment ii. It cannot be computed if
iv. It is suitable average for averaging
ratios and percentages and the rates the value in the data is
of increase and decrease zero or negative.
v. It is not much affected by extreme
values iii. It gives great importance
to the small values
Dr. Shabbir Ahmad
Assistant Professor, Department of Mathematics, COMSATS University Islamabad, Wah Campus
Cell # 0323-5332733, 0332-5332733. Date: 15-Sep-21 5:57:35 PM
Harmonic Mean 18
𝟏 𝟏 𝟏
+ + ⋯+ 𝒏
𝒙𝟏 𝒙𝟐 𝒙𝒏
𝐇. 𝐌. = 𝐑𝐞𝐜𝐢𝐩𝐫𝐨𝐜𝐚𝐥 𝐨𝐟 =
𝒏 𝒏 𝟏
σ𝐢=𝟏
𝒙𝒊
In case of frequency distribution (grouped data) the harmonic
mean is given by:
𝒇𝟏 𝒇𝟐 𝒇𝒏
+ + ⋯+ σ𝒇
𝒙𝟏 𝒙𝟐 𝒙𝒏
𝐇. 𝐌. = 𝐑𝐞𝐜𝐢𝐩𝐫𝐨𝐜𝐚𝐥 𝐨𝐟 =
σ𝒇 𝒇
σ𝒏𝐢=𝟏
𝒙𝒊
Dr. Shabbir Ahmad
Assistant Professor, Department of Mathematics, COMSATS University Islamabad, Wah Campus
Cell # 0323-5332733, 0332-5332733. Date: 15-Sep-21 5:57:35 PM
Example for Ungrouped Data: 20
Question: Calculate the harmonic mean of the numbers: 15, 20, 25.
Solution:
𝑛
The harmonic mean is calculated as below: 𝐻. 𝑀. = 1
σ
𝑥
3 3
𝐻. 𝑀. = =
1 1 1 0.06667 + 0.5000 + 0.04000
+ +
15 20 25
3
𝐻. 𝑀 = = 19.15
0.15667
𝐴. 𝑀 ≥ 𝐺. 𝑀 ≥ 𝐻. 𝑀
Groups 20-25 25-30 30-35 35-40 40-45 45-50 50-55 55-60 60-65
Frequency 30 160 210 180 145 105 70 60 40
Calculate the arithmetic mean, geometric mean and harmonic mean; prove the
relationship 𝐴. 𝑀 ≥ 𝐺. 𝑀 ≥ 𝐻. 𝑀.
ANY QUESTION