Professional Documents
Culture Documents
2023 Chapter8
2023 Chapter8
Chapter 8
𝐹 𝑎, 𝑏 = 𝑃 𝑋 ≤ 𝑎, 𝑌 ≤ 𝑏 − ∞ < 𝑎, 𝑏 < ∞
𝑝𝑋 𝑥 = 𝑃 𝑋 = 𝑥 = 𝑝(𝑥, 𝑦)
𝑦:𝑝 𝑥,𝑦 >0
• Similarly,
𝑝𝑌 𝑦 = 𝑃 𝑌 = 𝑦 = 𝑝(𝑥, 𝑦)
𝑥:𝑝 𝑥,𝑦 >0
𝑃 𝑋, 𝑌 ∈ 𝐶 = 𝑓 𝑥, 𝑦 𝑑𝑥𝑑𝑦
(𝑥,𝑦)∈𝐶
• The function 𝑓(𝑥, 𝑦) is called the joint probability density function of
𝑋 and 𝑌.
• If 𝐴 and 𝐵 are any sets of real numbers
𝑃 𝑋 ∈ 𝐴, 𝑌 ∈ 𝐵 = 𝑓 𝑥, 𝑦 𝑑𝑥𝑑𝑦
𝐵 𝐴
1st Semester 2023
Probability
𝐹 𝑎, 𝑏 = 𝑓 𝑥, 𝑦 𝑑𝑥𝑑𝑦
−∞ −∞
𝜕2
𝑓 𝑎, 𝑏 = 𝐹(𝑎, 𝑏)
𝜕𝑎𝜕𝑏
𝑓𝑋 𝑥 = 𝑓 𝑥, 𝑦 𝑑𝑦
−∞
+∞
𝑓𝑌 𝑦 = 𝑓 𝑥, 𝑦 𝑑𝑥
−∞
2. Conditional Distributions
Discrete Case
• If 𝑋 and 𝑌 are discrete random variables, the conditional probability
mass function of 𝑋 given that 𝑌 = 𝑦 is defined by
𝑃 𝑋 = 𝑥, 𝑌 = 𝑦 𝑝(𝑥, 𝑦)
𝑝𝑋|𝑌 𝑥 𝑦 = 𝑃 𝑋 = 𝑥 𝑌 = 𝑦 = =
𝑃 𝑌=𝑦 𝑝𝑌 (𝑦)
for all values of 𝑦 such that 𝑝𝑌 𝑦 > 0
• The conditional probability distribution function of 𝑋 given that
𝑌 = 𝑦 is defined, for all 𝑦 such that 𝑝𝑌 𝑦 > 0
𝐹𝑋|𝑌 𝑥 𝑦 = 𝑃 𝑋 ≤ 𝑥 𝑌 = 𝑦 = 𝑝𝑋|𝑌 𝑎 𝑦
𝑎≤𝑥
2. Conditional Distributions
Example 8.5: Suppose that 𝑝(𝑥, 𝑦), the joint probability mass function of 𝑋
and 𝑌, is given by
𝑝(0, 0) = 0.4
𝑝(0, 1) = 0.2
𝑝(1, 0) = 0.1
𝑝(1, 1) = 0.3
Calculate the conditional probability mass function of 𝑋 given that 𝑌 = 1.
2. Conditional Distributions
Continuous Case
• If 𝑋 and 𝑌 have a joint probability density function 𝑓(𝑥, 𝑦), then the
conditional probability density function of 𝑋 given that 𝑌 = 𝑦 is
defined, for all values of 𝑦 such that 𝑓𝑌 𝑦 > 0, by
𝑓(𝑥, 𝑦)
𝑓𝑋|𝑌 𝑥𝑦 =
𝑓𝑌 (𝑦)
2. Conditional Distributions
Example 8.7: A company is studying the amount of sick leave taken by
its employees. The company allows a maximum of 100 hours of paid
sick leave in a year. The random variable 𝑋 represents the leave time
taken by a randomly selected employee last year. The random variable
𝑌 represents the leave time taken by the same employee this year. Each
random variable is measured in hundreds of hours, e.g., 𝑋 =
0.50 means that the employee took 50 hours last year. Thus 𝑋 and
𝑌 assume values in the interval [0, 1]. The joint probability density
function for 𝑋 and 𝑌 is
𝑓 𝑥, 𝑦 = 2 − 1.2𝑥 − 0.8𝑦 𝑤𝑖𝑡ℎ 0 ≤ 𝑥, 𝑦 ≤ 1
(a) Find 𝑓𝑋 𝑥 , 𝑓𝑌 𝑥
(b) Find 𝑓𝑋|𝑌 𝑥 𝑦 , 𝑓𝑌|𝑋 𝑦 𝑥
1st Semester 2023
Probability
𝐸 𝑋𝑌=𝑦 = 𝑥𝑓𝑋|𝑌 𝑥 𝑦 𝑑𝑥
−∞
𝐸 𝑌𝑋=𝑥 = 𝑦𝑓𝑌|𝑋 𝑦 𝑥 𝑑𝑦
−∞
𝐸 𝑋2 𝑌 = 𝑦 = 𝑥 2 𝑓𝑋|𝑌 𝑥 𝑦 𝑑𝑥
−∞
𝑥 90 100 110
𝑦
0 0.05 0.27 0.18
10 0.15 0.33 0.02
𝑥 0 1 2 𝑦
𝑝𝑋 (𝑥) ½ ¼ ¼ 𝑝𝑌 (𝑦)
𝐹𝑋+𝑌 𝑎 = 𝐹𝑋 𝑎 − 𝑦 𝑓𝑌 𝑦 𝑑𝑦
−∞
• The cumulative distribution function 𝐹𝑋+𝑌 is called the convolution of
the distributions 𝐹𝑋 and 𝐹𝑌
• The joint probability density function
∞
is
𝑓𝑋+𝑌 𝑎 = 𝑓𝑋 𝑎 − 𝑦 𝑓𝑌 𝑦 𝑑𝑦
−∞
1st Semester 2023
Probability
𝐸 𝑔 𝑋, 𝑌 = 𝑔 𝑥, 𝑦 𝑓 𝑥, 𝑦 𝑑𝑥𝑑𝑦
−∞ −∞
Note
Find 𝑐𝑜𝑣(𝑋, 𝑌)
Find 𝑉𝑎𝑟(𝑋 + 𝑌)