Download presentation
Presentation is loading. Please wait.
Published byJob McBride Modified over 9 years ago
1
Chapter 3 Discrete Random Variables and Probability Distributions Chapter 3A Variables that are random; what will they think of next?
2
The Road Ahead today
3
A Random Variable (RV) Variable whose observed value is determined by chance Variable that takes on values in accordance with some probability distribution Discrete Random Variables have a finite or countably infinite range Numerical outcome from a random experiment A mapping from a sample space to a subset of the real numbers
4
Some Discrete Random Variables The number of nonconforming solder connections on a printed circuit board. In a voice communication system with 50 lines, the number of lines in use at a particular time. A batch of 500 machined parts contains 10 that do not conform to customer requirements. Parts are selected successively, without replacement, until a nonconforming part is obtained. The RV is the number of parts selected. The RV is the number of demands in a month for a product in inventory. The RV is the number of customer arrivals per hour at a local bank. The number of accidents per week observed in a factory.
5
The Mapping Illustrated – toss a pair of dice Let X = a random variable, the sum resulting from the toss of two fair dice; X = 2, 3, …, 12 (1,1) (1,2) (1,3) (1,4) (1,5) (1,6) (2,1) (2,2) (2,3) (2,4) (2,5) (2,6) (3,1) (3,2) (3,3) (3,4) (3,5) (3,6) (4,1) (4,2) (4,3) (4,4) (4,5) (4,6) (5,1) (5,2) (5,3) (5,4) (5,5) (5,6) (6,1) (6,2) (6,3) (6,4) (6,5) (6,6) S =
6
The Mapping Illustrated – toss a pair of dice 2(1,1)1 3(1,2), (2,1)2 4(1,3), (2,2), (3,1)3 5(1,4), (2,3), (3,2), (4,1)4 6(1,5), (2,4), (3,3), (4,2), (5,1)5 7(1,6), (2,5), (3,4), (4,3), (5,2), (6,1)6 8(2,6), (3,5), (4,4), (5,3), (6,2)5 9(3,6), (4,5), (5,4), (6,3)4 10(4,6), (5,5), (6,4)3 11(5,6), (6,5)2 12(6,6)1 Total 36 X = RV, the outcome from rolling a pair of dice number of ways sample space
7
The Mapping Illustrated – toss a pair of dice Let X = a random variable, the sum resulting from the toss of two fair dice; X = 2, 3, …, 12 (1,1) (1,2) (1,3) (1,4) (1,5) (1,6) (2,1) (2,2) (2,3) (2,4) (2,5) (2,6) (3,1) (3,2) (3,3) (3,4) (3,5) (3,6) (4,1) (4,2) (4,3) (4,4) (4,5) (4,6) (5,1) (5,2) (5,3) (5,4) (5,5) (5,6) (6,1) (6,2) (6,3) (6,4) (6,5) (6,6) = S Pr{X = x} = f(x), f(x) is called the Probability Mass Function (PMF) f(x)
8
Probability Histogram for the Random Variable X
9
Probability Mass Function
10
Example #1 Let x = a discrete random variable, the number of accidents per week in the Axe E. Dentt manufacturing plant. Given: Pr(X = 0) = f(0) = 1/15 Pr(X = 1) = f(1) = 2/15 Pr(X = 2) = f(2) = 3/15 Pr(X = 3) = f(3) = 4/15 Pr(X = 4) = f(4) = 5/15
11
Example #2 Let x = a discrete random variable, the number of days to receive a package from a Website distributor when requesting expedited delivery.
12
Example #3 Let x = a discrete random variable, the number of units produced before a reject occurs. The probability of a reject occurring is 1/5. note: Find: Pr{X 10} Pr{20 X 30} Pr{X 15} geometric series
13
3-3 Cumulative Distribution Function (CDF) Definition
14
Example #3 revisited Find: Pr{X 10} = F(10) =.892626 Pr{20 X 30} = F(30) – F(20) = (1-.8 30 ) – (1-.8 20 ) =.99876 -.98847 =.0103 Pr{X 15} = 1 – F(14) = 1 – (1 -.8 14 ) =.8 14 =.04398
15
Problem 3-28 Determine the cumulative distribution function of the following R.V.’s [P(x i ) = 1/6 for all x i ]: Outcome a b c d e f x 0 0 1.5 1.5 2 3 F(x) 1.0 2/3 1/3 0 1.5 2 3 Don’t confuse discrete with integer!
16
Problem 3-35 Verify the following function is a CDF & determine the PMF & requested probabilities: P(X < 3) = P(1 < X < 2) = P(X < 2) = P(X > 2) = PMF: f(0) = F(0) = 0 f(1) = F(1) – F(0) =.5 f(2) = F(2) – F(1) =.5 -.5 = 0 f(3) = F(3) – F(2) = 1 –.5 =.5 1.5
17
Example 3-8
18
Figure 3-4 Cumulative distribution function for Example 3-8.
19
A Fish Tale – A Transition to the next concept These probability distributions are great. But what if my boss wants to know how many fish I will sell today? I need one number not a entire distribution. Let Z = a discrete random variable, the number of fish sold in one day.
20
The Mean Number of Fish Let Z = a discrete random variable, the number of fish sold in one day. Expect to sell 1.6 fish on the average!
21
3-4 Mean and Variance of a Discrete Random Variable Definition
22
Mean of a discrete R.V. The mean of a discrete R.V. uses the probability of each discrete observation to weight that observation:
23
Variance of a discrete R.V. The variance of a discrete R.V. X also uses probability to weight each observation. We don’t do many derivations, but it needs to be clear to you how we get from line two to line three. Try it!
24
Problem 3-40 Determine the mean and variance P(x i =1/6) for all i: Outcome a b c d e f x 0 0 1.5 1.5 2 3 = 0(1/3) + 1.5(1/3) + 2(1/6) + 3(1/6) = 4/3 = 0 2 (1/3) + 1.5 2 (1/3) + 2 2 (1/6) + 3 2 (1/6) – (4/3) 2 = 1.139
25
First Two Moments do not Determine Distribution The mean is the first moment. The variance is the second central moment – second moment about the mean. Two entirely different distributions can have identical mean and variance. Very often though the first two moments give sufficient information to do effective modeling.
26
Yet Another Problem Determine the mean & variance of:
27
3-4 Mean and Variance of a Discrete Random Variable Figure 3-5 A probability distribution can be viewed as a loading with the mean equal to the balance point. Parts (a) and (b) illustrate equal means, but Part (a) illustrates a larger variance.
28
3-4 Mean and Variance of a Discrete Random Variable Figure 3-6 The probability distribution illustrated in Parts (a) and (b) differ even though they have equal means and equal variances.
29
Example 3-11
30
3-4 Mean and Variance of a Discrete Random Variable Expected Value of a Function of a Discrete Random Variable Unless the function is linear
31
A Derivation
32
More on Expected Values It costs Axe E. Dent $700 a week to maintain a safety officer and another $340 for each accident that the safety officer must process. What is the expected weekly cost? Let x = a discrete random variable, the number of accidents per week in the Axe E. Dentt manufacturing plant. Let Y = a discrete random variable, the weekly cost of maintaining a safety officer. Y = 700 + 340X E[Y] = 700 + 340 E[X]
33
But Look Here
34
Keep Looking… A most important lesson has been learned here today..25(1) +.2 (.5) +.15 (.333) +.1 (.25) +.3 (.2) =.485
35
What about the Variance?
36
Yet another insight… Analogous to the mean’s being the center of gravity of a distribution of mass, the variance represents, in terminology of mechanics, the moment of inertia. The moment of inertia of an object about a given axis describes how difficult it is to change its angular motion about that axis.
37
Bonus Topic Let X = a random variable, the number of points scored with first down and ten yards to go, at discrete points on the playing field. Number of outcomes is 103 touchdown +7 field goal + 3 safety -2 opponent’s touchdown -7 turning the ball over to the opponent at any of 99 possible points on the field
38
More of that bonus Based upon a study of 2,852 first-and-ten plays by Virgil Carter and Robert Machol:
39
Next Class Theoretical Discrete Distributions Uniform Binomial Geometric Poisson and so much more… ENM 500 students hurrying to class.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.