

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The exam i for ece 313 (probability and statistics) at university of illinois spring 2009. It includes questions and solutions related to probability mass functions, law of total probability, and expected value calculations.
Typology: Lab Reports
1 / 2
This page cannot be seen from the preview
Don't miss anything!


University of Illinois Spring 2009
1
(b) From the answer to part (a), we can read off the values of the pmf: pX(3) = 16 , pX(4) = 16 , pX(5) = 26 = 13 , pX(6) = 16 , pX(3) = 16 , and pX(u) = 0 for all other values of u. Sanity check: pX(3) + pX(4) + pX(5) + pX(6) + pX(7) = 1 as it should be. (c) Following the theft of the 3 ball, the hat contains { 1 , 2 }, { 1 }, { 1 , 4 }, { 2 }, { 2 , 4 }, { 4 } with equal probability 16. Hence, by the law of total probability,
P (ball drawn has an odd number) =
Similarly, P (Wilma wins first game) =^1 3
Alternatively, with F and W denoting the events that Fred and Wilma respectively win the first game, and H the event that the first toss (by Fred) results in a Head, we have P (F | H) = 1 and P (W | H) = 0). Also, if T = Hc^ occurs on the first toss, then Wilma gets to toss in a brand new game and thus P (F | T ) = P (W ), P (W | T ) = P (F ). By the law of total probability, we get
P (F ) = P (F | H)P (H) + P (F | T )P (T ) = 1 × 12 + P (W ) × 12 =^12 + P^ ( 2 W ),
P (W ) = P (W | H)P (H) + P (W | T )P (T ) = 0 × 12 + P (F ) × 12 = P^ ( 2 F ).
It follows that P (F ) =
4 ×^ P^ (F^ ) and hence^ P^ (F^ ) =
3 and^ P^ (W^ ) =
(b) Let F and W denote the events that Fred and Wilma respectively win a game, and let F F W denote the event that Fred wins the first two games and Wilma the third, etc. Remembering that the winner of a game has only a 13 chance of winning the next game, we proceed to calculate systematically as follows:
Result Value of X Probability Result Value of X Probability F F F − 3 23 × 13 × 13 = 272 W W F +1 13 × 13 × 23 = 272 F F W − 1 23 × 13 × 23 = 274 W F W +1 13 × 23 × 23 = 274 F W F − 1 23 × 23 × 23 = 278 F W W +1 23 × 23 × 13 = 274 W F F − 1 13 × 23 × 13 = 272 W W W +3 13 × 13 × 13 = 271
Hence, pX(−3) = 2 27
, pX(−1) =^14 27
, pX(1) =^10 27
, pX(3) = 1 27
, and pX(u) = 0 for all other values of u. Sanity check: pX(−3) + pX(−1) + pX(1) + pX(3) = 1 as it should be.
Alternatively, by DeMorgan’s theorem, P (neither A nor B occurs) = P (AcBc) = P ((A ∪ B)c) = 1 − P (A ∪ B) = 0.2. Similarly, P (both A and B occur) = P (AB) = P ((Ac^ ∪ Bc)c) = 1 − P (Ac^ ∪ Bc) = 0.2. Hence, P (exactly one of A and B occurs) = 1−P (both occur)−P (neither occurs) = 0. 6 as before. (b) (n, p) = (100, 0 .2). E[X] = np = 100× 0 .2 = 20. var(X) = np(1−p) = 100× 0. 2 × 0 .8 = 16. Hence, E[X^2 ] = var(X) + (E[X])^2 = 16 + 20^2 = 416.
a
b
c
1 6
1 6
1 9
1 9
1 9
1 12
1 12
1 12
1 12
1 2 3 4
For i ∈ { 1 , 2 , 3 }, let Ri be the event that the square selected is in the i-th row. For j ∈ { 1 , 2 , 3 , 4 }, let Cj be the event that the square selected is in the j-th column.. (b) P (C 2 ) = 16 + 19 + 121 = 1336. (c) P (R 1 | C 2 ) = 131 //^636 = 136. (d) P (C 2 | R 2 ) = 11 //^93 = 13. We also know the answer is 13 directly from the problem statement: given row b is selected, each square in the row has equal probability.