By the partition and the law of total probability, . Also . Combining these identities proves Bayes theorem:The assumed positive probabilities make the conditional expressions well defined.
Let mean that the selected coin is biased and that it is fair. Both have prior probability . Conditional on either coin, tosses are independent. For the observed head count, the two binomial distribution likelihoods are and . Bayes theorem cancels the common coefficient and equal prior weights, givingThis applies for , including endpoint coin biases with zero-power factors interpreted by the corresponding likelihood. The fair-coin likelihood is positive, so the denominator cannot vanish.
For a finite stopping time with target , necessarily . The last toss must be a head and the preceding tosses must contain heads. The negative binomial stopping argument therefore gives likelihood for the biased coin, and for the fair coin. Applying Bayes theorem again yieldsThe two experiments have different combinatorial coefficients, but each coefficient is independent of the coin parameter. Thus posterior equality for proportional likelihoods explains their identical posterior formula. If , a finite positive-head stopping observation has zero likelihood under the biased coin, consistently giving posterior zero. If the target is , the experiment stops at without a toss and the posterior remains ; a positive stopping time would then be impossible.
Articles by others on the same topic
There are currently no matching articles.