

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


University of Illinois Spring 2008
(b) P {X is even} =
p^0 (1 − p)N^ +
p^2 (1 − p)N^ −^2 +
p^4 (1 − p)N^ −^4 + · · · Now, from the binomial theorem (Ross, page 8) we get that (x + y)N^ + (−x + y)N^ = 2
N 0
x^0 yN^ +
2
x^2 yN^ −^2 +
4
p^4 (1 − p)N^ −^4 + · · ·
, and so, setting x = p, y = 1 − p, we get P {X is even} = (^12)
(p + 1 − p)N^ + (−p + 1 − p)N^
1 2
1 + (1 − 2 p)N^
. Notice that the probability is 1/2 for p = 1/2, 1 for p = 0, and 1 (or
1 + λ 2!^2 + λ 4!^4 + · · ·
= exp(−λ) cosh(λ) by recognizing the series in square brackets. (b) (^12)
1 + (1 − 2 p)N^
1 − (^2) Nλ
→ 12 [1 + exp(− 2 λ)] = exp(−λ) exp(λ)+exp( 2 −λ) = exp(−λ) cosh(λ).
(c) For fixed Y = k, the likelihood function (parameterized by θ) is L(θ; k) = θ
ke−θ k!.^ To find the ML estimate of λ, we find θˆ that maximizes L(θ; k). Setting the derivative of L(θ; k) equal to zero, we get ∂L(θ; k) ∂θ
k!
kθk−^1 e−θ^ + θke−θ(−1)
= θ
k− (^1) e−θ k!
[k − θ] = 0 ⇒ θˆM L = k.
k=
P {X = k}
(c) We saw earlier that if X is a binomial random variable with parameters (n, p), then Y = n − X is a binomial random variable with parameters (n, 1 − p). (d) P {Y ≥ 5 } = 1 − P {Y = 0} − P {Y = 1} − P {Y = 2} − P {Y = 3} − P {Y = 4} = 1 − exp(− 10 .5)
2 2! +^
(10.5)^3 3! +^
(10.5)^4 4!
(b) For k ≥ 2, P {X = k} = P (HH · · · HB)+P (BB · · · BH) =
)k− 1
)k− 1 .
k=
k ·
)k− 1
)k− 1 ]
k=
k ·
)k− 1
)k− 1 ] − 1 3
It is instructive to do this problem via conditional probabilities. Conditioned on the first box being an H, we are waiting for a B, an event of probability 13 to occur. On average, an additional 3 boxes must be bought.. Conditioned on the first box being a B, we are waiting for an H, an event of probability 23 to occur. On average, an additional 1. 5 boxes must be bought. Hence,
E[X ] = (1 + 3)P (H) + (1 + 1.5)P (B) = 4 ·
(c) Now, Mrs Kirk buys W ≥ 4 boxes of Cornies. Consider the contents of the first two boxes.
P {V = k − 2 } 4 9
P {V = k − 2 } 1 9
=
)k− 3
)k− 3 ] 4 9 +
(k − 3)
)k− 4 ] 4 9 +
(k − 3)
)k− 4 ] 1 9
which simplifies to P {W = k} =
(2k−^2 + 4)(k − 1) 3 k^.^ Computing^ E[W] from this result is messy. It is much easier to compute E[W] via conditional probabilities. If the first two boxes give Jimmy a H and a K, his mother has to buy 3.5 more boxes on average. If he gets HH, 6 more boxes are needed on average, while if he gets KK, 3 more boxes are needed on average. Hence,
E[W] = 2 +