Question

This question is about the Bayes' Theorem. You are given two boxes. Box 1 contains 5...

This question is about the Bayes' Theorem.

You are given two boxes. Box 1 contains 5 red, 5 green, and 3 blue balls, and Box 2 contains 4 red, 3 green, and 2 yellow balls. You are asked to randomly pick one of the two boxes. Holding that box, you grab one ball at random, and then set the box back down. You found out that it is a red ball. Let A be the event that you choose Box 1, and let B be the event that you choose a red ball. a. What’s p(A|B)? b. What’s p(B|A)?

Homework Answers

Answer #1

A be the event that you choose Box 1

P[ A ] = 1/2 = 0.5

P[ not A ] = 1 - P[ A ] = 1 - 0.5 = 0.5

P[ Drawing red ball from box 1 ] = P[ B | A ] = 5/(5+5+3) = 5/13

P[ Drawing red ball from box 2 ] = P[ B | not A ] = 4 / ( 4 + 3 + 2 ) = 4/9

B be the event that you choose a red ball

P[ B ] = P[ B | A ]*P[ A ] + P[ B | not A ]*P[ not A ]

P[ B ] = (5/13)*(0.5) + (4/9)*0.5

P[ B ] = 5/26 + 2/9

P[ B ] = 97/234

P[ A | B ] = P[ B | A ]*P[ A ] / P[ B ]

P[ A | B ] = (5/13)*(0.5) / 97/234

P[ A | B ] = (5/26)/(97/234)

P[ A | B ] = 45/97

P[ A | B ] = 0.4639

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Box 1 contains 4 red balls, 5 green balls and 1 yellow ball. Box 2 contains...
Box 1 contains 4 red balls, 5 green balls and 1 yellow ball. Box 2 contains 3 red balls, 5 green balls and 2 yellow balls. Box 3 contains 2 red balls, 5 green balls and 3 yellow balls. Box 4 contains 1 red ball, 5 green balls and 4 yellow balls. Which of the following variables have a binomial distribution? (I) Randomly select three balls from Box 1 with replacement. X = number of red balls selected (II) Randomly...
8. The Probability Calculus - Bayes's Theorem Bayes's Theorem is used to calculate the conditional probability...
8. The Probability Calculus - Bayes's Theorem Bayes's Theorem is used to calculate the conditional probability of two or more events that are mutually exclusive and jointly exhaustive. An event's conditional probability is the probability of the event happening given that another event has already occurred. The probability of event A given event B is expressed as P(A given B). If two events are mutually exclusive and jointly exhaustive, then one and only one of the two events must occur....
A box contains 4 red balls, 3 yellow balls, and 3 green balls. You will reach...
A box contains 4 red balls, 3 yellow balls, and 3 green balls. You will reach into the box and blindly select a ball, take it out, and then place it to one side. You will then repeat the experiment, without putting the first ball back. Calculate the probability that the two balls you selected include a yellow one and a green one.
  1. You have three boxes labelled Box #1, Box #2, and Box #3.   Initially each box contains...
  1. You have three boxes labelled Box #1, Box #2, and Box #3.   Initially each box contains 4 red balls and 4 green balls.  One ball is randomly selected from Box #1 and placed in Box #2 Then one ball is randomly selected from Box #2 and placed in Box #3. Then one ball is randomly selected from Box #3 and placed in Box #1.  At the conclusion of this process, what is the probability that that each box has the same  number of...
A box contains one yellow, two red, and three green balls. Two balls are randomly chosen...
A box contains one yellow, two red, and three green balls. Two balls are randomly chosen without replacement. Define the following events: A:{ One of the balls is yellow } B:{ At least one ball is red } C:{ Both balls are green } D:{ Both balls are of the same color } Find the following conditional probabilities: P(B\Ac)= P(D\B)=
A box contains one yellow, two red, and three green balls. Two balls are randomly chosen...
A box contains one yellow, two red, and three green balls. Two balls are randomly chosen without replacement. Define the following events: A: \{ One of the balls is yellow \} B: \{ At least one ball is red \} C: \{ Both balls are green \} D: \{ Both balls are of the same color \} Find the following conditional probabilities: (a) P(B|D^c) (b) P(D|C) (c) P(A|B)
i need to have this done soon. Thank You! :) There are four different boxes labeled...
i need to have this done soon. Thank You! :) There are four different boxes labeled A, B, C and D. Box A has 3 red , 4 blue and 2 green balls. Box B has 3 red , 5 blue and 6 green balls. Box C has 4 red , 6 blue and 8 green balls. Box D has 5 red , 6 blue and 7 green balls. If one box is selected at random and a ball is...
An urn contains five blue, six green and seven red balls. You choose five balls at...
An urn contains five blue, six green and seven red balls. You choose five balls at random from the urn, without replacement (so you do not put a ball back in the urn after you pick it), what is the probability that you chose at least one ball of each color?(Hint: Consider the events: B, G, and R, denoting respectively that there are no blue, no green and no red balls chosen.)
(About Moivre Laplace theorem in probability theory). There are 5 boxes – one of them is...
(About Moivre Laplace theorem in probability theory). There are 5 boxes – one of them is red, the rest are green. By chance, every one of 2500 balls is thrown into one of the boxes. Find out the probability that the number of the balls in the red box (I) will not be greater than 523; (II) will not be less than 490; (III) will not be greater than 523 and will not be less than 490.
Consider selecting one ball at a time from a box which contains 8 red, 5 yellow...
Consider selecting one ball at a time from a box which contains 8 red, 5 yellow and 2 blue balls. What is the probability that the first and second balls are yellow? Show all work. (a) Assume the ball selection is without replacement. (b) Assume the ball selection is with replacement.