Lecture #11: Distributions With Random Parameters
Lecture #11: Distributions With Random Parameters
October 2, 2015
= e x,
x > 0,
fX,Y (x, y)
e y
1
=
= ,
y
fY (y)
ye
y
0 < x < y,
fX,Y (x, y)
e
=
fX (x)
e
y
x
= ex y ,
Example. Suppose that (X, Y )0 is a jointly distributed random variable with density function
(
cxy, if 0 < y < 1 and 0 < x < y 2 < 1,
fX,Y (x, y) =
0,
otherwise,
Z 1Z 1
where the value of the normalizing constant c is chosen so that
fX,Y (x, y) dx dy = 1.
1
1
0
1
p
xy dy dx =
x
1
0
1
x y2
2
y=1
1
dx =
p
2
y= x
x(1
0
1
x) dx =
2
1 2
x
2
1 3
x
3
=
0
1
12
so that c = 12.
(b) By definition,
fX (x) =
1
12xy dy = 12x y 2
p
2
x
y=1
p
y= x
= 6x(1
x)
y2
0
1
12xy dy = 12y x2
2
x=y 2
= 6y 5
x=0
fX,Y (x, y)
12xy
2y
=
=
fX (x)
6x(1 x)
1 x
x < y < 1.
Last class we introduced the law of total probability. It turns out that if X and Y are jointly
distributed random variables, then we can generalize this result.
Suppose that X is continuous.
If Y is also continuous, then
Z 1
Z
fX (x) =
fX,Y (x, y) dy =
1
112
If Y is continuous, then
P {X = x} =
1
1
Example. Suppose that X|M = m 2 Po(m) with M 2 Exp(1). Determine the (unconditional) distribution of X.
Solution. By the law of total probability, we find that for k = 0, 1, 2, . . .,
Z 1
Z 1 x k
Z
e x
1 1 k
x
P {X = k} =
P {X = k|M = x}fM (x) dx =
e dx =
x e
k!
k! 0
0
0
Making the substitution u = 2x, du = 2 dx gives
Z
Z
Z 1
1
1 1 k 2x
1 1 k k u 1
x e
dx =
u 2 e 2 du = k+1
uk e
k! 0
k! 0
2 k! 0
since (k + 1) = k!. Hence, we see that P {X = k} = 2
conclude that X 2 Ge(1/2).
113
k 1
du =
2x
dx.
(k + 1)
1
= k+1
k+1
2 k!
2
, k = 0, 1, 2, . . ., and so we