后续正面次数
How Many Heads
题目详情
一顶帽子里有三枚硬币。一枚硬币正面朝上的概率为 ,另一枚硬币正面朝上的概率为 ,最后一枚硬币总是正面朝上。我拿出一个,翻转它两次,两次都落在头上。如果我再抛硬币十二次,你预计这些抛中有多少次正面朝上?
There are three coins in a hat. One with probability of getting heads, another with probability of heads, and the last coin always landing on heads. I take one out and flip it twice landing on heads both times. If I flip the coin twelve more times, how many heads do you expect among these flips?
解析
为了找到接下来 n 次抛掷中正面朝上的预期数量,我们需要知道选择了哪枚硬币。使用两次抛掷都是正面的条件,我们可以计算每枚硬币的条件概率。出现两个正面的概率是每枚硬币出现两个正面的概率的并集。 硬币被选中的概率为: 同样, 硬币被选中的概率为: 留下总是正面硬币被选为 的概率。现在我们知道了每枚硬币被选中的概率,我们就可以求出接下来 12 次抛掷中正面朝上的预期数量。如果我们有一枚硬币正面朝上的概率为 ,则我们可以预期 为正面。因此预期的头数为:
Original Explanation
To find the expected number of heads in the next n flips, we need to have an idea of which coin has been selected. Using the condition that both flips were heads, we can compute the conditional probability of each coin. The probability of two heads is the union of the probabilities of getting two heads for each coin.
The probability the coin was selected is: Similarly the probability the coin was picked is: Leaving the probability the always heads coin is picked to be . Now that we know the probability of each coin being selected, we can find the expected number of heads in the next twelve flips. If we have a coin with probability to land on heads, we can expect heads. Thus the expected number of heads is: