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
Binomial Portfolios .40
Probability
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
Var(x) = 2
= (x - )2f(x)
© 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
A company asked 200 of its employees how
they
rated their benefit package and job satisfaction.
The
crosstabulation
Benefits below shows the(y)
Job Satisfaction ratings data.
Package (x) 1 2 3 Total
1 28 26 4 58
2 22 42 34 98
3 2 10 32 44
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
The bivariate empirical discrete probabilities
for
benefits rating and job satisfaction are shown
below.
Benefits Job Satisfaction (y)
Package (x) 1 2 3 Total
1 .14 .13 .02 .29
2 .11 .21 .17 .49
3 .01 .05 .16 .22
Total .26 .39 .35 1.00
© 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
(x -
x f(x) xf(x) x - E(x) (x - E(x))2f(x)
E(x))2
© 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
(y -
y f(y) yf(y) y - E(y) (y - E(y))2f(y)
E(y))2
© 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
28
or duplicated, or posted to a publicly accessible website, in whole or in part.
Binomial Probability Distribution
Binomial Probability Function
n!
f (x) px (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) px (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
Thus, for any hourly employee chosen at
hourly employees annually.
random,
management estimates a probability of 0.1
that the
Choosing 3 hourly employees at random,
person
what will
is not be with the company next year.
the probability that 1 of them will leave the
company
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
this year?
or duplicated, or posted to a publicly accessible website, in whole or in part.
Slide
31
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
With a .10 probability of –an
p(1 employee
p)(1 – p) leaving
on any
one trial, the probability of an employee
leaving on
the first trial and not on the second and third
trials is
given by
© 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied
(.10)(.90)(.90) = (.10)(.90) 2
or duplicated, or posted to a publicly accessible website, in whole or in part.
Slide
32
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
Experimental
success Probability of
Outcome
follow. Experimental Outcome
(S, F, F) p(1 – p)(1 – p) = (.1)(.9)(.9)
(F, S, F) = .081
(F, F, S) (1 – p)p(1 – p) = (.9)(.1)(.9)
= .081
(1 – p)(1 – p)p = (.9)(.9)(.1)
© 2014 Cengage Learning. All Rights Reserved. May =not.081
be scanned, copied
Slide
33
or duplicated, or posted to a publicly accessible website, in whole or in part.
Total = .243
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
xe
f ( x)
x!
where:
x = the number of occurrences in an interval
f(x) = the probability of x occurrences in an inter
= 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
What isevenings.
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
34(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
0.10 sequence
continues:
0.05 11, 12, 13
…
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 n x
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
Bob now randomly
replacements. The four selects two look
batteries of the four
batteries.
identical.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 Using the
probability
Batteries
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
• Mean
Batteries
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.