Docsity

probability and stochastic processes by yates, Study notes of Electronics

Toggle sidebar
bg1
Probability and Stochastic Processes:
A Friendly Introduction for Electrical and Computer Engineers
Roy D. Yates and David J. Goodman
Problem Solutions : Yates and Goodman,1.5.1 1.5.3 1.5.4 1.5.6 1.6.6 1.7.1 1.7.3 1.7.6 1.7.9
1.8.2 1.8.4 and 1.8.5
Problem 1.5.1
probability.
(a) Note that the probability a call is brief is
P[B] = P[H0B] + P[H1B]+ P[H2B] = 0.6.
The probability a brief call will have no handoffs is
P[H0|B] = P[H0B]
P[B]=0.4
0.6=2
3
(b) The probability of one handoff is P[H1] = P[H1B] + P[H1L] = 0.2. The probability that a call
with one handoff will be long is
P[L|H1] = P[H1L]
P[H1]=0.1
0.2=1
2
(c) The probability a call is long is P[L] = 1−P[B] = 0.4. The probability that a long call will
have one or more handoffs is
P[H1∪H2|L] = P[H1L∪H2L]
P[L]=P[H1L] + P[H2L]
P[L]=0.1+0.2
0.4=3
4
Problem 1.5.3
Since the 2 of clubs is an even numbered card,C2⊂Eso that P[C2E] = P[C2] = 1/3. Since P[E] =
2/3,
P[C2|E] = P[C2E]
P[E]=1/3
2/3=1/2
The probability that an even numbered card is picked given that the 2 is picked is
P[E|C2] = P[C2E]
P[C2]=1/3
1/3=1
Problem 1.5.4
Define Das the event that a pea plant has two dominant ygenes. To find the conditional proba-
bility of Dgiven the event Y, corresponding to a plant having yellow seeds, we look to evaluate
P[D|Y] = P[DY]
P[Y]
1
pf3
pf4
pf5

Partial preview of the text

Download probability and stochastic processes by yates and more Study notes Electronics in PDF only on Docsity!

Probability and Stochastic Processes:

A Friendly Introduction for Electrical and Computer Engineers

Roy D. Yates and David J. Goodman

Problem Solutions : Yates and Goodman,1.5.1 1.5.3 1.5.4 1.5.6 1.6.6 1.7.1 1.7.3 1.7.6 1.7. 1.8.2 1.8.4 and 1.8.

Problem 1.5. probability.

(a) Note that the probability a call is brief is

P [ B ] = P [ H 0 B ] + P [ H 1 B ] + P [ H 2 B ] = 0. 6.

The probability a brief call will have no handoffs is

P [ H 0 | B ] =

P [ H 0 B ]

P [ B ]

(b) The probability of one handoff is P [ H 1 ] = P [ H 1 B ] + P [ H 1 L ] = 0 .2. The probability that a call with one handoff will be long is

P [ L | H 1 ] =

P [ H 1 L ]

P [ H 1 ]

(c) The probability a call is long is P [ L ] = 1 − P [ B ] = 0 .4. The probability that a long call will have one or more handoffs is

P [ H 1 ∪ H 2 | L ] =

P [ H 1 L ∪ H 2 L ]

P [ L ]

P [ H 1 L ] + P [ H 2 L ]

P [ L ]

Problem 1.5. Since the 2 of clubs is an even numbered card, C 2 ⊂ E so that P [ C 2 E ] = P [ C 2 ] = 1 /3. Since P [ E ] = 2 /3,

P [ C 2 | E ] =

P [ C 2 E ]

P [ E ]

The probability that an even numbered card is picked given that the 2 is picked is

P [ E | C 2 ] =

P [ C 2 E ]

P [ C 2 ]

Problem 1.5. Define D as the event that a pea plant has two dominant y genes. To find the conditional proba- bility of D given the event Y , corresponding to a plant having yellow seeds, we look to evaluate

P [ D | Y ] =

P [ DY ]

P [ Y ]

Note that P [ DY ] is just the probability of the genotype yy. From Problem 1.4.3, we found that with respect to the color of the peas, the genotypes yy , yg , gy , and gg were all equally likely. This implies

P [ DY ] = P [ yy ] = 1 / 4 P [ Y ] = P [ yy , gy , yg ] = 3 / 4

Thus, the conditional probability can be expressed as

P [ D | Y ] =

P [ DY ]

P [ Y ]

Problem 1.5. The problem statement yields the obvious facts that P [ L ] = 0 .16 and P [ H ] = 0 .10. The words “10% of the ticks that had either Lyme disease or HGE carried both diseases” can be written as

P [ LH | L ∪ H ] = 0. 10

(a) Since LH ⊂ L ∪ H ,

P [ LH | L ∪ H ] =

P [ LH ∩ ( L ∪ H )]

P [ L ∪ H ]

P [ LH ]

P [ L ∪ H ]

Thus,

P [ LH ] = 0. 10 P [ L ∪ H ] = 0. 10 ( P [ L ] + P [ H ] − P [ LH ])

Since P [ L ] = 0 .16 and P [ H ] = 0 .10,

P [ LH ] =

(b) The conditional probability that a tick has Lyme disease given that it has HGE is

P [ L | H ] =

P [ LH ]

P [ H ]

Problem 1.6. There are 16 distinct equally likely outcomes for the second generation of pea plants based on a first generation of { rwyg , rwgy , wryg , wrgy }. They are listed below

rryy rryg rrgy rrgg rwyy rwyg rwgy rwgg wryy wryg wrgy wrgg wwyy wwyg wwgy wwgg

A plant has yellow seeds, that is event Y occurs, if a plant has at least one dominant y gene. Except for the four outcomes with a pair of recessive g genes, the remaining 12 outcomes have yellow seeds. From the above, we see that

P [ Y ] = 12 / 16 = 3 / 4

Problem 1.7. Let Gi and Bi denote events indicating whether free throw i was good ( Gi ) or bad ( Bi ). The tree for the free throw experiment is

1 / 2 ^ G^1

      1 / (^2) B 1

^3 /^4 ^ G^2       1 / 4^ B 2

^1 /^4 ^ G^2       3 / 4^ B 2

  • G 1 G 2 3 / 8
  • G 1 B 2 1 / 8
  • B 1 G 2 1 / 8
  • B 1 B 2 3 / 8

The game goes into overtime if exactly one free throw is made. This event has probability

P [ O ] = P [ G 1 B 2 ] + P [ B 1 G 2 ] = 1 / 8 + 1 / 8 = 1 / 4

Problem 1.7. i th photodetector is acceptable or defective.

^3 /^5 ^ A^1       2 / 5^ D 1

^4 /^5 ^ A 2 1 / 5^ D^2

   ^2 /^5 A 2   D 3 / (^52)

  • A 1 A 2 9 / 25
  • A 1 D 2 6 / 25
  • D 1 A 2 4 / 25
  • D 1 D 2 6 / 25

We wish to find the probability P [ E 1 ] that exactly one photodetector is acceptable. From the tree, we have

P [ E 1 ] = P [ A 1 D 2 ] + P [ D 1 A 2 ] = 6 / 25 + 4 / 25 = 2 / 5

Problem 1.7.

(a) We wish to know what the probability that we find no good photodiodes in n pairs of diodes. Testing each pair of diodes is an independent trial such that with probability p , both diodes of a pair are bad. From Problem 1.7.6, we can easily calculate p.

p = P [both diodes are defective] = P [ D 1 D 2 ] = 6 / 25

(b) The probability of Zn , the probability of zero acceptable diodes out of n pairs of diodes is pn because on each test of a pair of diodes, both must be defective.

P [ Zn ] =

n

i = 1

p = pn^ =

) n

(c) Another way to phrase this question is to ask how many pairs must we test until P [ Zn ] ≤ 0 .01. Since P [ Zn ] = ( 6 / 25 ) n^ , we require

n ≥

ln 0. 01 ln 6/ 25

Hence, n = 4 pairs must be tested.

Problem 1.8. Since each letter can take on any one of the 4 possible letters in the alphabet, the number of 3 letter words that can be formed is 4^3 = 64. If we allow each letter to appear only once then we have 4 choices for the first letter and 3 choices for the second and two choices for the third letter. Therefore, there are a total of 4 · 3 · 2 = 24 possible codes.

Problem 1.8. In this case, the designated hitter must be chosen from the 15 field players. We can break down the experiment of choosing a starting lineup into two sub-experiments. The first is to choose 1 of the 10 pitchers, the second is to choose the remaining 9 batting positions out of the 15 field players. Here we are concerned about the ordering of our selections because a new ordering specifies a new starting lineup. So the total number of starting lineups when the DH is selected among the field players is ( 10 1

Where ( 15 ) 9 is read as 15 ”permute” 9 and is equal to

( 15 ) 9 = 15!/9! = 1 , 816 , 214 , 400

This gives a total of N 1 = 18 , 162 , 144 , 000 different lineups

Problem 1.8. When the DH can be chosen among all the players, including the pitchers, there are two cases:

  1. The DH is a field player. In this case, the number of possible lineups, N 1 , is given in Problem 1.8.4. In this case, the designated hitter must be chosen from the 15 field players. We can break down the experiment of choosing a starting lineup into two sub-experiments. The first is to choose 1 of the 10 pitchers, the second is to choose the remaining 9 batting positions out of the 15 field players. Here we are concerned about the ordering of our selections because a new ordering specifies a new starting lineup. So the total number of starting lineups when the DH is selected among the field players is ( 10 1

where ( 15 ) 9 is

( 15 ) 9 = 15!/9! = 1 , 816 , 214 , 400

This gives a total of N 1 = 18 , 162 , 144 , 000 different lineups