Prob Stats Module 4 2
Prob Stats Module 4 2
S. Devi Yamini
S. Sumathi
Module - 4 1 / 25
Overview
1 Exponential distribution
Module - 4 2 / 25
Overview
1 Exponential distribution
2 Normal Distribution
Module - 4 2 / 25
Overview
1 Exponential distribution
2 Normal Distribution
3 Gamma distribution
Module - 4 2 / 25
Overview
1 Exponential distribution
2 Normal Distribution
3 Gamma distribution
4 Weibull distribution
Module - 4 2 / 25
Exponential distribution
Module - 4 3 / 25
Exponential distribution
= 1 − e −θx
Module - 4 3 / 25
Exponential distribution
= 1 − e −θx
1 − e −θx ,
x ≥0
Hence, CDF is F (x) =
0, Otherwise
Module - 4 3 / 25
Exponential distribution
= 1 − e −θx
1 − e −θx ,
x ≥0
Hence, CDF is F (x) =
0, Otherwise
Note
P(X ≤ x) = 1 − e −θx
P(X ≥ x) = e −θx
Module - 4 3 / 25
Moment Generating Function
MGF
Z ∞
MX (t) = E (e tX ) = e tx θe −θx dx
0
Z ∞
=θ e −(θ−t)x dx
0
θ
=
θ−t
Module - 4 4 / 25
Mean and Variance
Mean
d
E (X ) = MX (t)|(t=0)
dt
= θ(θ − t)−2 |(t=0)
1
=
θ
Module - 4 5 / 25
Mean and Variance
Mean
d
E (X ) = MX (t)|(t=0)
dt
= θ(θ − t)−2 |(t=0)
1
=
θ
Variance
d2
E (X 2 ) = MX (t)|(t=0)
dt 2
2
= 2
θ
1
Var (X ) = E (X 2 ) − [E (X )]2 =
θ2
Module - 4 5 / 25
Memoryless property
The only continuous distribution satisfying this property is exponential.
where s ≥ t.
Module - 4 6 / 25
Memoryless property
The only continuous distribution satisfying this property is exponential.
where s ≥ t.
Proof
P(X > s ∧ X > t)
P(X > s|X > t) =
P(X > t)
P(X > s) e −θs
= = −θt
P(x > t) e
= e −θ(s−t) = P(X > s − t)
Module - 4 6 / 25
Problems
1. If X has an exponential distribution with mean 2, find
P(X ≥ 2|X ≥ 1). (0.6065)
Module - 4 7 / 25
Problems
1. If X has an exponential distribution with mean 2, find
P(X ≥ 2|X ≥ 1). (0.6065)
2. If X follows Exp(λ) with P(X ≤ 1) = P(X > 1), find the variance of
X . (0.66931)
Module - 4 7 / 25
Problems
1. If X has an exponential distribution with mean 2, find
P(X ≥ 2|X ≥ 1). (0.6065)
2. If X follows Exp(λ) with P(X ≤ 1) = P(X > 1), find the variance of
X . (0.66931)
3. Suppose that during rainy season on a tropical island, the length of the
shower has an exponential distribution, with parameter θ = 2, time being
measured in minutes. (a) What is the probability that a shower will last
for more than three minutes? (0.0024)
Module - 4 7 / 25
Problems
1. If X has an exponential distribution with mean 2, find
P(X ≥ 2|X ≥ 1). (0.6065)
2. If X follows Exp(λ) with P(X ≤ 1) = P(X > 1), find the variance of
X . (0.66931)
3. Suppose that during rainy season on a tropical island, the length of the
shower has an exponential distribution, with parameter θ = 2, time being
measured in minutes. (a) What is the probability that a shower will last
for more than three minutes? (0.0024)
(b) If the shower has already lasted for 2 minutes, what is the probability
that it will last for at least one more minute? (0.1353)
Module - 4 7 / 25
Problems
1. If X has an exponential distribution with mean 2, find
P(X ≥ 2|X ≥ 1). (0.6065)
2. If X follows Exp(λ) with P(X ≤ 1) = P(X > 1), find the variance of
X . (0.66931)
3. Suppose that during rainy season on a tropical island, the length of the
shower has an exponential distribution, with parameter θ = 2, time being
measured in minutes. (a) What is the probability that a shower will last
for more than three minutes? (0.0024)
(b) If the shower has already lasted for 2 minutes, what is the probability
that it will last for at least one more minute? (0.1353)
Problem 1
If X has an exponential distribution with mean 2, find P(X ≥ 2|X ≥ 1).
Solution
By memoryless property,
P(X ≥ 2|X ≥ 1) = P(X ≥ (2 − 1)) = P(X ≥ 1) = e −θ = 0.6065
Module - 4 8 / 25
Solutions
Problem 2
If X follows Exp(λ) with P(X ≤ 1) = P(X > 1), find the variance of X .
Solution
1 − e −θ = e −θ
1
e −θ =
2
Take log on both sides, and find θ. Then variance is 0.66931
Module - 4 9 / 25
Solutions
Problem 3
Suppose that during rainy season on a tropical island, the length of the
shower has an exponential distribution, with parameter θ = 2, time being
measured in minutes. (a) What is the probability that a shower will last
for more than three minutes? (0.0024)
Module - 4 10 / 25
Solutions
Problem 3
Suppose that during rainy season on a tropical island, the length of the
shower has an exponential distribution, with parameter θ = 2, time being
measured in minutes. (a) What is the probability that a shower will last
for more than three minutes? (0.0024)
(b) If the shower has already lasted for 2 minutes, what is the probability
that it will last for at least one more minute? (0.1353)
Solution
(a) Let X denote the length of the shower.
P(X > 3) = e −3θ = e −6
(b) P(X > 3|X > 2) = P(X > 1) = e −θ (using memoryless property).
Module - 4 10 / 25
Normal Distribution
Module - 4 11 / 25
Normal Distribution
Properties
1 Normal curve is bell shaped and symmetrical
2 Mean, Median, and Mode are equal
3 Total area under the curve is 1
4 β2 = 3, Mesokurtic
Module - 4 11 / 25
Normal distribution
A continuous random variable Z is a standard normal variable if it follows
normal distribution with µ = 0 and σ = 1
Module - 4 12 / 25
Normal distribution
A continuous random variable Z is a standard normal variable if it follows
normal distribution with µ = 0 and σ = 1
Standardizing the normal variable X
If X follows N(µ, σ 2 ), then
X −µ
Z=
σ
is described by standard normal distribution with mean=0 and
variance=1.The Pdf of the standard normal variate is
1 −z 2
f (z) = √ e 2
2π
Module - 4 12 / 25
Normal distribution
A continuous random variable Z is a standard normal variable if it follows
normal distribution with µ = 0 and σ = 1
Standardizing the normal variable X
If X follows N(µ, σ 2 ), then
X −µ
Z=
σ
is described by standard normal distribution with mean=0 and
variance=1.The Pdf of the standard normal variate is
1 −z 2
f (z) = √ e 2
2π
Module - 4 12 / 25
Problems
1. If X follows N(45, 0.000625), then calculate the P(44.95 ≤ X ≤ 45.05).
Module - 4 13 / 25
Problems
1. If X follows N(45, 0.000625), then calculate the P(44.95 ≤ X ≤ 45.05).
µ = 45, σ 2 = 0.000625
σ = 0.025
Module - 4 13 / 25
Problems
1. If X follows N(45, 0.000625), then calculate the P(44.95 ≤ X ≤ 45.05).
µ = 45, σ 2 = 0.000625
σ = 0.025
X −45
Standardizing X , we get Z = 0.025 .
Module - 4 13 / 25
Problems
1. If X follows N(45, 0.000625), then calculate the P(44.95 ≤ X ≤ 45.05).
µ = 45, σ 2 = 0.000625
σ = 0.025
X −45
Standardizing X , we get Z = 0.025 .
Consider
44.95 − 45 X − 45 45.05 − 45
P(44.95 ≤ X ≤ 45.05) = P( ≤ ≤ )
0.025 0.025 0.025
Module - 4 13 / 25
Problems
1. If X follows N(45, 0.000625), then calculate the P(44.95 ≤ X ≤ 45.05).
µ = 45, σ 2 = 0.000625
σ = 0.025
X −45
Standardizing X , we get Z = 0.025 .
Consider
44.95 − 45 X − 45 45.05 − 45
P(44.95 ≤ X ≤ 45.05) = P( ≤ ≤ )
0.025 0.025 0.025
Module - 4 13 / 25
Problems
1. If X follows N(45, 0.000625), then calculate the P(44.95 ≤ X ≤ 45.05).
µ = 45, σ 2 = 0.000625
σ = 0.025
X −45
Standardizing X , we get Z = 0.025 .
Consider
44.95 − 45 X − 45 45.05 − 45
P(44.95 ≤ X ≤ 45.05) = P( ≤ ≤ )
0.025 0.025 0.025
Module - 4 13 / 25
Problems
1. If X follows N(45, 0.000625), then calculate the P(44.95 ≤ X ≤ 45.05).
µ = 45, σ 2 = 0.000625
σ = 0.025
X −45
Standardizing X , we get Z = 0.025 .
Consider
44.95 − 45 X − 45 45.05 − 45
P(44.95 ≤ X ≤ 45.05) = P( ≤ ≤ )
0.025 0.025 0.025
Module - 4 14 / 25
Problems
Module - 4 14 / 25
Problems
Module - 4 14 / 25
Problems
Module - 4 14 / 25
Problems
Module - 4 14 / 25
Problems
Module - 4 14 / 25
Problems
Module - 4 14 / 25
Problems
Module - 4 14 / 25
Problems
Module - 4 14 / 25
Problems
Module - 4 14 / 25
Problems
Module - 4 15 / 25
Problems
Module - 4 15 / 25
Problems
Module - 4 15 / 25
Problems
Module - 4 15 / 25
Problems
Module - 4 15 / 25
Problems
Module - 4 16 / 25
MGF of a normal distribution
Z ∞
tX 1 −1 x−µ 2
MX (t) = E [e ]= √ e tx e 2
( σ )
σ 2π −∞
Module - 4 17 / 25
MGF of a normal distribution
Z ∞
tX 1 −1 x−µ 2
MX (t) = E [e ]= √ e tx e 2
( σ )
σ 2π −∞
σ2 t 2
= e µt+ 2
Module - 4 17 / 25
Gamma distribution
Gamma Function
R∞
Γ(n) = 0 x n−1 e −x dx n>0
Module - 4 18 / 25
Gamma distribution
Gamma Function
R∞
Γ(n) = 0 x n−1 e −x dx n>0
Γ(n + 1) = n!
Module - 4 18 / 25
Gamma distribution
Gamma Function
R∞
Γ(n) = 0 x n−1 e −x dx n>0
Γ(n + 1) = n!
R∞ 1 √
Γ 12 = 0 x − 2 e −x dx = π
Module - 4 18 / 25
Gamma Distribution
Module - 4 19 / 25
Gamma Distribution
α
1. Mean= λ
Module - 4 19 / 25
Gamma Distribution
1. Mean= αλ
α
2. Variance= λ2
Module - 4 19 / 25
Gamma Distribution
1. Mean= αλ
2. Variance= λα2
3. If X follows Γ(1, λ), then X follows Exp(λ)
Module - 4 19 / 25
Gamma Distribution
1. Mean= αλ
2. Variance= λα2
3. If X follows Γ(1, λ), then X follows Exp(λ)
λ α
4. MX (t) = ( λ−t )
Module - 4 19 / 25
Gamma Distribution
1. Mean= αλ
2. Variance= λα2
3. If X follows Γ(1, λ), then X follows Exp(λ)
λ α
4. MX (t) = ( λ−t )
1
5. β = λ
Module - 4 19 / 25
Problems
Module - 4 20 / 25
Problems
Module - 4 20 / 25
Problems
Module - 4 20 / 25
Problems
Module - 4 20 / 25
Problems
2
= = 0.7358
e
Module - 4 20 / 25
Problems
Module - 4 21 / 25
Problems
Module - 4 21 / 25
Problems
Module - 4 22 / 25
Problems
Module - 4 22 / 25
Weibull distribution
Module - 4 23 / 25
Weibull distribution
Module - 4 23 / 25
Weibull distribution
2
Variance= ( α1 ) β [Γ( β2 + 1) − [Γ( β1 + 1)]2 ]
Module - 4 23 / 25
Problems
Module - 4 24 / 25
Problems
Module - 4 24 / 25
Problems
Module - 4 24 / 25
Problems
Module - 4 24 / 25
Problems
Module - 4 24 / 25
More Problems on distribution
Module - 4 25 / 25