Posterior on a Two Headed Coin After Five Straight Heads
Last updated: November 29, 2026
Quick Overview
A jar holds 100 coins: 99 are fair and one has heads on both sides. You draw one at random and flip it five times, getting five heads. What is the probability you hold the two headed coin, and what is the probability the next flip is heads?
DRW
November 29, 20260
0
0 solved
A jar holds 100 coins: 99 are fair and one has heads on both sides. You draw one at random and flip it five times, getting five heads. What is the probability you hold the two headed coin, and what is the probability the next flip is heads?
DRW screens both developers and traders on short Bayesian questions because updating beliefs on evidence is how the firm thinks about signals and counterparties. The interviewer wants a clean Bayes setup and the predictive probability, not just the posterior.
What the Interviewer Expects
- Writes prior, likelihoods, and evidence explicitly
- Gets 32/131 for the posterior
- Computes the predictive probability of the next head
- Explains why five heads is weaker evidence than it feels
- Checks the answer with odds form
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- How many heads in a row before you are 95 percent sure?
- What if the jar has one two tailed coin as well?
- Suppose the coin is slightly biased to 0.6 instead of fully two headed. Redo it.
- How does this relate to deciding whether a counterparty is informed?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
One coin is drawn uniformly. Flips are independent given the coin. We want and ....
Approach
Use odds form: posterior odds equal prior odds times the likelihood ratio. Prior odds of the trick coin are . The likelihood ratio of five heads is ....