Presentation is loading. Please wait.

Presentation is loading. Please wait.

Discrete Probability Distributions Random variables Discrete probability distributions Expected value and variance Binomial probability distribution.

Similar presentations


Presentation on theme: "Discrete Probability Distributions Random variables Discrete probability distributions Expected value and variance Binomial probability distribution."— Presentation transcript:

1 Discrete Probability Distributions Random variables Discrete probability distributions Expected value and variance Binomial probability distribution

2 Random Variables A random variable is a numerical description of the outcome of an experiment

3 Discrete Random Variables A discrete random variable may assume a finite number of numerical values or an infinite sequence of values such as 0, 1, 2,... Example: 1 = passed driving test 2 = failed driving test This is a discrete variable because it is either pass or fail—you can’t score 1½, for example. Notice also it assumes a finite number of values

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

5 Continuous Random Variables Continuous random variables can assume an infinite number of values within a defined interval. The liquid in these bottles (x) must be between 0 and 32 ounces. But x could be 2 oz., 2.1 oz., 2.01 oz, 2.001 oz.,...

6 Random Variables Question Random Variable x Type Familysize x = Number of dependents in family reported on tax return Discrete Distance from home to store x = Distance in miles from 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 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

8 n a tabular representation of the probability distribution for TV sales was developed. distribution for TV sales was developed. n Using past data on TV sales, … Example: JSL Appliances 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 80/200

9 Example: JSL Appliances Graphical Representation of the Probability Distribution.10.20.30. 40.50 0 1 2 3 4 Values of Random Variable x (TV sales) ProbabilityProbability

10 Discrete Uniform Probability Distribution This is the simplest probability distribution described by a formula. It assumes that possible values of random variables are equally likely n = number of values the random variable may assume.

11 Example: Rolling a Die xf(x) 11/6 2 3 4 5 6 Note that n = 6

12 Expected Value E(x) The expected value, or mean, of a random variable, is a measure of central location for the random variable For a discrete random variable x we have

13 Notice that this is a weighted average of the values a random variable can assume. The “weights” are the probabilities.

14 Expected Value of a Discrete Random Variable Example: JSL Appliances 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 number of TVs sold in a day

15 Variance of a Discrete Random Variable The variance of a random variable x is a weighted average of the squared deviations of a random variable from its mean (expected) value. The weights are the probabilities.

16 Standard Deviation of a Random Variable (σ)

17 Variance and Standard Deviation of a Discrete Random Variable Example: JSL Appliances01234 -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

18 n Formula Worksheet Using Excel to Compute the Expected Value, Variance, and Standard Deviation

19 n Value Worksheet Using Excel to Compute the Expected Value, Variance, and Standard Deviation

20 The Binomial Distribution This is a very useful tool for multi-step experiments where each step has 2 outcomes— hence the term binomial.

21 Properties of Binomial Experiment 1.The experiment consists of a sequence of n identical trials. 2.Two outcomes are possible on each trial. We refer to one outcome as a success and the other outcome as a failure. 3.The probability of success, denoted by ρ, does not change from trial to trial. Consequently, the probability of failure, denoted by 1 – ρ, does not change from trial to trial. 4.The trials are independent. Stationarity assumption

22 We are interested in computing the number of successes (x) for n number of trials

23 Binomial Probability Distribution The binomial distribution is given by: Where: f(x) = probability of success in n trials n = number of trials p = probability of success in any one trial.

24 Example: Evans Electronics n Binomial Probability Distribution Evans is concerned about a low retention rate for employees. In recent years, management has seen a turnover of 10% of the hourly employees annually. 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. Evans is concerned about a low retention rate for employees. In recent years, management has seen a turnover of 10% of the hourly employees annually. 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.

25 Evans electronics If we selected three (3) employees at random, what is the probability that one(1) will leave the company within the year? Notice that: The experiment has three identical trials—that is, n = 3. There are two outcomes for each trial—the employee leaves (S) or the employee stays (F). The probability that an employee will leave is.1—that is, ρ =.1 The decision of each employee to leave is independent of the decisions made by the other employees.

26 Counting the Number of Outcomes First Employee Second Employee Third Employee S S S S S S S F F F F F F F Experimental Outcome (S,S,S) (S,S,F) (S,F,S) (S,F,F) (F,S,S) (F,S,F) (F,F,S) (F,F,F) Value of x 3 2 2 1 2 1 1 0

27 Number of Experimental Outcomes Providing Exactly x Successes in n trials In our Evans Electronics example, n = 3 and x = 1. Thus: Refer to the tree diagram to verify this is righttree diagram

28 What is the probability the first employee selected will leave and second and third will stay? Note this is outcome (S, F, F) Because these events are independent, we can multiply probabilities.. Thus the probability of (S, S, F) is given by: Thus we have:

29 Trial Outcomes Experimental Outcome Probability of Experimental Outcome (S,F,F) (F,S,F) (F,F,S)

30 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

31 Probability Distribution for the Number of Employees Leaving Within the Year xf(x) 0 1 2 3

32 Using Excel to Compute Binomial Probabilities n Formula Worksheet

33 n Value Worksheet Using Excel to Compute Binomial Probabilities

34 Using Excel to Compute Cumulative Binomial Probabilities n Formula Worksheet

35 n Value Worksheet Using Excel to Compute Cumulative Binomial Probabilities

36 Expected Value and Variance for a Binominal Distribution The expected value is computed by: The variance is computed by:

37 Evans Electronics Example Remember that n = 3 and ρ =.1. Thus: Note also that:


Download ppt "Discrete Probability Distributions Random variables Discrete probability distributions Expected value and variance Binomial probability distribution."

Similar presentations


Ads by Google