Loading...
Loading...
You want to test if a coin is fair. You flip it multiple times and update your belief after each flip. This demonstrates how Bayesian updating works in real-time.
Update belief after seeing heads:
Update using new prior (40% fair):
Tails favors the fair coin:
Back to heads:
| Flip | Result | P(Fair) | P(Biased) |
|---|---|---|---|
| Before | - | 50.0% | 50.0% |
| 1 | H | 40.0% | 60.0% |
| 2 | H | 30.8% | 69.2% |
| 3 | T | 47.1% | 52.9% |
| 4 | H | 37.3% | 62.7% |