Chapter 5 Discrete Probability Distributions
Chapter 5 Discrete Probability Distributions
Chapter 5 Discrete Probability Distributions
12th Edition
Chapter 5
Discrete Probability
Distributions
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-1 Chap 5-1
Learning Objectives
In this chapter, you learn:
The properties of a probability distribution
probability distribution
To calculate the covariance and understand its use
in finance
To compute probabilities from binomial,
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-2 Chap 5-2
Definitions
Random Variables
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-3 Chap 5-3
Definitions Definitions
Random Variables
Random Variables
Random
Variables
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-4 Chap 5-4
Discrete Random Variables
Can only assume a countable number of values
Examples:
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-6 Chap 5-6
Example of a Discrete Random
Variable Probability Distribution
T H 1 2/4 = 0.50
2 1/4 = 0.25
H T
Probability
0.50
0.25
H H
0 1 2 X
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-7 Chap 5-7
Discrete Random Variables
Expected Value (Measuring Center)
Expected Value (or mean) of a discrete
random variable (Weighted Average)
N
E(X) xi P( X xi )
i 1
X P(X=xi)
Example: Toss 2 coins, 0 0.25
X = # of heads, 1 0.50
2 0.25
compute expected value of X:
E(X) = ((0)(0.25) + (1)(0.50) + (2)(0.25))
= 1.0
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-8 Chap 5-8
Discrete Random Variables
Measuring Dispersion
Variance of a discrete random variable
N
σ 2 [x i E(X)]2 P(X x i )
i 1
where:
E(X) = Expected value of the discrete random variable X
xi = the ith outcome of X
P(X=xi) = Probability of the ith occurrence of X
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-9 Chap 5-9
Discrete Random Variables
Measuring Dispersion
(continued)
σ xi E(X)] P(X x i ) 2
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-10 Chap 5-10
Covariance
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-11 Chap 5-11
The Covariance Formula
The covariance formula:
N
σ XY [ xi E ( X )][( yi E (Y )] P( xi yi )
i 1
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-12 Chap 5-12
Investment Returns
The Mean
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-13 Chap 5-13
Investment Returns
The Mean
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-14 Chap 5-14
Investment Returns
Standard Deviation
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-15 Chap 5-15
Investment Returns
Covariance
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-16 Chap 5-16
The Sum of
Two Random Variables
Expected Value of the sum of two random variables:
E(X Y) E( X) E( Y )
Var(X Y) σ 2X Y σ 2X σ 2Y 2σ XY
σ X Y σ 2X Y
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-17 Chap 5-17
Portfolio Expected Return and
Expected Risk
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-18 Chap 5-18
Portfolio Expected Return
and Portfolio Risk
Portfolio expected return (weighted average
return):
E(P) w E( X) (1 w ) E( Y )
σ P w 2σ 2X (1 w )2 σ 2Y 2w(1 - w)σ XY
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-19 Chap 5-19
Portfolio Example
Investment X: μX = 50 σX = 43.30
Investment Y: μY = 95 σY = 193.21
σXY = 8250
The portfolio return and portfolio variability are between the values
for investments X and Y considered individually
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-20 Chap 5-20
Probability Distributions
Probability
Distributions
Binomial Normal
Poisson Uniform
Hypergeometric Exponential
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-21 Chap 5-21
Binomial Probability Distribution
A fixed number of observations, n
e.g., 15 tosses of a coin; ten light bulbs taken from a warehouse
Each observation is categorized as to whether or not the
“event of interest” occurred
e.g., head or tail in each toss of a coin; defective or not defective
light bulb
Since these two categories are mutually exclusive and
collectively exhaustive
When the probability of the event of interest is represented as π,
then the probability of the event of interest not occurring is 1 - π
Constant probability for the event of interest occurring
(π) for each observation
Probability of getting a tail is the same each time we toss the
coin
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-22 Chap 5-22
Binomial Probability Distribution
(continued)
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-23 Chap 5-23
Possible Applications for the
Binomial Distribution
A manufacturing plant labels items as
either defective or acceptable
A firm bidding for contracts will either get a
contract or not
A marketing research firm receives survey
responses of “yes I will buy” or “no I will
not”
New job applicants either accept the offer
or reject it
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-24 Chap 5-24
The Binomial Distribution
Counting Techniques
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-25 Chap 5-25
Counting Techniques
Rule of Combinations
n!
n Cx
x!(n x)!
where:
n! =(n)(n - 1)(n - 2) . . . (2)(1)
X! = (X)(X - 1)(X - 2) . . . (2)(1)
0! = 1 (by definition)
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-26 Chap 5-26
Counting Techniques
Rule of Combinations
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-27 Chap 5-27
Binomial Distribution Formula
n! x nx
P(X=x |n,π) π (1-π)
x! (n x )!
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-28 Chap 5-28
Example:
Calculating a Binomial Probability
What is the probability of one success in five
observations if the probability of an event of
interest is 0.1?
x = 1, n = 5, and π = 0.1
n!
P(X 1 | 5,0.1) x (1 ) n x
x!(n x)!
5!
(0.1)1 (1 0.1) 51
1!(5 1)!
(5)(0.1)(0.9) 4
0.32805
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-29 Chap 5-29
The Binomial Distribution
Example
Suppose the probability of purchasing a defective
computer is 0.02. What is the probability of
purchasing 2 defective computers in a group of 10?
x = 2, n = 10, and π = 0.02
n!
P(X 2 | 10, 0.02) x (1 ) n x
x!(n x)!
10!
(.02) 2 (1 .02)10 2
2!(10 2)!
(45)(.0004)(.8508)
.01531
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-30 Chap 5-30
The Binomial Distribution
Shape
P(X=x|5, 0.5)
.6
.4
Here, n = 5 and π = .5 .2
0
0 1 2 3 4 5 x
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-31 Chap 5-31
The Binomial Distribution Using
Binomial Tables (Available On Line)
n = 10
x … π=.20 π=.25 π=.30 π=.35 π=.40 π=.45 π=.50
Mean
μ E(X) n
Variance and Standard Deviation
2
σ nπ (1 - π )
σ nπ (1 - π )
Where n = sample size
π = probability of the event of interest for any trial
(1 – π) = probability of no event of interest for any trial
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-33 Chap 5-33
The Binomial Distribution
Characteristics
P(X=x|5, 0.5)
μ nπ (5)(.5) 2.5 .6
.4
σ nπ (1 - π ) (5)(.5)(1 .5) .2
0
1.118 0 1 2 3 4 5 x
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-34 Chap 5-34
Using Excel For The
Binomial Distribution (n = 4, π = 0.1)
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-35 Chap 5-35
Using Minitab For The Binomial
Distribution (n = 4, π = 0.1)
2
5
4
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-36 Chap 5-36
The Poisson Distribution
Definitions
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-37 Chap 5-37
The Poisson Distribution
e x
P( X x | )
x!
where:
x = number of events in an area of opportunity
= expected number of events
e = base of the natural logarithm system (2.71828...)
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-39 Chap 5-39
Poisson Distribution
Characteristics
Mean
μλ
Variance and Standard Deviation
σ2 λ
σ λ
where = expected number of events
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-40 Chap 5-40
Using Poisson Tables (Available
On Line)
e λ λ x e 0.50 (0.50) 2
P(X 2 | 0.50) 0.0758
x! 2!
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-41 Chap 5-41
Using Excel For The
Poisson Distribution (λ= 3)
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-42 Chap 5-42
Using Minitab For The Poisson
Distribution (λ = 3)
2
3
5
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-43 Chap 5-43
Graph of Poisson Probabilities
Graphically:
= 0.50
=
X 0.50
0 0.6065
1 0.3033
2 0.0758
3 0.0126
4 0.0016
5 0.0002
6 0.0000
7 0.0000 P(X = 2 | =0.50) = 0.0758
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-44 Chap 5-44
Poisson Distribution Shape
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-45 Chap 5-45
The Hypergeometric
Distribution
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-46 Chap 5-46
The Hypergeometric
Distribution
“n” trials in a sample taken from a finite
population of size N
Sample taken without replacement
Outcomes of trials are dependent
Concerned with finding the probability of “X=xi”
items of interest in the sample where there are
“A” items of interest in the population
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-47 Chap 5-47
Hypergeometric Distribution
Formula
A N A
P(X x | n, N, A)
[ A C x ][ N A C n x ]
x nx
N Cn N
n
Where
N = population size
A = number of items of interest in the population
N – A = number of events not of interest in the population
n = sample size
x = number of items of interest in the sample
n – x = number of events not of interest in the sample
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-48 Chap 5-48
Properties of the
Hypergeometric Distribution
The mean of the hypergeometric distribution is
nA
μ E(X)
N
The standard deviation is
nA(N - A) N - n
σ 2
N N -1
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-49 Chap 5-49
Using the
Hypergeometric Distribution
■ Example: 3 different computers are selected from 10 in
the department. 4 of the 10 computers have illegal
software loaded. What is the probability that 2 of the 3
selected computers have illegal software loaded?
N = 10 n=3
A= 4 x=2
A N A 4 6
x n x 2 1 (6)(6) 0.3
P(X 2 | 3,10,4)
N 10 120
n 3
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-51 Chap 5-51
Using Minitab For The Hypergeometric
Distribution (n = 8, N = 30, A = 10)
2
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-52 Chap 5-52
Chapter Summary
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-53 Chap 5-53
Basic Business Statistics
12th Edition
On Line Topic
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-54
Learning Objectives
In this topic, you learn:
When to use the Poisson distribution to
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-55
The Poisson Distribution Can Be Used To
Approximate The Binomial Distribution
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-56
The Formula For The
Approximation
n
e ( n ) X
P( X )
X!
Where
P(X) = probability of X events of interest given the parameters n and π
n = sample size
π = probability of an event of interest
e = mathematical constant approximated by 2.71828
X = number of events of interest in the sample (X = 0, 1, 2, . . . , n)
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-57
The Mean & Standard Deviation Of
The Poisson Distribution
E ( X ) n
n
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-58
Calculating Probabilities
λ=nπ
X 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0
0 .3329 .3012 .2725 .2466 .2231 .2019 .1827 .1653 .1496 .1353
l .3662 .3614 .3543 .3452 .3347 .3230 .3106 .2975 .2842 .2707
2 .2014 .2169 .2303 .2417 .2510 .2584 .2640 .2678 .2700 .2707
3 .0738 .0867 .0998 .1128 .1255 .1378 .1496 .1607 .1710 .1804
4 .0203 .0260 .0324 .0395 .0471 .0551 .0636 .0723 .0812 .0902
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-59
Topic Summary
Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 5-60