2.3.3 problem 43
Let Ci be the event that
Door i contains the car.
Let Di be the event that
Monty opens Door i.
Let Oi be the event that
Door i contains the
computer, and let Gi be
the event that Door i
contains the goat.
-
(a)
-
P(C3|D2,G2)=P(C3)P(D2,G2|C3)P(D2,G2)=P(C3)P(D2,G2|C3)P(C3)P(D2,G2∣∣C3)+P(Cc3)P(D2,G2∣∣Cc3)=13∗1213∗12+23P(G2∣∣Cc3)P(D2∣∣G2,Cc3)=13∗1213∗12+23∗14=1616+16=12.
-
(b)
-
P(C3|D2,O2)=P(C3)P(D2,O2|C3)P(C3)P(D2,O2∣∣C3)+P(Cc3)P(D2,O2∣∣Cc3)=P(C3)P(D2,O2|C3)P(C3)P(D2,O2∣∣C3)+P(Cc3)P(D2,O2∣∣Cc3)=13P(O2∣∣C3)P(D2∣∣O2,C3)13P(O2∣∣C3)P(D2∣∣O2,C3)+P(C3c)P(D2,O2∣∣Cc3)=13∗12∗p13∗12∗p+23∗14∗q=16p16p+16q=12p.