Chap 5 Doc Them
Chap 5 Doc Them
Chapter 5
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-2
Chapter Goals
(continued)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-3
Probability Distributions
Probability
Distributions
Binomial Uniform
Hypergeometric Normal
Poisson Exponential
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-4
5.1
Continuous Probability Distributions
A continuous random variable is a variable that
can assume any value in an interval
thickness of an item
time required to complete a task
temperature of a solution
height, in inches
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-5
Cumulative Distribution Function
The cumulative distribution function, F(x), for a
continuous random variable X expresses the
probability that X does not exceed the value of x
F(x) P(X x)
Let a and b be two possible values of X, with
a < b. The probability that X lies between a
and b is
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-6
Probability Density Function
The probability density function, f(x), of random variable X
has the following properties:
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-7
Probability Density Function
(continued)
The probability density function, f(x), of random variable X
has the following properties:
f(x 0 ) f(x)dx
xm
a b x
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-9
The Uniform Distribution
Probability
Distributions
Continuous
Probability
Distributions
Uniform
Normal
Exponential
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-10
The Uniform Distribution
f(x)
Total area under the
uniform probability
density function is 1.0
xmin xmax x
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-11
The Uniform Distribution
(continued)
1
if a x b
ba
f(x) =
0 otherwise
where
f(x) = value of the density function at any x value
a = minimum value of x
b = maximum value of x
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-12
Properties of the
Uniform Distribution
The mean of a uniform distribution is
ab
μ
2
The variance is
2
(b - a)
σ2
12
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-13
Uniform Distribution Example
Example: Uniform probability distribution
over the range 2 ≤ x ≤ 6:
1
f(x) = 6 - 2 = .25 for 2 ≤ x ≤ 6
f(x)
ab 26
μ 4
.25 2 2
(b - a)2 (6 - 2)2
σ
2
1.333
2 6 x 12 12
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-14
5.2 Expectations for Continuous
Random Variables
μX E(X)
σ 2X E[(X μX )2 ]
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-15
Linear Functions of Variables
Let W = a + bX , where X has mean μX and
variance σX2 , and a and b are constants
Then the mean of W is
μW E(a bX) a bμX
the variance is
σ 2
W Var(a bX) b σ 2 2
X
X μX
Z
σX
which has a mean 0 and variance 1
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-17
5.3
The Normal Distribution
Probability
Distributions
Continuous
Probability
Distributions
Uniform
Normal
Exponential
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-18
The Normal Distribution
(continued)
‘Bell Shaped’
Symmetrical
f(x)
Mean, Median and Mode
are Equal
Location is determined by the σ
mean, μ x
μ
Spread is determined by the
standard deviation, σ
Mean
= Median
The random variable has an = Mode
infinite theoretical range:
+ to
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-19
The Normal Distribution
(continued)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-20
Many Normal Distributions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-21
The Normal Distribution Shape
f(x) Changing μ shifts the
distribution left or right.
Changing σ increases
or decreases the
σ spread.
μ x
F(x 0 ) P(X x 0 )
f(x)
P(X x 0 )
0 x0 x
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-24
Finding Normal Probabilities
a μ b x
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-25
Finding Normal Probabilities
(continued)
F(b) P(X b)
a μ b x
F(a) P(X a)
a μ b x
a μ b x
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-26
The Standardized Normal
Any normal distribution (with any mean and
variance combination) can be transformed into the
standardized normal distribution (Z), with mean 0
and variance 1
f(Z)
Z ~ N(0,1) 1
0 Z
Need to transform X units into Z units by subtracting the
mean of X and dividing by its standard deviation
X μ
Z
σ
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-27
Example
If X is distributed normally with mean of 100
and standard deviation of 50, the Z value for
X = 200 is
X μ 200 100
Z 2.0
σ 50
This says that X = 200 is two standard
deviations (2 increments of 50 units) above
the mean of 100.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-28
Comparing X and Z units
0 2.0 Z ( μ = 0 , σ = 1)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-29
Finding Normal Probabilities
a μ b μ
P(a X b) P Z
σ σ
f(x) b μ a μ
F F
σ σ
a µ b x
a μ b μ
0 Z
σ σ
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-30
Probability as
Area Under the Curve
The total area under the curve is 1.0, and the curve is
symmetric, so half is above the mean, half is below
f(X) P( X μ) 0.5
P(μ X ) 0.5
0.5 0.5
μ X
P( X ) 1.0
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-31
Appendix Table 1
The Standardized Normal table in the textbook
(Appendix Table 1) shows values of the
cumulative normal distribution function
F(a) P(Z a)
0 a Z
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-32
The Standardized Normal Table
.9772
Example:
P(Z < 2.00) = .9772
0 2.00 Z
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-33
The Standardized Normal Table
(continued)
.0228
Example:
0 2.00 Z
P(Z < -2.00) = 1 – 0.9772
= 0.0228 .9772
.0228
-2.00 0 Z
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-34
General Procedure for Finding
Probabilities
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-35
Finding Normal Probabilities
X
8.0
8.6
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-36
Finding Normal Probabilities
(continued)
Suppose X is normal with mean 8.0 and
standard deviation 5.0. Find P(X < 8.6)
X μ 8.6 8.0
Z 0.12
σ 5.0
μ=8 μ=0
σ = 10 σ=1
8 8.6 X 0 0.12 Z
.11 .5438
.12 .5478
Z
0.00
.13 .5517
0.12
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-38
Upper Tail Probabilities
X
8.0
8.6
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-39
Upper Tail Probabilities
(continued)
Now Find P(X > 8.6)…
P(X > 8.6) = P(Z > 0.12) = 1.0 - P(Z ≤ 0.12)
= 1.0 - 0.5478 = 0.4522
0.5478
1.000 1.0 - 0.5478
= 0.4522
Z Z
0 0
0.12 0.12
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-40
Finding the X value for a
Known Probability
X μ Zσ
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-41
Finding the X value for a
Known Probability
(continued)
Example:
Suppose X is normal with mean 8.0 and
.2000
? 8.0 X
? 0 Z
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-42
Find the Z value for
20% in the Lower Tail
1. Find the Z value for the known probability
Standardized Normal Probability 20% area in the lower
Table (Portion) tail is consistent with a
z F(z) Z value of -0.84
.82 .7939 .80
.20
.83 .7967
.84 .7995
? 8.0 X
.85 .8023 -0.84 0 Z
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-43
Finding the X value
X μ Zσ
8.0 ( 0.84)5.0
3.80
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-44
Assessing Normality
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-45
The Normal Probability Plot
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-46
The Normal Probability Plot
(continued)
100
Percent
0
Data
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-47
The Normal Probability Plot
(continued)
Left-Skewed Right-Skewed
100 100
Percent
Percent
0 0
Data Data
Uniform
100 Nonlinear plots indicate
a deviation from
Percent
normality
0
Data
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-48
5.4
Normal Distribution Approximation
for Binomial Distribution
Random variable X:
Xi =1 if the ith trial is “success”
Xi =0 if the ith trial is “failure”
E(X) μ nP
Var(X) σ nP(1- P) 2
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-49
Normal Distribution Approximation
for Binomial Distribution
(continued)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-50
Normal Distribution Approximation
for Binomial Distribution
(continued)
If nP(1 - P) > 5,
a nP b nP
P(a X b) P Z
nP(1 P) nP(1 P)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-51
Binomial Approximation Example
40% of all voters support ballot proposition A. What
is the probability that between 76 and 80 voters
indicate support in a sample of n = 200 ?
E(X) = µ = nP = 200(0.40) = 80
Var(X) = σ2 = nP(1 – P) = 200(0.40)(1 – 0.40) = 48
( note: nP(1 – P) = 48 > 5 )
76 80 80 80
P(76 X 80) P Z
200(0.4)(1 0.4) 200(0.4)(1 0.4)
P( 0.58 Z 0)
F(0) F( 0.58)
0.5000 0.2810 0.2190
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-52
5.5
The Exponential Distribution
Probability
Distributions
Continuous
Probability
Distributions
Normal
Uniform
Exponential
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-53
The Exponential Distribution
Examples:
Time between trucks arriving at an unloading dock
Time between transactions at an ATM Machine
Time between phone calls to the main operator
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-54
The Exponential Distribution
(continued)
λt
f(t) λ e for t 0
Where
is the mean number of occurrences per unit time
t is the number of time units until the next occurrence
e = 2.71828
T is said to follow an exponential probability distribution
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-55
The Exponential Distribution
Defined by a single parameter, its mean (lambda)
λt
F(t) 1 e
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-56
Exponential Distribution
Example
Example: Customers arrive at the service counter at
the rate of 15 per hour. What is the probability that the
arrival time between consecutive customers is less
than three minutes?
F(x1, x 2 , , x k ) P(X1 x1 X 2 x 2 Xk x k )
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-58
Joint Cumulative Distribution
Functions
(continued)
The cumulative distribution functions
F(x1), F(x2), . . .,F(xk)
of the individual random variables are called their
marginal distribution functions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-59
Covariance
Let X and Y be continuous random variables, with
means μx and μy
Cov(X, Y)
ρ Corr(X, Y)
σ Xσ Y
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-61
Sums of Random Variables
Let X1, X2, . . .Xk be k random variables with
means μ1, μ2,. . . μk and variances
σ12, σ22,. . ., σk2. Then:
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-62
Sums of Random Variables
(continued)
Let X1, X2, . . .Xk be k random variables with means μ1,
μ2,. . . μk and variances σ12, σ22,. . ., σk2. Then:
If the covariance between every pair of these random
variables is 0, then the variance of their sum is the
sum of their variances
Var(X 1 X 2 Xk ) σ12 σ 22 σ k2
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-63
Differences Between Two
Random Variables
For two random variables, X and Y
The mean of their difference is the difference of their
means; that is
E(X Y) μX μY
If the covariance between X and Y is 0, then the
variance of their difference is
Var(X Y) σ 2X σ 2Y
If the covariance between X and Y is not 0, then the
variance of their difference is
Var(X Y) σ 2X σ 2Y 2Cov(X, Y)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-64
Linear Combinations of
Random Variables
A linear combination of two random variables, X and Y,
(where a and b are constants) is
W aX bY
The mean of W is
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-65
Linear Combinations of
Random Variables
(continued)
The variance of W is
σ 2W a 2σ 2X b 2σ 2Y 2abCov(X, Y)
σ 2W a 2σ 2X b 2σ 2Y 2abCorr(X, Y)σ Xσ Y
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-66
Example
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-67
Example
(continued)
X = minutes to complete task 1; μx = 20, σx = 5
Y = minutes to complete task 2; μy = 30, σy = 8
What are the mean and standard deviation for the time to complete
both tasks?
W XY
μW μX μY 20 30 50
Since X and Y are independent, Cov(X,Y) = 0, so
σ 2W σ 2X σ 2Y 2Cov(X, Y) (5)2 (8)2 89
The standard deviation is
σ W 89 9.434
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-68
Portfolio Analysis
Proportion of Proportion of
Return on Stock 1 Stock 2
portfolio value portfolio value
portfolio in stock1 return in stock2 return
Proportion of
Stock N
portfolio value
in stock N return
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-69
Portfolio Analysis Example
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-70
Portfolio Analysis Example
(continued)
σ 2W 10 2 σ 2A 30 2 σ B2 (2)(10)(30)Corr(A,B)σ A σ B
10 2 (4)2 30 2 (16)2 (2)(10)(30)(.50)(4)(16)
251,200
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-71
Portfolio Analysis Example
(continued)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-72
Chapter Summary
Defined continuous random variables
Presented key continuous probability distributions and
their properties
uniform, normal, exponential
Found probabilities using formulas and tables
Interpreted normal probability plots
Examined when to apply different distributions
Applied the normal approximation to the binomial
distribution
Reviewed properties of jointly distributed continuous
random variables
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 5-73