PA Lec 9 2024
PA Lec 9 2024
PA Lec 9 2024
Session 09
2
Learning Outcome
3
Continuous Random Variables
6
Cumulative Probability Distribution
f(x)
Area = F(a)
x
a
f(x) P(a ≤ X ≤b) = Area under f(x)
Between a and b = F(b) – F(a)
x
a b
Continuous Probability Distributions
n Uniform distribution
n Normal distribution
n The t distribution
n The chi-square distribution
n Exponential distribution
n F distribution
n ...
f (x) Exponential
x
x
10
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 between x1 and x2.
x x x
x1 x2 x1 x2 x1 x2
11
1. Uniform Probability Distribution
12
Uniform Probability Distribution
• Expected Value of x
E(x) = (a + b)/2
• Variance of x
Var(x) = (b - a)2/12
13
Uniform Probability Distribution
14
Uniform Probability Distribution
n Salad Plate Filling Weight
f(x)
1/10
x
0 5 10 15
Salad Weight (oz.)
15
• Uniform Probability Density Function
16
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
17
Area as a Measure of Probability
• The area under the graph of f(x) and probability are identical.
• The probability that x takes on a value between some lower value x1 and
some higher value x2 can be found by computing the area under the graph
of f(x) over the interval from x1 to x2.
18
Uniform Probability Distribution
19
Uniform Probability Distribution
f(x)
x
0 5 10 12 15
Salad Weight (oz.)
20
2. Exponential Probability Distribution
n Example:
q Time required to complete a questionnaire
21
n Is also useful when we are interested in the time/space between the occurrences
or arrivals.
n Example:
q Time between vehicle arrivals at a toll booth
q In waiting line applications, the exponential distribution is often used for service
times.
22
Exponential Probability Distribution
!
n 𝑃. 𝐷. 𝐹. = 𝑓 𝑥 = 𝑒 #$/" for x > 0
"
23
Exponential Probability Distribution
n Cumulative Probabilities
where:
x0 = some specific value of x
24
Relationship between the Poisson and Exponential Distributions
25
Caselet 9.1
26
% %
n (a). E-mail rate = = = 0.04 emails per minute
&(() *+
n (b). 𝑃 𝑋 ≤ 10 = 1 − 𝑒 ! %,/*+
= 1 − 0.6703 = 0.3297
27
n c . 𝑃 𝑋 > 60 = 𝑒 !(-,/*+) = 0.0907
28
3. Normal Probability Distribution a.k.a Gaussian distribution
1 #($#")! /()!
𝑓 𝑥 = 𝑒
𝜎 2𝜋
where: µ = mean
s = standard deviation
p = 3.14159
e = 2.71828
29
Properties
n Bell Shaped
n Symmetrical f(x)
n Mean, Median and Mode are
Equal
n Location is determined by the σ
mean, μ x
μ
n Spread is determined by the
standard deviation, σ
n The random variable has an Mean = Median = Mode
infinite theoretical range:
+ ¥ to - ¥
Shape
Changing σ increases or
decreases the spread.
σ
x
μ
Normal Probability Distribution
x
-10 0 25
32
Probability as Area Under the Curve
n 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
https://www.youtube.com/watch?v=iA0xRUNvLV8&t=369s&ab_ch
annel=Stat_v1
34
Standardization
x-µ
z=
s
Standardized Normal Distribution
1 - 12 z 2
f ( z) = e
2p
Standardized Normal Distribution
f(z)
z
0
8.0 8.6
Finding Normal Probabilities
= P( Z < )
= P( Z < 0.12)
= 0.5478
40
Finding the x value for a Known Probability
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.
The store manager is concerned that sales are being lost due to
stockouts while waiting for a replenishment order. It has been
determined that demand during replenishment lead-time is normally
distributed with a mean of 15 gallons and a standard deviation of 6
gallons.
The manager would like to know the probability of a stockout during
replenishment lead-time. In other words, what is the probability that
demand during lead-time will exceed 20 gallons?
P(x > 20) = ?
43
Standard Normal Probability Distribution
• Solving for the Stockout Probability
Step 1: Convert x to the standard normal distribution.
z = (x - µ)/s
= (20 - 15)/6
= .83
Step 2: Find the area under the standard normal curve to the left of z = .83.
44
Standard Normal Probability Distribution
• Cumulative Probability Table for the Standard Normal Distribution
z .00 .01 .02 .03 .04 .05 .06 .07 .08 .09
. . . . . . . . . . .
.5 .6915 .6950 .6985 .7019 .7054 .7088 .7123 .7157 .7190 .7224
.6 .7257 .7291 .7324 .7357 .7389 .7422 .7454 .7486 .7517 .7549
.7 .7580 .7611 .7642 .7673 .7704 .7734 .7764 .7794 .7823 .7852
.8 .7881 .7910 .7939 .7967 .7995 .8023 .8051 .8078 .8106 .8133
.9 .8159 .8186 .8212 .8238 .8264 .8289 .8315 .8340 .8365 .8389
. . . . . . . . . . .
45
Standard Normal Probability Distribution
• Solving for the Stockout Probability
Step 3: Compute the area under the standard normal
curve to the right of z = .83.
46
Standard Normal Probability Distribution
z
0 .83
47
Caselet 9.3
48
n P(3.5<X<4.4) = ?
= P(3.5≤X ≤ 4.4) (in case of continuous random variable)
(!$
Using the Z transformation Z = .
/.+!1 1.1!1
P( ≤Z≤ )
,./ ,./
P(-0.5/.3 ≤ Z ≤ 0.4/.3)
P(-1.67 ≤ Z ≤ 1.33 )
= P(Z ≤ 1.33) – P(Z ≤ -1.67) (in case of continuous random variable)
= 0.9082 - 0.0475 = 0.8607
Total acceptable bolts = 0.8607*500 = 430.35 bolts
49
Caselet 9.4
50
Finding the x value for a Known Probability
? 8.0 X
-0.84 0 Z
Finding the x value for a Known Probability
x-µ
z=
s
n Given P = 20 % or P = 0.2, From table value of z corresponding to
probability 0.2 (take nearest) = - 0.84
Therefore z = - 0.84
x = 8.0 + (5.0) * (-0.84) = 3.8
Caselet 9.5
53
n P(X > 65) = 0.45 P(X > 70) = 0.15
-+! $ 3,! $
= 0.13 = 1.04
. .
𝜇 = 64.28 𝜎 = 5.49
54
Caselet 9.6
55
Finding the x value for a Known Probability
60 X
n Since the left side value is given on the table hence we need to find
out value for 1-.05 = 0.95
x = 60 + (15)x(1.65) = 84.75
57
Properties of the Normal Distribution
58
Case
Specialty Toys!
59