Docsity

Problems Set 5 with Solutions - Probability with Engineering Application | ECE 313, Assignments of Statistics

Toggle sidebar
bg1
University of Illinois Spring 2007
ECE 413: Problem Set 5 solutions
1. Parity of a binomial random variable, revisited
(a) Since Yn+1 =Yn+Xn+1, the event Gn+1 is true if Ynand Xn+1 are both even, or both odd.
Thus, Gn+1 =Gn{Xn+1 = 1}c∪Gc
n{Xn+1 = 1}.
(b) The events comprising the union in part (a) are disjoint, and the outcome Xn+1 is drawn
independently of the first noutcomes. Thus,
an+1 =P(Gn{Xn+1 = 1}c) + P(Gc
n{Xn+1 = 1}) = an(1 −p) + (1 −an)p
or an+1 =p+ (1 −2p)an.
(c) The recursion in part (b) is a standard first order linear update equation, and the solution can
be found in many ways. (One could even guess the solution and check it by induction on n.) Here
is one way to find the solution. The recursion can be rewritten as an+1 −1
2= (1 −2p)(an−1
2).
Along with the inital condition a0−1
2=1
2, we find that an−1
2=(1−2p)n
2, or that an=1+(1−2p)n
2.
2. Ternary channel
(a) P(sjreceived) = P3
i=1 P(sjreceived |sisent) ·P(sisent).Since P(sisent) = 1/3 for all i, the
required probabilities above are found to be
s1s2s3
P(sjreceived) 0.29 0.36 0.35
Now, we compute P(sisent |sjreceived). For example, P(s1sent |s1received) = P(s1received|s1sent)·P(s1sent)
P(s1received) =
0.8·1/3
0.29 = 0.9195.In this fashion, we can form a table similar to the one given in the problem, but
consisting of the inverse conditional probabilities P(sisent |sjreceived):
Receive, j
s1s2s3
s10.920 0.093 0.095
Send, i s20.057 0.8333 0.048
s30.023 0.074 0.857
3. Randomly selected die
Let Eibe the event that the die with ired faces is drawn from the bag, for i= 1,2, or 3. Let Rj
denote the event that red comes up on the jth role of the die.
(a) P(R1) = P(R1|E1)P(E1) + P(R1|E2)P(E2) + P(R1|E3)P(E3) = 1
6
1
3+2
6
1
3+3
6
1
3=1
3
(b) We need to find P(R2|R1).
First, P(R1R2) = P(R1R2|E1)P(E1) + P(R1R2|E2)P(E2) + P(R1R2|E3)P(E3) = (1
6)21
3+ ( 2
6)21
3+
(3
6)21
3=7
54 .
Therefore, P(R2|R1) = P(R1R2)
P(R1)=7
18 .(Note: we have essentially used Bayes’ formula.)
(c) We need to find P(E3|R1R2R3).
Now P(E3R1R2R3) = P(E3)P(R1R2R3|E3) = 1
3(3
6)3=1
24 , and
P(R1R2R3) = P(R1R2R3|E1)P(E1) + P(R1R2R3|E2)P(E2) + P(R1R2R3|E3)P(E3)=(1
6)31
3+
1
pf3

Partial preview of the text

Download Problems Set 5 with Solutions - Probability with Engineering Application | ECE 313 and more Assignments Statistics in PDF only on Docsity!

University of Illinois Spring 2007 ECE 413: Problem Set 5 solutions

  1. Parity of a binomial random variable, revisited (a) Since Yn+1 = Yn + Xn+1, the event Gn+1 is true if Yn and Xn+1 are both even, or both odd. Thus, Gn+1 = Gn{Xn+1 = 1}c^ ∪ Gcn{Xn+1 = 1}. (b) The events comprising the union in part (a) are disjoint, and the outcome Xn+1 is drawn independently of the first n outcomes. Thus,

an+1 = P (Gn{Xn+1 = 1}c) + P (Gcn{Xn+1 = 1}) = an(1 − p) + (1 − an)p

or an+1 = p + (1 − 2 p)an. (c) The recursion in part (b) is a standard first order linear update equation, and the solution can be found in many ways. (One could even guess the solution and check it by induction on n.) Here is one way to find the solution. The recursion can be rewritten as an+1 − 12 = (1 − 2 p)(an − 12 ).

Along with the inital condition a 0 − 12 = 12 , we find that an − 12 = (1−^2 p)

n 2 , or that^ an^ =^

1+(1− 2 p)n

  1. Ternary channel (a) P (sj received) =

i=1 P^ (sj^ received^ |^ si^ sent)^ ·^ P^ (si^ sent).^ Since^ P^ (si^ sent) = 1/3 for all^ i, the required probabilities above are found to be

s 1 s 2 s 3 P (sj received) 0. 29 0. 36 0. 35

Now, we compute P (si sent | sj received). For example, P (s 1 sent | s 1 received) = P^ (s^1 received P (s 1 | sreceived)^1 sent)·P (s^1 sent)=

  1. 8 · 1 / 3
  2. 29 = 0.^9195.^ In this fashion, we can form a table similar to the one given in the problem, but consisting of the inverse conditional probabilities P (sisent | sj received):

Receive, j s 1 s 2 s 3 s 1 0. 920 0. 093 0. 095 Send, i s 2 0. 057 0. 8333 0. 048 s 3 0. 023 0. 074 0. 857

  1. Randomly selected die Let Ei be the event that the die with i red faces is drawn from the bag, for i = 1,2, or 3. Let Rj denote the event that red comes up on the jth role of the die. (a) P (R 1 ) = P (R 1 |E 1 )P (E 1 ) + P (R 1 |E 2 )P (E 2 ) + P (R 1 |E 3 )P (E 3 ) = 1613 + 2613 + 3613 = (^13) (b) We need to find P (R 2 |R 1 ). First, P (R 1 R 2 ) = P (R 1 R 2 |E 1 )P (E 1 ) + P (R 1 R 2 |E 2 )P (E 2 ) + P (R 1 R 2 |E 3 )P (E 3 ) = ( 16 )2 1 3 + ( 26 )2 1 3 + ( 36 )2 1 3 = 547.

Therefore, P (R 2 |R 1 ) = P^ P(R (R^1 R 1 )^2 )= 187. (Note: we have essentially used Bayes’ formula.)

(c) We need to find P (E 3 |R 1 R 2 R 3 ). Now P (E 3 R 1 R 2 R 3 ) = P (E 3 )P (R 1 R 2 R 3 |E 3 ) = 13 ( 36 )^3 = 241 , and P (R 1 R 2 R 3 ) = P (R 1 R 2 R 3 |E 1 )P (E 1 ) + P (R 1 R 2 R 3 |E 2 )P (E 2 ) + P (R 1 R 2 R 3 |E 3 )P (E 3 ) = ( 16 )3 1 3 +

Therefore, P (E 3 |R 1 R 2 R 3 ) = P^ P(E (R^3 R 1 R^1 R 2 R^2 R 3 )^3 )= 1824 = 34. Note: we have essentially used Bayes formula.

  1. Paging a mobile station, with possible misses (a) No matter which cell the MS is located in, the first time the MS is paged in the cell in which it is located, it will be missed with probability 0.1. Given that the MS is missed in the first round, it will be missed again in the second round with conditional probability 0.1. So P (G 8 ) = (0.1)(0.1) = 0.01.

(b) Now P (F 2 |G 1 ) = P P^ (F (G^2 G 1 )^1 ). By the law of total probability with the partition consisting of events E 1 , E 2 , E 3 , and E 4 ,

P (G 1 ) = P (G 1 |E 1 )0.4 + P (G 1 |E 2 )0.3 + P (G 1 |E 3 )0.2 + P (G 1 |E 4 )0. 1 = (0.1)(0.4) + (1)(0.3) + (1)(0.2) + (1)(0.1) = 0. 64.

and

P (F 2 G 1 ) = P (F 2 G 1 |E 1 )0.4 + P (F 2 G 1 |E 2 )0.3 + P (F 2 G 1 |E 3 )0.2 + P (F 2 G 1 |E 4 )0. 1 = (0)(0.4) + (0.9)(0.3) + (0)(0.2) + (0)(0.1) = 0. 27.

Thus, P (F 2 |G 1 ) = 00 ..^2764 ≈ 0. 429

(c) We are seeking P (F 4 |G 3 ) = P P^ (F (G^4 G 3 )^3 ), where

P (G 3 ) = P (G 3 |E 1 )0.4 + P (G 3 |E 2 )0.3 + P (G 3 |E 3 )0.2 + P (G 3 |E 4 )0. 1 = (0.1)(0.4) + (0.1)(0.3) + (0.1)(0.2) + (1)(0.1) = 0. 19.

and

P (F 4 G 3 ) = P (F 4 G 3 |E 1 )0.4 + P (F 4 G 3 |E 2 )0.3 + P (F 4 G 3 |E 3 )0.2 + P (F 4 G 3 |E 4 )0. 1 = (0)(0.4) + (0)(0.3) + (0)(0.2) + (0.9)(0.1) = 0. 09.

Thus, P (F 4 |G 3 ) = 00 ..^0919 ≈ 0. 474.

(d) We are seeking P (F 8 |G 7 ) = P^ P(F (^8 GG 7 )^7 ), where

P (G 7 ) = P (G 7 |E 1 )0.4 + P (G 7 |E 2 )0.3 + P (G 7 |E 3 )0.2 + P (G 7 |E 4 )0. 1 = (0.01)(0.4) + (0.01)(0.3) + (0.01)(0.2) + (0.1)(0.1) = 0. 019.

and

P (F 8 G 7 ) = P (F 8 G 7 |E 1 )0.4 + P (F 8 G 7 |E 2 )0.3 + P (F 8 G 7 |E 3 )0.2 + P (F 8 G 7 |E 4 )0. 1 = (0)(0.4) + (0)(0.3) + (0)(0.2) + (0.09)(0.1) = 0. 009.

Thus, P (F 8 |G 7 ) = 00 ..^009019 ≈ 0. 474. Note: an explanation for why the answer to (d) is the same as the answer to (c) is that if the MS is not found after the first round of four pages, the conditional distribution of which cell the MS is located in is the same as the original distribution.