SlideShare a Scribd company logo
1 of 12
Download to read offline
Basic math tools:
Numbers, reciprocals, and averages

        juliohuato@gmail.com


         September 8, 2011
Topics


Numbers


Reciprocals


Averages
Numbers


  Economic data is reported in different numeric formats. Examples:
      the BEA estimated the U.S. 2007 GDP in 14.42 trillion dollars,
      the BEA also estimated U.S. 2007 imports of goods and
      services to be approximately one sixth (1/6) of GDP,
      the BLS estimated that, as of November 2008, the
      unemployment rate was 6.7%, and
      the CB reported that in 2007, the ratio of money income of
      the richest fifth of U.S. households to the poorest fifth was
      approximately 15:1.
Numbers

  In using numbers, we should be able to go back back and forth
  between the decimal, fraction, ratio, and percentage formats.
  Fractions, ratios, and percentages are also known as proportions,
  although expressed in three alternative ways. Examples:



             20.00 = 20 = 200/10 = 20 : 1 = 2, 000%
                 1.0 = 1 = 12.5/12.5 = 1 : 1 = 100%
                    0.5 = 1/2 = 25/50 = 1 : 2 = 50%
            0.333 = 1/3 = 300/900 = 1 : 3 = 33.33%
                 0.25 = 1/4 = 25/100 = 1 : 4 = 25%
Reciprocals


   We often need to take reciprocals. Taking a reciprocal is dividing a
   number into 1. For example, here are different forms to express
   the reciprocals of 50, 5, 0.5, and 0.01, respectively:



                            1/50 = 0.02 = 2%
                              1/5 = 0.2 = 20%
                            1/0.5 = 2 = 200%
                     1/0.01 = 100 = 10, 000%
Reciprocals


   Note that:
       When we divide any number by a small number (a number
       lower than 1), the result is a larger number. Contrariwise,
       when we divide any number by a large number (a number
       greater than 1), the result is a smaller number.
       The reciprocal of zero is undefined. In fact, any number
       (positive or negative) divided by zero is undefined. The result
       is a number so large that it cannot be defined as a number.
       Conventionally, it is called “infinity” (∞). That is: x/0 = ∞,
       where x may be 1 or any other number, positive or negative.
Simple average


   We often have data on a variable and need to find its typical or
   representative value. Averages come in handy for this.
   Example: A group of four students find in their pockets the
   following amounts of cash (in dollars): {25, 15, 10, 30}. What is
   the amount of cash in the pocket of a typical student in the
   group? Note that no particular individual needs to have exactly
   that amount. We may have learned in middle school to calculate
   the simple or arithmetic average of the data given:
                    25 + 15 + 10 + 30     80
                                       =      = 20
                             4             4
   The typical amount of cash in the pocket of an individual in this
   group is $20.
Simple average
   Let us generalize the results. Let x be any variable of interest for
   which we have data {x1 , x2 , . . . , xn }, where n is the number of
   values of x. In statistics, n is called the “sample size” or the
   “number of observations” of the variable. Now, let x be the simple
                                                             ¯
   or arithmetic average of the data (a.k.a. “arithmetic mean”).
   Then:
                                x1 + x2 + . . . + xn
                           x=
                           ¯
                                             n
               n
   If we let i=1 xi = x1 + x2 + . . . + xn , the formula can be
   simplified to:
                                             n
                                         1
                                 x=
                                 ¯             xi
                                        n
                                     x=1

   This reads as: “the simple mean of x is the sum of the data values
   of x, from the first to the last, divided by the sample size (or
   multiplied by the reciprocal of the sample size).”
Weighted average
   Let y be the cash in the pocket of each person in another group
   (in dollars): {5, 17, 8 }. Clearly, y = (5 + 17 + 8)/3 = 30/3 = 10.
                                       ¯
   Now suppose we are given the averages of each group: x = 20 and
                                                            ¯
   y = 10 and ask to find the typical value for both groups taken
   ¯
   together.
   We cannot just take the average of the simple averages:
   (20 + 10)/2 = 15. That gives the same “weight” to each of the
   averages in determining the average of averages. However, the first
   group has four people and the second group only three. As a
   result, each individual in the second group would be given more
   importance in influencing the total average. The correct average
   requires that each individual has the same “weight” regardless of
   group. Happily, we have the data for all individuals in both groups:
   {25, 15, 10, 30, 5, 17, 8}. The simple average for the two groups
   merged as a single total group is:
                 25 + 15 + 10 + 30 + 5 + 17 + 8
                                                = 15.7
                               7
Weighted average


   What if we don’t have the data for each individual, but only the
   averages and the sample sizes of the two groups? In that case, we
   can take the ’textbfweighted average (a.k.a. “weighted mean”):

                            z = wx x + wy y
                            ˜      ¯      ¯

   where z is the weighted mean of the means, i.e. the simple mean
          ˜
   of the two groups merged as one, and wi = ni /n is the “weight” of
   group i given by the sample size for group i as a fraction of the
   entire merged sample. Note that wx + wy = 1. In this case:

             z = wx x + wy y = (4/7) 20 + (3/7) 10 = 15.7
             ˜      ¯      ¯
Weighted average

   For m groups (where m is any arbitrary number of groups):

                    x = wa xa + wb xb + . . . + wm xm
                    ˜      ¯       ¯               ¯

   where wi = ni /n and m wi = 1.
                               i=a
   Example: In three towns, the average ($/per bag) price of oranges
   is, respectively, (4, 2, 6). The population in each town (in
   thousands) is, respectively, (12, 14, 18). The average for the three
   towns taken together, i.e. the weighted average, is given by:

                         xa = 4, xb = 2, xc = 6;
                         ¯       ¯       ¯
                12        12             14             18
    wa =                =    = .27, wb =    = .32, wb =    = .41
           12 + 14 + 18   44             44             44
   x = wa xa + wb xb + wc xc = (.27 × 4) + (.32 × 2) + (.41 × 6) = 4.2
   ˜      ¯       ¯       ¯
Weighted average

   Note the following:
       The weights sum to 1: wa + wb + wc = .27 + .32 + .41 = 1.00
       It was possible to use thousands as the units of the sample
       sizes, because the “weights” are the sample sizes (the
       population in each town) as a fraction of the entire merged
       sample size (the population of the three towns added
       together). In the “weight” formulas, the thousands in the
       numerators cancel out the thousands in the denominators.
       The notation used in the formulas is mixed. That should help
       you get comfortable with different symbols used to denote the
       same mathematical objects. Different textbooks use different
       notations, and sometimes the same book has to change
       notation from chapter to chapter or section to section.

More Related Content

What's hot

Continuous Random variable
Continuous Random variableContinuous Random variable
Continuous Random variableJay Patel
 
Chap05 continuous random variables and probability distributions
Chap05 continuous random variables and probability distributionsChap05 continuous random variables and probability distributions
Chap05 continuous random variables and probability distributionsJudianto Nugroho
 
Bernoullis Random Variables And Binomial Distribution
Bernoullis Random Variables And Binomial DistributionBernoullis Random Variables And Binomial Distribution
Bernoullis Random Variables And Binomial DistributionDataminingTools Inc
 
Chapter4
Chapter4Chapter4
Chapter4Vu Vo
 
Transformation of random variables
Transformation of random variablesTransformation of random variables
Transformation of random variablesTarun Gehlot
 
Chapter 2 Probabilty And Distribution
Chapter 2 Probabilty And DistributionChapter 2 Probabilty And Distribution
Chapter 2 Probabilty And Distributionghalan
 
Rachel’s Potw Solution
Rachel’s Potw SolutionRachel’s Potw Solution
Rachel’s Potw SolutionEunjin Park
 
Exponential formula presentation
Exponential formula presentationExponential formula presentation
Exponential formula presentationOliver Zhang
 
S Project 1st Rough Draft
S Project 1st Rough DraftS Project 1st Rough Draft
S Project 1st Rough DraftJordan Laubler
 
Introduction to random variables
Introduction to random variablesIntroduction to random variables
Introduction to random variablesHadley Wickham
 
Higher Differential Equation
Higher Differential Equation Higher Differential Equation
Higher Differential Equation Abdul Hannan
 

What's hot (19)

Continuous Random variable
Continuous Random variableContinuous Random variable
Continuous Random variable
 
Exponentials
ExponentialsExponentials
Exponentials
 
Chap05 continuous random variables and probability distributions
Chap05 continuous random variables and probability distributionsChap05 continuous random variables and probability distributions
Chap05 continuous random variables and probability distributions
 
Bernoullis Random Variables And Binomial Distribution
Bernoullis Random Variables And Binomial DistributionBernoullis Random Variables And Binomial Distribution
Bernoullis Random Variables And Binomial Distribution
 
Co vand corr
Co vand corrCo vand corr
Co vand corr
 
Chapter4
Chapter4Chapter4
Chapter4
 
Transformation of random variables
Transformation of random variablesTransformation of random variables
Transformation of random variables
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
 
Econometrics ch11
Econometrics ch11Econometrics ch11
Econometrics ch11
 
Chapter 2 Probabilty And Distribution
Chapter 2 Probabilty And DistributionChapter 2 Probabilty And Distribution
Chapter 2 Probabilty And Distribution
 
Rachel’s Potw Solution
Rachel’s Potw SolutionRachel’s Potw Solution
Rachel’s Potw Solution
 
Finite difference & interpolation
Finite difference & interpolationFinite difference & interpolation
Finite difference & interpolation
 
Exponential formula presentation
Exponential formula presentationExponential formula presentation
Exponential formula presentation
 
Unit iv
Unit ivUnit iv
Unit iv
 
Binomia ex 2
Binomia ex 2Binomia ex 2
Binomia ex 2
 
S Project 1st Rough Draft
S Project 1st Rough DraftS Project 1st Rough Draft
S Project 1st Rough Draft
 
Introduction to random variables
Introduction to random variablesIntroduction to random variables
Introduction to random variables
 
Chapter14
Chapter14Chapter14
Chapter14
 
Higher Differential Equation
Higher Differential Equation Higher Differential Equation
Higher Differential Equation
 

Similar to Numbers, reciprocals, averages

Probability distribution
Probability distributionProbability distribution
Probability distributionRohit kumar
 
Mba i qt unit-4.1_introduction to probability distributions
Mba i qt unit-4.1_introduction to probability distributionsMba i qt unit-4.1_introduction to probability distributions
Mba i qt unit-4.1_introduction to probability distributionsRai University
 
Bivariate Discrete Distribution
Bivariate Discrete DistributionBivariate Discrete Distribution
Bivariate Discrete DistributionArijitDhali
 
MATH11-SP-Q3-M1-pdf.pdf
MATH11-SP-Q3-M1-pdf.pdfMATH11-SP-Q3-M1-pdf.pdf
MATH11-SP-Q3-M1-pdf.pdfAbegailPanang2
 
Probabilitydistributionlecture web
Probabilitydistributionlecture webProbabilitydistributionlecture web
Probabilitydistributionlecture webkassimics
 
Probability distribution 2
Probability distribution 2Probability distribution 2
Probability distribution 2Nilanjan Bhaumik
 
ISM_Session_5 _ 23rd and 24th December.pptx
ISM_Session_5 _ 23rd and 24th December.pptxISM_Session_5 _ 23rd and 24th December.pptx
ISM_Session_5 _ 23rd and 24th December.pptxssuser1eba67
 
qasimsir-151129033239-lva1-app6bbbbbbbb892.pdf
qasimsir-151129033239-lva1-app6bbbbbbbb892.pdfqasimsir-151129033239-lva1-app6bbbbbbbb892.pdf
qasimsir-151129033239-lva1-app6bbbbbbbb892.pdfsaicharan8886999
 
Lect w2 measures_of_location_and_spread
Lect w2 measures_of_location_and_spreadLect w2 measures_of_location_and_spread
Lect w2 measures_of_location_and_spreadRione Drevale
 
Statistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability DistributionStatistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability DistributionApril Palmes
 
Introduction to probability distributions-Statistics and probability analysis
Introduction to probability distributions-Statistics and probability analysis Introduction to probability distributions-Statistics and probability analysis
Introduction to probability distributions-Statistics and probability analysis Vijay Hemmadi
 
Lecture 6 Normal Distribution.pptx
Lecture 6 Normal Distribution.pptxLecture 6 Normal Distribution.pptx
Lecture 6 Normal Distribution.pptxABCraftsman
 
2.1 the simple regression model
2.1 the simple regression model 2.1 the simple regression model
2.1 the simple regression model Regmi Milan
 

Similar to Numbers, reciprocals, averages (20)

Ppt On Average CAT quant 2009
Ppt On Average CAT quant 2009Ppt On Average CAT quant 2009
Ppt On Average CAT quant 2009
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
averages
averagesaverages
averages
 
lecture4.ppt
lecture4.pptlecture4.ppt
lecture4.ppt
 
Mba i qt unit-4.1_introduction to probability distributions
Mba i qt unit-4.1_introduction to probability distributionsMba i qt unit-4.1_introduction to probability distributions
Mba i qt unit-4.1_introduction to probability distributions
 
Bivariate Discrete Distribution
Bivariate Discrete DistributionBivariate Discrete Distribution
Bivariate Discrete Distribution
 
MATH11-SP-Q3-M1-pdf.pdf
MATH11-SP-Q3-M1-pdf.pdfMATH11-SP-Q3-M1-pdf.pdf
MATH11-SP-Q3-M1-pdf.pdf
 
Probabilitydistributionlecture web
Probabilitydistributionlecture webProbabilitydistributionlecture web
Probabilitydistributionlecture web
 
Probability distribution 2
Probability distribution 2Probability distribution 2
Probability distribution 2
 
ISM_Session_5 _ 23rd and 24th December.pptx
ISM_Session_5 _ 23rd and 24th December.pptxISM_Session_5 _ 23rd and 24th December.pptx
ISM_Session_5 _ 23rd and 24th December.pptx
 
qasimsir-151129033239-lva1-app6bbbbbbbb892.pdf
qasimsir-151129033239-lva1-app6bbbbbbbb892.pdfqasimsir-151129033239-lva1-app6bbbbbbbb892.pdf
qasimsir-151129033239-lva1-app6bbbbbbbb892.pdf
 
COVARIANCE IN PROBABILITY
COVARIANCE IN PROBABILITYCOVARIANCE IN PROBABILITY
COVARIANCE IN PROBABILITY
 
Lect w2 measures_of_location_and_spread
Lect w2 measures_of_location_and_spreadLect w2 measures_of_location_and_spread
Lect w2 measures_of_location_and_spread
 
Statistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability DistributionStatistics and Probability-Random Variables and Probability Distribution
Statistics and Probability-Random Variables and Probability Distribution
 
Introduction to probability distributions-Statistics and probability analysis
Introduction to probability distributions-Statistics and probability analysis Introduction to probability distributions-Statistics and probability analysis
Introduction to probability distributions-Statistics and probability analysis
 
2 UNIT-DSP.pptx
2 UNIT-DSP.pptx2 UNIT-DSP.pptx
2 UNIT-DSP.pptx
 
Lecture 6 Normal Distribution.pptx
Lecture 6 Normal Distribution.pptxLecture 6 Normal Distribution.pptx
Lecture 6 Normal Distribution.pptx
 
One Way ANOVA.pdf
One Way ANOVA.pdfOne Way ANOVA.pdf
One Way ANOVA.pdf
 
Quantification
QuantificationQuantification
Quantification
 
2.1 the simple regression model
2.1 the simple regression model 2.1 the simple regression model
2.1 the simple regression model
 

More from Julio Huato

Uncertainty, Risk, and Risk Management
Uncertainty, Risk, and Risk ManagementUncertainty, Risk, and Risk Management
Uncertainty, Risk, and Risk ManagementJulio Huato
 
Probability theory 2
Probability theory 2Probability theory 2
Probability theory 2Julio Huato
 
Hecksher-Ohlin model
Hecksher-Ohlin modelHecksher-Ohlin model
Hecksher-Ohlin modelJulio Huato
 
Int econ bases_trade
Int econ bases_tradeInt econ bases_trade
Int econ bases_tradeJulio Huato
 
A two-good economy
A two-good economyA two-good economy
A two-good economyJulio Huato
 
Applied Statistics - Parametric Distributions
Applied Statistics - Parametric DistributionsApplied Statistics - Parametric Distributions
Applied Statistics - Parametric DistributionsJulio Huato
 
Two-good output choice
Two-good output choiceTwo-good output choice
Two-good output choiceJulio Huato
 
Statistics - Probability theory 1
Statistics - Probability theory 1Statistics - Probability theory 1
Statistics - Probability theory 1Julio Huato
 
Intecon micro review 1
Intecon micro review 1Intecon micro review 1
Intecon micro review 1Julio Huato
 
Applied Statistics - Introduction
Applied Statistics - IntroductionApplied Statistics - Introduction
Applied Statistics - IntroductionJulio Huato
 
Summation Operator
Summation OperatorSummation Operator
Summation OperatorJulio Huato
 
Inputs output costs
Inputs output costsInputs output costs
Inputs output costsJulio Huato
 
Slides money banking risk reward capm
Slides money banking risk reward capmSlides money banking risk reward capm
Slides money banking risk reward capmJulio Huato
 
Slides money banking time value
Slides money banking time valueSlides money banking time value
Slides money banking time valueJulio Huato
 

More from Julio Huato (20)

Uncertainty, Risk, and Risk Management
Uncertainty, Risk, and Risk ManagementUncertainty, Risk, and Risk Management
Uncertainty, Risk, and Risk Management
 
Probability theory 2
Probability theory 2Probability theory 2
Probability theory 2
 
Int Econ BoP
Int Econ BoPInt Econ BoP
Int Econ BoP
 
Hecksher-Ohlin model
Hecksher-Ohlin modelHecksher-Ohlin model
Hecksher-Ohlin model
 
Ricardian model
Ricardian modelRicardian model
Ricardian model
 
Int econ bases_trade
Int econ bases_tradeInt econ bases_trade
Int econ bases_trade
 
Fin sys
Fin sysFin sys
Fin sys
 
A two-good economy
A two-good economyA two-good economy
A two-good economy
 
Applied Statistics - Parametric Distributions
Applied Statistics - Parametric DistributionsApplied Statistics - Parametric Distributions
Applied Statistics - Parametric Distributions
 
Two-good output choice
Two-good output choiceTwo-good output choice
Two-good output choice
 
Statistics - Probability theory 1
Statistics - Probability theory 1Statistics - Probability theory 1
Statistics - Probability theory 1
 
Intecon micro review 1
Intecon micro review 1Intecon micro review 1
Intecon micro review 1
 
Applied Statistics - Introduction
Applied Statistics - IntroductionApplied Statistics - Introduction
Applied Statistics - Introduction
 
Summation Operator
Summation OperatorSummation Operator
Summation Operator
 
Inputs output costs
Inputs output costsInputs output costs
Inputs output costs
 
Risk
RiskRisk
Risk
 
Elasticity
ElasticityElasticity
Elasticity
 
Slides money banking risk reward capm
Slides money banking risk reward capmSlides money banking risk reward capm
Slides money banking risk reward capm
 
Slides money banking time value
Slides money banking time valueSlides money banking time value
Slides money banking time value
 
Market model
Market modelMarket model
Market model
 

Recently uploaded

Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 

Recently uploaded (20)

Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 

Numbers, reciprocals, averages

  • 1. Basic math tools: Numbers, reciprocals, and averages juliohuato@gmail.com September 8, 2011
  • 3. Numbers Economic data is reported in different numeric formats. Examples: the BEA estimated the U.S. 2007 GDP in 14.42 trillion dollars, the BEA also estimated U.S. 2007 imports of goods and services to be approximately one sixth (1/6) of GDP, the BLS estimated that, as of November 2008, the unemployment rate was 6.7%, and the CB reported that in 2007, the ratio of money income of the richest fifth of U.S. households to the poorest fifth was approximately 15:1.
  • 4. Numbers In using numbers, we should be able to go back back and forth between the decimal, fraction, ratio, and percentage formats. Fractions, ratios, and percentages are also known as proportions, although expressed in three alternative ways. Examples: 20.00 = 20 = 200/10 = 20 : 1 = 2, 000% 1.0 = 1 = 12.5/12.5 = 1 : 1 = 100% 0.5 = 1/2 = 25/50 = 1 : 2 = 50% 0.333 = 1/3 = 300/900 = 1 : 3 = 33.33% 0.25 = 1/4 = 25/100 = 1 : 4 = 25%
  • 5. Reciprocals We often need to take reciprocals. Taking a reciprocal is dividing a number into 1. For example, here are different forms to express the reciprocals of 50, 5, 0.5, and 0.01, respectively: 1/50 = 0.02 = 2% 1/5 = 0.2 = 20% 1/0.5 = 2 = 200% 1/0.01 = 100 = 10, 000%
  • 6. Reciprocals Note that: When we divide any number by a small number (a number lower than 1), the result is a larger number. Contrariwise, when we divide any number by a large number (a number greater than 1), the result is a smaller number. The reciprocal of zero is undefined. In fact, any number (positive or negative) divided by zero is undefined. The result is a number so large that it cannot be defined as a number. Conventionally, it is called “infinity” (∞). That is: x/0 = ∞, where x may be 1 or any other number, positive or negative.
  • 7. Simple average We often have data on a variable and need to find its typical or representative value. Averages come in handy for this. Example: A group of four students find in their pockets the following amounts of cash (in dollars): {25, 15, 10, 30}. What is the amount of cash in the pocket of a typical student in the group? Note that no particular individual needs to have exactly that amount. We may have learned in middle school to calculate the simple or arithmetic average of the data given: 25 + 15 + 10 + 30 80 = = 20 4 4 The typical amount of cash in the pocket of an individual in this group is $20.
  • 8. Simple average Let us generalize the results. Let x be any variable of interest for which we have data {x1 , x2 , . . . , xn }, where n is the number of values of x. In statistics, n is called the “sample size” or the “number of observations” of the variable. Now, let x be the simple ¯ or arithmetic average of the data (a.k.a. “arithmetic mean”). Then: x1 + x2 + . . . + xn x= ¯ n n If we let i=1 xi = x1 + x2 + . . . + xn , the formula can be simplified to: n 1 x= ¯ xi n x=1 This reads as: “the simple mean of x is the sum of the data values of x, from the first to the last, divided by the sample size (or multiplied by the reciprocal of the sample size).”
  • 9. Weighted average Let y be the cash in the pocket of each person in another group (in dollars): {5, 17, 8 }. Clearly, y = (5 + 17 + 8)/3 = 30/3 = 10. ¯ Now suppose we are given the averages of each group: x = 20 and ¯ y = 10 and ask to find the typical value for both groups taken ¯ together. We cannot just take the average of the simple averages: (20 + 10)/2 = 15. That gives the same “weight” to each of the averages in determining the average of averages. However, the first group has four people and the second group only three. As a result, each individual in the second group would be given more importance in influencing the total average. The correct average requires that each individual has the same “weight” regardless of group. Happily, we have the data for all individuals in both groups: {25, 15, 10, 30, 5, 17, 8}. The simple average for the two groups merged as a single total group is: 25 + 15 + 10 + 30 + 5 + 17 + 8 = 15.7 7
  • 10. Weighted average What if we don’t have the data for each individual, but only the averages and the sample sizes of the two groups? In that case, we can take the ’textbfweighted average (a.k.a. “weighted mean”): z = wx x + wy y ˜ ¯ ¯ where z is the weighted mean of the means, i.e. the simple mean ˜ of the two groups merged as one, and wi = ni /n is the “weight” of group i given by the sample size for group i as a fraction of the entire merged sample. Note that wx + wy = 1. In this case: z = wx x + wy y = (4/7) 20 + (3/7) 10 = 15.7 ˜ ¯ ¯
  • 11. Weighted average For m groups (where m is any arbitrary number of groups): x = wa xa + wb xb + . . . + wm xm ˜ ¯ ¯ ¯ where wi = ni /n and m wi = 1. i=a Example: In three towns, the average ($/per bag) price of oranges is, respectively, (4, 2, 6). The population in each town (in thousands) is, respectively, (12, 14, 18). The average for the three towns taken together, i.e. the weighted average, is given by: xa = 4, xb = 2, xc = 6; ¯ ¯ ¯ 12 12 14 18 wa = = = .27, wb = = .32, wb = = .41 12 + 14 + 18 44 44 44 x = wa xa + wb xb + wc xc = (.27 × 4) + (.32 × 2) + (.41 × 6) = 4.2 ˜ ¯ ¯ ¯
  • 12. Weighted average Note the following: The weights sum to 1: wa + wb + wc = .27 + .32 + .41 = 1.00 It was possible to use thousands as the units of the sample sizes, because the “weights” are the sample sizes (the population in each town) as a fraction of the entire merged sample size (the population of the three towns added together). In the “weight” formulas, the thousands in the numerators cancel out the thousands in the denominators. The notation used in the formulas is mixed. That should help you get comfortable with different symbols used to denote the same mathematical objects. Different textbooks use different notations, and sometimes the same book has to change notation from chapter to chapter or section to section.