Dr Kafu Wong ECON 1003 Analysis of Economic

  • Slides: 38
Download presentation
Dr. Ka-fu Wong ECON 1003 Analysis of Economic Data Ka-fu Wong © 2003 Chap

Dr. Ka-fu Wong ECON 1003 Analysis of Economic Data Ka-fu Wong © 2003 Chap 6 - 1

Chapter Six Discrete Probability Distributions GOALS l 1. Define the terms random variable and

Chapter Six Discrete Probability Distributions GOALS l 1. Define the terms random variable and probability distribution. 2. Distinguish between a discrete and continuous probability distributions. 3. Calculate the mean, variance, and standard deviation of a discrete probability distribution. 4. Describe the characteristics and compute probabilities using the binomial probability distribution. 5. Describe the characteristics and compute probabilities using the hypergeometric distribution. 6. Describe the characteristics and compute the Ka-fu Wong © 2003 Chap 6 - 2 probabilities using the Poisson distribution.

Random Variables n A random variable is a numerical value determined by the outcome

Random Variables n A random variable is a numerical value determined by the outcome of an experiment. n A probability distribution is the listing of all possible outcomes of an experiment and the corresponding probability. Ka-fu Wong © 2003 Chap 6 - 3

Types of Probability Distributions n A discrete probability distribution can assume only certain outcomes.

Types of Probability Distributions n A discrete probability distribution can assume only certain outcomes. n A continuous probability distribution can assume an infinite number of values within a given range. Ka-fu Wong © 2003 Chap 6 - 4

Types of Probability Distributions n Examples of a discrete distribution are: n The number

Types of Probability Distributions n Examples of a discrete distribution are: n The number of students in a class. n The number of children in a family. n The number of cars entering a carwash in a hour. n Number of home mortgages approved by Coastal Federal Bank last week. n Number of CDs you own. n Number of t rips made outside Hong Kong in the past one year. n The number of ten-cents coins in your pocket. Ka-fu Wong © 2003 Chap 6 - 5

Types of Probability Distributions n Examples of a continuous distribution include: n The distance

Types of Probability Distributions n Examples of a continuous distribution include: n The distance students travel to class. n The time it takes an executive to drive to work. n The length of an afternoon nap. n The length of time of a particular phone call. n The amount of money spent on your last haircut. Ka-fu Wong © 2003 Chap 6 - 6

Features of a Discrete Distribution n The main features of a discrete probability distribution

Features of a Discrete Distribution n The main features of a discrete probability distribution are: n The sum of the probabilities of the various outcomes is 1. 00. n The probability of a particular outcome is between 0 and 1. 00. n The outcomes are mutually exclusive. Ka-fu Wong © 2003 Chap 6 - 7

Example 1 n Consider a random experiment in which a coin is tossed three

Example 1 n Consider a random experiment in which a coin is tossed three times. Let x be the number of heads. Let H represent the outcome of a head and T the outcome of a tail. n The possible outcomes for such an experiment will be: TTT, TTH, THT, THH, HTT, HTH, HHT, HHH. n Thus the possible values of x (number of heads) are 0, 1, 2, 3 Ka-fu Wong © 2003 Chap 6 - 8

EXAMPLE 1 continued TTT, TTH, THT, THH, HTT, HTH, HHT, HHH. n The outcome

EXAMPLE 1 continued TTT, TTH, THT, THH, HTT, HTH, HHT, HHH. n The outcome of zero heads occurred once. n TTT n The outcome of one head occurred three times. n TTH, THT, HTT n The outcome of two heads occurred three times. n THH, HTH, HHT n The outcome of three heads occurred once. n HHH n From the definition of a random variable, x as defined in this experiment, is a random variable. Ka-fu Wong © 2003 Chap 6 - 9

The Mean of a Discrete Probability Distribution n The mean: n reports the central

The Mean of a Discrete Probability Distribution n The mean: n reports the central location of the data. n is the long-run average value of the random variable. n is also referred to as its expected value, E(X), in a probability distribution. n is a weighted average. Ka-fu Wong © 2003 Chap 6 - 10

The Mean of a Discrete Probability Distribution The mean is computed by the formula:

The Mean of a Discrete Probability Distribution The mean is computed by the formula: where represents the mean and P(x) is the probability of the various outcomes x. Similar to the formula for computing grouped mean where P(x) is replaced by relative frequency. Ka-fu Wong © 2003 Chap 6 - 11

The Variance of a Discrete Probability Distribution n The variance measures the amount of

The Variance of a Discrete Probability Distribution n The variance measures the amount of spread (variation) of a distribution. n The variance of a discrete distribution is denoted by the Greek letter 2 (sigma squared). n The standard deviation is the square root of 2. Ka-fu Wong © 2003 Chap 6 - 12

The Variance of a Discrete Probability Distribution n The variance of a discrete probability

The Variance of a Discrete Probability Distribution n The variance of a discrete probability distribution is computed from the formula: Similar to the formula for computing grouped variance where P(x) is replaced by relative frequency. Ka-fu Wong © 2003 Chap 6 - 13

EXAMPLE 2 n Dan Desch, owner of College Painters, studied his records for the

EXAMPLE 2 n Dan Desch, owner of College Painters, studied his records for the past 20 weeks and reports the following number of houses painted per week: Ka-fu Wong © 2003 Chap 6 - 14

EXAMPLE 2 continued n Probability Distribution: Ka-fu Wong © 2003 Chap 6 - 15

EXAMPLE 2 continued n Probability Distribution: Ka-fu Wong © 2003 Chap 6 - 15

EXAMPLE 2 continued n Compute the mean number of houses painted per week: Ka-fu

EXAMPLE 2 continued n Compute the mean number of houses painted per week: Ka-fu Wong © 2003 Chap 6 - 16

EXAMPLE 2 continued n Compute the variance of the number of houses painted per

EXAMPLE 2 continued n Compute the variance of the number of houses painted per week: Ka-fu Wong © 2003 Chap 6 - 17

Binomial Probability Distribution n The binomial distribution has the following characteristics: n An outcome

Binomial Probability Distribution n The binomial distribution has the following characteristics: n An outcome of an experiment is classified into one of two mutually exclusive categories, such as a success or failure. n The data collected are the results of counts. n The probability of success stays the same for each trial. n The trials are independent. Ka-fu Wong © 2003 Chap 6 - 18

Binomial Probability Distribution n To construct a binomial distribution, let n n be the

Binomial Probability Distribution n To construct a binomial distribution, let n n be the number of trials n x be the number of observed successes n be the probability of success on each trial n The formula for the binomial probability distribution is: P(x) = n. Cx x(1 - )n-x Ka-fu Wong © 2003 Chap 6 - 19

The density functions of binomial distributions with n=20 and different success rates p Ka-fu

The density functions of binomial distributions with n=20 and different success rates p Ka-fu Wong © 2003 Chap 6 - 20

Binomial Probability Distribution n The formula for the binomial probability distribution is: P(x) =

Binomial Probability Distribution n The formula for the binomial probability distribution is: P(x) = n. Cx x(1 - )n-x TTT, TTH, THT, THH, HTT, HTH, HHT, HHH. n X=number of heads n The coin is fair, i. e. , P(head) = 1/2. n P(x=0) = 1/8 n P(x=1) = 3/8 n P(x=2) = 3/8 n P(x=3) = 1/8 When the coin is not fair, simple counting rule will not work. Ka-fu Wong © 2003 Chap 6 - 21

EXAMPLE 3 The Alabama Department of Labor reports that 20% of the workforce in

EXAMPLE 3 The Alabama Department of Labor reports that 20% of the workforce in Mobile is unemployed. From a sample of 14 workers, calculate the following probabilities: n Exactly three are unemployed. n At least one are unemployed. Ka-fu Wong © 2003 Chap 6 - 22

EXAMPLE 3 continued The Alabama Department of Labor reports that 20% of the workforce

EXAMPLE 3 continued The Alabama Department of Labor reports that 20% of the workforce in Mobile is unemployed. From a sample of 14 workers n The probability of exactly 3: n The probability of at least 3 is: Ka-fu Wong © 2003 Chap 6 - 23

Example 3 continued The Alabama Department of Labor reports that 20% of the workforce

Example 3 continued The Alabama Department of Labor reports that 20% of the workforce in Mobile is unemployed. From a sample of 14 workers n The probability of at least one being unemployed. Ka-fu Wong © 2003 Chap 6 - 24

Mean & Variance of the Binomial Distribution n The mean is found by: n

Mean & Variance of the Binomial Distribution n The mean is found by: n The variance is found by: Ka-fu Wong © 2003 Chap 6 - 25

EXAMPLE 4 n From EXAMPLE 3, recall that =. 2 and n=14. n Hence,

EXAMPLE 4 n From EXAMPLE 3, recall that =. 2 and n=14. n Hence, the mean is: = n = 14(. 2) = 2. 8. n The variance is: 2 = n (1 - ) = (14)(. 2)(. 8) =2. 24. Ka-fu Wong © 2003 Chap 6 - 26

Finite Population n A finite population is a population consisting of a fixed number

Finite Population n A finite population is a population consisting of a fixed number of known individuals, objects, or measurements. Examples include: n The number of students in this class. n The number of cars in the parking lot. n The number of homes built in Blackmoor. Ka-fu Wong © 2003 Chap 6 - 27

Hypergeometric Distribution n The hypergeometric distribution has the following characteristics: n There are only

Hypergeometric Distribution n The hypergeometric distribution has the following characteristics: n There are only 2 possible outcomes. n The probability of a success is not the same on each trial. n It results from a count of the number of successes in a fixed number of trials. Ka-fu Wong © 2003 Chap 6 - 28

EXAMPLE 8 of last lecture In a bag containing 7 red chips and 5

EXAMPLE 8 of last lecture In a bag containing 7 red chips and 5 blue chips you select 2 chips one after the other without replacement. 6/11 7/12 5/12 R 1 R 2 5/11 B 2 7/11 R 2 B 1 4/11 B 2 The probability of a success (red chip) is not the same on each trial. Ka-fu Wong © 2003 Chap 6 - 29

Hypergeometric Distribution n The formula for finding a probability using the hypergeometric distribution is:

Hypergeometric Distribution n The formula for finding a probability using the hypergeometric distribution is: where N is the size of the population, S is the number of successes in the population, x is the number of successes in a sample of n observations. Ka-fu Wong © 2003 Chap 6 - 30

Hypergeometric Distribution n Use the hypergeometric distribution to find the probability of a specified

Hypergeometric Distribution n Use the hypergeometric distribution to find the probability of a specified number of successes or failures if: n the sample is selected from a finite population without replacement (recall that a criteria for the binomial distribution is that the probability of success remains the same from trial to trial) n the size of the sample n is greater than 5% of the size of the population N. Ka-fu Wong © 2003 Chap 6 - 31

The density functions of hypergeometric distributions with N=100, n=20 and different success rates p

The density functions of hypergeometric distributions with N=100, n=20 and different success rates p (=S/N). Ka-fu Wong © 2003 Chap 6 - 32

EXAMPLE 5 n The National Air Safety Board has a list of 10 reported

EXAMPLE 5 n The National Air Safety Board has a list of 10 reported safety violations. Suppose only 4 of the reported violations are actual violations and the Safety Board will only be able to investigate five of the violations. What is the probability that three of five violations randomly selected to be investigated are actually violations? Ka-fu Wong © 2003 Chap 6 - 33

Poisson Probability Distribution The formula for the binomial probability distribution is: P(x) = n.

Poisson Probability Distribution The formula for the binomial probability distribution is: P(x) = n. Cx x(1 - )n-x n The binomial distribution becomes more skewed to the right (positive) as the probability of success become smaller. n The limiting form of the binomial distribution where the probability of success is small and n is large is called the Poisson probability distribution. Ka-fu Wong © 2003 Chap 6 - 34

Poisson Probability Distribution The Poisson distribution can be described mathematically using the formula: where

Poisson Probability Distribution The Poisson distribution can be described mathematically using the formula: where is the mean number of successes in a particular interval of time, e is the constant 2. 71828, and x is the number of successes. Ka-fu Wong © 2003 Chap 6 - 35

Poisson Probability Distribution n The mean number of successes can be determined in binomial

Poisson Probability Distribution n The mean number of successes can be determined in binomial situations by n , where n is the number of trials and the probability of a success. n The variance of the Poisson distribution is also equal to n . n X, the number of success generally has no specific upper limit. n Probability distribution always skewed to the right. n Becomes symmetrical when gets large. Ka-fu Wong © 2003 Chap 6 - 36

EXAMPLE 6 n The Sylvania Urgent Care facility specializes in caring for minor injuries,

EXAMPLE 6 n The Sylvania Urgent Care facility specializes in caring for minor injuries, colds, and flu. For the evening hours of 6 -10 PM the mean number of arrivals is 4. 0 per hour. What is the probability of 2 arrivals in an hour? Ka-fu Wong © 2003 Chap 6 - 37

Chapter Six Discrete Probability Distributions - END - Ka-fu Wong © 2003 Chap 6

Chapter Six Discrete Probability Distributions - END - Ka-fu Wong © 2003 Chap 6 - 38