SlideShare a Scribd company logo
1 of 41
Download to read offline
2
MATH – 361
Introduction to Probability and Statistics
Lecture No. 05
Measures of Central Tendency
Reference: Ch # 1, Sec 1.2, Text Book
No. of Slides: 40
3
After completing this lecture, students will be able to
➢ Compute different types of Mean for ungrouped data
➢ Compute different types of Mean for grouped data
Desired Learning Objectives
4
Central Tendency
Measure of Central Tendency
A single figure tends to lie in the
middle of the data
5
Mathematical Average
(Pythagorean Means)
1. Arithmetic Mean
2. Geometric Mean
3. Harmonic Mean
Measure of Central Tendency
6
Definition
Geometric Mean is calculated as the nth root of the product of all n
values, where n is the number of values
For example, if the data contains only two values, the square root of
the product of the two values is the Geometric Mean. For three
values, the cube-root of the product of all three values is the GM,
and so on.
Geometric Mean (GM)
7
Example
1, 3, 9, 27, 81, 243, 729…
Geometric Mean of our dataset is:
1 * 3 * 9 * 27 * 81 * 243 * 729 =
10,460,353,203
7th root of 10,460,353,203 = 27
Geometric Mean = 27
Geometric Mean (GM)
8
Geometric Mean (GM)
➢ In this case, our Geometric Mean very much resembles the
middle value of our dataset
➢ For data in exponential growth rate i.e. having sort of
multiplicative relationship, the Geometric Mean will give a
closer ‘middle number’ than the Arithmetic Mean
9
➢ The Geometric Mean is appropriate when the data contains
values with different units of measure, e.g. some measure are
height, some are dollars, some are miles, etc
➢ The Geometric Mean does not accept negative or zero values,
e.g. all values must be positive
Geometric Mean (GM)
10
Real World Applications of the Geometric Mean
➢ Compound Interest
➢ Different Scales or Units
➢ Applications of the geometric mean are most common in
business and finance, where it is frequently used when dealing
with percentages to calculate growth rates and returns on a
portfolio of securities. It is also used in certain financial and stock
market indexes
Geometric Mean (GM)
11
Geometric Mean
12
( )
1
log45 log32 log37 log46 log39 log36 log41 log48 log36
9
+ + + + + + + +
Geometric Mean
13
Geometric Mean
14
Geometric Mean
15
Example : Grouped Data
Find GM for the given grouped data
Classes Freq (f)
65 – 84 9
85 – 104 10
105 – 124 17
125 – 144 10
145 – 164 5
165 – 184 4
185 – 204 5
Geometric Mean
16
Example : Grouped Data
Classes Class Marks (x) Freq (f) Log(x) f(log(x))
65 – 84 (65+84)/2 =74.5 9 Log(74.5) =1.8722 9 * 1.8722 =16.8498
85 – 104 94.5 10 1.9754 19.7540
105 – 124 114.5 17 2.0589 35.0013
125 – 144 134.5 10 2.1287 21.2870
145 – 164 154.5 5 2.1889 10.9445
165 – 184 174.5 4 2.2418 8.9672
185 – 204 194.5 5 2.2889 11.4445
Geometric Mean
17
Geometric Mean
18
Applications of GM
➢ Growth Rates: The Geometric Mean is used in finance to
calculate average growth rates and is referred to as the
compounded annual growth rate
Geometric Mean
19
Example : Growth Rates
➢ Consider a stock that grows by 10% in year one, declines by
20% in year two, and then grows by 30% in year three. If the
stock is at 100 in the starting. Find the Geometric Mean of the
growth rate
Geometric Mean
20
Example : Growth Rates
1st year its growth of 10% on 100 i.e. the starting value
Growth at 10% = 10% of 100 = 10
Total = 100+10 =110
Relative Growth Rate = 110/100 =1.1
2nd year is decline of 20% so it will be calculated on first year’s
amount = 20% of 110 = 22
Amount remaining is due to decline =110-22
Relative Growth Rate = 88/110= 0.8
Geometric Mean
21
Example : Growth Rates
3rd year is growth at 30% = 30% of 88 = 26.4
Total becomes = 88 + 26.4 = 114.4
Relative Growth Rate = 114.4/88 = 1.3
𝑮𝑴 = 𝒑𝒓𝒐𝒅𝒖𝒄𝒕 𝒐𝒇 𝒂𝒍𝒍 𝒓𝒆𝒍𝒂𝒕𝒊𝒗𝒆 𝒈𝒓𝒐𝒘𝒕𝒉 𝒓𝒂𝒕𝒆𝒔
ൗ
𝟏
𝒏𝒖𝒎𝒃𝒆𝒓 𝒐𝒇 𝒚𝒆𝒂𝒓𝒔
Geometric Mean
22
𝑮𝑴 = 𝒑𝒓𝒐𝒅𝒖𝒄𝒕 𝒐𝒇 𝒂𝒍𝒍 𝒓𝒆𝒍𝒂𝒕𝒊𝒗𝒆 𝒈𝒓𝒐𝒘𝒕𝒉 𝒓𝒂𝒕𝒆𝒔
ൗ
𝟏
𝒏𝒖𝒎𝒃𝒆𝒓 𝒐𝒇 𝒚𝒆𝒂𝒓𝒔
𝑮𝑴 = 𝟏. 𝟏 ∗ 𝟎. 𝟖 ∗ 𝟏. 𝟑
𝟏
𝟑 = 1.046
Geometric Mean
23
Applications of GM
➢ Portfolio Returns: The Geometric Mean is commonly used to
calculate the annual return on portfolio of securities as well
➢ Consider a portfolio of stocks that goes up from $100 to $110 in
year one, then declines to $80 in year two and goes up to $150 in
year three. The return on portfolio is then calculated as
Geometric Mean
24
Example : Portfolio Returns
Stock starting value 100
➢ 1st year it reached to 110
➢ Rate of growth = 110/100 =1.1
➢ 2nd year stocked declined to 80
➢ Rate of growth = 80/110 = 0.7272
➢ 3rd year stock again increased to 150
➢ Rate of growth = 150/80 =1.875
Geometric Mean
25
Geometric Mean
𝑀𝑒𝑎𝑛 𝐺𝑟𝑜𝑤𝑡ℎ = 𝐺𝑀 = 1.1 ∗ 0.7272 ∗ 1.875 Τ
1
3 = 1.48885 Τ
1
3
𝑮𝑴 = 𝟏. 𝟏𝟒𝟒𝟕
𝑮𝑴 = 𝒑𝒓𝒐𝒅𝒖𝒄𝒕 𝒐𝒇 𝒂𝒍𝒍 𝒓𝒆𝒍𝒂𝒕𝒊𝒗𝒆 𝒈𝒓𝒐𝒘𝒕𝒉 𝒓𝒂𝒕𝒆𝒔
ൗ
𝟏
𝒏𝒖𝒎𝒃𝒆𝒓 𝒐𝒇 𝒚𝒆𝒂𝒓𝒔
26
➢ As Arithmetic Mean requires addition & the Geometric Mean
employs multiplication, the Harmonic Mean utilizes reciprocals
➢ It is defined for non-zero positive values as the reciprocal of the
Arithmetic Mean of the reciprocals of the values
Harmonic Mean (HM)
27
Harmonic Mean
➢ The Harmonic Mean is calculated as the number of
values n divided by the sum of the reciprocal of the values
➢ The Harmonic Mean is the appropriate mean if the data comprise
ratios & rates
Harmonic Mean (HM)
28
➢ In certain situations, especially many situations involving rates
and ratios, the Harmonic Mean provides the truest average
➢ Example: Suppose in first test a typist types 400 words in 50
minutes, in second test he types the same words (400) in 40
minutes and in third test he takes 30 minutes to type the 400
words. Then average time of typing can be calculated by
Harmonic Mean
Harmonic Mean (HM)
29
➢ Example: If a vehicle travels a certain distance d at a speed x (60
km/h) and then the same distance again at a speed y (40 km/h),
then its average speed is the Harmonic Mean of x and y (48
km/h)
Harmonic Mean (HM)
30
Harmonic Mean (HM)
31
Harmonic Mean (HM)
32
Example : Grouped Data
Classes Class Marks (x) Freq (f) f/x
65 – 84 (65+84)/2 =74.5 9 9/74.5 = 0.12081
85 – 104 94.5 10 0.10582
105 – 124 114.5 17 0.14847
125 – 144 134.5 10 0.07435
145 – 164 154.5 5 0.03236
165 – 184 174.5 4 0.02292
185 – 204 194.5 5 0.02571
Harmonic Mean (HM)
33
Harmonic Mean (HM)
34
➢ The Arithmetic Mean is the most commonly used mean, although
it may not be appropriate in some cases
➢ The exceptions are if the data contains negative or zero values,
then the Geometric and Harmonic Means cannot be used directly
➢ To average compound rate changes over consistent periods: use
the Geometric Mean
How to Choose the Correct Mean?
35
➢ To average rates over different periods or lengths: use
the Harmonic Mean
➢ If your data displays an additive structure: the Arithmetic Mean is
used
➢ If your data reveals a multiplicative structure and / or has large
outliers: the Geometric or Harmonic Mean might be more
appropriate
How to Choose the Correct Mean?
36
➢ There are pitfalls & tradeoffs to any decision
✓ loss of meaningful scale or units when using the Geometric
Mean
✓ Datasets with 0’s cannot be used with
the Geometric or Harmonic Means, & datasets with negative
numbers also rule out the Geometric Mean
How to Choose the Correct Mean?
37
Practice problem 1
Calculate Geometric Mean, Harmonic Mean from the following
grouped data
Classes Frequency
2-4 3
5-7 7
8-10 9
11-13 5
14-16 4
17-19 6
Central Tendency
38
Practice problem 2
Calculate Arithmetic, Geometric & Harmonic Mean from the
following data
42,36,45,33,54,46,27,38,51,49,29,32
Central Tendency
39
Practice problem 3
A man travels from Lahore to Islamabad by a car and takes 4 hours
to cover the whole distance. In the first hour he travels at a speed
of 50 km/hr, in the second hour his speed is 64 km/hr, in third hour
his speed is 80 km/hr and in the fourth hour he travels at the speed
of 55 km/hr. Find the average speed of the motorist
Central Tendency
40
Practice problem 4
If a strain of bacteria increases its population by 20% in the first
hour, 30% in the next hour and 50% in the next hour, find out an
estimate of the mean percentage growth in population. Starting
with the population of 100 bacteria
Central Tendency
41
Study Links
https://www.youtube.com/watch?v=jXKYI7wyqp0
https://www.youtube.com/watch?v=kfEuqcA6vYw

More Related Content

Similar to LECTURE N0 5.pdf

STATISTCAL MEASUREMENTS.pptx
STATISTCAL MEASUREMENTS.pptxSTATISTCAL MEASUREMENTS.pptx
STATISTCAL MEASUREMENTS.pptxShyma Jugesh
 
Topic 2 Measures of Central Tendency.pptx
Topic 2   Measures of Central Tendency.pptxTopic 2   Measures of Central Tendency.pptx
Topic 2 Measures of Central Tendency.pptxCallplanetsDeveloper
 
Moving average method maths ppt
Moving average method maths pptMoving average method maths ppt
Moving average method maths pptAbhishek Mahto
 
Measures of Central Tendency.pdf
Measures of Central Tendency.pdfMeasures of Central Tendency.pdf
Measures of Central Tendency.pdfDenogieCortes
 
1572 mean-a review of statistical principles
1572 mean-a review of statistical principles1572 mean-a review of statistical principles
1572 mean-a review of statistical principlesDr Fereidoun Dejahang
 
Measures of Central Tendency, Variability and Shapes
Measures of Central Tendency, Variability and ShapesMeasures of Central Tendency, Variability and Shapes
Measures of Central Tendency, Variability and ShapesScholarsPoint1
 
Data Management_new.pptx
Data Management_new.pptxData Management_new.pptx
Data Management_new.pptxDharenOla3
 
Statistics digital text book
Statistics digital text bookStatistics digital text book
Statistics digital text bookdeepuplr
 
Presentation slide on central tendency
Presentation slide on central tendencyPresentation slide on central tendency
Presentation slide on central tendencyRayhan01
 
#3Measures of central tendency
#3Measures of central tendency#3Measures of central tendency
#3Measures of central tendencyKawita Bhatt
 
Measures of central tendency
Measures of central tendencyMeasures of central tendency
Measures of central tendencyNadeem Uddin
 
SECTION VI - CHAPTER 39 - Descriptive Statistics basics
SECTION VI - CHAPTER 39 - Descriptive Statistics basicsSECTION VI - CHAPTER 39 - Descriptive Statistics basics
SECTION VI - CHAPTER 39 - Descriptive Statistics basicsProfessional Training Academy
 
Measures of central tendency and dispersion
Measures of central tendency and dispersionMeasures of central tendency and dispersion
Measures of central tendency and dispersionAbhinav yadav
 
Lecture 04 Inferential Statisitcs 2
Lecture 04 Inferential Statisitcs 2Lecture 04 Inferential Statisitcs 2
Lecture 04 Inferential Statisitcs 2Riri Ariyanty
 
Empirics of standard deviation
Empirics of standard deviationEmpirics of standard deviation
Empirics of standard deviationAdebanji Ayeni
 
Statistics in research
Statistics in researchStatistics in research
Statistics in researchBalaji P
 

Similar to LECTURE N0 5.pdf (20)

STATISTCAL MEASUREMENTS.pptx
STATISTCAL MEASUREMENTS.pptxSTATISTCAL MEASUREMENTS.pptx
STATISTCAL MEASUREMENTS.pptx
 
Topic 2 Measures of Central Tendency.pptx
Topic 2   Measures of Central Tendency.pptxTopic 2   Measures of Central Tendency.pptx
Topic 2 Measures of Central Tendency.pptx
 
Moving average method maths ppt
Moving average method maths pptMoving average method maths ppt
Moving average method maths ppt
 
Measures of Central Tendency.pdf
Measures of Central Tendency.pdfMeasures of Central Tendency.pdf
Measures of Central Tendency.pdf
 
1572 mean-a review of statistical principles
1572 mean-a review of statistical principles1572 mean-a review of statistical principles
1572 mean-a review of statistical principles
 
Measures of Central Tendency, Variability and Shapes
Measures of Central Tendency, Variability and ShapesMeasures of Central Tendency, Variability and Shapes
Measures of Central Tendency, Variability and Shapes
 
Data Management_new.pptx
Data Management_new.pptxData Management_new.pptx
Data Management_new.pptx
 
Statistics digital text book
Statistics digital text bookStatistics digital text book
Statistics digital text book
 
Presentation slide on central tendency
Presentation slide on central tendencyPresentation slide on central tendency
Presentation slide on central tendency
 
#3Measures of central tendency
#3Measures of central tendency#3Measures of central tendency
#3Measures of central tendency
 
Statistics 3, 4
Statistics 3, 4Statistics 3, 4
Statistics 3, 4
 
5.DATA SUMMERISATION.ppt
5.DATA SUMMERISATION.ppt5.DATA SUMMERISATION.ppt
5.DATA SUMMERISATION.ppt
 
Measures of central tendency
Measures of central tendencyMeasures of central tendency
Measures of central tendency
 
Central tendency and Measure of Dispersion
Central tendency and Measure of DispersionCentral tendency and Measure of Dispersion
Central tendency and Measure of Dispersion
 
SECTION VI - CHAPTER 39 - Descriptive Statistics basics
SECTION VI - CHAPTER 39 - Descriptive Statistics basicsSECTION VI - CHAPTER 39 - Descriptive Statistics basics
SECTION VI - CHAPTER 39 - Descriptive Statistics basics
 
Measures of central tendency and dispersion
Measures of central tendency and dispersionMeasures of central tendency and dispersion
Measures of central tendency and dispersion
 
Lecture 04 Inferential Statisitcs 2
Lecture 04 Inferential Statisitcs 2Lecture 04 Inferential Statisitcs 2
Lecture 04 Inferential Statisitcs 2
 
Describing Data: Numerical Measures
Describing Data: Numerical MeasuresDescribing Data: Numerical Measures
Describing Data: Numerical Measures
 
Empirics of standard deviation
Empirics of standard deviationEmpirics of standard deviation
Empirics of standard deviation
 
Statistics in research
Statistics in researchStatistics in research
Statistics in research
 

Recently uploaded

Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projectssmsksolar
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksMagic Marks
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 

Recently uploaded (20)

Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 

LECTURE N0 5.pdf

  • 1.
  • 2. 2 MATH – 361 Introduction to Probability and Statistics Lecture No. 05 Measures of Central Tendency Reference: Ch # 1, Sec 1.2, Text Book No. of Slides: 40
  • 3. 3 After completing this lecture, students will be able to ➢ Compute different types of Mean for ungrouped data ➢ Compute different types of Mean for grouped data Desired Learning Objectives
  • 4. 4 Central Tendency Measure of Central Tendency A single figure tends to lie in the middle of the data
  • 5. 5 Mathematical Average (Pythagorean Means) 1. Arithmetic Mean 2. Geometric Mean 3. Harmonic Mean Measure of Central Tendency
  • 6. 6 Definition Geometric Mean is calculated as the nth root of the product of all n values, where n is the number of values For example, if the data contains only two values, the square root of the product of the two values is the Geometric Mean. For three values, the cube-root of the product of all three values is the GM, and so on. Geometric Mean (GM)
  • 7. 7 Example 1, 3, 9, 27, 81, 243, 729… Geometric Mean of our dataset is: 1 * 3 * 9 * 27 * 81 * 243 * 729 = 10,460,353,203 7th root of 10,460,353,203 = 27 Geometric Mean = 27 Geometric Mean (GM)
  • 8. 8 Geometric Mean (GM) ➢ In this case, our Geometric Mean very much resembles the middle value of our dataset ➢ For data in exponential growth rate i.e. having sort of multiplicative relationship, the Geometric Mean will give a closer ‘middle number’ than the Arithmetic Mean
  • 9. 9 ➢ The Geometric Mean is appropriate when the data contains values with different units of measure, e.g. some measure are height, some are dollars, some are miles, etc ➢ The Geometric Mean does not accept negative or zero values, e.g. all values must be positive Geometric Mean (GM)
  • 10. 10 Real World Applications of the Geometric Mean ➢ Compound Interest ➢ Different Scales or Units ➢ Applications of the geometric mean are most common in business and finance, where it is frequently used when dealing with percentages to calculate growth rates and returns on a portfolio of securities. It is also used in certain financial and stock market indexes Geometric Mean (GM)
  • 12. 12 ( ) 1 log45 log32 log37 log46 log39 log36 log41 log48 log36 9 + + + + + + + + Geometric Mean
  • 15. 15 Example : Grouped Data Find GM for the given grouped data Classes Freq (f) 65 – 84 9 85 – 104 10 105 – 124 17 125 – 144 10 145 – 164 5 165 – 184 4 185 – 204 5 Geometric Mean
  • 16. 16 Example : Grouped Data Classes Class Marks (x) Freq (f) Log(x) f(log(x)) 65 – 84 (65+84)/2 =74.5 9 Log(74.5) =1.8722 9 * 1.8722 =16.8498 85 – 104 94.5 10 1.9754 19.7540 105 – 124 114.5 17 2.0589 35.0013 125 – 144 134.5 10 2.1287 21.2870 145 – 164 154.5 5 2.1889 10.9445 165 – 184 174.5 4 2.2418 8.9672 185 – 204 194.5 5 2.2889 11.4445 Geometric Mean
  • 18. 18 Applications of GM ➢ Growth Rates: The Geometric Mean is used in finance to calculate average growth rates and is referred to as the compounded annual growth rate Geometric Mean
  • 19. 19 Example : Growth Rates ➢ Consider a stock that grows by 10% in year one, declines by 20% in year two, and then grows by 30% in year three. If the stock is at 100 in the starting. Find the Geometric Mean of the growth rate Geometric Mean
  • 20. 20 Example : Growth Rates 1st year its growth of 10% on 100 i.e. the starting value Growth at 10% = 10% of 100 = 10 Total = 100+10 =110 Relative Growth Rate = 110/100 =1.1 2nd year is decline of 20% so it will be calculated on first year’s amount = 20% of 110 = 22 Amount remaining is due to decline =110-22 Relative Growth Rate = 88/110= 0.8 Geometric Mean
  • 21. 21 Example : Growth Rates 3rd year is growth at 30% = 30% of 88 = 26.4 Total becomes = 88 + 26.4 = 114.4 Relative Growth Rate = 114.4/88 = 1.3 𝑮𝑴 = 𝒑𝒓𝒐𝒅𝒖𝒄𝒕 𝒐𝒇 𝒂𝒍𝒍 𝒓𝒆𝒍𝒂𝒕𝒊𝒗𝒆 𝒈𝒓𝒐𝒘𝒕𝒉 𝒓𝒂𝒕𝒆𝒔 ൗ 𝟏 𝒏𝒖𝒎𝒃𝒆𝒓 𝒐𝒇 𝒚𝒆𝒂𝒓𝒔 Geometric Mean
  • 22. 22 𝑮𝑴 = 𝒑𝒓𝒐𝒅𝒖𝒄𝒕 𝒐𝒇 𝒂𝒍𝒍 𝒓𝒆𝒍𝒂𝒕𝒊𝒗𝒆 𝒈𝒓𝒐𝒘𝒕𝒉 𝒓𝒂𝒕𝒆𝒔 ൗ 𝟏 𝒏𝒖𝒎𝒃𝒆𝒓 𝒐𝒇 𝒚𝒆𝒂𝒓𝒔 𝑮𝑴 = 𝟏. 𝟏 ∗ 𝟎. 𝟖 ∗ 𝟏. 𝟑 𝟏 𝟑 = 1.046 Geometric Mean
  • 23. 23 Applications of GM ➢ Portfolio Returns: The Geometric Mean is commonly used to calculate the annual return on portfolio of securities as well ➢ Consider a portfolio of stocks that goes up from $100 to $110 in year one, then declines to $80 in year two and goes up to $150 in year three. The return on portfolio is then calculated as Geometric Mean
  • 24. 24 Example : Portfolio Returns Stock starting value 100 ➢ 1st year it reached to 110 ➢ Rate of growth = 110/100 =1.1 ➢ 2nd year stocked declined to 80 ➢ Rate of growth = 80/110 = 0.7272 ➢ 3rd year stock again increased to 150 ➢ Rate of growth = 150/80 =1.875 Geometric Mean
  • 25. 25 Geometric Mean 𝑀𝑒𝑎𝑛 𝐺𝑟𝑜𝑤𝑡ℎ = 𝐺𝑀 = 1.1 ∗ 0.7272 ∗ 1.875 Τ 1 3 = 1.48885 Τ 1 3 𝑮𝑴 = 𝟏. 𝟏𝟒𝟒𝟕 𝑮𝑴 = 𝒑𝒓𝒐𝒅𝒖𝒄𝒕 𝒐𝒇 𝒂𝒍𝒍 𝒓𝒆𝒍𝒂𝒕𝒊𝒗𝒆 𝒈𝒓𝒐𝒘𝒕𝒉 𝒓𝒂𝒕𝒆𝒔 ൗ 𝟏 𝒏𝒖𝒎𝒃𝒆𝒓 𝒐𝒇 𝒚𝒆𝒂𝒓𝒔
  • 26. 26 ➢ As Arithmetic Mean requires addition & the Geometric Mean employs multiplication, the Harmonic Mean utilizes reciprocals ➢ It is defined for non-zero positive values as the reciprocal of the Arithmetic Mean of the reciprocals of the values Harmonic Mean (HM)
  • 27. 27 Harmonic Mean ➢ The Harmonic Mean is calculated as the number of values n divided by the sum of the reciprocal of the values ➢ The Harmonic Mean is the appropriate mean if the data comprise ratios & rates Harmonic Mean (HM)
  • 28. 28 ➢ In certain situations, especially many situations involving rates and ratios, the Harmonic Mean provides the truest average ➢ Example: Suppose in first test a typist types 400 words in 50 minutes, in second test he types the same words (400) in 40 minutes and in third test he takes 30 minutes to type the 400 words. Then average time of typing can be calculated by Harmonic Mean Harmonic Mean (HM)
  • 29. 29 ➢ Example: If a vehicle travels a certain distance d at a speed x (60 km/h) and then the same distance again at a speed y (40 km/h), then its average speed is the Harmonic Mean of x and y (48 km/h) Harmonic Mean (HM)
  • 32. 32 Example : Grouped Data Classes Class Marks (x) Freq (f) f/x 65 – 84 (65+84)/2 =74.5 9 9/74.5 = 0.12081 85 – 104 94.5 10 0.10582 105 – 124 114.5 17 0.14847 125 – 144 134.5 10 0.07435 145 – 164 154.5 5 0.03236 165 – 184 174.5 4 0.02292 185 – 204 194.5 5 0.02571 Harmonic Mean (HM)
  • 34. 34 ➢ The Arithmetic Mean is the most commonly used mean, although it may not be appropriate in some cases ➢ The exceptions are if the data contains negative or zero values, then the Geometric and Harmonic Means cannot be used directly ➢ To average compound rate changes over consistent periods: use the Geometric Mean How to Choose the Correct Mean?
  • 35. 35 ➢ To average rates over different periods or lengths: use the Harmonic Mean ➢ If your data displays an additive structure: the Arithmetic Mean is used ➢ If your data reveals a multiplicative structure and / or has large outliers: the Geometric or Harmonic Mean might be more appropriate How to Choose the Correct Mean?
  • 36. 36 ➢ There are pitfalls & tradeoffs to any decision ✓ loss of meaningful scale or units when using the Geometric Mean ✓ Datasets with 0’s cannot be used with the Geometric or Harmonic Means, & datasets with negative numbers also rule out the Geometric Mean How to Choose the Correct Mean?
  • 37. 37 Practice problem 1 Calculate Geometric Mean, Harmonic Mean from the following grouped data Classes Frequency 2-4 3 5-7 7 8-10 9 11-13 5 14-16 4 17-19 6 Central Tendency
  • 38. 38 Practice problem 2 Calculate Arithmetic, Geometric & Harmonic Mean from the following data 42,36,45,33,54,46,27,38,51,49,29,32 Central Tendency
  • 39. 39 Practice problem 3 A man travels from Lahore to Islamabad by a car and takes 4 hours to cover the whole distance. In the first hour he travels at a speed of 50 km/hr, in the second hour his speed is 64 km/hr, in third hour his speed is 80 km/hr and in the fourth hour he travels at the speed of 55 km/hr. Find the average speed of the motorist Central Tendency
  • 40. 40 Practice problem 4 If a strain of bacteria increases its population by 20% in the first hour, 30% in the next hour and 50% in the next hour, find out an estimate of the mean percentage growth in population. Starting with the population of 100 bacteria Central Tendency