Lecture 7. Typical Probability Distribution For Continuous RV
Lecture 7. Typical Probability Distribution For Continuous RV
03. Exponential
• Prevalent in applications
• Convenient analytical properties
• Model of noise consisting of many, small independent noise terms
• Often used in the natural and social sciences to represent real-valued random
variables whose distributions are not known
Normal (Gaussian) distribution
• Parameter: 𝜇, 𝜎
• Sample space: 𝑥 ∈ ℝ
• Notation: 𝑋~𝒩(𝜇, 𝜎 2 )
Z-score
Normal (Gaussian) distribution
• Parameter: 𝜇, 𝜎
Bell curve
Normal (Gaussian) distribution: properties
• Let 𝑌 = 𝑎𝑋 + 𝑏
• 𝑌 also follow normal distribution
• E 𝑌 = 𝑎𝜇 + 𝑏
• var 𝑌 = 𝑎2 𝜎 2
• 𝑌~𝒩(𝑎𝜇 + 𝑏, 𝑎2 𝜎 2 )
Standard normal table
• Motivation
• Both PDF and CDF of normal distribution are not easy to calculate
• Solution
𝑋−𝜇
• If 𝑍 = , then 𝑍~𝒩 0,1
𝜎
2−6 8−6
• P𝑋 2 < 𝑋 < 8 = P𝑍 <𝑍<
2 2
= P𝑍 −2 < 𝑍 < 1
= 𝛷 1 − 𝛷 −2 =
0.8413 − (1 − 0.9772)
Probability distribution
• A good video to learn more about normal distribution and for fun:
https://www.youtube.com/watch?v=cy8r7WSuT1I
01. Normal
03. Exponential
• Normal distribution
• The random variable could have both positive and negative values
• In many fields, the random variable could only have positive values
• The project completion time
• GDP of a country
• Etc.
• Log-normal distribution
• A convenient and useful model for measurements in exact and engineering
sciences, as well as medicine, economics and other topics (e.g., energies,
concentrations, lengths, prices of financial instruments, and other metrics).
Log-normal distribution: definition
• Parameter: 𝜇, 𝜎
• Sample space: 𝑥 ∈ ℝ+
• Notation: 𝑋~Lognormal(𝝁, 𝝈2 )
1 1 ln 𝑥 − 𝝁 2
𝑓𝑋 𝑥 = exp[− ( ) ] 𝑓𝑜𝑟 𝑥 ≥ 0
𝝈 2𝜋𝑥 2 𝝈
Log-normal vs. normal
• 𝑋~Lognormal(𝝁, 𝝈2 )
1 1 𝐥𝐧 𝑥 − 𝝁 2
𝑓𝑋 𝑥 = exp[− ( ) ] 𝑓𝑜𝑟 𝑥 ≥ 𝟎
𝝈 2𝜋𝒙 2 𝝈
Mean Standard deviation
𝝈𝟐 𝝈𝟐
𝐞𝐱𝐩 𝝁 + 𝐞𝐱𝐩 𝝈𝟐 − 𝟏𝐞𝐱𝐩(𝝁 + )
𝟐 𝟐
• 𝑋~𝒩(𝝁, 𝝈2 )
1 1 𝑥−𝝁 2
𝑓𝑋 𝑥 = exp[− ( ) ] 𝑓𝑜𝑟 −∞<𝑥 <∞
𝝈 2𝜋 2 𝝈
Mean Standard deviation
𝝁 𝝈
Log-normal distribution
• Parameter: 𝜇, 𝜎
1 1 ln 𝑥 − 𝜇 2
𝑓𝑋 𝑥 = exp[− ( ) ]
𝜎 2𝜋𝑥 2 𝜎
Example
• Question 2(b): What if T is lognormal, but with the same mean and
standard deviation
ln(50) − 𝜇
𝑃 𝑇 < 50 = 𝐹𝑋 50 = Φ
𝜎
• We know
𝜎2
• mean = exp 𝜇 + = 30 = 𝛾,
2
𝜎2
• standard deviation = exp 𝜎2 − 1exp 𝜇 + = 7.81 = 𝜆
2
• We need to back calculate 𝜇 and 𝜎
𝜆
exp 𝜎 2 − 1 = = 0.26
𝛾
ln(50) − 3.367
𝜎= ln 1 +0.262≈ 0.26 𝑃 𝑇 < 50 = 𝐹𝑋 50 = Φ = Φ 2.09 = 0.9817
0.26
1 2
𝜇 = ln 30 − 𝜎 = 3.367
2
01. Normal
03. Exponential
• Parameter: 𝜆
• Sample space: 𝑥 ∈ ℝ+
• Notation:𝑋~Exp(𝜆)
𝑓𝑋 𝑥 = 𝜆 exp[−𝜆𝑥] 𝑓𝑜𝑟 𝑥 ≥ 0
• Parameter: 𝜆
• Question:
• Given that the random variable of earthquake magnitude follows the
Exponential distribution.
• The mean earthquake magnitude is 5 in Richter scale
• What is the probability of next quake larger than 7?
• First of all
1
𝐸 𝑋 = =5 𝜆 = 0.2
𝜆
• Then, ∞
∞
𝑃 𝑀>7 =න 0.2𝑒 −0.2𝑥 𝑑𝑥 = −𝑒 −0.2𝑥 | = 𝟎. 𝟐𝟓
7
7
01. Normal
03. Exponential
Gamma function
• Parameter: 𝛼, 𝛽
• Sample space: 𝑥 ∈ [0,1]
• Notation:𝑋~Beta (𝛼, 𝛽)
Γ(𝛼 + 𝛽) 𝛼−1
𝑓𝑋 𝑥 = 𝑥 (1 − 𝑥)𝛽−1 for 𝟎 ≤ 𝒙 ≤ 𝟏
Γ(𝛼)Γ(𝛽)
Mean Standard deviation
𝛼
1 𝛼𝛽
𝛼+𝛽
𝛼+𝛽 𝛼+𝛽+1
Calculation of Beta distribution is not required. But you need to know why we need it.
Beta distribution
• Parameter: 𝜇, 𝜎
Γ(𝛼 + 𝛽) 𝛼−1
𝑓𝑋 𝑥 = 𝑥 (1 − 𝑥)𝛽−1 for 0 ≤ 𝑥 ≤ 1
Γ(𝛼)Γ(𝛽)
Other distributions
• Uniform distribution
• Triangular distribution
• Rayleigh distribution
•…