Docsity

Probability Theory: Conditional Probability and Independent Events, Assignments of Probability and Statistics

Toggle sidebar
bg1
Chapter 2 Problems
1. Let W={windy}and H={hit}. We know:
•Pr(H|W) = 0.4;
•Pr(H|Wc) = 0.7;
•Pr(W) = 0.3.
(a) Pr(W∩H) = Pr(H|W)Pr(W) = 0.4 ×0.3 =0.12.
(b) Write Pr(H) = Pr(H|W)Pr(W) + Pr(H|Wc)Pr(Wc)to find that
Pr(H)=(0.4 ×0.3) + (0.7 ×0.7) = 0.61.
(c) Let Hj={hit on jth shot}, were j=1, 2. We want
Pr(H1∩Hc
2) + Pr(Hc
1∩H2).
If we assume that the behavior of the wind, and the hitting of the
shots are all independent, from shot to shot, then the preceding is
equal to Pr(H1)Pr(Hc
2) + Pr(Hc
1)Pr(H2)=(0.61 ×0.39) + (0.39 ×
0.61) = 0.4758.
(d) We want Pr(Wc|Hc) = 1−Pr(W|Hc). First recall that Pr(Hc) =
1−0.61 =0.39. Therefore,
Pr(W|Hc) = Pr(Hc|W)×Pr(W)
Pr(Hc)=0.6 ×0.3
0.39 ≈0.4615385.
2. (a) By definition, Pr(A|B) = Pr(A∩B)/Pr(B). If Bis a subset of A,
then A∩B=B, and hence Pr(A|B) = Pr(B)/Pr(B) = 1.
(b) Similar to (a), but now A∩B=A.
4. (a) Since E∩E=E, it follows that Pr(E) = {Pr(E)}2. The equation x=x2
has only two solutions: One of them is x=0; if x6=0, then we can
divide that equation by xto find that x=1.
(b) If Pr(A), Pr(B)>0, then Pr(A|B) = Pr(A∩B)/Pr(B) = 06=Pr(A).
Therefore, Aand Bare not independent. If one of them, say A, has
zero probability, then Pr(A∩B) = Pr(A)Pr(B), so they are indepen-
dent [but this is uninteresting, since Ais an “impossible” event in
any event].
(c) If Aand Bare independent, then Pr(Ac|B) = 1−Pr(A|B) = 1−
Pr(A) = Pr(Ac), and hence Acand Bare also independent. An
application of this very fact itself shows that Acand Bcare also in-
dependent [change labels].
1
pf3
pf4
pf5

Partial preview of the text

Download Probability Theory: Conditional Probability and Independent Events and more Assignments Probability and Statistics in PDF only on Docsity!

Chapter 2 Problems

  1. Let W = {windy} and H = {hit}. We know:
    • Pr(H | W) = 0.4;
    • Pr(H | Wc) = 0.7;
    • Pr(W) = 0.3.

(a) Pr(W ∩ H) = Pr(H | W) Pr(W) = 0.4 × 0.3 = 0.12. (b) Write Pr(H) = Pr(H | W) Pr(W) + Pr(H | Wc) Pr(Wc) to find that

Pr(H) = (0.4 × 0.3) + (0.7 × 0.7) = 0.61.

(c) Let Hj = {hit on jth shot}, were j = 1, 2. We want

Pr(H 1 ∩ Hc 2 ) + Pr(Hc 1 ∩ H 2 ).

If we assume that the behavior of the wind, and the hitting of the shots are all independent, from shot to shot, then the preceding is equal to Pr(H 1 ) Pr(Hc 2 ) + Pr(Hc 1 ) Pr(H 2 ) = (0.61 × 0.39) + (0.39 × 0.61) = 0.4758. (d) We want Pr(Wc^ | Hc) = 1 − Pr(W | Hc). First recall that Pr(Hc) = 1 − 0.61 = 0.39. Therefore,

Pr(W | Hc) = Pr(Hc^ | W) × Pr(W) Pr(Hc)

= 0.6 × 0.

  1. (a) By definition, Pr(A | B) = Pr(A ∩ B)/ Pr(B). If B is a subset of A, then A ∩ B = B, and hence Pr(A | B) = Pr(B)/ Pr(B) = 1. (b) Similar to (a), but now A ∩ B = A.
  2. (a) Since E∩E = E, it follows that Pr(E) = {Pr(E)}^2. The equation x = x^2 has only two solutions: One of them is x = 0 ; if x 6 = 0 , then we can divide that equation by x to find that x = 1. (b) If Pr(A), Pr(B) > 0 , then Pr(A | B) = Pr(A ∩ B)/ Pr(B) = 0 6 = Pr(A). Therefore, A and B are not independent. If one of them, say A, has zero probability, then Pr(A ∩ B) = Pr(A) Pr(B), so they are indepen- dent [but this is uninteresting, since A is an “impossible” event in any event]. (c) If A and B are independent, then Pr(Ac^ | B) = 1 − Pr(A | B) = 1 − Pr(A) = Pr(Ac), and hence Ac^ and B are also independent. An application of this very fact itself shows that Ac^ and Bc^ are also in- dependent [change labels].
  1. Let Gj denote the even that the jth child is a girl. We observe that A ∩ B denotes the event that this family has exactly one girl and three boys. Therefore,

Pr(A ∩ B) = Pr(G 1 ∩ Gc 2 ∩ Gc 3 ∩ Gc 4 ) + Pr(Gc 1 ∩ G 2 ∩ Gc 3 ∩ Gc 4 )

  • Pr(Gc 1 ∩ Gc 2 ∩ G 3 ∩ Gc 4 ) + Pr(Gc 1 ∩ Gc 2 ∩ Gc 3 ∩ G 4 ) = p( 1 − p)^3 + ( 1 − p)p( 1 − p)^2 + ( 1 − p)^2 p( 1 − p) + ( 1 − p)^3 p = 4 p( 1 − p)^3.
  1. Let Fj denote the event that these parents have j children; we know that Pr(F 1 ) = Pr(F 2 ) = Pr(F 3 ) = 1 / 3. If G = {at least one girl}, then

Pr(G | F 1 ) =

Pr(G | F 2 ) = 1 − Pr(Gc^ | F 2 ) =

Pr(G | F 3 ) = 1 − Pr(Gc^ | F 3 ) =

Therefore,

Pr(G) = Pr(G | F 1 ) Pr(F 1 ) + Pr(G | F 2 ) Pr(F 2 ) + Pr(G | F 3 ) Pr(F 3 )

×

×

×

We use the preceding to find

Pr(F 1 | G) = Pr(G | F 1 ) Pr(F 1 ) Pr(G)

×

Pr(F 2 | G) = Pr(G | F 2 ) Pr(F 2 ) Pr(G)

Pr(F 3 | G) = Pr(G | F 3 ) Pr(F 3 ) Pr(G)

If N = {no older girl}, then

Pr(N | F 1 ∩ G) = 1. (1)

In order to compute Pr(N | F 2 ∩ G) let b 1 g 2 define the event that the first child is a boy, the second is a girl, and so on. Then,

Pr(N | F 2 ∩ G) = Pr(N ∩ b 1 g 2 | F 2 ∩ G) + Pr(N ∩ g 1 b 2 | F 2 ∩ G)

  • Pr(N ∩ g 1 g 2 | F 2 ∩ G).

This, (1), and (2) together imply the following:

Pr(N | G) =

∑^3

j= 1

Pr(N ∩ Fj | G) =

∑^3

j= 1

Pr(N | Fj ∩ G) Pr(Fj | G)

1 ×

6 ×^

42 ×^

  1. Let S = {score =2} and T = {first toss was tails}. Then, Pr(S | T ) = 1 / 6. If we toss a coin five times, independently, then the chances are 5 × ( 1 / 2 )^5 that we toss exactly one head and four tails. Therefore, Pr(S | T c) = 5 × ( 1 / 2 )^5 , and hence

Pr(S) = Pr(S | T ) Pr(T ) + Pr(S | T c) Pr(T c) =

Consequently,

Pr(T | S) = Pr(S | T ) Pr(T^ ) Pr(S)

× 1 /^2

  1. Let D denote the event that the document is in box number 1 ; also define S denote the event that a search of box 1 discovers the document. We know that Pr(S | D) = p 1. (a) Since

Pr(S) = Pr(S | D) Pr(D) + Pr(S | Dc) Pr(Dc) =

p 1 × 1 3

  • 0 = p^1 3

it follows that

Pr(D | Sc) = Pr(Sc^ | D) Pr(D) Pr(Sc) = ( 1 − p 1 ) ×

1 − p 31

1 − p 1 3 − p 1

(b) Let F denote the event that box one is searched twice and the docu- ment has not been found. By independence, Pr(F | D) = ( 1 − p 1 )^2 , Pr(F | Dc) = 1 , and Pr(F) = Pr(F | D) Pr(D) + Pr(F | Dc) Pr(Dc)

=

( 1 − p 1 )^2 ×

3 =^

3 − 2 p 1 + p^21

Therefore,

Pr(D | F) = Pr(F | D) Pr(D) Pr(F)

( 1 − p 1 )^2 3 − 2 p 1 + p^22

(c) Let T denote the event that all three boxes were searched one and the document was not found. Let Dj denote the event that the doc- ument is in box j [D and D 1 denote the same event]. Then,

Pr(T ) = Pr(T | D 1 ) Pr(D 1 ) + Pr(T | D 2 ) Pr(D 2 ) + Pr(T | D 3 ) Pr(D 3 )

1 − p 1 3

1 − p 2 3

1 − p 3 3 = 1 − p¯,

where p¯ = (p 1 + p 2 + p 3 )/ 3 is the average the pj’s. Therefore,

Pr(D | T ) = Pr(T | D) Pr(D) Pr(T ) = ( 1 − p 1 ) 1 /^3 1 − ¯p = 1 −^ p^1 3 − 3¯p