Chapter 6 Part 1: Jointly Distributed Random Variables
Chapter 6 Part 1: Jointly Distributed Random Variables
EEE 214
1 Joint distribution
Outline
1 Joint distribution
Joint cdf
Definition
We have a pair of random variables (either discrete or continuous) X and
Y . The joint cumulative probability distribution function of X and Y is
defined by
FX,Y (x, y) = P [X ≤ x, Y ≤ y]
Joint cdf
Definition
We have a pair of random variables (either discrete or continuous) X and
Y . The joint cumulative probability distribution function of X and Y is
defined by
FX,Y (x, y) = P [X ≤ x, Y ≤ y]
= P [(X, Y ) lies south-west of the point (x, y)]
Y
(x,y)
●
Chapter 6 part
X 1 EEE 214 4 / 22
Joint distribution
Let B be the number of Black socks, W the number of White socks drawn.
Then the distributions of B and W are given by:
Let B be the number of Black socks, W the number of White socks drawn.
Then the distributions of B and W are given by:
0 1 2
P(B=k)
P(W=k)
Let B be the number of Black socks, W the number of White socks drawn.
Then the distributions of B and W are given by:
0 1 2
6 5 15 6 6 36 6 5 15
P(B=k) 12 · 11 = 66 2· 12 · 11 = 66 12 · 11 = 66
8 7 28 4 8 32 4 3 6
P(W=k) 12 · 11 = 66 2· 12 · 11 = 66 12 · 11 = 66
(k6)(2−k
6
) (4)( 8 )
Note - P (B = k) = 12 and P (W = k) = k 122−k
(2) (2)
W
0 1 2
0
P (B = b, W = w) =
B 1
2
W
0 1 2
1/66 If b=0,w=0
8/66 If b=0,w=1
1 8 6 15
0
6/66 If b=0,w=2
66 66 66 66 P (B = b, W = w) =
12 24 36 12/66 If b=1,w=0
B 1 0
66 66 66 24/66 If b=1,w=1
15 15 15/66 If b=2,w=0
2 66 0 0 66
28 32 6
66 66 66
6 4 2
b w 2−b−w
P (B = b, W = w) = 12
, for 0 ≤ b, w ≤ 2 and b + w ≤ 2
2
Marginal Distributions
Note that the column and row sums are the distributions of B and W
respectively.
P (B = b) = P (B = b, W = 0) + P (B = b, W = 1) + P (B = b, W = 2)
P (W = w) = P (B = 0, W = w) + P (B = 1, W = w) + P (B = 2, W = w)
Marginal Distributions
Note that the column and row sums are the distributions of B and W
respectively.
P (B = b) = P (B = b, W = 0) + P (B = b, W = 1) + P (B = b, W = 2)
P (W = w) = P (B = 0, W = w) + P (B = 1, W = w) + P (B = 2, W = w)
These are the marginal distributions of B and W . In general,
X X
P (X = x) = P (X = x, Y = y) = P (X = x | Y = y)P (Y = y)
y y
Conditional Distribution
Conditional distributions are defined as we have seen previously with
P (X = x, Y = y) joint pmf
P (X = x | Y = y) = =
P (Y = y) marginal pmf
Marginal pdfs
Marginal probability density functions are defined in terms of “integrating
out” one of the random variables.
Z ∞
fX (x) = f (x, y) dy
−∞
Z ∞
fY (y) = f (x, y) dx
−∞
Let X and Y be drawn uniformly from the triangle below. Find the joint pdf
fX,Y (x, y).
Y 2
0
0 1 2 3 4
Let X and Y be drawn uniformly from the triangle below. Find the joint pdf
fX,Y (x, y).
Since the joint density is constant, then
(
c for x ≥ 0, y ≥ 0 and x + y ≤ 3
f (x, y) =
0 otherwise
4
Y 2
0
0 1 2 3 4
Let X and Y be drawn uniformly from the triangle below. Find the joint pdf
fX,Y (x, y).
Since the joint density is constant, then
(
c for x ≥ 0, y ≥ 0 and x + y ≤ 3
f (x, y) =
0 otherwise
4
3 Because
Z ∞ Z ∞
Y 2 1= fX,Y (x, y) dx dy
−∞ −∞
1
0
0 1 2 3 4
Let X and Y be drawn uniformly from the triangle below. Find the joint pdf
fX,Y (x, y).
Since the joint density is constant, then
(
c for x ≥ 0, y ≥ 0 and x + y ≤ 3
f (x, y) =
0 otherwise
4
3 Because
Z ∞ Z ∞
Y 2 1= fX,Y (x, y) dx dy
−∞ −∞
1 ZZ
= c dx dy
0
0 1 2 3 4
x≥0,y≥0,x+y≤3
X
Let X and Y be drawn uniformly from the triangle below. Find the joint pdf
fX,Y (x, y).
Since the joint density is constant, then
(
c for x ≥ 0, y ≥ 0 and x + y ≤ 3
f (x, y) =
0 otherwise
4
3 Because
Z ∞ Z ∞
Y 2 1= fX,Y (x, y) dx dy
−∞ −∞
1 ZZ
= c dx dy
0
0 1 2 3 4
x≥0,y≥0,x+y≤3
X 3×3
= c × area of the triangle = c ×
2
Let X and Y be drawn uniformly from the triangle below. Find the joint pdf
fX,Y (x, y).
Since the joint density is constant, then
(
c for x ≥ 0, y ≥ 0 and x + y ≤ 3
f (x, y) =
0 otherwise
4
3 Because
Z ∞ Z ∞
Y 2 1= fX,Y (x, y) dx dy
−∞ −∞
1 ZZ
= c dx dy
0
0 1 2 3 4
x≥0,y≥0,x+y≤3
X 3×3
= c × area of the triangle = c ×
2
Therefore, c = 29 .
Chapter 6 part 1 EEE 214 12 / 22
Joint distribution
Recap
Joint cdf of two random variables X and Y :
Marginal pdfs
Z ∞ Z ∞
fX (x) = fX,Y (x, y) dy, fY (y) = fX,Y (x, y) dx
−∞ −∞
Chapter 6 part 1 EEE 214 14 / 22
Joint distribution
Y 2
0
0 1 2 3 4
Y 2
0
0 1 2 3 4
∂2
fX,Y (x, y) = FX,Y (x, y)
∂x∂y
Marginal pdfs
Z ∞ Z ∞
fX (x) = fX,Y (x, y) dy, fY (y) = fX,Y (x, y) dx
−∞ −∞
Outline
1 Joint distribution
P (X ∈ A, Y ∈ B) = P (X ∈ A)P (Y ∈ B)
P (X ∈ A, Y ∈ B) = P (X ∈ A)P (Y ∈ B)
P (X ∈ A, Y ∈ B) = P (X ∈ A)P (Y ∈ B)
P (X ∈ A, Y ∈ B) = P (X ∈ A)P (Y ∈ B)
60
50
40
Y 30
20
10
0
0 10 20 30 40 50 60
X