Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 5 Discrete Probability Distributions n Random Variables n Discrete Probability Distributions n Expected Value and Variance n Binomial Probability.

Similar presentations


Presentation on theme: "Chapter 5 Discrete Probability Distributions n Random Variables n Discrete Probability Distributions n Expected Value and Variance n Binomial Probability."— Presentation transcript:

1 Chapter 5 Discrete Probability Distributions n Random Variables n Discrete Probability Distributions n Expected Value and Variance n Binomial Probability Distribution n Poisson Probability Distribution n Hypergeometric Probability Distribution.10.20.30.40 0 1 2 3 4

2 Random Variables n A random variable is a numerical description of the outcome of an experiment. n A random variable can be classified as being either discrete or continuous depending on the numerical values it assumes. n A discrete random variable may assume either a finite number of values or an infinite sequence of values. n A continuous random variable may assume any numerical value in an interval or collection of intervals.

3 Example: JSL Appliances n Discrete random variable with a finite number of values Let x = number of TV sets 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 Discrete random variable with an infinite sequence of values 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,... We can count the customers arriving, but there is no finite upper limit on the number that might arrive.

4 Random Variables Question Random Variable x Type Family x = Number of dependents in Discrete size family reported on tax return Distance from x = Distance in miles from Continuous home to store home to the store site Own dog x = 1 if own no pet; Discrete or cat = 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)

5 Discrete Probability Distributions n The probability distribution for a random variable describes how probabilities are distributed over the values of the random variable. n The probability distribution is defined by a probability function, denoted by f ( x ), which provides the probability for each value of the random variable. n The required conditions for a discrete probability function are: f ( x ) > 0 f ( x ) > 0  f ( x ) = 1  f ( x ) = 1 n We can describe a discrete probability distribution with a table, graph, or equation.

6 n Using past data on TV sales (below left), a tabular representation of the probability distribution for TV sales (below right) was developed. Number Number Units Sold of Days x f ( x ) Units Sold of Days x f ( x ) 0 80 0.40 0 80 0.40 1 50 1.25 1 50 1.25 2 40 2.20 2 40 2.20 3 10 3.05 3 10 3.05 4 20 4.10 4 20 4.10 200 1.00 200 1.00 Example: JSL Appliances

7 n Graphical Representation of the Probability Distribution.10.20.30. 40.50 0 1 2 3 4 Values of Random Variable x (TV sales) ProbabilityProbability

8 Discrete Uniform Probability Distribution n The discrete uniform probability distribution is the simplest example of a discrete probability distribution given by a formula. n The discrete uniform probability function is f ( x ) = 1/ n f ( x ) = 1/ nwhere: n = the number of values the random n = the number of values the random variable may assume variable may assume n Note that the values of the random variable are equally likely.

9 n The expected value, or mean, of a random variable is a measure of its central location. E ( x ) =  =  xf ( x ) n The variance summarizes the variability in the values of a random variable. Var( x ) =  2 =  ( x -  ) 2 f ( x ) Var( x ) =  2 =  ( x -  ) 2 f ( x ) The standard deviation, , is defined as the positive square root of the variance. The standard deviation, , is defined as the positive square root of the variance. Expected Value and Variance

10 Example: JSL Appliances n Expected Value of a Discrete Random Variable 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 The expected number of TV sets sold in a day is 1.2

11 n Variance and Standard Deviation of a Discrete Random Variable of a Discrete Random Variable xx -  ( x -  ) 2 f ( x )( x -  ) 2 f ( x ) 0-1.2 1.44.40.576 1-0.2 0.04.25.010 2 0.8 0.64.20.128 3 1.8 3.24.05.162 4 2.8 7.84.10.784 1.660 =   1.660 =   The variance of daily sales is 1.66 TV sets squared. The variance of daily sales is 1.66 TV sets squared. The standard deviation of sales is 1.2884 TV sets. The standard deviation of sales is 1.2884 TV sets. Example: JSL Appliances

12 Binomial Probability Distribution n Properties of a Binomial Experiment 1. The experiment consists of a sequence of n identical trials. 2. Two outcomes, success and failure, are possible on each trial. 3. The probability of a success, denoted by p, does not change from trial to trial. 4. The trials are independent. StationarityAssumption

13 Binomial Probability Distribution n Our interest is in the number of successes occurring in the n trials. n We let x denote the number of successes occurring in the n trials.

14 Binomial Probability Distribution n Number of Experimental Outcomes Providing Exactly x Successes in n Trials where: n ! = n ( n – 1)( n – 2)... (2)(1) where: n ! = n ( n – 1)( n – 2)... (2)(1) 0! = 1 0! = 1

15 Binomial Probability Distribution n Probability of a Particular Sequence of Trial Outcomes with x Successes in n Trials

16 Binomial Probability Distribution n Binomial Probability Function where: f ( x ) = the probability of x successes in n trials n = the number of trials n = the number of trials p = the probability of success on any one trial p = the probability of success on any one trial

17 Example: Evans Electronics n Binomial Probability Distribution Evans is concerned about a low retention rate for employees. On the basis of past experience, management has seen a turnover of 10% of the hourly employees annually. Thus, for any hourly employees chosen at random, management estimates a probability of 0.1 that the person will not be with the company next year. Evans is concerned about a low retention rate for employees. On the basis of past experience, management has seen a turnover of 10% of the hourly employees annually. Thus, for any hourly employees chosen at random, management estimates a probability of 0.1 that the person will not be with the company next year. Choosing 3 hourly employees at random, what is the probability that 1 of them will leave the company this year? Choosing 3 hourly employees at random, what is the probability that 1 of them will leave the company this year?

18 Example: Evans Electronics n Using the Binomial Probability Function Let : p =.10, n = 3, x = 1 = (3)(0.1)(0.81) = (3)(0.1)(0.81) =.243 =.243

19 Example: Evans Electronics n Using the Tables of Binomial Probabilities

20 n Using a Tree Diagram Example: Evans Electronics 1 st Worker 2 nd Worker 3 rd Worker x x Probab. Leaves (.1) 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 1 1.0810

21 Binomial Probability Distribution n Expected Value E ( x ) =  = np n Variance Var( x ) =  2 = np (1 - p ) Var( x ) =  2 = np (1 - p ) n Standard Deviation

22 Example: Evans Electronics n Binomial Probability Distribution Expected Value Expected Value E ( x ) =  = 3(.1) =.3 employees out of 3 E ( x ) =  = 3(.1) =.3 employees out of 3 Variance Variance Var(x) =  2 = 3(.1)(.9) =.27 Var(x) =  2 = 3(.1)(.9) =.27 Standard Deviation Standard Deviation

23 Poisson Probability Distribution n A discrete random variable following this distribution is often useful in estimating the number of occurrences over a specified interval of time or space. n It is a discrete random variable that may assume an infinite sequence of values (x = 0, 1, 2,... ). n Examples: the number of knotholes in 14 linear feet of pine board the number of knotholes in 14 linear feet of pine board the number of vehicles arriving at a toll booth in one hour the number of vehicles arriving at a toll booth in one hour

24 Poisson Probability Distribution n Properties of a Poisson Experiment The probability of an occurrence is the same for any two intervals of equal length. The probability of an occurrence is the same for any two intervals of equal length. The occurrence or nonoccurrence in any interval is independent of the occurrence or nonoccurrence in any other interval. The occurrence or nonoccurrence in any interval is independent of the occurrence or nonoccurrence in any other interval.

25 Poisson Probability Distribution n Poisson Probability Function where: f(x) = 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

26 Example: Mercy Hospital n Using the Poisson Probability Function 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 on a weekend evening?  = 6/hour = 3/half-hour, x = 4  = 6/hour = 3/half-hour, x = 4

27 Example: Mercy Hospital n Using the Tables of Poisson Probabilities

28 Hypergeometric Probability Distribution n The hypergeometric distribution is closely related to the binomial distribution. n The key differences are: the trials are not independent the trials are not independent probability of success changes from trial to trial probability of success changes from trial to trial

29 Hypergeometric Probability Distribution n Hypergeometric Probability Function for 0 < x < r where: f ( x ) = probability of x successes in n trials n = number of trials n = number of 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

30 Hypergeometric Probability Distribution n Hypergeometric Probability Function is the number of ways a sample of size n is the number of ways a sample of size n can be selected from a population of size N. can be selected from a population of size N. is the number of ways x successes can be is the number of ways x successes can be selected from a total of r successes in the selected from a total of r successes in the population. population. is the number of ways n – x failures can is the number of ways n – x failures can be selected from a total of N – r failures in the be selected from a total of N – r failures in the population. population.

31 Example: Neveready n Hypergeometric Probability Distribution 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. Bob now randomly selects two of the four batteries. What is the probability he selects the two good batteries?

32 Example: Neveready n 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


Download ppt "Chapter 5 Discrete Probability Distributions n Random Variables n Discrete Probability Distributions n Expected Value and Variance n Binomial Probability."

Similar presentations


Ads by Google