

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, Urbana–Champaign Fall 2007 ECE 313: Solutions to Homework 4
i. X ∼ B(9, 0 .7). If more than 4 judges vote for guilty, the defendant is declared guilty. Pr(X ≥ 5) =
i=
i
i=
i
i=
i
i=
i
(b) The defense attorney needs to find a strategy that minimizes the probability that the client is declared guilty. For each strategy, the attorney will compute the probability by Pr(guilty defendant declared guilty)Pr( guilty client)+Pr(innocent defendant is declared guilty)Pr(innocent client), where Pr(guilty client) is 0.6 and Pr(innocent client) is 0.4. From (a) we have computed the probability for a guilty defendant to declare guilty, in a similar way we can find the probability for an innocent defendant to be declared guilty with p = 0.3. The answer for an innocent client to be declared guilty is 0.0988 for 9 judges, 0.0580(0.1941) for 8 judges and 0.1260 for 7 judges. If the attorney does not exercise peremptory challenge right, the probability that the client is declared guilty is 0. 9012 · 0 .6 + 0. 0988 · 0 .4 = 0.5802. If the attorney removes one judge, the probability is 0. 8059 · 0 .6 + 0. 0580 · 0 .4 = 0.5067 or 0.6428 if majority is 4 out of 8. If the attorney removes two judges, the probability is 0.5748. To minimize the probability, the attorney should choose to remove one judge if majority is 5 out of 8. Otherwise, the attorney should remove two judges.
( n k
(n−k 4
(n 4
n − 4 k
The right hand side means that all defect components fall into the set that the purchaser does not select. It is obvious that k ≤ n − 4 otherwise the purchaser always gets defect components. To sum them up for all k’s,
∑n− 1 k=
(n− 4 k
1 k 0. 9 n−^4 −k+4^ = 0. 94. The result is thus proved.
Let X be the r.v. standing for the number of passengers left behind. Note that the maximum value of X is 3. The probability of k passengers left behind for k > 0 is the probability that k + 4 passengers show up. When k = 0, the probability is that for k ≤ 4 passengers showing up. As k > 0, Pr(X = k) =
k+
k=1 k^ Pr(X^ =^ k) = 0.1641 + 0.^0547 ·^ 2 + 0.^0078 ·^ 3 = 0.2969.
(b) Pr(N = n) =
(n− 1 1
p(1 − p)n−^2 p = (n − 1)p^2 (1 − p)n−^2 for n = 2, 3 ,.. ..
(c) Using ML estimation, we need to find the probability p that maximizes the probability mass at N = n. To find the critical points in the continuous function f (p) = (n−1)p^2 (1− p)n−^2 , we do the first derivative test. df dp^ (p )= 0 and solve it we get p = 0, (^) n^2 , 1. Then we need to show that the function is increasing in the region p ∈ [0, (^2) n ] and decreasing in the other. f (0) = f (1) = 0 and f (2/n) > 0 so p = (^) n^2 is the maximum. Or we can do second derivate test to show that d
(^2) f dp^2 <^ 0 at^ p^ =^
2 n.
Solving for it we also get k = 110. (b) The number of tosses made to observe the next Head (includes the toss to get the Head) follows a geometric distribution with p = 0.11. If the king wants the exact number of tosses, we should guess 1 where the maximum probability mass occurs. The probability is 0.11. Or we could guess mean value 1/p ≈ 9 where probability is 0. 8980 .11 = 0.0433. (c) The number of tosses made to observe the 105th Head follows a negative binomial dis- tribution with r = 105, p = 0.11. We could guess the mean value r/p ≈ 955 where the probability is
104
Solving for it we get k = 946. The probability mass is 0.0046.
(a) Pr(X = 5) =
5
(b) Pr(2X ≥ 5) = Pr(X ≥ 2 .5) =
k=
k
∑n k=
(n k
(zp)k^ (1 − p)k^ = (1 − p + pz)n.
d^3 dz^3
E[zX^ ]|z=1 = E[X(X − 1)(X − 2)] = E[X^3 ] − 3 E[X^2 ] + 2E[X]
We also have d^3 dz^3
(1 − p + pz)n|z=1 = n(n − 1)(n − 2)p^3 = 155. 52
We know that E[X^2 ] = var(X)+E[X]^2 = 38.4. So E[X^3 ] = 155. 52 − 2 ·6+3· 38 .4 = 258.72.