Professional Documents
Culture Documents
PSLecture9 2022
PSLecture9 2022
MA20205
Bibhas Adhikari
Lecture 9
September 12, 2022
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 1 / 101
Special continuous distributions
Exponential random variable The pdf of the exponential random variable
X is (
λe −λx if x ≥ 0
f (x) =
0, otherwise
where λ > 0, a parameter.
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 83 / 101
Special continuous distributions
Exponential random variable The pdf of the exponential random variable
X is (
λe −λx if x ≥ 0
f (x) =
0, otherwise
where λ > 0, a parameter. We write X ∼ Exponential(λ).
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 83 / 101
Special continuous distributions
Exponential random variable The pdf of the exponential random variable
X is (
λe −λx if x ≥ 0
f (x) =
0, otherwise
where λ > 0, a parameter. We write X ∼ Exponential(λ). pdf looks like
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 83 / 101
Special continuous distributions
Exponential random variable The pdf of the exponential random variable
X is (
λe −λx if x ≥ 0
f (x) =
0, otherwise
where λ > 0, a parameter. We write X ∼ Exponential(λ). pdf looks like
P(X = 0) = e −λ
which means that the probability of the amount of time until the event
occurs which further means during the waiting period, not a single event
has happened is e −λ .
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 84 / 101
Special continuous distributions
Connection to Poisson distribution From Poisson distribution, note that
P(X = 0) = e −λ
which means that the probability of the amount of time until the event
occurs which further means during the waiting period, not a single event
has happened is e −λ .
Define a random variable T for the waiting time until the first event
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 84 / 101
Special continuous distributions
Connection to Poisson distribution From Poisson distribution, note that
P(X = 0) = e −λ
which means that the probability of the amount of time until the event
occurs which further means during the waiting period, not a single event
has happened is e −λ .
Define a random variable T for the waiting time until the first event
Then
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 84 / 101
Special continuous distributions
Then
P(T ≤ t) = 1 − P(T > t) = 1 − e −λt
which is the CDF of the random variable T .
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 85 / 101
Special continuous distributions
Then
P(T ≤ t) = 1 − P(T > t) = 1 − e −λt
which is the CDF of the random variable T .
Then the pdf of T is given by
d
f (t) = F (t) = λe −λt
dt
which is the pdf of the exponential distribution.
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 85 / 101
Special continuous distributions
Then
P(T ≤ t) = 1 − P(T > t) = 1 − e −λt
which is the CDF of the random variable T .
Then the pdf of T is given by
d
f (t) = F (t) = λe −λt
dt
which is the pdf of the exponential distribution.
Memoryless property of exponential distribution: Note that
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 85 / 101
Special continuous distributions
Let us introduce another random variable T for wait time until the k-th
event, where arrival of events is modeled by the Poisson process with rate
λ.
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 86 / 101
Special continuous distributions
Let us introduce another random variable T for wait time until the k-th
event, where arrival of events is modeled by the Poisson process with rate
λ.
Consider two parameters:
1 k (the first parameter of the Gamma distribution) is the number of
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 86 / 101
Special continuous distributions
Let us introduce another random variable T for wait time until the k-th
event, where arrival of events is modeled by the Poisson process with rate
λ.
Consider two parameters:
1 k (the first parameter of the Gamma distribution) is the number of
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 86 / 101
Special continuous distributions
Let us introduce another random variable T for wait time until the k-th
event, where arrival of events is modeled by the Poisson process with rate
λ.
Consider two parameters:
1 k (the first parameter of the Gamma distribution) is the number of
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 86 / 101
Special continuous distributions
Let us introduce another random variable T for wait time until the k-th
event, where arrival of events is modeled by the Poisson process with rate
λ.
Consider two parameters:
1 k (the first parameter of the Gamma distribution) is the number of
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 86 / 101
Special continuous distributions
d
f (t) = F (t)
dt
k−1
!
−λt d X (λt)x e −λt
= λe −
dt x!
x=0
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 87 / 101
Special continuous distributions
d
f (t) = F (t)
dt
k−1
!
−λt d X (λt)x e −λt
= λe −
dt x!
x=0
λe −λt (λt)k−1
f (t) =
(k − 1)!
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 87 / 101
Special continuous distributions
d
f (t) = F (t)
dt
k−1
!
−λt d X (λt)x e −λt
= λe −
dt x!
x=0
λe −λt (λt)k−1
f (t) =
(k − 1)!
Conclusion: If arrivals of events follow the Poisson process with rate λ, the
wait time until k = α arrivals follows Gamma(k = α, λ = β).
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 87 / 101
Special continuous distributions
Chi-square random variable A random variable X is said to have chi-square
distribution with r degrees of freedom if the pdf is given by
1 r x 2r −1 e − x2 if 0 < x < ∞
r
f (x) = Γ( 2 )2 2
0, otherwise
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 88 / 101
Special continuous distributions
Chi-square random variable A random variable X is said to have chi-square
distribution with r degrees of freedom if the pdf is given by
1 r x 2r −1 e − x2 if 0 < x < ∞
r
f (x) = Γ( 2 )2 2
0, otherwise
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 88 / 101
Special continuous distributions
Chi-square random variable A random variable X is said to have chi-square
distribution with r degrees of freedom if the pdf is given by
1 r x 2r −1 e − x2 if 0 < x < ∞
r
f (x) = Γ( 2 )2 2
0, otherwise
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 88 / 101
Special continuous distributions
Chi-square random variable A random variable X is said to have chi-square
distribution with r degrees of freedom if the pdf is given by
1 r x 2r −1 e − x2 if 0 < x < ∞
r
f (x) = Γ( 2 )2 2
0, otherwise
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 89 / 101
Special continuous distributions
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 89 / 101
Special continuous distributions
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 89 / 101
Special continuous distributions
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 89 / 101
Special continuous distributions
Properties of Weibull(α, β)
(a)
1
1 α 1
E (X ) = 1+
β α
(b)
2 ( )
1 2
1 α 2
Var(X ) = Γ 1+ − 1+
β α α
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 90 / 101
Special continuous distributions
Recall: Beta function Let α > 0 and β > 0. Then
Z 1
B(α, β) = x α−1 (1 − x)β−1 dx
0
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 91 / 101
Special continuous distributions
Recall: Beta function Let α > 0 and β > 0. Then
Z 1
B(α, β) = x α−1 (1 − x)β−1 dx
0
Γ(α)Γ(β)
B(α, β) =
Γ(α + β)
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 91 / 101
Special continuous distributions
Recall: Beta function Let α > 0 and β > 0. Then
Z 1
B(α, β) = x α−1 (1 − x)β−1 dx
0
Γ(α)Γ(β)
B(α, β) =
Γ(α + β)
(α − 1)(β − 1)
B(α, β) = B(α − 1, β − 1)
(α + β − 1)(α + β − 2)
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 91 / 101
Special continuous distributions
Beta distribution: A random variable is said to have beta distribution if
the pdf is of the form
(
1
x α−1 (1 − x)β−1 , if 0 < x < 1
f (x) = B(α,β)
0, otherwise
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 92 / 101
Special continuous distributions
Beta distribution: A random variable is said to have beta distribution if
the pdf is of the form
(
1
x α−1 (1 − x)β−1 , if 0 < x < 1
f (x) = B(α,β)
0, otherwise
We write X ∼ Beta(α, β)
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 92 / 101
Special continuous distributions
Beta distribution: A random variable is said to have beta distribution if
the pdf is of the form
(
1
x α−1 (1 − x)β−1 , if 0 < x < 1
f (x) = B(α,β)
0, otherwise
We write X ∼ Beta(α, β)
The pdf looks like
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 92 / 101
Special continuous distributions
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 93 / 101
Special continuous distributions
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 93 / 101
Special continuous distributions
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 93 / 101
Special continuous distributions
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 93 / 101
Special continuous distributions
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 93 / 101
Special continuous distributions
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 93 / 101
Special continuous distributions
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 93 / 101
Special continuous distributions
(x − µ)2
1
f (x) = √ exp − , −∞ < x < ∞
2πσ 2σ 2
where µ, σ ∈ R.
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 94 / 101
Special continuous distributions
(x − µ)2
1
f (x) = √ exp − , −∞ < x < ∞
2πσ 2σ 2
where µ, σ ∈ R.
We write X ∼ N (µ, σ 2 )
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 94 / 101
Special continuous distributions
(x − µ)2
1
f (x) = √ exp − , −∞ < x < ∞
2πσ 2σ 2
where µ, σ ∈ R.
We write X ∼ N (µ, σ 2 )
Observation
(a) A Gaussian random variable is symmetric about µ
(b) If µ = 0, then f (x) is an even function.
(c) If σ is very small, it is possible to have f (x) > 1, however integration
over R is 1
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 94 / 101
Special continuous distributions
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 95 / 101
Special continuous distributions
Properties of N (µ, σ 2 )
(a) E (X ) = µ
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 95 / 101
Special continuous distributions
Properties of N (µ, σ 2 )
(a) E (X ) = µ
(b) Var(X ) = σ 2
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 95 / 101
Special continuous distributions
Properties of N (µ, σ 2 )
(a) E (X ) = µ
(b) Var(X ) = σ 2
1 2t2
(c) M(t) = e µt+ 2 σ
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 95 / 101
Special continuous distribution
1 x2
Φ(x) =f (x) = √ e − 2 , −∞ < x < ∞
2π
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 96 / 101
Special continuous distribution
1 x2
Φ(x) =f (x) = √ e − 2 , −∞ < x < ∞
2π
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 96 / 101
Special continuous distribution
1 x2
Φ(x) =f (x) = √ e − 2 , −∞ < x < ∞
2π
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 96 / 101
Special continuous distribution
1 x2
Φ(x) =f (x) = √ e − 2 , −∞ < x < ∞
2π
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 96 / 101
Special continuous distribution
F (z) = P(Z ≤ z)
X −µ
= P ≤z
σ
= P(X ≤ σz + µ)
Z σz+µ 2
1 1 (x−µ)
= √ e − 2 σ2 dx
σ 2π
Z−∞
z
1 1 2 x −µ
= √ σe − 2 w , w = .
−∞ σ 2π σ
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 97 / 101
Special continuous distribution
F (z) = P(Z ≤ z)
X −µ
= P ≤z
σ
= P(X ≤ σz + µ)
Z σz+µ 2
1 1 (x−µ)
= √ e − 2 σ2 dx
σ 2π
Z−∞
z
1 1 2 x −µ
= √ σe − 2 w , w = .
−∞ σ 2π σ
1 2
f (z) = F ′ (z) = √1 e − 2 z
2π
Bibhas Adhikari (Autumn 2022-23, IIT Kharagpur) Proability and Statistics Lecture 9 September 12, 2022 97 / 101