Var 3 2 3 1 3 Var 3
Var 3 2 3 1 3 Var 3
Var 3 2 3 1 3 Var 3
Problem Set 5
Spring 2007
Problem 5.1
1. N = 200, 000.
2. N = 100, 000.
Problem 5.2
Problem 5.3
(a)
1/4k if k = 1, 2, 3, 4 and n = 1, . . . , k
pN,K (n, k) =
0 otherwise
(b)
1/4 + 1/8 + 1/12 + 1/16 = 25/48 n=1
1/8 + 1/12 + 1/16 = 13/48 n=2
pN (n) = 1/12 + 1/16 = 7/48 n=3
1/16 = 3/48 n=4
0 otherwise
(d) Let A be the event that Chuck bought at least 2 but no more than 3 books, E[K|A] = 3
var(K|A) = 35
21
(e) E[T ] = 4
1
Problem 5.4
1. 1
20 , x=1
3
20 , x=2
3 13
pX (x) = 10 , x=3 , E[X] =
1
4
, x=4
2
0 , otherwise
2.
1
10 , w=2
1
, w=3
20
7
20 , w=4
pW (w) = 3
10 , w=6
1
, w=8
5
0 , otherwise
3. E[R] = 34 , var(R) = 63
80
√
3
4. σR|A = 4
Problem 5.5
1. µ = 3, σ 2 = 2
2. µ = 5, σ 2 = 20.
Problem 5.6
1. To calculate the probability of heads on the next flip, we use the continuous version of
the total probability theorem:
Z 1
P (H) = P (H|P = p) · fP (p)dp
0
Z 1
= p2 ep dp
0
= e−2
2
2. Here we need to use the continuous version of Bayes’ theorem:
P (A|p)fP (p)
fP |A (p|A) = R1
P (A|p)fP (p)dp
(0
p2 ep
e−2 , 0≤p≤1
=
0, otherwise
Z 1
P (H) = P (A|P = p) · fP |A (p|A)dp
0
Z 1
1
= p3 ep dp
e−2 0
1
= · (6 − 2e)
e−2
.564
=
.718
≈ .786
Problem 5.7
where the last equality holds due to the fact that the Xi ’s are independent.
We also note that
E[X1 + · · · + Xn | Sn = sn ] = E[Sn | Sn = sn ] = sn
Therefore,
sn
E[X1 + · · · + Xn | Sn = sn ] = nE[X1 | Sn = sn ] = sn ⇒ E[X1 | Sn = sn ] = .
n
3
Problem 5.8
a) γ is determined because the density function must integrate to 1. Since (X, Y ) uni-
formly distributed in R, we have: ZZ
γdxdy = 1