Professional Documents
Culture Documents
16 Bivariate RVs
Discrete Case
Continuous Case
Bivariate cdfs
Marginal Distributions
1
2.16 Bivariate RVs
2
2.16 Bivariate RVs
Discrete Case
Properties:
(1) 0 f (x, y) 1.
(2) x y f (x, y) = 1.
(3) A 2 Pr((X, Y ) A) = (x,y)A f (x, y).
3
2.16 Bivariate RVs
X = 1 X = 2 X = 3 Pr(Y = y)
Y =1 0 1/6 1/6 1/3
Y =2 1/6 0 1/6 1/3
Y =3 1/6 1/6 0 1/3
Pr(X = x) 1/3 1/3 1/3 1
4
2.16 Bivariate RVs
In addition,
Pr(X 2, Y 2)
= f (x, y)
x2 y2
= f (2, 2) + f (2, 3) + f (3, 2) + f (3, 3)
= 0 + 1/6 + 1/6 + 0 = 1/3.
5
2.16 Bivariate RVs
Continuous Case
(1) f (x, y) 0, x, y.
(2) 2 f (x, y) dx dy = 1.
(3) Pr(A) = Pr((X, Y ) A) = A f (x, y) dx dy.
Think of
7
2.16 Bivariate RVs
8
2.16 Bivariate RVs
Bivariate cdfs
10
2.16 Bivariate RVs
Properties:
12
2.16 Bivariate RVs
Example: Suppose
1 ex ey + e(x+y) if x 0, y 0
F (x, y) = 0 if x < 0 or y < 0
13
2.16 Bivariate RVs
14
2.16 Bivariate RVs
X = 1 X = 2 X = 3 X = 4 Pr(Y = y)
Y =1 .01 .07 .09 .03 .2
Y =2 .20 .00 .05 .25 .5
Y =3 .09 .03 .06 .12 .3
Pr(X = x) .3 .1 .2 .4 1
By total probability,
and
fY (y) = f (x, y)
x
16
2.16 Bivariate RVs
X = 1 X = 2 X = 3 X = 4 Pr(Y = y)
Y =1 .06 .02 .04 .08 .2
Y =2 .15 .05 .10 .20 .5
Y =3 .09 .03 .06 .12 .3
Pr(X = x) .3 .1 .2 .4 1
17
2.16 Bivariate RVs
and
fY (y) = f (x, y) dx
18
2.16 Bivariate RVs
Example:
e(x+y) if x 0, y 0
f (x, y) = 0 otherwise
fX (x) = f (x, y) dy
= (x+y)
e dy
0
ex if x 0
= 0 otherwise
19
2.16 Bivariate RVs
Example:
21 x2y if x2 y 1
f (x, y) = 4
0 otherwise
20
2.16 Bivariate RVs
fX (x) = f (x, y) dy
1
21 2
= x y dy
x2 4
21 x2(1 x4) if 1 x 1
= 8
0 otherwise
21
2.16 Bivariate RVs
fY (y) = f (x, y) dx
y
21 2
= x y dx
y 4
7 y 5/2 if 0 y 1
= 2
0 otherwise
22