Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.

Similar presentations


Presentation on theme: "1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole."— Presentation transcript:

1 1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Slides by John Loucks St. Edward’s University

2 2 2 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Chapter 5 Discrete Probability Distributions.10.20.30.40 0 1 2 3 4 n Random Variables n Discrete Probability Distributions n Expected Value and Variance n Binomial Probability Distribution n Poisson Probability Distribution n Hypergeometric Probability Distribution

3 3 3 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. A random variable is a numerical description of the A random variable is a numerical description of the outcome of an experiment. outcome of an experiment. A random variable is a numerical description of the A random variable is a numerical description of the outcome of an experiment. outcome of an experiment. Random Variables A discrete random variable may assume either a A discrete random variable may assume either a finite number of values or an infinite sequence of finite number of values or an infinite sequence of values. values. A discrete random variable may assume either a A discrete random variable may assume either a finite number of values or an infinite sequence of finite number of values or an infinite sequence of values. values. A continuous random variable may assume any A continuous random variable may assume any numerical value in an interval or collection of numerical value in an interval or collection of intervals. intervals. A continuous random variable may assume any A continuous random variable may assume any numerical value in an interval or collection of numerical value in an interval or collection of intervals. intervals.

4 4 4 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Let x = number of TVs sold at the store in one day, Let x = number of TVs sold at the store in one day, where x can take on 5 values (0, 1, 2, 3, 4) where x can take on 5 values (0, 1, 2, 3, 4) Let x = number of TVs sold at the store in one day, Let x = number of TVs sold at the store in one day, where x can take on 5 values (0, 1, 2, 3, 4) where x can take on 5 values (0, 1, 2, 3, 4) n Example: JSL Appliances Discrete Random Variable with a Finite Number of Values We can count the TVs sold, and there is a finite We can count the TVs sold, and there is a finite upper limit on the number that might be sold (which is the number of TVs in stock).

5 5 5 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Let x = number of customers arriving in one day, Let x = number of customers arriving in one day, where x can take on the values 0, 1, 2,... where x can take on the values 0, 1, 2,... Let x = number of customers arriving in one day, Let x = number of customers arriving in one day, where x can take on the values 0, 1, 2,... where x can take on the values 0, 1, 2,... Discrete Random Variable with an Infinite Sequence of Values We can count the customers arriving, but there is We can count the customers arriving, but there is no finite upper limit on the number that might arrive. n Example: JSL Appliances

6 6 6 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Random Variables Question Random Variable x Type Familysize x = Number of dependents reported on tax return reported on tax returnDiscrete Distance from home to store x = Distance in miles from home to the store site home to the store site Continuous Own dog or cat x = 1 if own no pet; = 2 if own dog(s) only; = 2 if own dog(s) only; = 3 if own cat(s) only; = 3 if own cat(s) only; = 4 if own dog(s) and cat(s) = 4 if own dog(s) and cat(s) Discrete

7 7 7 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. The probability distribution for a random variable The probability distribution for a random variable describes how probabilities are distributed over describes how probabilities are distributed over the values of the random variable. the values of the random variable. The probability distribution for a random variable The probability distribution for a random variable describes how probabilities are distributed over describes how probabilities are distributed over the values of the random variable. the values of the random variable. We can describe a discrete probability distribution We can describe a discrete probability distribution with a table, graph, or formula. with a table, graph, or formula. We can describe a discrete probability distribution We can describe a discrete probability distribution with a table, graph, or formula. with a table, graph, or formula. Discrete Probability Distributions

8 8 8 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. The probability distribution is defined by a The probability distribution is defined by a probability function, denoted by f ( x ), which provides probability function, denoted by f ( x ), which provides the probability for each value of the random variable. the probability for each value of the random variable. The probability distribution is defined by a The probability distribution is defined by a probability function, denoted by f ( x ), which provides probability function, denoted by f ( x ), which provides the probability for each value of the random variable. the probability for each value of the random variable. The required conditions for a discrete probability The required conditions for a discrete probability function are: function are: The required conditions for a discrete probability The required conditions for a discrete probability function are: function are: Discrete Probability Distributions f ( x ) > 0  f ( x ) = 1

9 9 9 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. a tabular representation of the probability a tabular representation of the probability distribution for TV sales was developed. distribution for TV sales was developed. Using past data on TV sales, …Using past data on TV sales, … Number Number Units Sold of Days Units Sold of Days 0 80 1 50 1 50 2 40 2 40 3 10 3 10 4 20 4 20 200 200 Number Number Units Sold of Days Units Sold of Days 0 80 1 50 1 50 2 40 2 40 3 10 3 10 4 20 4 20 200 200 x f ( x ) x f ( x ) 0.40 0.40 1.25 1.25 2.20 2.20 3.05 3.05 4.10 4.10 1.00 1.00 x f ( x ) x f ( x ) 0.40 0.40 1.25 1.25 2.20 2.20 3.05 3.05 4.10 4.10 1.00 1.00 80/200 Discrete Probability Distributions n Example: JSL Appliances

10 10 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part..10.20.30. 40.50 0 1 2 3 4 Values of Random Variable x (TV sales) ProbabilityProbability Discrete Probability Distributions n Example: JSL Appliances Graphicalrepresentation of probability distributionGraphicalrepresentation distribution

11 11 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Discrete Uniform Probability Distribution The discrete uniform probability distribution is the The discrete uniform probability distribution is the simplest example of a discrete probability simplest example of a discrete probability distribution given by a formula. distribution given by a formula. The discrete uniform probability distribution is the The discrete uniform probability distribution is the simplest example of a discrete probability simplest example of a discrete probability distribution given by a formula. distribution given by a formula. The discrete uniform probability function is The discrete uniform probability function is f ( x ) = 1/ n where: n = the number of values the random variable may assume variable may assume the values of the random variable random variable are equally likely are equally likely

12 12 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Expected Value The expected value, or mean, of a random variable The expected value, or mean, of a random variable is a measure of its central location. is a measure of its central location. The expected value, or mean, of a random variable The expected value, or mean, of a random variable is a measure of its central location. is a measure of its central location. The expected value is a weighted average of the The expected value is a weighted average of the values the random variable may assume. The values the random variable may assume. The weights are the probabilities. weights are the probabilities. The expected value is a weighted average of the The expected value is a weighted average of the values the random variable may assume. The values the random variable may assume. The weights are the probabilities. weights are the probabilities. The expected value does not have to be a value the The expected value does not have to be a value the random variable can assume. random variable can assume. The expected value does not have to be a value the The expected value does not have to be a value the random variable can assume. random variable can assume. E ( x ) =  =  xf ( x )

13 13 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Variance and Standard Deviation The variance summarizes the variability in the The variance summarizes the variability in the values of a random variable. values of a random variable. The variance summarizes the variability in the The variance summarizes the variability in the values of a random variable. values of a random variable. The variance is a weighted average of the squared The variance is a weighted average of the squared deviations of a random variable from its mean. The deviations of a random variable from its mean. The weights are the probabilities. weights are the probabilities. The variance is a weighted average of the squared The variance is a weighted average of the squared deviations of a random variable from its mean. The deviations of a random variable from its mean. The weights are the probabilities. weights are the probabilities. Var( x ) =  2 =  ( x -  ) 2 f ( x ) The standard deviation, , is defined as the positive The standard deviation, , is defined as the positive square root of the variance. square root of the variance. The standard deviation, , is defined as the positive The standard deviation, , is defined as the positive square root of the variance. square root of the variance.

14 14 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. expected number of TVs sold in a day x f ( x ) xf ( x ) x f ( x ) xf ( x ) 0.40.00 0.40.00 1.25.25 1.25.25 2.20.40 2.20.40 3.05.15 3.05.15 4.10.40 4.10.40 E ( x ) = 1.20 E ( x ) = 1.20 Expected Value n Example: JSL Appliances

15 15 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. 01234 -1.2-0.2 0.8 0.8 1.8 1.8 2.8 2.81.440.040.643.247.84.40.25.20.05.10.576.010.128.162.784 x -  ( x -  ) 2 f(x)f(x)f(x)f(x) ( x -  ) 2 f ( x ) Variance of daily sales =  2 = 1.660 x TVssquared Standard deviation of daily sales = 1.2884 TVs Variance n Example: JSL Appliances

16 16 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Excel Formula Worksheet Using Excel to Compute the Expected Value, Variance, and Standard Deviation

17 17 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Excel Value Worksheet Using Excel to Compute the Expected Value, Variance, and Standard Deviation

18 18 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Binomial Probability Distribution n Four Properties of a Binomial Experiment 3. The probability of a success, denoted by p, does not change from trial to trial. not change from trial to trial. 3. The probability of a success, denoted by p, does not change from trial to trial. not change from trial to trial. 4. The trials are independent. 2. Two outcomes, success and failure, are possible on each trial. on each trial. 2. Two outcomes, success and failure, are possible on each trial. on each trial. 1. The experiment consists of a sequence of n identical trials. identical trials. 1. The experiment consists of a sequence of n identical trials. identical trials. stationarityassumption

19 19 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Binomial Probability Distribution Our interest is in the number of successes Our interest is in the number of successes occurring in the n trials. occurring in the n trials. Our interest is in the number of successes Our interest is in the number of successes occurring in the n trials. occurring in the n trials. We let x denote the number of successes We let x denote the number of successes occurring in the n trials. occurring in the n trials. We let x denote the number of successes We let x denote the number of successes occurring in the n trials. occurring in the n trials.

20 20 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. where: where: x = the number of successes x = the number of successes p = the probability of a success on one trial p = the probability of a success on one trial n = the number of trials n = the number of trials f ( x ) = the probability of x successes in n trials f ( x ) = the probability of x successes in n trials n ! = n ( n – 1)( n – 2) ….. (2)(1) n ! = n ( n – 1)( n – 2) ….. (2)(1) Binomial Probability Distribution n Binomial Probability Function

21 21 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Binomial Probability Distribution n Binomial Probability Function Probability of a particular sequence of trial outcomes sequence of trial outcomes with x successes in n trials with x successes in n trials Probability of a particular sequence of trial outcomes sequence of trial outcomes with x successes in n trials with x successes in n trials Number of experimental outcomes providing exactly outcomes providing exactly x successes in n trials Number of experimental outcomes providing exactly outcomes providing exactly x successes in n trials

22 22 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Binomial Probability Distribution n Example: Evans Electronics Evans Electronics is concerned about a low Evans Electronics is concerned about a low retention rate for its employees. In recent years, management has seen a turnover of 10% of the hourly employees annually. Choosing 3 hourly employees at random, what is Choosing 3 hourly employees at random, what is the probability that 1 of them will leave the company this year? Thus, for any hourly employee chosen at random, Thus, for any hourly employee chosen at random, management estimates a probability of 0.1 that the person will not be with the company next year.

23 23 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Binomial Probability Distribution n Example: Evans Electronics The probability of the first employee leaving and the second and third employees staying, denoted ( S, F, F ), is given by p (1 – p )(1 – p ) With a.10 probability of an employee leaving on any one trial, the probability of an employee leaving on the first trial and not on the second and third trials is given by (.10)(.90)(.90) = (.10)(.90) 2 =.081 (.10)(.90)(.90) = (.10)(.90) 2 =.081

24 24 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Binomial Probability Distribution n Example: Evans Electronics Two other experimental outcomes also result in one success and two failures. The probabilities for all three experimental outcomes involving one success follow. ExperimentalOutcome ( S, F, F ) ( F, S, F ) ( F, F, S ) Probability of Experimental Outcome p (1 – p )(1 – p ) = (.1)(.9)(.9) =.081 (1 – p ) p (1 – p ) = (.9)(.1)(.9) =.081 (1 – p )(1 – p ) p = (.9)(.9)(.1) =.081 Total =.243

25 25 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Binomial Probability Distribution Let : p =.10, n = 3, x = 1 n Example: Evans Electronics Using the probabilityfunction probabilityfunction

26 26 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Binomial Probability Distribution 1 st Worker 2 nd Worker 3 rd Worker x x Prob. Leaves (.1) Leaves (.1) Stays (.9) Stays (.9) 3 3 2 2 0 0 2 2 2 2 Leaves (.1) S (.9) Stays (.9) S (.9) L (.1).0010.0090.7290.0090 1 1 1 1.0810 11 n Example: Evans Electronics Using a tree diagram

27 27 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Using Excel to Compute Binomial Probabilities n Excel Formula Worksheet AB 13 = Number of Trials (n) 20.1 = Probability of Success (p) 3 4xf(x) 50=BINOM.DIST(A5,$A$1,$A$2,FALSE ) 61=BINOM.DIST(A6,$A$1,$A$2,FALSE ) 72=BINOM.DIST(A7,$A$1,$A$2,FALSE ) 83=BINOM.DIST(A8,$A$1,$A$2,FALSE ) 9

28 28 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Using Excel to Compute Binomial Probabilities n Excel Value Worksheet AB 13 = Number of Trials (n) 20.1 = Probability of Success (p) 3 4xf(x) 500.729 610.243 720.027 830.001 9

29 29 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Using Excel to Compute Cumulative Binomial Probabilities n Excel Formula Worksheet AB 13 = Number of Trials (n) 20.1 = Probability of Success (p) 3 4x Cumulative Probability 50=BINOM.DIST(A5,$A$1,$A$2,TRUE ) 61=BINOM.DIST(A6,$A$1,$A$2,TRUE ) 72=BINOM.DIST(A7,$A$1,$A$2,TRUE ) 83=BINOM.DIST(A8,$A$1,$A$2,TRUE ) 9

30 30 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Using Excel to Compute Cumulative Binomial Probabilities n Excel Value Worksheet AB 13 = Number of Trials (n) 20.1 = Probability of Success (p) 3 4x Cumulative Probability 500.729 610.972 720.999 831.000 9

31 31 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Binomial Probabilities and Cumulative Probabilities With modern calculators and the capability of statistical software packages, such tables are almost unnecessary. With modern calculators and the capability of statistical software packages, such tables are almost unnecessary. These tables can be found in some statistics textbooks. textbooks. Statisticians have developed tables that give probabilities and cumulative probabilities for a binomial random variable. Statisticians have developed tables that give probabilities and cumulative probabilities for a binomial random variable.

32 32 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Binomial Probability Distribution E ( x ) =  = np Var( x ) =  2 = np (1  p ) n Expected Value n Variance n Standard Deviation

33 33 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Binomial Probability Distribution E ( x ) = np = 3(.1) =.3 employees out of 3 Var( x ) = np (1 – p ) = 3(.1)(.9) =.27 Expected Value Expected Value Variance Variance Standard Deviation Standard Deviation n Example: Evans Electronics

34 34 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. A Poisson distributed random variable is often A Poisson distributed random variable is often useful in estimating the number of occurrences useful in estimating the number of occurrences over a specified interval of time or space over a specified interval of time or space A Poisson distributed random variable is often A Poisson distributed random variable is often useful in estimating the number of occurrences useful in estimating the number of occurrences over a specified interval of time or space over a specified interval of time or space It is a discrete random variable that may assume It is a discrete random variable that may assume an infinite sequence of values (x = 0, 1, 2,... ). an infinite sequence of values (x = 0, 1, 2,... ). It is a discrete random variable that may assume It is a discrete random variable that may assume an infinite sequence of values (x = 0, 1, 2,... ). an infinite sequence of values (x = 0, 1, 2,... ). Poisson Probability Distribution

35 35 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Examples of a Poisson distributed random variable: Examples of a Poisson distributed random variable: the number of knotholes in 14 linear feet of the number of knotholes in 14 linear feet of pine board pine board the number of knotholes in 14 linear feet of the number of knotholes in 14 linear feet of pine board pine board the number of vehicles arriving at a toll the number of vehicles arriving at a toll booth in one hour booth in one hour the number of vehicles arriving at a toll the number of vehicles arriving at a toll booth in one hour booth in one hour Poisson Probability Distribution Bell Labs used the Poisson distribution to model the Bell Labs used the Poisson distribution to model the arrival of phone calls. arrival of phone calls. Bell Labs used the Poisson distribution to model the Bell Labs used the Poisson distribution to model the arrival of phone calls. arrival of phone calls.

36 36 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Poisson Probability Distribution n Two Properties of a Poisson Experiment 2. The occurrence or nonoccurrence in any interval is independent of the occurrence or interval is independent of the occurrence or nonoccurrence in any other interval. nonoccurrence in any other interval. 2. The occurrence or nonoccurrence in any interval is independent of the occurrence or interval is independent of the occurrence or nonoccurrence in any other interval. nonoccurrence in any other interval. 1. The probability of an occurrence is the same for any two intervals of equal length. for any two intervals of equal length. 1. The probability of an occurrence is the same for any two intervals of equal length. for any two intervals of equal length.

37 37 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Poisson Probability Function Poisson Probability Distribution where: where: x = the number of occurrences in an interval x = the number of occurrences in an interval f(x) = the probability of x occurrences in an interval f(x) = the probability of x occurrences in an interval  = mean number of occurrences in an interval  = mean number of occurrences in an interval e = 2.71828 e = 2.71828 x ! = x ( x – 1)( x – 2)... (2)(1) x ! = x ( x – 1)( x – 2)... (2)(1)

38 38 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Poisson Probability Distribution n Poisson Probability Function In practical applications, x will eventually become large enough so that f ( x ) is approximately zero and the probability of any larger values of x becomes negligible. In practical applications, x will eventually become large enough so that f ( x ) is approximately zero and the probability of any larger values of x becomes negligible. Since there is no stated upper limit for the number of occurrences, the probability function f ( x ) is applicable for values x = 0, 1, 2, … without limit. Since there is no stated upper limit for the number of occurrences, the probability function f ( x ) is applicable for values x = 0, 1, 2, … without limit.

39 39 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Poisson Probability Distribution n Example: Mercy Hospital Patients arrive at the emergency room of Mercy Patients arrive at the emergency room of Mercy Hospital at the average rate of 6 per hour on weekend evenings. What is the probability of 4 arrivals in 30 minutes What is the probability of 4 arrivals in 30 minutes on a weekend evening?

40 40 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Poisson Probability Distribution  = 6/hour = 3/half-hour, x = 4 n Example: Mercy Hospital Using the probabilityfunction probabilityfunction

41 41 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Using Excel to Compute Poisson Probabilities n Excel Formula Worksheet … and so on AB 13 = Mean No. of Occurrences (  ) 2 3 Number of Arrivals (x)Probabilityf(x) 40=POISSON.DIST(A4,$A$1,FALSE) 51=POISSON.DIST(A5,$A$1,FALSE) 62=POISSON.DIST(A6,$A$1,FALSE) 73=POISSON.DIST(A7,$A$1,FALSE) 84=POISSON.DIST(A8,$A$1,FALSE) 95=POISSON.DIST(A9,$A$1,FALSE) 106=POISSON.DIST(A10,$A$1,FALSE)

42 42 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Using Excel to Compute Poisson Probabilities n Excel Value Worksheet … and so on AB 13 = Mean No. of Occurrences (  ) 2 3 Number of Arrivals (x)Probabilityf(x) 400.0498 510.1494 620.2240 73 840.1680 950.1008 1060.0504

43 43 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Poisson Probability Distribution Poisson Probabilities 0.00 0.05 0.10 0.15 0.20 0.25 0 12345678910 Number of Arrivals in 30 Minutes Probability actually, the sequencecontinues: 11, 12, … n Example: Mercy Hospital

44 44 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Excel Formula Worksheet … and so on Using Excel to Compute Cumulative Poisson Probabilities

45 45 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Excel Value Worksheet … and so on Using Excel to Compute Cumulative Poisson Probabilities AB 13 = Mean No. of Occurrences (  ) 2 3 Number of Arrivals (x)x)Cumulative Probability 400.0498 510.1991 620.4232 730.6472 840.8153 950.9161 1060.9665

46 46 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Poisson Probability Distribution A property of the Poisson distribution is that the mean and variance are equal.  A property of the Poisson distribution is that the mean and variance are equal.   =  2

47 47 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Poisson Probability Distribution Variance for Number of Arrivals During 30-Minute Periods  =  2 = 3 n Example: Mercy Hospital

48 48 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Hypergeometric Probability Distribution The hypergeometric distribution is closely related The hypergeometric distribution is closely related to the binomial distribution. to the binomial distribution. The hypergeometric distribution is closely related The hypergeometric distribution is closely related to the binomial distribution. to the binomial distribution. However, for the hypergeometric distribution: However, for the hypergeometric distribution: the trials are not independent, and the trials are not independent, and the probability of success changes from trial the probability of success changes from trial to trial. to trial. the probability of success changes from trial the probability of success changes from trial to trial. to trial.

49 49 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Hypergeometric Probability Function Hypergeometric Probability Distribution where: x = number of successes n = number of trials n = number of trials f ( x ) = probability of x successes in n trials f ( x ) = probability of x successes in n trials N = number of elements in the population N = number of elements in the population r = number of elements in the population r = number of elements in the population labeled success labeled success

50 50 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Hypergeometric Probability Function Hypergeometric Probability Distribution for 0 < x < r number of ways x successes can be selected from a total of r successes in the population number of ways x successes can be selected from a total of r successes in the population number of ways n – x failures can be selected from a total of N – r failures in the population number of ways n – x failures can be selected from a total of N – r failures in the population number of ways n elements can be selected from a population of size N from a population of size N number of ways n elements can be selected from a population of size N from a population of size N

51 51 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Hypergeometric Probability Distribution n Hypergeometric Probability Function If these two conditions do not hold for a value of x, the corresponding f ( x ) equals 0. If these two conditions do not hold for a value of x, the corresponding f ( x ) equals 0. However, only values of x where: 1) x < r and 2) n – x < N – r are valid. However, only values of x where: 1) x < r and 2) n – x < N – r are valid. The probability function f ( x ) on the previous slide is usually applicable for values of x = 0, 1, 2, … n. The probability function f ( x ) on the previous slide is usually applicable for values of x = 0, 1, 2, … n.

52 52 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Hypergeometric Probability Distribution Bob Neveready has removed two dead batteries Bob Neveready has removed two dead batteries from a flashlight and inadvertently mingled them with the two good batteries he intended as replacements. The four batteries look identical. n Example: Neveready’s Batteries Bob now randomly selects two of the four Bob now randomly selects two of the four batteries. What is the probability he selects the two good batteries?

53 53 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Hypergeometric Probability Distribution where: x = 2 = number of good batteries selected x = 2 = number of good batteries selected n = 2 = number of batteries selected n = 2 = number of batteries selected N = 4 = number of batteries in total N = 4 = number of batteries in total r = 2 = number of good batteries in total r = 2 = number of good batteries in total Using the probabilityfunction probabilityfunction n Example: Neveready’s Batteries

54 54 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Using Excel to Compute Hypergeometric Probabilities n Excel Formula Worksheet AB 12 Number of Successes (x) 22 Number of Trials (n) 32 Number of Elements in the Population Labeled Success (r) 44 Number of Elements in the Population (N) 5 6f(x)=HYPGEOM.DIST(A1,A2,A3,A4) 7

55 55 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Using Excel to Compute Hypergeometric Probabilities n Excel Value Worksheet AB 12 Number of Successes (x) 22 Number of Trials (n) 32 Number of Elements in the Population Labeled Success (r) 44 Number of Elements in the Population (N) 5 6f(x)0.1667 7

56 56 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Hypergeometric Probability Distribution n Mean n Variance

57 57 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Hypergeometric Probability Distribution Mean Mean Variance Variance n Example: Neveready’s Batteries

58 58 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Hypergeometric Probability Distribution Consider a hypergeometric distribution with n trials and let p = ( r / n ) denote the probability of a success and let p = ( r / n ) denote the probability of a success on the first trial. on the first trial. Consider a hypergeometric distribution with n trials and let p = ( r / n ) denote the probability of a success and let p = ( r / n ) denote the probability of a success on the first trial. on the first trial. If the population size is large, the term ( N – n )/( N – 1) approaches 1. approaches 1. If the population size is large, the term ( N – n )/( N – 1) approaches 1. approaches 1. he expected value and variance can be written The expected value and variance can be written E ( x ) = np and Var ( x ) = np (1 – p ). E ( x ) = np and Var ( x ) = np (1 – p ). he expected value and variance can be written The expected value and variance can be written E ( x ) = np and Var ( x ) = np (1 – p ). E ( x ) = np and Var ( x ) = np (1 – p ). he expected Note that these are the expressions for the expected value and variance of a binomial distribution. value and variance of a binomial distribution. he expected Note that these are the expressions for the expected value and variance of a binomial distribution. value and variance of a binomial distribution. continued

59 59 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Hypergeometric Probability Distribution When the population size is large, a hypergeometric When the population size is large, a hypergeometric distribution can be approximated by a binomial distribution can be approximated by a binomial distribution with n trials and a probability of success distribution with n trials and a probability of success p = ( r / N ). p = ( r / N ). When the population size is large, a hypergeometric When the population size is large, a hypergeometric distribution can be approximated by a binomial distribution can be approximated by a binomial distribution with n trials and a probability of success distribution with n trials and a probability of success p = ( r / N ). p = ( r / N ).

60 60 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. End of Chapter 5


Download ppt "1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole."

Similar presentations


Ads by Google