Urn Conditional Probability Problem

Rosalie
Messages
3
Reaction score
0
The problem is stated as follows:

You have an urn with 12 red balls, 20 green balls, and 13 yellow balls. Suppose 3 balls are drawn without replacement. What is the probability the third ball is yellow given the first ball is green.

I am pretty sure I use Bayes formula, but I am not certain how to apply it in this case. I am really just baffled! Can anyone help me?
 
Last edited:
Physics news on Phys.org
First step is to work out the probability of each combination of 3 balls. Might be easiest with the aid of a probability tree diagram.
 
Im not certain I understand how to set up a probability tree for a problem like this. I am going to try to work it through. Give me a moment, I'll let you double check my results.
 
Ok! I think I got it. This is what I concluded.
Total Balls=45
Green(G)=20
Red(R)=12
Yellow(Y)

P(G,R,Y)=(20/45) X (12/44) X (13/43)=(52/1419)
P(G,G,Y)=(20/45) X (19/44) X (13/43)=(247/4257)
P(G,Y,Y)=(20/45) X (13/44) X (12/43)=(52/1419)
(52/1419) + (247/4257) + (52/1419) = (13/99)

If this is incorrect please let me know! It is very important I get this question correct. Thank you for all your help.
 
Rosalie said:
P(G,R,Y)=(20/45) X (12/44) X (13/43)=(52/1419)
P(G,G,Y)=(20/45) X (19/44) X (13/43)=(247/4257)
P(G,Y,Y)=(20/45) X (13/44) X (12/43)=(52/1419)
(52/1419) + (247/4257) + (52/1419) = (13/99)

You're half-way there - what you've worked out is the probability that 3rd is yellow AND 1st is green. Next step uses Bayes formula.
 
Rosalie said:
Ok! I think I got it. This is what I concluded.
Total Balls=45
Green(G)=20
Red(R)=12
Yellow(Y)

P(G,R,Y)=(20/45) X (12/44) X (13/43)=(52/1419)
P(G,G,Y)=(20/45) X (19/44) X (13/43)=(247/4257)
P(G,Y,Y)=(20/45) X (13/44) X (12/43)=(52/1419)
(52/1419) + (247/4257) + (52/1419) = (13/99)

If this is incorrect please let me know! It is very important I get this question correct. Thank you for all your help.

I can't resist. Did you notice that the value for P(G,Y) is also 13/99?

This is no accident. As long as you have no information about the second ball, the third ball and the second ball have exactly the same probability distributions. An easy way to get this first step would be to observe this equivalence and then just calculate P(G,Y) = (20/45)*(13/44)

It all makes no difference to the next step, where you apply Bayes theorem to get the required conditional probability.

Cheers -- sylas
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top