Professional Documents
Culture Documents
Chapter 4: Multiple Random Variables: Yunghsiang S. Han
Chapter 4: Multiple Random Variables: Yunghsiang S. Han
Chapter 4: Multiple Random Variables: Yunghsiang S. Han
Yunghsiang S. Han
Non-product-form events
Independence
P [X ∈ A1 , Y ∈ A2 ] = P [X ∈ A1 ]P [Y ∈ A2 ].
• Probability of event A is
X
P [X ∈ A] = pX,Y (xj , yk ).
(xj ,yk )∈A
pX (xj ) = P [X = xj ]
= P [X = xj , Y = anything]
= P [{X = xj and Y = y1 } ∪
{X = xj and Y = y2 } ∪ · · ·]
X∞
= pX,Y (xj , yk ).
k=1
• Similarly
∞
X
pY (yk ) = pX,Y (xj , yk ).
j=1
FX,Y (x1 , y1 ) = P [X ≤ x1 , Y ≤ y1 ]
Properties
Properties
Z +∞ Z +∞
1. 1 = fX,Y (x′ , y ′ )dx′ dy ′ .
−∞ −∞
Z y Z x
2. FX,Y (x, y) = fX,Y (x′ , y ′ )dx′ dy ′ .
−∞ −∞
∂ 2 FX,Y (x, y)
3. fX,Y (x, y) = .
∂x∂y
Z b2 Z b1
4. P [a1 < X ≤ b1 , a2 < Y ≤ b2 ] = fX,Y (x′ , y ′ )dx′ dy ′ .
a2 a1
5. Marginal pdf’s
d d
fX (x) = FX (x) = FX,Y (x, ∞)
dx dx
Z x Z +∞
d
= fX,Y (x′ , y ′ )dy ′ dx′
dx −∞ −∞
Z +∞
= fX,Y (x, y ′ )dy ′ .
−∞
Z +∞
6. fY (y) = fX,Y (x′ , y)dx′ .
−∞
• Marginal pdf of X
−x2 /2(1−ρ2 ) Z +∞
e −(y 2 −2ρxy)/2(1−ρ2 )
fX (x) = p e dy
2π 1 − ρ2 −∞
−x2 /2
e
= √ → N (0, 1).
2π
Thus
= P [A1 ]P [A2 ]
xj , y k .
Then
P [g(X) ∈ A, h(Y ) ∈ B] = P [X ∈ A′ , Y ∈ B ′ ]
= P [X ∈ A′ ]P [Y ∈ B ′ ]
= P [g(X) ∈ A]P [h(Y ) ∈ B].
Conditional Probability
Thus Z 0
dy 1
P [Y < 0|X = +1] = = .
−1 4 4
P [Y ≤ y, x < X ≤ x + h]
FY (y|x < X ≤ x + h) =
P [x < X ≤ x + h]
R y R x+h ′ ′ ′ ′
f X,Y (x , y )dx dy
= −∞ xR x+h
f (x ′ )dx′
x X
Ry ′ ′
−∞
f X,Y (x, y )dy h
≈ .
fX (x)h
• As h approach zero
Ry ′ ′
f X,Y (x, y )dy
FY (y|x) = −∞ .
fX (x)
• Conditional pdf of Y given X = x is
d fX,Y (x, y)
fY (y|x) = FY (y|x) = .
dy fX (x)
• If X and Y are independent, then
fX,Y (x, y) = fX (x)fY (y), fY (y|x) = fY (y), and
FY (y|x) = FY (y).
P [X = xk , Y = yj ] = P [Y = yj |X = xk ]P [X = xk ]
pX,Y (x, y) = pY (y|x)pX (x)
X X
= pX (xk ) pY (yj |xk ).
all xk yj ∈A
Thus,
X
P [Y ∈ A] = P [Y ∈ A|X = xk ]pX (xk ).
all xk
• Probability of Y ∈ A is
Z +∞
P [Y ∈ A] = P [Y ∈ A|X = x]fX (x)dx.
−∞
and Z Z
y 1
′ y ′
FY (y) = 1dx + ′
dx = y − y ln y.
0 y x
The pdf of Y is then
fY (y) = − ln y 0 ≤ y ≤ 1.
Conditional Expectation
where
Z +∞
E[E[Y |X]] = E[Y |x]fX (x)dx when X is continuous;
−∞
X
E[E[Y |X]] = E[Y |xk ]pX (xk ) when X is discrete.
xk
A = {max(X1 , X2 , X3 ) ≤ 5} .
• Probability of event A is
X X
P [(X1 , . . . , Xn ) ∈ A] = ··· pX1 ,X2 ,...,Xn (x1 , . . . , xn ),
x∈A
where x = (x1 , x2 , . . . , xn ).
• Conditional pmf is
pX1 ,...,Xn (x1 , . . . , xn )
pXn (xn |x1 , . . . , xn−1 ) = .
pX1 ,...,Xn−1 (x1 , . . . , xn−1 )
Find pX1 ,X2 (x1 , x2 ) and pX1 (x1 ) given that 0 < ai < 1.
Sol: The marginal pmf of X1 and X2 is
∞
X
pX1 ,X2 (x1 , x2 ) = (1 − a1 )(1 − a2 )(1 − a3 ) ax1 1 ax2 2 ax3 3
x3 =0
The pmf of X1 is
∞
X
pX1 (x1 ) = (1 − a1 )(1 − a2 ) ax1 1 ax2 2
x2 =0
= (1 − a1 )ax1 1 .
Independence
• X1 , . . . , Xn are independent if
• The cdf of Z is
P [Z ≤ z] = P [Rz = {x = (x1 , . . . , xn ) : g(x) ≤ z}], and
FZ (z) = P [X ∈ Rz ]
Z Z
= ··· fX1 ,...,Xn (x′1 , . . . , x′n )dx′1 . . . dx′n .
x∈Rz
The pdf of Z is
Z +∞
d
fZ (z) = FZ (z) = fX,Y (x′ , z − x′ )dx′ .
dz −∞
−z 2 /2
e
fZ (z) = √ .
2π
The pdf of Z is
Z +∞ Z +∞
′ ′ ′ ′ ′
fZ (z) = |y |fX (y z|y )fY (y )dy = |y ′ |fX,Y (y ′ z, y ′ )dy ′ .
−∞ −∞
Find the joint cdf of W and Z in terms of the joint cdf of X and Y .
Sol:
If z > w,
FW,Z (w, z) = FX,Y (z, z) − P [A]
= FX,Y (z, z)
− {FX,Y (z, z) − FX,Y (w, z) − FX,Y (z, w) + FX,Y (w, w)}
If z ≤ w, then
FW,Z (w, z) = FX,Y (z, z).
• Rectangle → parallelogram
fX,Y (x, y)dxdy ≈ fV,W (v, w)dP,
√ √
Hence, X = (V − W )/ 2 and Y = (V + W )/ 2. Therefore, the joint
pdf of V and W is
v−w v+w
fV,W (v, w) = fX,Y √ , √ .
2 2
The argument of the exponent becomes
(v − w)2 /2 − 2ρ(v − w)(v + w)/2 + (v + w)2 /2
2(1 − ρ2 )
v2 w2
= + .
2(1 + ρ) 2(1 − ρ)
Thus
1 −{[v 2 /2(1+ρ)]+[w2 /2(1−ρ)]}
fV,W (v, w) = 2 1/2
e .
2π(1 − ρ )
Therefore, V and W are independent.
• The approximation is
∂
gk (x + dx, y) ≈ gk (x, y) + gk (x, y)dx k = 1, 2.
∂x
and
fX,Y (h1 (v, w), h2 (v, w))
fV,W (v, w) = dP
,
| dxdy |
where dP is the area of the parallelogram.
Thus,
v −[v2 cos2 (w)+v2 sin2 (w)]/2
fV,W (v, w) = e
2π
1 −v2 /2
= ve 0 ≤ v, 0 ≤ w < 2π.
2π
The pdf of a Rayleigh random variable is given by
−v 2 /2
fV (v) = ve v ≥ 0.
Z +∞ Z +∞
′ ′ ′
= x fX (x )dx + y ′ fY (y ′ )dy ′ = E[X] + E[Y ].
−∞ −∞
1 − 32 12 1
ρX,Y =q q =√ .
5 1 5
4 4
• Bell shape
• Equal-pdf contour
Therefore,
σ1
E[(X − m1 )(Y − m2 )|Y ] = ρX,Y (Y − m2 )2
σ2
and
σ1
COV(X, Y ) = E[E[(X − m1 )(Y − m2 )|Y ]] = ρX,Y E[(Y − m2 )2 ]
σ2
= ρX,Y σ1 σ2 .
Y = AX,
• The pdf of Y is
fX (A−1 y)
fY (y) =
|A|
1 −1 T −1 −1
exp − 2 (A y − m) K (A y − m)
= n/2 1/2
.
(2π) |A||K|
Since
(A−1 y − m) = A−1 (y − Am)
and
(A−1 y − m)T = (y − Am)T A−1T ,
the argument of the exponential is
(y − Am)T A−1T K −1 A−1 (y − Am) = (y − Am)T (AKAT )−1 (y − Am).
covariance C:
n = Am and C = AKAT .