Professional Documents
Culture Documents
1
Summer 2006 STAT 602 Homework 4 Solution
fx,y (x, y)
fX|Y =y (x|y) =
fY (y)
[n!y x (pe−1 )y (1 − p)n−y ]/[y!(n − y)!x!]
=
n
py (1 − p)n−y
y
y x e−y
= , x = 0, 1, 2, . . .
x!
= 0, elsewhere
So X|Y = y ∼ Poisson(y).
X and Y are not independent. Because if X and Y are independent, fX|Y =y (x|y) is independent
of y. Here we know fX|Y =y (x|y) depends on y, so X and Y are dependent.
2/9, x = 0
X 7/18, x = 1
fX (x) = fX,Y (x, y) =
y 7/18, x = 2
0, elsewhere
1/11, x=0
FX,Y (x, 0) 4/11, x=1
fX|Y =0 (x|y = 0) = =
fY (0) 6/11,
x=2
0, elsewhere
3/7, x=0
FX,Y (x, 1) 3/7, x=1
fX|Y =0 (x|y = 1) = =
fY (1)
1/7, x=2
0, elsewhere
2
Summer 2006 STAT 602 Homework 4 Solution
4/7, y = 0
FX,Y (1, y)
fY |X=1 (y) = = 3/7, y = 1
fX (1)
0, elsewhere
6/7, y = 0
FX,Y (2, y)
fY |X=2 (y) = = 1/7, y = 1
fX (2)
0, elsewhere
fX (x)fY (y) = 4x(1 − x2 )4y 3 6= 8xy = fX,Y (x, y), 0 < x < y < 1
3
Summer 2006 STAT 602 Homework 4 Solution
fX (x)fY (y) = (2x)(2y) = 4xy = fX,Y (x, y), 0 < x < y < 1
X
T 0 1 2
7. (a) 0 0 1 2
Y 1 1 2 3
2 2 3 4
P (T = 0) = P (X = 0 and Y = 0) = P (X = 0) · P (Y = 0) = (0.6)(0.5) = 0.3
P (T = 1) = P (X = 1)P (Y = 0) + P (X = 0)P (Y = 1) = (0.3)(0.5) + (0.6)(0.3) = 0.33
P (T = 2) = P (X = 2)P (Y = 0) + P (X = 1)P (Y = 1) + P (X = 0)P (Y = 2) = (0.1)(0.5) +
(0.3)(0.3) + (0.6)(0.2) = 0.26
P (T = 3) = P (X = 2)P (Y = 1) + P (X = 1)P (Y = 2) = (0.1)(0.3) + (0.3)(0.3) = 0.09
P (T = 4) = P (X = 2)P (Y = 2) = (0.1)(0.2) = 0.02
0.3, t=0
0.33, t = 1
0.26, t = 2
(b) P (T = t) =
0.09, t = 3
0.02, t = 4
0, elsewhere
P
(c) E(T ) = tP (T = t) = 1.2
tP
E(T 2 ) = t2 P (T = t) = 2.5
t
V ar(T ) = E(T 2 ) − (E(T ))2 = 1.06
4
Summer 2006 STAT 602 Homework 4 Solution
8. X ∼ U (0, 1). Let F and f denote, respectively, the c.d.f. and p.d.f. of X.
0, x < 0
F (x) = x, x ≤ x < 1
1, 1 ≤ x
1, 0 < x < 1
f (x) =
0, elsewhere
X
Y = ln
1−X
x x
Let x ∈ (0, 1), then ∈ (0, ∞). So ln ∈ (−∞, +∞).
1−x 1−x
Thus, the range of Y is (−∞, +∞).
Let G and g denote, respectively, the c.d.f. and p.d.f. of Y . Let y ∈ (−∞, +∞).
x
G(y) = P (Y ≤ y) = P (ln ≤ y)
1−x
x
= P( ≤ ey ) = P (X ≤ ey − ey X)
1−x
ey
= P ((1 + ey )X ≤ ey ) = P (X ≤ )
1 + ey
ey ey
= F( )= , −∞ < y < ∞
1 + ey 1 + ey
d d ey
g(y) = G(y) =
dy dy 1 + ey
y d y d
(1 + e ) dy e − ey dy (1 + ey )
=
(1 + ey )2
ey + e2y − e2y ey
= = , −∞ < y < ∞
(1 + ey )2 (1 + ey )2
Y = ln X has m.g.f.
t
MY (t) = E(etY ) = E[et ln X ] = E[eln X ]
Z ∞
= E(X t ) = xt λx−(λ+1) dx
Z ∞ 1
=λ xt−λ−1 dx
1
5
Summer 2006 STAT 602 Homework 4 Solution
x→∞
xt−λ
MY (t) = λ = λ [0 − 1t − λ]
t − λ x=1
−1
λ 1 1
MY (t) = = 1 = 1 − t ,t < λ
λ−t 1 − λt λ
Recalling hat the m.g.f of Γ(α, β) is (1 − βt)−α , t < 1
β, we find that Y ∼ Γ(1, λ1 ).
1
Equivalently, we can say that Y has an exponential distribution with mean λ.