Continuous Probability Distribution
Continuous Probability Distribution
Continuous Probability
Distributions
王泰裕教授
成功大學工業與資訊管理學系
1/78
Continuous Probability
Distributions
Uniform Probability Distribution
Normal Probability Distribution
Normal Approximation of Binomial
Probabilities
Exponential Probability Distribution
2/78
Continuous Probability
Distributions
Uniform
f (x)
x x
3/78
Continuous Probability
Distributions
A continuous random variable can assume
any value in an interval on the real line or in
a collection of intervals.
It is not possible to talk about the probability
of the random variable assuming a particular
value.
Instead, we talk about the probability of the
random variable assuming a value within a
given interval. 4/78
Continuous Probability
Distributions
The probability of the random variable
assuming a value within some given interval
from x1 to x2 is defined to be the area under
the graph of the probability density function
f(x) between x1 and x2.
f(x) ≧0
∞
∫ f ( x )dx = 1
−∞
P 𝑋𝑋 = 𝑥𝑥 = 0
Ex. P(X=3.12)=0, P(X=0)=0 5/71
Continuous Probability
Distributions
x x x
x1 x2 x1 x2 x1 xx12 x2
6/71
Continuous Probability
Distributions
The expected value of a continuous random
variable x is:
∞
E ( x) = µ = ∫ xf ( x )dx
−∞
7/71
Continuous Probability
Distributions
If the random variable x has the density
function f(x), the probability of the random
variable assuming a value within some
given interval from x1 to x2 is defined to be
x2
P( x1 ≤ x ≤ x2 ) = ∫ f ( x )dx
x1
8/71
Continuous Probability
Distributions
Cumulative probability function:
If the random variable x has the density
function f(x), the cumulative distribution
function for x ≦x2 is:
x2
F ( x2 ) = P ( x ≤ x2 ) = ∫
−∞
f ( x )dx
9/71
Uniform Probability Distribution
A random variable is uniformly distributed
whenever the probability is proportional to
the interval’s length.
The uniform probability density function is:
f (x) = 1/(b – a) for a < x < b
=0 elsewhere
Variance of x
Var(x) = (b - a)2/12
11/78
Uniform Probability Distribution
Example:
Random variable x = the flight time of an
airplane traveling from Chicago to New
York. Suppose the flight time can be any
value in the interval from 120 minutes to 140
minutes.
12/78
Uniform Probability Distribution
Assume every 1-minute interval being equally
likely, x is said to have a uniform
probability distribution and the probability
density function is
13/78
Uniform Probability Distribution
Example: Uniform Probability Density
Function for Flight Time
14/78
Uniform Probability Distribution
What is the probability that the flight time is
between 120 and 130 minutes? That is,
what is P(120 ≤ x ≤ 130) ?
Area provides Probability of Flight Time
Between 120 and 130 Minutes
15/78
Uniform Probability Distribution
Applying these formulas to the uniform
distribution for flight times from Chicago to
New York, we obtain
where:
x = salad plate filling weight
18/71
Uniform Probability Distribution
Expected Value of x
E(x) = (a + b)/2
= (5 + 15)/2
= 10
Variance of x
Var(x) = (b - a)2/12
= (15 – 5)2/12
= 8.33
19/71
Uniform Probability Distribution
Uniform Probability Distribution
for Salad Plate Filling Weight
f(x)
1/10
x
5 10 15
Salad Weight (oz.) 20/78
Uniform Probability
Distribution
What is the probability that a customer
will take between 12 and 15 ounces of salad?
f(x)
1/10
x
5 10 12 15
Salad Weight (oz.)
21/71
Normal Probability Distribution
The normal probability distribution is the
most important distribution for describing a
continuous random variable.
It is widely used in statistical inference.
22/78
Normal Probability Distribution
It has been used in a wide variety of
applications:
Heights Scientific
of people measurements
23/71
Normal Probability Distribution
It has been used in a wide variety of
applications:
Test Amounts
scores of rainfall
24/71
Normal Probability Distribution
Normal Probability Density Function
where:
μ = mean,
σ = standard deviation,
π = 3.14159
e = 2.71828
Abraham de Moivre, a French mathematician, published
25/78
The Doctrine of Chances in 1733.
Normal Probability Distribution
Characteristics
The distribution is symmetric; its skewness
measure is zero.
26/71
Normal Probability Distribution
Characteristics
The entire family of normal probability
distributions is defined by its mean μ and
its standard deviation σ .
Standard Deviation σ
x
Mean µ 27/71
Normal Probability Distribution
Characteristics
The highest point on the normal curve is at the
mean, which is also the median and mode.
Standard Deviation σ
x
Mean µ
28/71
Normal Probability Distribution
Characteristics
The mean can be any numerical value:
negative, zero, or positive.
x
-10 0 25 29/71
Normal Probability Distribution
Characteristics
The standard deviation determines the width of
the curve: larger values result in wider, flatter
curves.
σ = 15
σ = 25
x 30/71
Normal Probability Distribution
Characteristics
Probabilities for the normal random variable are
given by areas under the curve. The total area
under the curve is 1 (.5 to the left of the mean and
.5 to the right).
.5 .5
x 31/71
Normal Probability Distribution
Characteristics
68.27% of values of a normal random variable
are within +/- 1 standard deviation of its mean.
95.45% of values of a normal random variable
are within +/- 2 standard deviations of its mean.
99.73% of values of a normal random variable
are within +/- 3 standard deviations of its mean.
32/71
Normal Probability Distribution
Characteristics
99.73%
95.45%
68.27%
x
µ µ + 3σ
µ – 3σ µ – 1σ µ + 1σ
µ – 2σ µ + 2σ 33/71
Standard Normal Probability
Distribution
Remember z-score in previous chapter?
A random variable having a normal distribution
with a mean of 0 and a standard deviation of 1 is
said to have a standard normal probability
distribution.
34/78
Standard Normal Probability
Distribution
35/78
Standard Normal Probability
Distribution
36/78
Standard Normal Probability
Distribution
The letter z is used to designate the standard
normal random variable.
σ=1
z
0
37/71
Standard Normal Probability
Distribution
Converting to the Standard Normal
Distribution
𝑥𝑥−𝜇𝜇
z=
𝜎𝜎
We can think of z as a measure of the
number of standard deviations x is from µ.
38/71
Standard Normal Probability
Distribution
Areas, or probabilities, for The Standard
Normal Distribution
39/78
Standard Normal Probability
Distribution
40/78
Standard Normal Probability
Distribution
Example: What is the probability that the z
value for the standard normal random
variable will be between .00 and 1.00?
41/78
Standard Normal Probability
Distribution
42/78
Standard Normal Probability
Distribution
Example: P (−1.00 ≤ z ≤ 1.00) = ?
43/78
Standard Normal Probability
Distribution
Example: P(−1.00 ≤ z ≤ 1.00) = ?
Table 6.1 to show that the probability of a z
value between z = .00 and z = 1.00 is .3413
the normal distribution is symmetric,
therefore,
P (−1.00 ≤ z ≤ 1.00) = P(−1.00 ≤ z ≤ .00) + P(.00 ≤ z ≤ 1.00)
= .3413 + .3413 = .6826
44/78
Standard Normal Probability
Distribution
Example: =?
=
the normal distribution is symmetric and
=
= .1915 + .5000 = .6915.
Standard Normal Probability
Distribution
Standard Normal Probability
Distribution
Example: P (1.00 ≤ z ≤ 1.58)= ?
Probability of a z value between z = 0.00 and
z = 1.00 is .3413, and Probability of a z value
between z = 0.00 and z =1.58 is .4429 .
Hence, Probability of a z value between z = 1.00
and z = 1.58 is .4429 — .3413 = .1016.
47/78
Standard Normal Probability
Distribution
48/78
Standard Normal Probability
Distribution
Example: find a z value such that the
probability of obtaining a larger z value is .10.
49/78
Standard Normal Probability
Distribution
where:
z = (x – µ)/σ
π = 3.14159
e = 2.71828
51/71
Standard Normal Probability
Distribution Pep
Zone
5w-20
Motor Oil
Example: Pep Zone
Pep Zone sells auto parts and supplies
including a popular multi-grade
motor oil. When the stock of this
oil drops to 20 gallons, a replenishment
order is placed.
52/78
Standard Normal Probability
Distribution
Example: Pep Zone
The store manager is concerned that sales are
being lost due to stockouts while waiting
for an order. It has been determined
that demand during replenishment
lead-time is normally distributed Pep
Zone
with a mean of 15 gallons and a 5w-20
Motor Oil
54/71
Standard Normal Probability Pep
Zone
5w-20
Motor Oil
Distribution
Solving for the stockout Probability
Step 1: Convert x to the standard normal distribution.
z = (x - µ)/σ
= (20 - 15)/6
= .83
Distribution
Solving for the stockout Probability
Probability
of a stockout P(x > 20)
57/71
Standard Normal Probability Pep
Zone
5w-20
Motor Oil
Distribution
Solving for the stockout Probability
Area = 1 - .7967
Area = .7967
= .2033
z
0 .83
58/71
Standard Normal Probability Pep
Zone
5w-20
Motor Oil
Distribution
59/78
Standard Normal Probability Pep
Zone
5w-20
Motor Oil
Distribution
Solving for the Reorder Point
Area = .9500
Area = .0500
z
0 z.05
60/71
Standard Normal Probability Pep
Zone
5w-20
Motor Oil
Distribution
Solving for the Reorder Point
Step 1: Find the z-value that cuts off an area of .05
in the right tail of the standard normal
distribution.
z .00 .01 .02 .03 .04 .05 .06 .07 .08 .09
. . . . . . . . . . .
1.5 .9332 .9345 .9357 .9370 .9382 .9394 .9406 .9418 .9429 .9441
1.6 .9452 .9463 .9474 .9484 .9495 .9505 .9515 .9525 .9535 .9545
1.7 .9554 .9564 .9573 .9582 .9591 .9599 .9608 .9616 .9625 .9633
1.8 .9641 .9649 .9656 .9664 .9671 .9678 .9686 .9693 .9699 .9706
1.9 .9713 .9719 .9726 .9732
We .9738 .9744
look up the .9750 .9756 .9761
complement of .9767
. . . . .the tail
. area. (1 - .05
. = .95)
. . . 61/71
Standard Normal Probability Pep
Zone
5w-20
Motor Oil
Distribution
Solving for the Reorder Point
Step 2: Convert z.05 to the corresponding value
of x.
x = µ + z.05σ
= 15 + 1.645(6)
= 24.87 or 25
Distribution
Solving for the Reorder Point
By raising the reorder point from 20
gallons to 25 gallons on hand, the probability
of a stockout decreases from about .20 to .05.
This is a significant decrease in the chance
that Pep Zone will be out of stock and unable
to meet a customer’s desire to make a purchase.
63/71
Normal Approximation of
Binomial Probabilities
When the number of trials, n, becomes large,
evaluating the binomial probability function
by hand or with a calculator is difficult
67/78
Exponential Probability
Distribution
The exponential probability distribution is
useful in describing the time it takes to
complete a task.
The exponential random variables can be
used to describe:
68/71
Exponential Probability
Distribution
Time between Time required Distance between
vehicle arrivals to complete major defects
at a toll booth a questionnaire in a highway
69/71
Exponential Probability
Distribution
Density Function
1 − xfor
/µ x > 0, µ > 0
f ( x) = e , for x ≥ 0, µ > 0
µ
where: µ = mean
e = 2.71828
70/78
Exponential Probability
Distribution
Cumulative Probabilities
P ( x ≤ x0 ) = 1 − e − xo / µ
where:
x0 = some specific value of x
71/78
Computing Probabilities for the
Exponential Distribution
Example: The Schips loading dock
example.
x = loading time and μ=15, which gives us
and
.4
.3
.2
.1
x
1 2 3 4 5 6 7 8 9 10
Time Between Successive Arrivals (mins.)
75/78
Exponential Probability
Distribution
A property of the exponential distribution is that
the mean, m, and standard deviation, s, are equal.
Thus, the standard deviation, s, and variance, s 2,
for the time between arrivals at Al’s full-service
pump are:
σ = µ = 3 minutes
σ 2 = (3)2 = 9
76/71
Exponential Probability
Distribution
The exponential distribution is skewed to the
right.
77/71
Relationship between the Poisson
and Exponential Distributions
78/78