Chap05 - Discrete Random Variables
Chap05 - Discrete Random Variables
McGraw-Hill/Irwin Copyright © 2015 by The McGraw-Hill Companies, Inc. All rights reserved.
Discrete Probability Distributions
Chapter Contents
6-2
5.1 Discrete Distributions
Random Variables
Probability Distributions
• A discrete probability distribution assigns a probability to
each value of a discrete random variable X.
• To be a valid probability distribution, the following must
be satisfied.
6-4
5.1 Discrete Distributions
6-5
5.1 Discrete Distributions
Note that the values of X need Note also that a discrete probability
not be equally likely. However, distribution is defined only at specific
they must sum to unity. points on the X-axis.
FIGURE 5.2
6-6
5.1 Discrete Distributions
6-7
5.1 Discrete Distributions
FIGURE 5.3
What is a PDF or CDF?
Consider the following illustrative histograms:
CDF = P(X ≤ x)
0.25
PDF = P(X = x) 1.00
0.90
0.20 0.80
0.70
Probability
Probability
0.15 0.60
0.50
0.10 0.40
0.30
0.05 0.20
0.10
0.00 0.00
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Value of X Value of X
6-8
5.2 Expected Value and Variance
Expected Value
• The expected value E(X) of a discrete random variable is the
sum of all X-values weighted by their respective probabilities.
• E(X) is a measure of central tendency.
• If there are n distinct values of X, then
6-9
5.2 Expected Value and Variance
Example: Service Calls
• The distribution of Sunday emergency service calls by Ace Appliance
Repair is shown in Table 5.2. The probabilities sum to 1, as must be
true for any probability distribution.
TABLE 5.4
µ = 2.75
6-12
5.2 Expected Value and Variance
Example: Bed and Breakfast
• The Bay Street Inn is a seven-room bed-and-breakfast in the sunny California
coastal city of Santa Theresa. Demand for rooms generally is strong during
February, a prime month for tourists. However, experience shows that demand
is quite variable. The probability distribution of room rentals during February is
shown in Table 5.3 where X = the number of rooms rented (X = 0, 1, 2, 3, 4, 5,
6, 7). The worksheet shows the calculation of E(X) and Var(X).
TABLE 5.6
6-13
5.2 Expected Value and Variance
Example: Bed and Breakfast
The histogram shows that the distribution is skewed to the
left and bimodal. FIGURE 5.7
0.30
0.25
0.20
The mode is 7 Probability
0.00
0 1 2 3 4 5 6 7
Num ber of Room s Rented
Bernoulli Experiments
6-16
5.3 Binomial Distribution
6-17
5.3 Binomial Distribution
Example: Quick Oil Change Shop
• It is important to quick oil change shops to ensure that a
car’s service time is not considered “late” by the
customer.
• Service times are defined as either late or not late.
• X is the number of cars that are late out of the total
number of cars serviced.
• Assumptions:
- cars are independent of each other
- probability of a late car is consistent
6-18
5.3 Binomial Distribution
Example: Quick Oil Change Shop
6-19
5.3 Binomial Distribution
6-20
5.3 Binomial Distribution
Compound Events
• Individual probabilities can be added to obtain any
desired event probability.
• For example, the probability that the sample of 4
patients will contain at least 2 uninsured patients is
(HINT: What inequality means “at least?”).
• P(X ³ 2) = P(2) + P(3) + P(4)
• = .1536 + .0256 + .0016 = .1808
6-21
5.3 Binomial Distribution
Compound Events
• What is the probability that fewer than 2 patients have
insurance? HINT: What inequality means “fewer than?”
• P(X < 2) = P(0) + P(1) = .4096 + .4096 = .8192.
• What is the probability that no more than 2 patients have
insurance? HINT: What inequality means “no more than?”
• P(X £ 2) = P(0) + P(1) + P(2) = .4096 + .4096 + .1536 =
.9728
6-22
5.3 Binomial Distribution
Compound Events
FIGURE 5.9
It is helpful to sketch a diagram:
6-23
5.4 Poisson Distribution
TABLE 5.10
6-26
5.4 Poisson Distribution
Example: Credit Union Customers
• On Thursday morning between 9 a.m. and 10 a.m. customers arrive
and enter the queue at the Oxnard University Credit Union at a
mean rate of 1.7 customers per minute. Using the Poisson formulas
with l = 1.7, find the PDF, mean and standard deviation:
• Note the unit for the mean and standard deviation is
customers/minute
6-27
5.4 Poisson Distribution
Compound Events
6-28
5.4 Poisson Distribution
6-29
5.5 Geometric Distribution
6-30
5.5 Geometric Distribution
Characteristics of the Geometric Distribution
6-32
5.6 Transformation of Random Variables
Linear Transformations
6-33
5.6 Transformation of Random Variables
6-34
5.6 Transformation of Random Variables
Covariance
6-35