Module 2
Module 2
Presented by
Dr. Bhumika G. Choksi
SPECIAL DISTRIBUTIONS
Binomial and Poisson distributions, Normal distribution,
Exponential distributions,
Weibull distribution
RANDOM VARIABLES (RV)
INTRODUCTION:
X={0,1,2,3}: S R
P(X = 3) = 1/8
P(X = 2) = 3/8
P(X = 1) = 3/8
P(X = 0) = 1/8
Ex. Two dice are tossed. The sum of the scores on the two dice
Solution:
S={}
Examples:
the number of rooms in a house
the number of patients a doctor sees in one day
the number of defective light bulbs in a box of ten
the number of “heads” flipped in 3 trials
the number of children in a family
2) Continuous Random Variable (CRV):
(i) 𝑃 𝑋 = 𝑥 ≥ 0
(ii) σ∞
𝑥=0 𝑃(𝑋 = 𝑥) = 1
PROBABILITY DENSITY FUNCTION (PDF):
Let 𝑋 be a continuous random variable taking values in a
certain range 𝑎 ≤ 𝑋 ≤ 𝑏 then the function
𝑃 𝑋 = 𝑥 = 𝑓(𝑥) is called pdf, if it satisfies the following
properties:
(i) 𝑓(𝑥) ≥ 0
𝑏
(ii) = 𝑥𝑑 𝑥 𝑓 𝑎1
PROPERTIES:
1) Total area under the probability curve 𝑦 = 𝑓(𝑥) is unity.
2) 𝑓(𝑥) ≥ 0 implies that the graph of 𝑓(𝑥) is above the 𝑥-axis.
∞
3) Ingeneral, −∞ 𝑓 𝑥 𝑑𝑥 = 1
CUMULATIVE DISTRIBUTION FUNCTION (CDF)/
DISTRIBUTION/DISTRIBUTIVE FUNCTION (DF):
If 𝑋 is a discrete random variable, then the distribution function
(cdf/df) of 𝑋 is given by
𝑭 𝒙 = 𝑷 𝑿 ≤ 𝒙 = σ∞ 𝒙𝒊 ≤𝒙 P𝒊 ; −∞ < 𝒙 < ∞
such that P𝑖 ≥ 0 & σ∞𝑖=1 P𝑖 = 1; 𝑃𝑖 = 𝑃(𝑥𝑖 )
If 𝑋 is a continuous random variable, then the distribution
function (cdf/df) of 𝑋 is given by
𝒙
𝑭(𝒙) = 𝑷(𝑿 ≤ 𝒙) = −∞ 𝒇 𝒙 𝒅𝒙
such that P𝑖 ≥ 0 & σ∞𝑖=1 P𝑖 = 1; 𝑃𝑖 = 𝑃(𝑥𝑖 )
PROPERTIES:
1) 𝐹 −∞ = 0, 𝐹 ∞ = 1
2) 0 ≤ 𝐹(𝑥) ≤ 1
3) 𝐹 𝑏 = 𝑃(𝑋 ≤ 𝑏)
𝑏
4) For CRV, 𝑃 𝑎 ≤ 𝑋 ≤ 𝑏 = 𝑏 𝐹 = 𝑥𝑑 𝑥 𝑓 𝑎− 𝐹 𝑎
𝑑
5) 𝑑𝑥 𝐹 𝑥 = 𝐹 ′ 𝑥 = 𝑓 𝑥
6) 𝐹(𝑥) is increasing and right continuous function.
Ex. Toss a fair coin twice. Let 𝑿 be the no. of heads. Find the
probability mass function (pmf) of 𝑿.
Solution:
𝑆 ={HH, HT, TH, TT}
𝑋 = 𝑁𝑜. 𝑜𝑓 ℎ𝑒𝑎𝑑𝑠 = 2,1,0 = 0,1,2
Yes, it is pdf.
Ex. Find the value of k for the pdf
𝒌𝒙𝟐 ; 𝟎 ≤ 𝒙 ≤ 𝟑
𝒇 𝒙 =ቊ
𝟎; 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆
Also compute 𝑷 𝟏 ≤ 𝒙 ≤ 𝟐 and find the distributive
function/df.
Solution:
1) For pdf,
3
න 𝑓 𝑥 𝑑𝑥 = 1
0
3
න 𝑘𝑥 2 𝑑𝑥 = 1
0
k=1/9
2
𝑷 𝟏 ≤ 𝒙 ≤ 𝟐 = 1 𝑓 𝑥 𝑑𝑥
=1/4
Distributive function:
𝑥
𝐹 𝑥 = න 𝑓 𝑥 𝑑𝑥
0
𝑥3
= ;0 ≤ 𝑥 ≤ 3
27
0; 𝑥 < 0
𝑥3
𝐹(𝑥) = ;0 ≤ 𝑥 ≤ 3
27
1; 𝑥 > 3
Ex. For the discrete probability distribution
x 0 1 2 3 4 5 6 7
f(x) 0 K 2K 2K 3K 𝐾2 2𝐾 2 7𝐾 2 + 𝐾