MGMT350
Decision Science
Continuous Probability Distributions
Probability 3-of-3
CSUEB R. Choy ©2022
Rev C1
Overview
Random Variables
Discrete Random Variables
Continuous Random Variables
Continuous Probability
Distributions
+∞
Descriptive Parameters
Uniform Probability Distribution
Triangular Probability Distribution
Normal Probability Distribution
Exponential Probability Distribution
ΰΆ± π π₯ ππ₯ = 1
−∞
0 ≤ π π₯π ≤ 1
Key Concept: Differences
• Discrete random variables – the probability mass function
f(x) provides the probability that the random variable
assumes a particular value.
• Continuous random variables – the counterpart of the
probability mass function is the probability density function.
Key Concept: Density Function
• Counterpart of the probability mass function is the probability
density function, also denoted by f(x)
• The probability density function does not directly provide
probabilities
• For continuous random variables, the probability of any
particular value of the random variable is zero
• We are computing the probability that the random variable
assumes any value in an interval
Expected Value and Variance
• Measure of central location or central tendency
ο=πΈ π₯
+∞
= β«Χ¬β¬−∞ π₯ ∗ π π₯
ππ₯
• Measure of variability or dispersion
ο³ο² = ππ΄π
π₯ = πΈ[ (π − ο)ο² ]
Uniform Distribution
Density Function
Every interval of along the length being equally likely
π π₯ =
1
π −π
0
πππ π ≤ π₯ ≤ π
πΈπ£πππ¦π€βπππ πππ π
Uniform Distribution
Cumulative Probabilities, Expected Value, Variance
• Cumulative Probabilities
π₯0 − π
π π₯ ≤ π₯0 =
π−π
πππ π ≤ π₯0 ≤ π
• Expected value and variance
πΈ π₯
π+π
=
2
Var π₯
(π−π)2
=
12
Uniform Distribution
Example: Equally Likely Contractor Project Times
a = 3 days, b =7 days
π π₯ ≤ 4 πππ¦π
1
1
= (4-3)
=
7−3 4
π π₯ > 4 πππ¦π = 1 - P π₯ ≤ 4 πππ¦π
E(x) = (7+3)/2 = 5
(7−3)2 4
VAR(x)=
=
12
3
3
=
4
π₯0 = 4
Triangular Distribution
• Useful only when subjective probability estimates are available!
Triangular Distribution
Density Function
2(π₯−π)
(π−π)(π−π)
πππ π ≤ π₯ ≤ π
2(π−π₯)
(π−π)(π−π)
πππ π ≤ π₯ ≤ π
π π₯ =
Triangular Distribution
Density Function
2(π₯−π)
(π−π)(π−π)
πππ π ≤ π₯ ≤ π
2(π−π₯)
(π−π)(π−π)
πππ π ≤ π₯ ≤ π
π π₯ =
Triangular Distribution
Cumulative Probability Function - Derivation
P π ≤ π₯π =
ππ
π−π π
(π − π)(π − π)
πππ π ≤ π₯ ≤ π
Triangular Distribution
Probability Function
π π₯ ≤ π₯π
(π₯0 −π)2
(π−π)(π−π)
πππ π ≤ π₯ ≤ π
π₯π
=
1 −
π−π₯0 2
π−π π−π
πππ π ≤ π₯ ≤ π
π₯π
Triangular Distribution
Probability Function
π π₯π ≥ π₯
(π₯0 −π)2
1−
(π−π)(π−π)
πππ π ≤ π₯ ≤ π
π−π₯0 2
π−π π−π
πππ π ≤ π₯ ≤ π
π₯π
=
π₯π
Triangular Distribution
Density Function
π π₯1 ≤ π₯π ≤ π₯2
?
π₯1
π₯2
Triangular Distribution
Expected Value & Variance
• Expected Value
πΈ π₯
π+π+π
=
3
• Variance
π2 + π2 + π2 − ππ − ππ − ππ
Var π₯ =
18
Triangular Distribution
Example 1: Estimates of task times
Best case, a = 3 days,
Worst case, b =12 days
Most likely case, m = 6 days
π π₯ ≤ 5 πππ¦π
(5−3)2
4
=
=
(6−3)(12−3) 27
3+6+12
E(x) = 3 = 7
VAR(x)=
32 +62 +122 −3∗12−3∗6−6∗12
18
π₯0 = 5
= 3.5
Triangular Distribution
Example 2: Estimates of task times
Best case, a = 3 days,
Worst case, b =12 days
Most likely case, m = 6 days
π π₯ ≤ 8 πππ¦π
(12−8)2
= 1(12−6)(12−3)
=1-
16
54
≈ 0.704
π₯0 = 8
Triangular Distribution
Example 2: Estimates of task times
Best case, a = 3 days,
Worst case, b =12 days
Most likely case, m = 6 days
π π₯ ≥ 8 πππ¦π
=
(12−8)2
=
(12−6)(12−3)
16
54
≈ 0.296
π₯0 = 8
Triangular Distribution
Example 1 & 2
Best case, a = 3 days,
Worst case, b =12 days
Most likely case, m = 6 days
π+π+π
πΈ π₯ =
3
= (3+6+12)/3
= 7 days
π2 + π2 + π2 − ππ − ππ − ππ
Var π₯ =
18
2
2
2
3 +12 +6 −3∗12−3∗6−12∗6
=
18
= 3.5 days2
Normal Distribution
Density function
1
π(π₯)=
π
ο³ 2π
− π₯−π
2
2
Z-Score
π₯−µ
π§=
π
=Norm.Dist(X,Mean,Standard_dev,Cumulative)
Cumulative: True for cumulative, False for density
ο³
2
Normal Distribution
Example: Hand Crafted Goods
Unit production: normally distributed
Mean: 8 hours, Std. Dev.: 1.5 hours
Published lead time: 10 hrs.
What is the probability of not being
late?
Excel:
=norm.dist(10,8,1.5,True)
=0.9088
π₯0 = 10
Normal Distribution Using Tables
Example: Hand Crafted Goods
Z-Score
10−8
4
π₯−µ
π§=
=
=
≈
1.33
π
1.5
3
Z = 1.33 standard deviations above the mean.
Normal Distribution Example Problem 2
• Soda filling process…
• Assume a filling process for 2 liter bottles has a true population mean
of 2000 ml of liquid.
• The standard deviation of the process is 20 ml.
• If the fill liquid exceeds 2060 ml, it will overflow.
• What is the probability of an overflow?
• If the process involves 1,000,000 units /day (opportunities), then
what is the expected number of failures (overflows) each day?
• How can one improve the outcome?
Exponential Distribution
Density Function
Exponential Distribution
Density and Cumulative Function Equations
π π₯
1 −π₯/π
= π
π
πππ π₯ ≥ 0
πΉ π₯ = π π₯ ≤ π₯0 = 1 − π −π₯0/π
Exponential Distribution Example
Example: Pizza Delivery Service Guarantee (30 min. or it is FREE!)
If delivery times are exponentially distributed with a mean of 20
minutes...
What is the probability of not being late?
π π₯ ≤ 30)
20 = 1 − π −30/20 = 0.777
What is the probability of being late?
π π₯ > 30)
20 = π −30/20 = 0.223
Exponential Distribution Example
Example: Pizza Delivery Service Guarantee (30 min. or it is FREE!)
If delivery times are exponentially distributed with a mean of 20
minutes...
What is the probability of not being late?
π π₯ ≤ 30)
20 = 1 − π −30/20 = 0.777
What is the probability of being late?
π π₯ > 30)
20 = π −30/20 = 0.223
Exponential Distribution P&L
Example: Pizza Delivery Service Guarantee (30 min. or it is FREE!)
Based on the prior calculations, 77.% of deliveries would be on
time or early, while 22.3% would be late.
If a non-late delivery yields $8 in profit, while a late delivery
results in a $5 loss, then what is the long term expected unit
profit or loss?
Expected Profit (Loss) = 0.777*$8 + 0.223*(-$5) = +$5.10
Summary