Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 1 Slide HJ Copyrights Chapter 5 Discrete Probability Distributions n Random Variables n Discrete Probability Distributions n Expected Value and Variance.

Similar presentations


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

1 1 1 Slide HJ Copyrights 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 2 2 Slide HJ Copyrights Introduction to Probability Distributions n Random Variable Represents a possible numerical value from a random experiment Represents a possible numerical value from a random experiment Random Variables Discrete Random Variable Continuous Random Variable Ch. 5Ch. 6

3 3 3 Slide HJ Copyrights Random Variables n A random variable (随机变量) is a numerical description of the outcome of an experiment.

4 4 4 Slide HJ Copyrights

5 5 5 Slide HJ Copyrights Random Variables 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.

6 6 6 Slide HJ Copyrights

7 7 7 Slide HJ Copyrights

8 8 8 Slide HJ Copyrights 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.

9 9 9 Slide HJ Copyrights 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

10 10 Slide HJ Copyrights Example: JSL Appliances 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

11 11 Slide HJ Copyrights

12 12 Slide HJ Copyrights

13 13 Slide HJ Copyrights 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.

14 14 Slide HJ Copyrights 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

15 15 Slide HJ Copyrights 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

16 16 Slide HJ Copyrights 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

17 17 Slide HJ Copyrights 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

18 18 Slide HJ Copyrights 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.

19 19 Slide HJ Copyrights 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

20 20 Slide HJ Copyrights Binomial Probability Distribution n Probability of a Particular Sequence of Trial Outcomes with x Successes in n Trials

21 21 Slide HJ Copyrights 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

22 22 Slide HJ Copyrights 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?

23 23 Slide HJ Copyrights 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

24 24 Slide HJ Copyrights Example: Evans Electronics n Using the Tables of Binomial Probabilities

25 25 Slide HJ Copyrights 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

26 26 Slide HJ Copyrights 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

27 27 Slide HJ Copyrights 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

28 28 Slide HJ Copyrights

29 29 Slide HJ Copyrights

30 30 Slide HJ Copyrights

31 31 Slide HJ Copyrights

32 32 Slide HJ Copyrights 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

33 33 Slide HJ Copyrights 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.

34 34 Slide HJ Copyrights 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

35 35 Slide HJ Copyrights 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

36 36 Slide HJ Copyrights Example: Mercy Hospital n Using the Tables of Poisson Probabilities

37 37 Slide HJ Copyrights

38 38 Slide HJ Copyrights

39 39 Slide HJ Copyrights

40 40 Slide HJ Copyrights

41 41 Slide HJ Copyrights

42 42 Slide HJ Copyrights 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

43 43 Slide HJ Copyrights 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

44 44 Slide HJ Copyrights 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.

45 45 Slide HJ Copyrights n 例:在一个口袋中装有 30 个球,其中有 10 个红球, 其余为白球,这些球除颜色外完全相同. 游戏者一次从 中摸出 5 个球. 摸到 4 个红球就中一等奖,那么获一等奖 的概率是多少? n 解:由题意可见此问题归结为超几何分布模型。 n 其中 N = 30. r = 10. n = 5. n P( 一等奖 ) = P(X=4 or 5) = P(X=4) + P(X=5) n n P(X=4) = C(4,10)*C(1,20)/C(5,30) n P(X=5) = C(5,10)*C(0,20)/C(5,30) n P( 一等奖 ) = 106/3393

46 46 Slide HJ Copyrights 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?

47 47 Slide HJ Copyrights 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

48 48 Slide HJ Copyrights End of Chapter 5


Download ppt "1 1 Slide HJ Copyrights Chapter 5 Discrete Probability Distributions n Random Variables n Discrete Probability Distributions n Expected Value and Variance."

Similar presentations


Ads by Google