Beruflich Dokumente
Kultur Dokumente
Cover Lectures 1 to 6
Rules:
Pr
Fx,y (∞, ∞) = 1
Fx,y (-∞, -∞) = 0
Y
X
• Joint PDF can be reduced to single PDF or the
so-called marginal PDF
Pr (Y = 10) = fY(10)
The summation of blue columns
Pr (Y = 20) = fY(20)
The summation of purple columns
30 Pr (Y = 30) = fY(30)
20
1 10 Y The summation of yellow columns
2
X 3
6
Ex4.2: continuous case
6
( x y 2 ) ; 0 x 1, 0 y 1
f ( x, y ) 5
0
What is fX(x)?
1
f X ( x) f ( x, y )dy
0
1
6
( x y 2 )dy
0
5
6 2
x
5 5
For a “legit” joint PDF
=> The volume needs to be 1.0
6
( x y 2 ) ; 0 x 1, 0 y 1
f ( x, y ) 5
0
1 1
6
Since ( x y 2 )dxdy 1 ,
x 0 y 0
5
1 1
0.8
Can we do ?
x 0 y 0 0.6
Y x*, 1-x*
0.4
1 1 x
How about
x 0 y 0
0.2 Region of
positive density
0.0
x*, 0
0.0 0.2 0.4 0.6 0.8 1.0
X
Therefore,
dx
dx
11
Ex4.4(c)
What is the marginal PDF of X? 1.0
0.8
0.6
Y
0.4
0.2
0.0
0.0 0.2 0.4 0.6 0.8 1.0
f(x) = 0
12
Statistical independence between X and Y in
multiple RV questions
• Review of SI in Ch 2:
SI <=> Pr(A) x Pr(B) = Pr(AB)
• In this case:
fX, Y(x, y) = fX (x) * fY(y)
For example:
fX (x) = 0.1, fY (y) = 0.1 and fX, Y(x, y) = 0.01
Ex4.5
Is X and Y in Ex4.1 statistical independent?
Ex4.7
What is E(XY) in Ex4.4 1.0
0.8
0.6
Y
0.4
0.2
0.0
0.0 0.2 0.4 0.6 0.8 1.0
1 1 x
=
x 0 y 0
xy*24xy dy dx = 2/15
Covariance
• Cov(X,Y) = E [ (X-μX)*(Y-μY) ] ***
= ∫∫ (X-μX)*(Y-μY) * f(x,y) dxdy
!! Cov(X,Y) is unit-dependent
0.4
X
0.3
(given)
PDF
0.2 Y = g(X)
(given)
Y
0.1
0.0
(unknown)
-10 -5 0 5 10 15 20
Functions of RV: the X-Y-Z case
• Given PDFs of X and Y, and Z = aX + bY for
example, what is PDF of Z
Since Z ~ N as well,
Pr(Z < 210) = Ф ((210 - 200) / 20) = 0.69
Extended case:
=> Given Z = X/Y and both X and Y follow the
lognormal distribution, and Z follows the
lognormal distribution as well
Pr (C > 35000)
= Pr (lnC > ln35000)
= 1 – Pr (lnC ≤ ln35000)
= 1 - Ф ((ln35000 – 10.36) /0.26)
= 1 - Ф (0.39) = 0.35
What if Z = g(X,Y) is not the special cases and we
want to find CDF of Z?
ke kx ; x 0 he hy ; y 0
f ( x) f ( y)
0 ; otherwise 0 ; otherwise
Y-X=z
Therefore,
FZ(z) = ∫∫ f(x,y) dxdy A
z x -z
z
x z y 0
Therefore,
FZ(z) =∫∫ f(x,y) dxdy
z A
zx
x 0 y 0
As a result,
z x
h hz
kx hy
FZ ( z ) khe e dydx 1 e
x 0 y 0
hk
Ex4.15: Following Ex4.14, what is the CDF of Z,
given Z = X + Y and Z = Y/X?
ke
kx
; x0 he hy ; y 0
f ( x) f ( y)
0 ; otherwise 0 ; otherwise
X+Y=z
i) Z < 0
=> F(z) = 0
ii) Z ≥ 0
FZ(z) = ∫∫ f(x,y) dxdy
A
z zx
x 0 y 0
With some tedious calculation:
zx
z
1
kx hy
FZ ( z ) khe e dydx 1 kehz he kz
x 0 y 0
k h
Ex4.15: Following Ex4.14, what is the CDF of Z,
given Z = Y/X?
ke kx
; x0 he hy ; y 0
f ( x) f ( y)
0 ; otherwise 0 ; otherwise
i) Z < 0 Y - zX= 0
=> F(z) = 0
ii) Z ≥ 0
A
FZ(z) = Pr(Y/X ≤ z)
= Pr(Y – zX ≤ 0)
zx
hz
kx hy
FZ ( z ) khe e dydx
x 0 y 0
k hz
Tips of finding FZ(z) given Z = g(X,Y)
• Function of RV in Z = g(X,Y):
– wanting to know PDF of Z, given PDF of X and Y,
and Z = g(X,Y)
– Check if it is a special case
– FZ(z) = Pr(Z ≤ z) = Pr(g(X,Y) ≤ z)
(see the tips in the previous slice)