A2 Chapter 5 Updated
A2 Chapter 5 Updated
.. .
SLIDES BY
. John Loucks
..
.. St. Edward’s
.. University
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
1
or duplicated, or posted to a publicly accessible website, in whole or in part.
Chapter 5
Discrete Probability Distributions
Random Variables
Discrete Probability Distributions
Expected Value and Variance
Bivariate Distributions, Covariance,
and Financial Portfolios
Binomial Probability .40
Distribution .30
Distribution .10
Hypergeometric Probability
0 1 2 3 4
Distribution
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
2
or duplicated, or posted to a publicly accessible website, in whole or in part.
Random Variables
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
3
or duplicated, or posted to a publicly accessible website, in whole or in part.
Discrete Random Variable
with a Finite Number of Values
Example: JSL Appliances
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
4
or duplicated, or posted to a publicly accessible website, in whole or in part.
Discrete Random Variable
with an Infinite Sequence of Values
Example: JSL Appliances
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
5
or duplicated, or posted to a publicly accessible website, in whole or in part.
Random Variables
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
6
or duplicated, or posted to a publicly accessible website, in whole or in part.
Discrete Probability Distributions
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
7
or duplicated, or posted to a publicly accessible website, in whole or in part.
Discrete Probability Distributions
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
8
or duplicated, or posted to a publicly accessible website, in whole or in part.
Discrete Probability Distributions
f(x) = 1
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
9
or duplicated, or posted to a publicly accessible website, in whole or in part.
Discrete Probability Distributions
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
10
or duplicated, or posted to a publicly accessible website, in whole or in part.
Discrete Probability Distributions
Example: JSL Appliances
• Using past data on TV sales, …
• a tabular representation of the probability
distribution for TV sales was developed.
Number 80/200
Units Sold of Days x f(x)
0 80 0 .40
1 50 1 .25
2 40 2 .20
3 10 3 .05
4 20 4 .10
200 1.00
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
11
or duplicated, or posted to a publicly accessible website, in whole or in part.
Discrete Probability Distributions
Example: JSL Appliances
Graphical
representation
.50
of probability
.40 distribution
Probability
.30
.20
.10
0 1 2 3 4
Values of Random Variable x (TV sales)
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
12
or duplicated, or posted to a publicly accessible website, in whole or in part.
Discrete Probability Distributions
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
13
or duplicated, or posted to a publicly accessible website, in whole or in part.
Discrete Uniform Probability Distribution
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
14
or duplicated, or posted to a publicly accessible website, in whole or in part.
Expected Value
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
15
or duplicated, or posted to a publicly accessible website, in whole or in part.
Variance and Standard Deviation
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
16
or duplicated, or posted to a publicly accessible website, in whole or in part.
Expected Value
Example: JSL Appliances
x f(x) xf(x)
0 .40 .00
1 .25 .25
2 .20 .40
3 .05 .15
4 .10 .40
E(x) = 1.20
expected number of
TVs sold in a day
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
17
or duplicated, or posted to a publicly accessible website, in whole or in part.
Variance
Example: JSL Appliances
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
18
or duplicated, or posted to a publicly accessible website, in whole or in part.
Bivariate Distributions
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
19
or duplicated, or posted to a publicly accessible website, in whole or in part.
A Bivariate Discrete Probability Distribution
Total 52 78 70 200
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
20
or duplicated, or posted to a publicly accessible website, in whole or in part.
A Bivariate Discrete Probability Distribution
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
21
or duplicated, or posted to a publicly accessible website, in whole or in part.
A Bivariate Discrete Probability Distribution
Expected Value and Variance for Benefits Package, x
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
22
or duplicated, or posted to a publicly accessible website, in whole or in part.
A Bivariate Discrete Probability Distribution
Expected Value and Variance for Job Satisfaction, y
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
23
or duplicated, or posted to a publicly accessible website, in whole or in part.
A Bivariate Discrete Probability Distribution
Expected Value and Variance for S = X+Y.
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
24
or duplicated, or posted to a publicly accessible website, in whole or in part.
A Bivariate Discrete Probability Distribution
Covariance for Random Variables x and y
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
25
or duplicated, or posted to a publicly accessible website, in whole or in part.
A Bivariate Discrete Probability Distribution
Correlation Between Variables x and y
xy
xy
x y
x 0.5051 0.7107038
y 0.6019 0.7758221
0.276776
𝜌 𝑥𝑦 = =0.501106
0.7107038 ∗0.775822
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
26
or duplicated, or posted to a publicly accessible website, in whole or in part.
Binomial Probability Distribution
Four Properties of a Binomial Experiment
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
27
or duplicated, or posted to a publicly accessible website, in whole or in part.
Binomial Probability Distribution
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
28
or duplicated, or posted to a publicly accessible website, in whole or in part.
Binomial Probability Distribution
Binomial Probability Function
n!
f (x) p x (1 p )( n x )
x !(n x )!
where:
x = the number of successes
p = the probability of a success on one trial
n = the number of trials
f(x) = the probability of x successes in n trials
n! = n(n – 1)(n – 2) ….. (2)(1)
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
29
or duplicated, or posted to a publicly accessible website, in whole or in part.
Binomial Probability Distribution
Binomial Probability Function
n!
f (x) p x (1 p )( n x )
x !(n x )!
Probability of a particular
Number of experimental
sequence of trial outcomes
outcomes providing exactly
with x successes in n trials
x successes in n trials
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
30
or duplicated, or posted to a publicly accessible website, in whole or in part.
Binomial Probability Distribution
Example: Evans Electronics
Evans Electronics is concerned about a low
retention rate for its 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.
Choosing 3 hourly employees at random, what is
the probability that 1 of them will leave the company
this year?
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
31
or duplicated, or posted to a publicly accessible website, in whole or in part.
Binomial Probability Distribution
Example: Evans Electronics
The probability of the first employee leaving and the
second and third employees staying, denoted (S, F, F),
is given by
p(1 – p)(1 – p)
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
32
or duplicated, or posted to a publicly accessible website, in whole or in part.
Binomial Probability Distribution
Example: Evans Electronics
Two other experimental outcomes also result in one
success and two failures. The probabilities for all
three experimental outcomes involving one success
follow.
Experimental Probability of
Outcome Experimental Outcome
(S, F, F) p(1 – p)(1 – p) = (.1)(.9)(.9) = .081
(F, S, F) (1 – p)p(1 – p) = (.9)(.1)(.9) = .081
(F, F, S) (1 – p)(1 – p)p = (.9)(.9)(.1) = .081
Total = .243
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
33
or duplicated, or posted to a publicly accessible website, in whole or in part.
Binomial Probability Distribution
Example: Evans Electronics
Using the
Let: p = .10, n = 3, x = 1 probability
function
n!
f ( x) p x (1 p ) (n x )
x !( n x )!
3!
f (1) (0.1)1 (0.9)2 3(.1)(.81) .243
1!(3 1)!
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
34
or duplicated, or posted to a publicly accessible website, in whole or in part.
Binomial Probability Distribution
Using a tree diagram
Example: Evans Electronics
1st Worker 2nd Worker 3rd Worker x Prob.
L (.1) 3 .0010
Leaves (.1)
S (.9) 2 .0090
Leaves
(.1) L (.1) 2 .0090
Stays (.9)
S (.9) 1 .0810
L (.1) 2 .0090
Leaves (.1)
Stays S (.9) 1 .0810
(.9) L (.1)
1 .0810
Stays (.9)
S (.9) 0 .7290
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
35
or duplicated, or posted to a publicly accessible website, in whole or in part.
Binomial Probabilities
and Cumulative Probabilities
Statisticians have developed tables that give
probabilities and cumulative probabilities for a
binomial random variable.
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
36
or duplicated, or posted to a publicly accessible website, in whole or in part.
Binomial Probability Distribution
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
37
or duplicated, or posted to a publicly accessible website, in whole or in part.
Binomial Probability Distribution
Expected Value
E(x) = = np
Variance
Var(x) = 2 = np(1 - p)
Standard Deviation
np(1 p )
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
38
or duplicated, or posted to a publicly accessible website, in whole or in part.
Binomial Probability Distribution
Example: Evans Electronics
• Expected Value
E(x) = np = 3(.1) = .3 employees out of 3
• Variance
Var(x) = np(1 – p) = 3(.1)(.9) = .27
• Standard Deviation
3(.1)(.9) .52 employees
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
39
or duplicated, or posted to a publicly accessible website, in whole or in part.
Poisson Probability Distribution
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
40
or duplicated, or posted to a publicly accessible website, in whole or in part.
Poisson Probability Distribution
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
41
or duplicated, or posted to a publicly accessible website, in whole or in part.
Poisson Probability Distribution
Two Properties of a Poisson Experiment
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
42
or duplicated, or posted to a publicly accessible website, in whole or in part.
Poisson Probability Distribution
Poisson Probability Function
x e
f ( x)
x!
where:
x = the number of occurrences in an interval
f(x) = the probability of x occurrences in an interval
= mean number of occurrences in an interval
e = 2.71828
x! = x(x – 1)(x – 2) . . . (2)(1)
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
43
or duplicated, or posted to a publicly accessible website, in whole or in part.
Poisson Probability Distribution
Poisson Probability Function
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
44
or duplicated, or posted to a publicly accessible website, in whole or in part.
Poisson Probability Distribution
Example: Mercy Hospital
Patients arrive at the emergency room of Mercy
Hospital at the average rate of 6 per hour on
weekend evenings.
What is the probability of 4 arrivals in 30 minutes
on a weekend evening?
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
45
or duplicated, or posted to a publicly accessible website, in whole or in part.
Poisson Probability Distribution
Using the
Example: Mercy Hospital
probability
function
= 6/hour = 3/half-hour, x = 4
3 4 (2.71828)3
f (4) .1680
4!
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
46
or duplicated, or posted to a publicly accessible website, in whole or in part.
Poisson Probability Distribution
Example: Mercy Hospital
Poisson Probabilities
0.25
0.20
Probability
0.15
Actually,
the sequence
0.10 continues:
11, 12, 13 …
0.05
0.00
0 1 2 3 4 5 6 7 8 9 10
Number of Arrivals in 30 Minutes
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
47
or duplicated, or posted to a publicly accessible website, in whole or in part.
Poisson Probability Distribution
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
48
or duplicated, or posted to a publicly accessible website, in whole or in part.
Poisson Probability Distribution
Example: Mercy Hospital
Variance for Number of Arrivals
During 30-Minute Periods
m=s2=3
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
49
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypergeometric Probability Distribution
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
50
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypergeometric Probability Distribution
Hypergeometric Probability Function
r N r
x n x
f ( x)
N
n
where: x = number of successes
n = number of trials
f(x) = probability of x successes in n trials
N = number of elements in the population
r = number of elements in the population
labeled success
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
51
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypergeometric Probability Distribution
Hypergeometric Probability Function
r N r
x nx
f (x) for 0 < x < r
N
n number of ways
n – x failures can be selected
number of ways from a total of N – r failures
x successes can be selected in the population
from a total of r successes
in the population number of ways
n elements can be selected
from a population of size N
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
52
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypergeometric Probability Distribution
Hypergeometric Probability Function
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
53
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypergeometric Probability Distribution
Example: Neveready’s Batteries
Bob Neveready has removed two dead batteries
from a flashlight and inadvertently mingled them
with the two good batteries he intended as
replacements. The four batteries look identical.
Bob now randomly selects two of the four
batteries. What is the probability he selects the two
good batteries?
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
54
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypergeometric Probability Distribution
Example: Neveready’s Batteries Using the
probability
function
r N r 2 2 2! 2!
x n x 2 0 2!0! 0!2!
f ( x ) 1 .167
N 4 4! 6
n 2 2!2!
where:
x = 2 = number of good batteries selected
n = 2 = number of batteries selected
N = 4 = number of batteries in total
r = 2 = number of good batteries in total
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
55
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypergeometric Probability Distribution
Mean
r
E ( x) n
N
Variance
r r N n
Var ( x) n 1
2
N N N 1
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
56
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypergeometric Probability Distribution
Example: Neveready’s Batteries
• Mean
r 2
n 2 1
N 4
• Variance
2 2 4 2 1
2 1
2
.333
4 4 4 1 3
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
57
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypergeometric Probability Distribution
continued
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
58
or duplicated, or posted to a publicly accessible website, in whole or in part.
Hypergeometric Probability Distribution
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
59
or duplicated, or posted to a publicly accessible website, in whole or in part.
End of Chapter 5
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
Slide
60
or duplicated, or posted to a publicly accessible website, in whole or in part.