Lecture 3 -Adv. Probability - Discrete Random Variables
Lecture 3 -Adv. Probability - Discrete Random Variables
Discrete Random
Variables and their
distributions
𝑓(𝑥) = 𝑃(𝑋 = 𝑥)
f(x)
9/50
4/25
7/50
3/25
1/10
2/25 f(x)
3/50
1/25
1/50
0
2 3 4 5 6 7 8 9 10 11 12
𝑓 𝑥 =𝑃 𝑋=𝑥
𝑓(𝑥) = 1
𝑥
For all possible values 𝑥 = 𝑥𝑘
Properties of cdf:
• 𝐹(𝑥) is non decreasing
• lim 𝐹 𝑥 = 0 and
𝑥→−∞
lim 𝐹 𝑥 = 1
𝑥→∞
• 𝐹(𝑥) is continuous
F(x) 1/36 3/36 6/36 10/36 15/36 21/36 26/36 30/36 33/36 35/36 1
The mean
μ = E(𝑋) = 𝑥𝑘 𝑓(𝑥𝑘 )
𝑘
1 1 1
=0∗𝑓 0 + 1 ∗𝑓 1 +2∗𝑓 2 =0∗ +1∗ +2∗ =1
4 2 4
x 2 3 4 5 6 7 8 9 10 11 12
f(x) 1/36 2/36 3/36 4/36 5/36 6/36 5/36 4/36 3/26 2/36 1/36
The mean
μ = E(𝑋) = 𝑥𝑘 𝑓(𝑥𝑘 ) = 7
𝑘
𝐸 𝑎𝑋 + 𝑏 = 𝑎𝐸 𝑋 + 𝑏
𝐸(𝑋 2 ) = 𝑥𝑘 2 𝑓(𝑥𝑘 )
𝑘
𝐸 𝑔 𝑋 = 𝑔 𝑥𝑘 𝑓 𝑥𝑘 , 𝑔 𝑋 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑜𝑓 𝑋
𝑘
𝑉𝑎𝑟 𝑎𝑋 + 𝑏 = 𝑎2 𝑉𝑎𝑟 𝑋
Prove.
𝜎= 𝑉𝑎𝑟 𝑋
It provides a more interpretable measure of variability, as it
is expressed in the same units as the random variable itself.
1 p 0.3
0.2
0.1
0
0 1
f x = pqx−1 , x = 1,2,3, … …
Note. X cannot be zero since at least you need one trial to reach a
success
1
𝜇=
𝑝
1−𝑝 𝑞
𝜎2 = 2 = 2
𝑝 𝑝
Prove.
3 1/7 2/7
4 0.0988 1/4
5 0.0658 1/5
6 0.0439 1/7
7 0.0293 0
8 0.0195
0
9 0.0130
0
10 0.0087 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
0.40
0.35
0.30
0.30
0.25 0.22
0.20
0.15
0.10
0.05 0.04
0.00
1 2 3 4
Prove.
0.3000
0.2500
0.2000
0.1500
0.1000
0.0500
0.0000
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
8 0.112599032 0.02
9 0.125110036 0
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49
10 0.125110036
Example 1:
a) 𝜇 = 𝜆𝑡 = 10 and 𝜎 2 = λ𝑡 = 10
b) 𝜇 = 𝜆𝑡 = 2.5 and 𝜎 2 = λ𝑡 = 2.5
c) 𝜇 = 𝜆𝑡 = 5 and 𝜎 2 = λ𝑡 = 5
𝑛 𝑥
𝑓 𝑥 = 𝑝 (1 − 𝑝)𝑛−𝑥 , 𝑥 = 0,1,2, … , 𝑛
𝑥
𝑒 −𝜆𝑡 (𝜆𝑡) 𝑥
𝑓 𝑥 = , 𝑥 = 0,1,2, … .
𝑥!
References