双头硬币:连出 10 个正面后的后验概率
fair coins
题目详情
1000 枚硬币中 1 枚是双头硬币(两面都是正面),其余 999 枚是公平硬币。随机抽取 1 枚并连续抛 10 次,结果全是正面。问:抽到双头硬币的概率是多少?
One coin is double-headed, 999 fair coins, pick a coin, flip 10 heads in a row. Probability it’s the 2-headed coin? We randomly pick 1 coin from 1000 total (1 special double-headed, 999 fair). Flip it 10 times, all heads. Probability it is the 2-headed coin?
解析
用 Bayes 定理。
设:
- :抽到双头硬币;
- :连续 10 次都是正面。
则:
- ;
- ;
- 。
因此
Original Explanation
Use Bayes’ Theorem.
Let:
- = event we chose the 2-headed coin
- = event of getting 10 heads in a row
Then:
- (since the coin has two heads)
By Bayes’ Theorem:
Plug in the values: