Chap 006
Chap 006
Chap 006
McGraw-Hill/Irwin Copyright © 2015 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 6
Discrete Probability Distributions
Chapter Contents
6-2
Chapter 6
Discrete Probability Distributions
6-3
Chapter 6
Discrete Probability Distributions
6-4
Chapter 6
LO6-1 6.1 Discrete Distributions
LO6-1: Define a discrete random variable and its
probability distribution.
Random Variables
• A random variable is a function or rule that assigns a
numerical value to each outcome in the sample space
of a random experiment.
• Nomenclature:
- Upper case letters are used to represent
random variables (e.g., X, Y).
- Lower case letters are used to represent
values of the random variable (e.g., x, y).
• A discrete random variable has a countable number of
distinct values. 6-5
Chapter 6
LO6-1 6.1 Discrete Distributions
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-6
Chapter 6
LO6-1 6.1 Discrete Distributions
If X is the number
of heads, then X
is a random
variable whose
probability
distribution is
given in Table
6.1.
6-7
Chapter 6
LO6-1 6.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.
6-8
Chapter 6
LO6-1 6.1 Discrete Distributions
6-9
Chapter 6
LO6-1 6.1 Discrete Distributions
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
0.15
Probability
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-10
Chapter 6
LO6-2 6.2 Expected Value and Variance
6-11
Chapter 6
LO6-2 6.2 Expected Value and Variance
m = 2.75
6-14
Chapter 6
LO6-2 6.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 6.4 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).
6-15
Chapter 6
LO6-2 6.2 Expected Value and Variance
Example: Bed and Breakfast
The histogram shows that the distribution is skewed to the
left and bimodal.
0.30
0.25
0.20
The mode is 7 Probability
0.00
0 1 2 3 4 5 6 7
Number of Rooms Rented
6-17
Chapter 6
LO6-3 6.3 Uniform Distribution
6-18
Chapter 6
LO6-3 6.3 Uniform Distribution
6-19
Chapter 6
LO6-3 6.3 Uniform Distribution
6-20
Chapter 6
LO6-4 6.4 Binomial Distribution
LO6-4: Find binomial probabilities using tables, formulas,
or Excel.
Bernoulli Experiments
• A random experiment with only 2 outcomes is a Bernoulli
experiment.
• One outcome is arbitrarily labeled a “success” (denoted X = 1)
and the other a “failure” (denoted X = 0).
• p is the P(success), 1 – p is the P(failure).
• “Success” is defined as the less likely outcome so that p < .5 for
convenience.
• Note that P(0) + P(1) = (1 – p) + p = 1 and 0 ≤ p ≤ 1.
• The expected value (mean) and variance of a Bernoulli experiment
is calculated as:
• E(X) = and V(X) = (1 - )
6-21
Chapter 6
LO6-4 6.4 Binomial Distribution
6-22
Chapter 6
LO6-4 6.4 Binomial Distribution
6-23
Chapter 6
LO6-4 6.4 Binomial Distribution
6-24
Chapter 6
LO6-4 6.4 Binomial Distribution
Example: Quick Oil Change Shop
• What is the probability that exactly 2 of the next n = 12
cars serviced are late (P(X = 2))?
• P(car is late) = p = .10
• P(car is not late) = 1 - p = .90
6-25
Chapter 6
LO6-4 6.4 Binomial Distribution
6-26
Chapter 6
LO6-4 6.4 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-27
Chapter 6
LO6-4 6.4 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-28
Chapter 6
LO6-4 6.4 Binomial Distribution
Compound Events
It is helpful to sketch a diagram:
6-29
Chapter 6
LO6-5 6.5 Poisson Distribution
LO6-5: Find Poisson probabilities using tables, formulas,
or Excel.
• The Poisson distribution describes the number of occurrences
within a randomly chosen unit of time (e.g., minute, hour) or space
(square foot, linear mile).
• The events occur randomly and independently over a continuum of
time or space.
• We will call the continuum “time” since the most common Poisson
application is modeling arrivals per unit of time.
6-32
Chapter 6
LO6-5 6.5 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 = 1.7, find the PDF, mean and standard deviation:
• Note the unit for the mean and standard deviation is
customers/minute
6-33
Chapter 6
LO6-5 6.5 Poisson Distribution
Compound Events
6-34
Chapter 6
LO6-6 6.5 Poisson Distribution
LO6-6: Use the Poisson approximation to the binomial
(optional).
• The Poisson distribution may be used to approximate a binomial by
setting = n. This approximation is helpful when the binomial
calculation is difficult (e.g., when n is large).
6-35
Chapter 6
LO6-7 6.6 Hypergeometric Distribution
6-36
Chapter 6
LO6-7 6.6 Hypergeometric Distribution
6-37
Chapter 6
LO6-7 6.6 Hypergeometric Distribution
6-38
Chapter 6
LO6-7 6.6 Hypergeometric Distribution
6-39
Chapter 6
LO6-7 6.6 Hypergeometric Distribution
Using the Hypergeometric Formula
Since there are only 2 damaged iPods in the population, the only possible values of
x are 0, 1, and 2. Here are the probabilities:
6-40
Chapter 6
LO6-7 6.6 Hypergeometric Distribution
Using Software: Excel
Since the hypergeometric formula and tables are tedious and impractical, use
Excel’s hypergeometric function to find probabilities.
Figure 6.27
6-41
Chapter 6
LO6-8 6.6 Hypergeometric Distribution
LO6-8: Use the binomial approximation to the
hypergeometric (optional)
Binomial Approximation to the Hypergeometric
• Both the binomial and hypergeometric involve samples
of size n and treat X as the number of successes.
• The binomial samples with replacement while the
hypergeometric samples without replacement.
6-42
Chapter 6
LO6-9 6.7 Geometric Distribution
6-43
Chapter 6
LO6-9 6.7 Geometric Distribution
Characteristics of the Geometric Distribution
6-45
Chapter 6
LO6-10 6.8 Transformation of Random Variables
6-46
Chapter 6
LO6-10 6.8 Transformation of Random Variables
6-47
Chapter 6
LO6-10 6.8 Transformation of Random Variables
6-48