I need help with this Bayes' theorem problem

B45

New member
Joined
Dec 11, 2016
Messages
2
attachment.php


I'm sorry for the disorientated photo, I'm not sure how to fix it. The answers that are circled are correct. I forget how I got them, as I did them a while ago an I'm reviewing for a test. I know you must use Bayes' theorem. I also want to know how to find all of the probabilities in the tree. Especially, I want to know what "Pr[A ∩ B] = 1/7 means and what it has to do with the problem.

I'd really appreciate any help, thanks!
 

Attachments

  • IMG_0731.jpg
    IMG_0731.jpg
    488.4 KB · Views: 8
B45;398652 I'm sorry for the disorientated photo said:
A ∩ B] = 1/7 means and what it has to do with the problem.![/FONT]

Don't waste time apologizing. If you want help, write the question out in readable form.
 
...or I can spend the less than 30 seconds it takes rotate the image in MS Paint myself. That's always an option.

As for the actual problem itself, since you say you're uncertain of how you got these answers, it's probably best to start at the very beginning. I think a good first step would be to fill in the missing information in the tree diagram. You're given that the probability of event A happening is 1/3. So, what is the probability of event A not happening? Proceeding along the top branch of thr tree, the next piece of information tells you that \(\displaystyle P(A\cap B)=\dfrac{1}{7}\). In words, this means "the probability of A and B is 1/7." So what does that make the probability of B happening if A happens? What, then, is the probability of B not happening, given that A does? You're also given the probability of B happening if A doesn't. Is that probability the same as the probability of B happening if A does happen? What can you infer from that? What must the probability be of B not happening given A doesn't happen?

Now you can begin solving the problems. The first question asks you to compute \(\displaystyle P(B \vert A)\). In words, that means "the probability of B, given A." Based on the work you did above, what do you think the answer to this question is? Does it match one of the multiple choice options? If not, you'll need to go back to the tree diagram and revisit your answers there. The second question asks you to computer \(\displaystyle P(A \vert B)\). In words, that means "the probability of A, given B." This is trickier, and you can't just copy a particular answer from the diagram. Instead, here, you'll want to use Bayes' Theorem. Bayes' Theorem says that:

\(\displaystyle P\left(A|B\right)=\dfrac{P\left(B|A\right)\cdot P\left(A\right)}{P\left(B|A\right)\cdot P\left(A\right)+P\left(B|\neg A\right)\cdot P\left(\neg A\right)}\)

In this case, \(\displaystyle \neg A\) symbol means "not A" or "the probability of A not happening." You should know all of the values, so what happens when you plug them in and simplify? Do you get one of the multiple choice answers? If not, double check your math or revisit the tree diagram to ensure you have the correct values.
 
...or I can spend the less than 30 seconds it takes rotate the image in MS Paint myself. That's always an option.

As for the actual problem itself, since you say you're uncertain of how you got these answers, it's probably best to start at the very beginning. I think a good first step would be to fill in the missing information in the tree diagram. You're given that the probability of event A happening is 1/3. So, what is the probability of event A not happening? Proceeding along the top branch of thr tree, the next piece of information tells you that \(\displaystyle P(A\cap B)=\dfrac{1}{7}\). In words, this means "the probability of A and B is 1/7." So what does that make the probability of B happening if A happens? What, then, is the probability of B not happening, given that A does? You're also given the probability of B happening if A doesn't. Is that probability the same as the probability of B happening if A does happen? What can you infer from that? What must the probability be of B not happening given A doesn't happen?

Now you can begin solving the problems. The first question asks you to compute \(\displaystyle P(B \vert A)\). In words, that means "the probability of B, given A." Based on the work you did above, what do you think the answer to this question is? Does it match one of the multiple choice options? If not, you'll need to go back to the tree diagram and revisit your answers there. The second question asks you to computer \(\displaystyle P(A \vert B)\). In words, that means "the probability of A, given B." This is trickier, and you can't just copy a particular answer from the diagram. Instead, here, you'll want to use Bayes' Theorem. Bayes' Theorem says that:

\(\displaystyle P\left(A|B\right)=\dfrac{P\left(B|A\right)\cdot P\left(A\right)}{P\left(B|A\right)\cdot P\left(A\right)+P\left(B|\neg A\right)\cdot P\left(\neg A\right)}\)

In this case, \(\displaystyle \neg A\) symbol means "not A" or "the probability of A not happening." You should know all of the values, so what happens when you plug them in and simplify? Do you get one of the multiple choice answers? If not, double check your math or revisit the tree diagram to ensure you have the correct values.
I was able to fill in all of the missing information and find the answer using the formula you gave me :) I finished most of it before I saw this, but I was stuck on how to find Pr. I appreciate you giving me the formula on how to find it since my professor didn't give me that information! Thanks so much for the help.
 
I was able to fill in all of the missing information and find the answer using the formula you gave me :) I finished most of it before I saw this, but I was stuck on how to find Pr. I appreciate you giving me the formula on how to find it since my professor didn't give me that information! Thanks so much for the help.


It sounds to me as if you're used to seeing what's sometimes called the "Simple form" of Bayes' Theorem, namely:

\(\displaystyle P\left(A|B\right)=\dfrac{P\left(B|A\right)\cdot P\left(A\right)}{P\left(B\right)}\)

This isn't "wrong," as such, but it's not fully applicable in all cases. If the events A and B are independent, then the simple form works perfectly. If, as in the case of this particular homework exercise, B is a dependent event (i.e. the probability of B happening is affected by whether or not A happened), then you'll have to calculate the probability of B happening. Because the probability of A happening and the probability of A not happening must sum to 1, multiplying each of these by their respective probabilities of B happening and adding them together, you arrive at P(B). Hence, the expanded form of Bayes' Theorem.
 
Top