后验为 p∣Hn∼Beta(n+1,1)。
因此
P(下次正面∣Hn)=E[p∣Hn]=n+2n+1.
英文解析
Denote by Ak the event that all of the first k outcomes are heads and by Bk the event that the k - th outcome is a head. We need to find P(Bn+1∣An) . Note that An∩Bn+1=An+1 . Then,
P(Bn+1∣An)=P(An)P(An∩Bn+1)=P(An)P(An+1)
Denote by F the cumulative distribution function of the uniform random variable on [0, 1]. We apply the law of total probability and condition on the random variable p that takes a uniform value in the interval [0, 1]. We obtain that
P(An)=∫01P(An∣p=t)dF(t)=∫01tndt=n+11.
From (2.244) and (2.245), it follows that
P(Bn+1∣An)=n+2n+1.