Which Coin Was Drawn?
A box contains coins: fair coins and coin with heads on both sides. You pick a coin uniformly at random and flip it times, observing heads every time. Find the probability that the coin you picked is the double-headed one.
Work it out, then compare with the answer.
SolutionShow the worked solution
Let be the event that the double-headed coin was picked, and the event of ten heads. The prior odds of are
The likelihoods are and , because the flips of a fair coin are independent. Their ratio is therefore .
By Bayes’ theorem, posterior odds equal prior odds times the likelihood ratio:
Converting odds into a probability gives
Key idea. Each head doubles the odds in favour of the double-headed coin. Ten heads multiply the odds by about , which roughly cancels the prior odds of , so the posterior is close to .
Variations
The same idea with a twist. Each solution gives only the changed step.
A bag contains fair coins and one double-headed coin. You draw a coin uniformly at random and flip it repeatedly, observing heads every time. Find the smallest number of consecutive heads needed for your posterior probability that the coin is double-headed to exceed .
Work it out, then compare with the answer.
Solution
The prior odds of the double-headed coin are . Each head multiplies the odds by , so after heads the posterior odds are .
A posterior probability above means odds above . The condition is therefore , that is, .
Check the boundary values:
- : , and the posterior is .
- : , and the posterior is .
Two coins have heads probabilities and with , , , and . One coin is chosen uniformly at random and flipped twice, giving two heads. Given that this makes it times as likely that Coin was chosen rather than Coin , find .
Work it out, then compare with the answer.
Solution
The two coins are equally likely a priori. The posterior odds of Coin against Coin therefore equal the likelihood ratio
Setting this equal to and using gives . Combining with gives , so and . This satisfies .