Applied Statistics and Probability For Engineers: Sixth Edition
Applied Statistics and Probability For Engineers: Sixth Edition
Probability for
Engineers
Sixth Edition
Douglas C. Montgomery George C.
Runger
Chapter 4
Continuous Random Variables and Probability
Distributions
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
4
Continuous
Random
Variables and
Probability
CHAPTER OUTLINE
4-1 Continuous Random Variables
Distributions and Poisson Distributions
4-2 Probability Distributions and 4-8 Exponential Distribution
Probability 4-9 Erlang and Gamma
Density Functions Distributions
4-3 Cumulative Distribution 4-10 Weibull Distribution
Functions 4-11 Lognormal Distribution
4-4 Mean and Variance of a 4-12 Beta Distribution
Continuous
Random Variable
4-5 Continuous Uniform
Distribution
4-6 Normal
Chapter Distribution
4 Title and Outline 2
0 x < 4.9
F (x ) = 5x - 24.5 4.9 ≤ x ≤ 5.1
1 5.1 ≤ x
The plot of F(x) is shown in Figure 4-6. Figure 4-6 Cumulative distribution
function
F x
0
for x 0
1 e 0.01x for 0 x
• What is the Probability density function?
f x
dx
dx
dF x
d 0
1 e 0.01 x
0
0.01
• What proportion of reactions is complete
e 0.01 x
for x 0
for 0 x
within 200 ms?
20 2 20
0.05 x
E X x f x dx 10
0
2 0
3 20
20
0.05 x 10
V X x 10 f x dx
2
33.33
0
3
0
E h x h x f x dx (4-5)
Example 4-7:
Let X be the current measured in mA. The PDF is
f(x) = 0.05 for 0 ≤ x ≤ 20. What is the expected
value of power when the resistance is 100 ohms?
Use the result that power in watts P = 10−6RI2,
where I is the current in milliamperes and R is the
resistance in ohms. Now, h(X) = 10−6100X2.
20 3 20
x
E h x 10 x dx 0.0001
4 2
0.2667 watts
0
3 0
E X
a b
2
and
b a
2
V X
2
12
E X 5 mA and V X =0.0033 mA 2
12
Figure 4-9
NOTE : The column headings refer to the hundredths digit of the value of z in P(Z ≤
z).
For example, P(Z ≤ 1.53) is found by reading down the z column to the row 1.5 and
then selecting the probability from the column labeled 0.03 to be 0.93699.
Z
X
is a normal random variable with E ( Z ) 0 and V ( Z ) 1.
9 10 x 10 11 10
P 9 X
Answer: 11 P
2 2 2
P 0.5 z 0.5
P z 0.5 P z 0.5
0.69146 0.30854 0.38292
Using Excel
0.38292 = NORMDIST(11,10,2,TRUE) - NORMDIST(9,10,2,TRUE)
Answer: P X x P X 10 x 10
2 2
x 10
PZ 0.98
2
z 2.05 is the closest value.
z 2 2.05 10 14.1 mA.
Using Excel
14.107 = NORMINV(0.98,10,2)
9.5
PZ P Z 0.75104 0.2263
12.6491
Using Excel
0.2263 = NORMDIST(150.5, 160, SQRT(160*(1-0.00001)), TRUE)
-0.7% = (0.2263-0.228)/0.228 = percent error in the approximation
Sec 4-7 Normal Approximation to the Binomial & Poisson
27
Distributions
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
Normal Approximation to Hypergeometric
950
e 10001000 x
P X 950 ... too hard manually!
x 0 x!
The probability can be approximated as
P X 950 P X 950.5
950.5 1000
PZ
1000
P Z 1.57 0.058
Using Excel
0.0578 = POISSON(950,1000,TRUE)
0.0588 = NORMDIST(950.5, 1000, SQRT(1000), TRUE)
1.6% = (0.0588 - 0.0578) / 0.0578 = percent error
Sec 4-7 Normal Approximation to the Binomial & Poisson
30
Distributions
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
Exponential Distribution
Definition
The random variable X that equals the
distance
between successive events of a Poisson
process with mean number of events λ > 0
per
unit interval is an exponential random
variable
with parameter λ. The probability density
function of X is:
Note:
• Poisson distribution : Mean and variance are
same.
• Exponential distribution : Mean and standard
deviation
are
Sec 4-8 same.
Exponential Distribution 32
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
Example 4-21: Computer
Usage-1
In a large corporate computer network, user log-ons to the
system can be
modeled as a Poisson process with a mean of 25 log-ons per
hour. What is
the probability that there are no log-ons in the next 6
minutes (0.1 hour)?
P XX 0.1
Let 25the
denote time
e 25 x dx 0.1
e 25in hours
0.082 from the start of the interval
until the0.1first
The cumulative distribution function also can
log-on.
be used to obtain the same result as follows
P X 0.1 1 F 0.1 0.082
An alternative solution is
P 0.033 X 0.05 F 0.05 F 0.033 0.152
Using Excel
0.148 = EXPONDIST(3/60, 25, TRUE) - EXPONDIST(2/60, 25, TRUE)
(difference due to round-off error)
r 1 x
x e r
f x , for x 0 (4-18)
r
is a gamma random variable with
parameters
λ > 0 and r > 0. If r is an integer, then X
has
an Erlang distribution.
μ = E(X) = r / λ
and
σ2 = V(X) = r / λ2
P Nonly
and 9 ifthe numberk!
of
0.2014
slides made in 25 hours is ≤ 9.
k 0
P X 25 1 P X 25
25
0.510 x9 e 0.5 x
1 dx
10
Using Excel
0
0.2014 = 1 - GAMMADIST(25,10,2,TRUE)
1 0.7986
0.2014
0.06
0.05
0.04
Density
0.03
0.02
0.01
0.00
0 31.4
X
E X e 2 2
and
V X e 2 e 1
2 2
V X e2 e 1 e2101.5 e1.5 1
2 2 2
2
exp 22.25 exp 2.25 1 39, 070, 059,886.6
SD X 197, 661.5
f x = x 1 1 x
1
, for x in [0, 1]
3.5 1
2.5 1
0.7
x1.5 dx
1.5 0.5 2.5 0.7
Using Excel
1 0.7
2.5
0.59 0.590 = 1 - BETADIST(0.7,2.5,1,0,1)