You draw two balls from one of three possible large urns, labelled A, B, and C. Urn A has 1/2 blue balls, 1/3 green balls, and 1/6 red balls. Urn B has 1/6 blue balls, 1/2 green balls, and 1/3 red balls. Urn C has 1/3 blue balls, 1/6 green balls, and 1/2 red balls. With no prior information about which urn your are drawing from, you draw one red ball and one blue ball. What is the probability that you drew from urn C?

So I know Bayes Theorum is this:enter image description here

On a high level, could I take the probability of drawing one red ball and one blue ball from Urn C and divide that by the total probabality of drawing one blue ball and one red ball from all the urns summed up?

The numerator would be $\frac{1}{2} * \frac{1}{3}$ right? The denominator would the the probabilities of drawing a blue and red from all the urns summed up right?

In the NFL, a professional American football league, there are 32 teams, of which 12 make the playoffs. In a typical season, 20 teams (the ones that don’t make the playoffs) play 16 games, 4 teams play 17 games, 6 teams play 18 games, and 2 teams play 19 games. At the beginning of each game, a coin is flipped to determine who gets the football first. You are told that an unknown team won ten of its coin flips last season. Given this information, what is the posterior probability that the team did not make the playoffs (i.e. played 16 games)?

I have no idea how to approach this one. Can someone shed some insight?

  • 2
    $\begingroup$ Please check stats.stackexchange.com/tags/self-study/info and edit your question accordingly to homework-like questions policy we have. $\endgroup$
    – Tim
    May 30, 2017 at 7:31
  • $\begingroup$ I added some more work. I'm genuinely stuck on the second. $\endgroup$
    – Jwan622
    May 30, 2017 at 14:53

3 Answers 3


Below are two methods. The first uses Bayes' Theorem in full, and the second is a quicker approach (just for fun). Importantly, the two results agree! (They also do not agree with the earlier answer posted by zen...)

$X := \text{Picked Red and Blue}$, $A := \text{Picked Urn A}$, $B := \text{Picked Urn B}$, $C := \text{Picked Urn C}$.

Method 1.

Using Bayes' Theorem, we now compute as follows:

$$\frac{P(X|C)P(C)}{P(X|C)P(C) + [P(X|A)P(A) + P(X|B)P(B)]}$$

where the bracketed portion in the denominator corresponds to the cases in which red and blue were selected but did not come from Urn C.

Under the assumption that each of $P(C)$, $P(A)$, and $P(B)$ is $1/3$, we can cancel this factor from the numerator and denominator to get:

$$\frac{P(X|C)}{P(X|C) + [P(X|A) + P(X|B)]}$$

Next, we calculate each of these terms:

$P(X|C) = 2(3/6)(2/5) = 12/30$;

$P(X|B) = 2(2/6)(1/5) = 4/30$; and

$P(X|A) = 2(1/6)(3/5) = 6/30$.

And so the earlier expression becomes:

$$\frac{12/30}{12/30 + 4/30 + 6/30} = \frac{12}{12+4+6} = \frac{6}{6+2+3} = \frac{6}{11}$$

Method 2.

Without loss of generality, let us suppose each of the urns contains exactly six M&Ms. Then, the number of ways to choose a red and blue M&M from the urns can be computed as follows.

Urn A: BBBGGR; so, picking RB can be done in $1 \cdot 3 = 3$ ways.

Urn B: GGGRRB; so, picking RB can be done in $2 \cdot 1 = 2$ ways.

Urn C: RRRBBG; so, picking RB can be done in $3 \cdot 2 = 6$ ways.

So the probability of it being Urn C given that RB were selected is just:

$$\frac{6}{6+3+2} = \frac{6}{11}$$

as in Method 1.

  • $\begingroup$ It was not clear to me that the statement "having no prior information about which urn you are drawing from". I read it as the prior probabilities for P(A), P(B) and P(C) were unknown and not they were equal. That would make the problem unsolvable. If you take it to mean prior to drawing the ball the choice of urn is equally likely, in which case P(C|X) can be determined. $\endgroup$ Jun 1, 2017 at 14:41
  • $\begingroup$ How do you get $P(X|c)=2(3/6)(2/5)$? shouldn't it be $P(X|c)=2(3/6)(2/6)$ ? It is not given that there are 6 balls in the urns right? why then say that the chance of getting a blue is now $(2/5)$ instead of $(2/6)$? $\endgroup$
    – zen
    Jun 6, 2017 at 15:55
  • $\begingroup$ For example try to calculate the chance of picking (blue ,blue ,blue ,blue,blue,blue,blue) from urn C by either of your methods. I think you implicilty assume there are 6 balls. $\endgroup$
    – zen
    Jun 6, 2017 at 16:25

So I'll give two answers one for each question. Let's first discuss the first question and then in a separate answer I will attempt to answer the second question(this might take a while because I have some other things to do :)). So first lets expand bayes theorem and then we will consider what this means. So want $P(drew from C|red, blue)=\frac{P(red ,blue|drew from C)P(drew from C)}{P(red ,blue|drew from C)P(drew from C)+ P(red ,blue|drew from A)P(drew from A)+P(red ,blue|drew from B)P(drew from B)}$

Technically we do not know $P(drew from A),P(drew from B),P(drew from C)$! So technically we cannot calculate this chance. But we can make a reasonable assumption and that is that $P(drew from A)=P(drew from B)=P(drew from C)=\frac{1}{3}$. Now to determien all the other terms lets start with $P(red ,blue|drew from C)$ now we assume these are independent chances e.g. If I pick blue first the chance of blue stays the same for the second choice (which would in real life not be true) than the chance of $P(red ,blue|drew from C)=(\frac{1}{3} \frac{1}{2}+\frac{1}{2} \frac{1}{3})=\frac{1}{3}$ remember that not only red, blue counts but also blue ,red thus we should count both possibilities. the other probabilities can be calculated in a similar way. so that $P(drew from C|red, blue)=\frac{\frac{1}{3}\frac{1}{3}}{\frac{1}{3}\frac{1}{3}+ 2\frac{1}{2}\frac{1}{6}\frac{1}{3}+2\frac{1}{3}\frac{1}{6}\frac{1}{3}}=0.428$ (approximately)


So for the second question I will just offer some help in the form of tips after which I hope you will understand it. tip 1: consider all teams equal so and calculate the chance that $P(played 16 games)=\frac{20}{32}$. 2. then see that the concitional probability your looking for is $P(played 16 games|coin wins =10)$ 3. $P(coin wins =10 |played 16 games)$ is binomially distributed with (n=16,p=0.5) and X=10 ( or k=10 in wiki notation).


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.