



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Three problems related to conditional probability. The first problem is about a test for skin cancer, the second problem is about choosing a slot machine, and the third problem is about two treatments for kidney stones. The problems require the use of Bayes' theorem. solutions to all three problems with step-by-step explanations.
Typology: Study notes
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Solution: Let Cancer denote the event that the person has cancer and let Positive de- note the event that the person’s test result is positive. We can summarize the information given in the problem as
We are trying to find P (Cancer | Positive). Using Bayes’ theorem, we have
P (Cancer | Positive) = P (Positive | Cancer)P (Cancer) P (Positive)
P (Positive)
We can find the denominator above as follows:
P (Positive) = P (Positive ∩ Cancer) + P (Positive ∩ CancerC^ ) = P (Positive | Cancer)P (Cancer) + P (Positive | CancerC^ )P (CancerC^ ) = 0. 9 · 0 .01 + 0. 1 · 0. 99
So the final answer is (^0). 9 · 00 .01+0.^9 ·^0.^01. 1 · 0. 99 ≈ 0 .0833. In other words, even if someone tests positive, there is still less than a 10% chance they have cancer. This is because the initial probability of having cancer is so low.
Solution: This is very similar to the previous problem. Let S be the event that you chose the first slot machine, i.e. the one that pays out 10% of the time (so SC^ is the event that you chose the second slot machine). Let J be the event that you got a jackpot. The information given in the problem is
We want to find P (SC^ | JC^ ) and P (SC^ | J). We can find both by applying Bayes’ theorem, just as in the previous problem (though this time we won’t explain every detail of the calculation):
Similarly,
Comment: If you only see these final answers, it is tempting to believe that treatment B is better. However, when you look at the table of success probabilities above, it seems that treatment A is better for both small stones and large stones! What is going on? The answer is that despite that fact that treatment A is apparently more successful, treatment A is used more frequently for patients with large stones. But both treatments A and B are less likely to succeed on patients with large stones. Here’s one way to think about this: treatment A is most often used on patients for which both methods have trouble, whereas treatment B is most often used on patients for which both methods work well, creating the illusion that treatment B is better overall. The lesson here is not that treatment A is better—although based on the evidence given above, that seems likely—but rather that you should be careful when reasoning about probabilities: they don’t always indicate what you intuitively think they should.
Solution: Let’s assume for a moment that P (A | Bc) ≥ P (A) and see what that implies. As we’ve seen in class, we can always write
P (A) = P (A ∩ B) + P (A ∩ Bc).
By definition of conditional probability, we also have that
P (A ∩ B) = P (A | B)P (B) P (A ∩ Bc) = P (A | Bc)P (Bc).
Therefore P (A) = P (A | B)P (B) + P (A | Bc)P (Bc). But since we have assumed that P (A | B) > P (A) and P (A | Bc) ≥ P (A), this means that P (A) > P (A)P (B) + P (A)P (Bc) = P (A)(P (B) + P (Bc)). By the laws of probability, P (B) + P (Bc) = 1. Therefore the above equation implies that
P (A) > P (A).
Since this conlcusion is absurd, our original assumption must have been false. So we can conclude that P (A | Bc) < P (A).
Solution: Let A be the event that the first roll is a one and B the event that both rolls are one. The question is asking for P (B | A). By definition,
The intersection of A and B is just B—if both rolls are one then the first roll must be one. The probability that both rolls are one is
P (B) =
and the probability that the first roll is one is
P (A) =
Therefore the answer is 1 / 62 1 / 6
(b) If you are told that at least one of the rolls is a one, what is the chance that you will win?
Solution: Let C be the event that at least one roll is a one and let B be as in the solution to part (a). The question is asking for P (B | C). Once again by definition of conditional probability, P (B | C) =
As before, B ∩ C = B since if both rolls are one, then at least one roll is one. So we just need to calculate P (C). To do this, let’s define our sample space Ω to be the set of all pairs of numbers between one and six. Since the dice are fair, every outcome in Ω is equally likely. And |Ω| = 36. To find |C|, observe that the number of pairs of numbers that don’t contain a one is 5 × 5 = 25. So |C| = |Ω| − 25 = 11. Therefore
and so P (B | C) =