Docsity

Probability and Statistics: Exam I for ECE 313 at University of Illinois Spring 2009, Lab Reports of Statistics

Toggle sidebar
bg1
University of Illinois Spring 2009
ECE 313: Hour Exam I
Monday March 2, 2009
7:00 p.m. — 8:00 p.m.
100 Noyes Laboratory
1. (a) The hat contains balls {1,2},{1,3},{1,4},{2,3},{2,4},{3,4}with equal probability
1
6. Hence, P(3 ball is in the hat) = 1
2.
(b) From the answer to part (a), we can read off the values of the pmf:
pX(3) = 1
6,pX(4) = 1
6,pX(5) = 2
6=1
3,pX(6) = 1
6,pX(3) = 1
6, 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 1
6. Hence, by the law of total probability,
P(ball drawn has an odd number) =1
2+1+1
2+0+0+0×1
6=1
3.
2. (a) P(Fred wins game) = P{H, T T H, T T T T H, . . .}=P{H}+P{TTH}+P{TTTTH}+
· · · =1
2+1
221
2+1
241
2+· · · =1
21 + 1
4+1
42
+· · · =1
2×1
1−1/4=4
2×3=2
3.
Similarly, P(Wilma wins first game) = 1
3.
Alternatively, with Fand Wdenoting the events that Fred and Wilma respectively win
the first game, and Hthe 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=Hcoccurs 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 ×1
2+P(W)×1
2=1
2+P(W)
2,
P(W) = P(W|H)P(H) + P(W|T)P(T)=0×1
2+P(F)×1
2=P(F)
2.
It follows that P(F) = 1
2+1
4×P(F) and hence P(F) = 2
3and P(W) = 1
3.
(b) Let Fand Wdenote the events that Fred and Wilma respectively win a game, and let
FFW 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 1
3chance of winning the next game,
we proceed to calculate systematically as follows:
Result Value of XProbability Result Value of XProbability
FFF −32
3×1
3×1
3=2
27 WWF +1 1
3×1
3×2
3=2
27
FFW −12
3×1
3×2
3=4
27 WFW +1 1
3×2
3×2
3=4
27
FWF −12
3×2
3×2
3=8
27 FWW +1 2
3×2
3×1
3=4
27
WFF −11
3×2
3×1
3=2
27 WWW +3 1
3×1
3×1
3=1
27
pf2

Partial preview of the text

Download Probability and Statistics: Exam I for ECE 313 at University of Illinois Spring 2009 and more Lab Reports Statistics in PDF only on Docsity!

University of Illinois Spring 2009

ECE 313: Hour Exam I

Monday March 2, 2009

7:00 p.m. — 8:00 p.m.

100 Noyes Laboratory

  1. (a) The hat contains balls { 1 , 2 }, { 1 , 3 }, { 1 , 4 }, { 2 , 3 }, { 2 , 4 }, { 3 , 4 } with equal probability 1
    1. Hence,^ P^ (3 ball is in the hat) =^

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) =

[

]

× 16 =^13.

  1. (a) P (Fred wins game) = P {H, T T H, T T T T H,.. .} = P {H} + P {T T H} + P {T T T T H} + · · · =^1 2

+ · · · =^1

[

1 +^1

]

=^1

× 1

2 × 3

=^2

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.

  1. (a) Let C = A ∪ B denote the event that at least one of the events A and B occurs. Let D = Ac^ ∪ Bc^ denote the event that at least one of A and B does not occur. We are given that P (C) = P (D) = 0.8. Note that C ∪ D = Ω has probability 1 while CD = (A ∪ B)(ac^ ∪ Bc) = ABc^ ∪ AcB is precisely the event whose probability we want. Thus, 1 = P (C ∪D) = P (C)+P (D)−P (CD) ⇒ P (CD) = P (ABc^ ∪AcB) = 0.8+0. 8 −1 = 0. 6

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.

  1. (a) The probability that a particular square is selected is just the probability of picking that row ( 13 ) times the conditional probability of picking that square among the 2, 3, or 4 squares on the chosen row. Hence, we get

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.