CVE 303 - 3. Probability Distributions
CVE 303 - 3. Probability Distributions
3. Probability Distributions
Probability Distributions
Probability
Distributions
Discrete Continuous
Probability Probability
Distributions Distributions
Binomial Uniform
Poisson Exponential
Normal
Lognormal
Discrete Probability Distributions
Probability
Distributions
Discrete
Probability
Distributions
Binomial
Poisson
Binomial Probability Distribution
• Let us consider a fix number of observations, 𝑛, where only two
outcomes are possible.
– e.g., if the success in the throw a die is equated with the throw of a
six, then, 𝑝 = 1/6 and 𝑞 = 1 − 1Τ6 = 5/6.
– 𝑬 𝑿 = 𝒏𝒑
𝐸 𝑋 = 𝜇 = 𝑛𝑝 𝑉𝑎𝑟 𝑋 = 𝜎 2 = 𝑛𝑝𝑞
𝜇 = 5 × 0.1 = 0.5 𝜎 2 = 5 × 0.1 × 0.9 = 0.45
𝜎 = 0.6708
Binomial Probability Distribution
Example: The probability of successful bid for a
contractor is assumed to be 1/3. Since the variable 𝑋
denoted the number of successes in 3 bids,
a) Compute the probability of 0, 1, 2, and 3 successes
in 3 bids.
b)
𝑃 𝑋 ≥1 =1−𝑃 𝑋 <1
= 1 − 𝑃(𝑋 = 0)
8 19
=1− =
27 27
c)
𝐸 𝑋 = 𝜇 = 𝑛𝑝
1
=3× =1
3
Discrete Probability Distributions
Probability
Distributions
Discrete
Probability
Distributions
Binomial
Poisson
Poisson Distribution
The Poisson distribution is a discrete distribution that measures the
probability of a given number of events happening in a specified time
period.
𝒆−𝝀 𝝀𝒙
𝑷 𝑿 =
𝒙!
where 𝑥 is the number of events (or successes), 𝝀 (lambda) is the average
(expected) number of events, and 𝑒 is Euler's number (𝑒 = 2.71828 …).
Poisson Distribution
For the Poisson pmf given by
𝑒 −𝜆 𝜆𝑥
𝑃 𝑋 =
𝑥!
for 𝑥 = 0, 1, 2, 3, … and 𝜆 > 0.
–𝑬𝑿 =𝝁=𝝀
– 𝑽𝒂𝒓 𝑿 = 𝝈𝟐 = 𝝀
–𝝈= 𝝀
Poisson Distribution
Assumptions and validity:
Probability
Distributions
Discrete Continuous
Probability Probability
Distributions Distributions
Binomial Uniform
Poisson Exponential
Normal
Lognormal
Continuous Probability Distributions
Probability
Distributions
Discrete Continuous
Probability Probability
Distributions Distributions
Binomial Uniform
Poisson Exponential
Normal
Lognormal
Uniform Distribution
• The uniform distribution is a probability distribution that has equal
probabilities for all possible outcomes of the random variable
As implied by the name, the pdf is constant over a given interval, for
example, from 𝑎 to 𝑏, where 𝑎 < 𝑏, and takes the form
𝟏
𝒇 𝒙 = , for 𝑎 ≤ 𝑥 ≤ 𝑏
𝒃−𝒂
= 𝟎, otherwise
**All values of the variate between the lower limit 𝑎 and the upper limit 𝑏
are equally frequent or equally likely to occur.
Uniform Distribution
• The mean of a uniform distribution is
𝒂+𝒃
𝝁=
𝟐
• The standard deviation is
𝒃−𝒂 𝟐
𝝈=
𝟏𝟐
Uniform Distribution
Example: Find the pdf, the mean and the standard
deviation of the uniform probability distribution over the
range 2 ≤ 𝑋 ≤ 6.
Answer to the Example:
𝑓(𝑥)
1
0.25 𝑓 𝑥 = = 𝟎. 𝟐𝟓
6−2
2 6 𝑥
𝑓(𝑥)
0.25
2 3 4 5 6 𝑥
Continuous Probability Distributions
Probability
Distributions
Discrete Continuous
Probability Probability
Distributions Distributions
Binomial Uniform
Poisson Exponential
Normal
Lognormal
Exponential Distribution
• The exponential distribution often used to model the length of time
between two occurrences of an event (the time between arrivals).
𝑭 𝑿 = 𝑻 ≤ 𝒙 = 𝒕 = 𝟏 − 𝒆−𝝀𝒙
Exponential Distribution
• The mean or expected value of an exponentially
distribution
𝟏 Mean Recurrence
𝑬𝑿 =
𝝀 Interval
• The variance is
𝟏
𝑽𝒂𝒓(𝑿) = 𝟐
𝝀
𝝀 is the rate at which events occur (often called the rate parameter).
It is the parameter of the distribution
Exponential Distribution
pdf cdf
Exponential Distribution
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?
Probability
Distributions
Discrete Continuous
Probability Probability
Distributions Distributions
Binomial Uniform
Poisson Exponential
Normal
Lognormal
Normal Distribution
• Bell Shaped’
• Symmetrical
• Mean, Median and Mode are Equal
𝟏 𝒙−𝝁𝑿 𝟐
𝟏 −
𝟐 𝝈𝑿
𝒇 𝒙 = 𝒆
𝝈 𝟐𝝅
where −∞ < 𝒙 < ∞ and specified by two parameters, the mean 𝜇
(location parameter) and the standard deviation 𝜎 (scale parameter) of the
population.
• In practice the cdf is tabulated numerically. A single table for the normal
distribution is prepared by standardizing the random variable as
follows:
(𝑿 − 𝝁𝑿 )
𝒁=
𝝈𝑿
where the standard normal variable 𝑍 has the mean 0 and standard
deviation 1.
• Find the 𝑍 value for the known probability, then convert to 𝑋 units using
the formula:
𝒙 = 𝝁 + 𝒛𝝈
Cumulative Standardized Normal Table
Cumulative
Standardized
Normal table
Normal Distribution
How to read a value: Cumulative Standardized Normal table
𝑷 𝒁 ≤ 𝟏. 𝟗𝟔 =? The column gives the value of
𝑍 to the second decimal point
𝑍 0.00 0.01 0.02 …0.06
2.0 0.975
𝑃 𝑍 ≤ 1.96 = 𝟎. 𝟗𝟕𝟓
0 1.96 Z
Normal Distribution
General Procedure for Finding Probabilities
To find 𝑷(𝒂 < 𝑿 < 𝒃) when 𝑿 is distributed normally:
a b 𝑿
45 − 50 62 − 50
𝑧1 = = −0.5 , 𝑧2 = = 1.2
10 10
Normal Distribution
Answer to the Example:
From Cumulative Standardized Normal Table:
𝐹(−0.5) = 0.3085
𝐹(1.2) = 0.8849
𝑃 45 ≤ 𝑋 ≤ 62 = P −0.5 ≤ 𝑍 ≤ 1.2
= 𝐹 1.2 − 𝐹 −0.5
= 0.8849 − 0.3085
= 0.5764
Normal Distribution
Example: The load of a footing consists of the sum of the dead
load and moving load. These loads are assumed to be random
variables. The dead load 𝑋 has the mean 100 kN, standard 10
kN. The moving load 𝑌 has the mean 40 kN, standard deviation
10 kN.
Probability
Distributions
Discrete Continuous
Probability Probability
Distributions Distributions
Binomial Uniform
Poisson Exponential
Normal
Lognormal
Lognormal Distribution
• It is often attempted to transform a nonnormal random variable to a
normal variable because the normal distribution has well known
properties and is easy to use. The most commonly used transformation
is the logarithmic transformation.
If the transformed variable
𝒀 = 𝐥𝐧𝑿 and 𝒀~𝑵(𝝁𝒀 , 𝝈𝟐𝒀 )
• Fits the normal distribution, then the distribution of the origional variable
𝑋 is called lognormal:
𝟐
𝟏 𝐥𝐧(𝒙)−𝝁𝒀
𝟏 −
𝟐 𝝈𝒀
𝒇 𝒙 = 𝒆
𝒙𝝈𝒀 𝟐𝝅
where 0 ≤ 𝒙 < ∞.
Lognormal Distribution
The lognormal pdf for two different pairs of values of the
parameters:
𝐘 = 𝐥𝐧 𝑿
𝝁𝒀 = 𝝁𝐥𝐧(𝑿)
𝝈𝒀 = 𝝈𝐥𝐧(𝑿)
Lognormal Distribution
• The standardized value, 𝑍
𝐥𝐧(𝑿) − 𝝁𝒀
𝒁=
𝝈𝒀
• The lognormal distribution parameters (𝜇𝑌 and 𝜎𝑌 ) are related to the
parameters of 𝑋 (𝜇𝑋 and 𝜎𝑋 ):
𝝁𝒙 𝟎.𝟓
𝝁𝒀 = 𝐥𝐧 𝟎.𝟓
𝝈𝟐𝑿
𝝈𝟐𝑿 𝝈𝒀 = 𝐥𝐧 +𝟏
+𝟏 𝝁𝟐𝑿
𝝁𝟐𝑿
𝝈𝟐𝒀 𝝈𝟐𝒀
𝟎.𝟓
𝝁𝒀 + 𝟐 𝝈𝑿 = 𝝁𝑿 𝒆 −𝟏
𝝁𝑿 = 𝒆
Lognormal Distribution
Example: Annual depth of precipitation 𝑋 (cm)
with 50 cm mean and 10 cm standard deviation is
assumed to be lognormally distributed.
What is the probability of the precipitation to
remain in the range of 45 and 62 cm?
50
𝜇𝑌 = 𝑙𝑛 0.5 = 3.892 X: LN (3.892, 0.04)
102
+1
502
0.5
102
𝜎𝑌 = 𝑙𝑛 +1 = 0.198
502
𝜎𝑌2 = 0.04
Lognormal Distribution
Answer to the Example:
𝑌 values corresponding to 𝑋1 = 45 and 𝑋2 = 62 :
𝑌1 = ln 45 = 3.087
𝑌2 = ln 62 = 4.127
𝑙𝑛𝑋−𝜇𝑌
𝑧=
𝜎𝑌
3.087−3.892
𝑧1 = = −0.431
0.198
4.127−3.892
𝑧2 = = 1.187
0.198