Quiz Sol
Quiz Sol
Quiz Sol
ECE534: Quiz
Monday September 12, 2011
7:00 p.m. 8:00 p.m.
269 Everitt Laboratory
1. (a) E[Y ] = E[E[Y |X]] = E[X/2] =
7
2
1
2
=
7
4
.
(b) Given X = n, the conditional distribution of Y is the binomial distribution with param-
eters n = k and p = 0.5. So P(Y = 4|X = 5) =
5
4
2
5
=
5
32
.
(c) Using Bayes formula and the fact P{X = n} is the same for 1 n 6,
P(X = 5|Y = 4) =
P{X = 5, Y = 4}
P{Y = 4}
=
P(Y = 4|X = 5)P{X = 5}
6
n=4
P(Y = 4|X = n)P{X = n}
=
P(Y = 4|X = 5)
6
n=4
P(Y = 4|X = n)
=
5
4
2
5
4
4
2
4
+
5
4
2
5
+
6
4
2
6
=
5
32
1
16
+
5
32
+
15
64
=
10
4 + 10 + 15
=
10
29
2. (a) Equal to the area of a triangle with base and height 0.5; P{Y 1.5} =
1
8
.
(b) P(Y
1
2
|Y 1) =
1
8
1
2
=
1
4
.
(c) E[|Y 1|] =
2
0
|u 1|f
Y
(u)du = 2
1
0
|u 1|udu = 2
1
0
u u
2
du = 2(
1
2
1
3
) =
1
3
.
3. (a) For < t < , P{At
2
+ t + 1 0} = P{A
1+t
t
2
} = P
A
4
1+t
4t
2
= Q
1+t
4t
2
1
16
.
4. (a) (4 pts) f
X
(u) = 0 for |u| 0.
For |u| < 1, f
X
(u) =
1u
2
1u
2
1
dv =
2
1u
2
.
(b) No. Joint density doesnt factor. Support is not a product set.
(c) By inspection, given X = u, the conditional distribution of Y given X = u is uniform
over the interval (
1 u
2
,
1 u
2
), and hence the conditional distribution of |Y |
given X = u is uniform over the interval (0,
1 u
2
). Thus, E[ |Y | |X = u] =
1u
2
2
.