Q4. In country A, 60% of tourists who traveled aboard visited Africa, 25% visited Asia, and the rest visited Europe. Of those who visited Africa, 25% were infected with cholera. Of those who visited Asia, 30% were infected with cholera. Of those who visited Europe, 5% were infected with cholera. If a tourist came back from overseas was diagnosed with cholera, what is the chance that he visited Africa?
Solution
Event A:visited Africa
Event B:diagnosed with cholera
To compute P(A|B)
P(A)60.0000%
P(A')40.0000%
P(B|A)25.0000%
P(B|A')20.6250%
P(B)23.2500%
P(A|B)64.5161%
唔係好明P(B|A')點計到20.6250%