A coin, three ways

A coin has some bias — a probability θ of landing heads — and we do not know what it is. Toss it, write down what happened, and then reason about it three times over: with a classical test, with maximum likelihood, and with Bayes. The tosses below belong to all three tabs, so what changes between them is the method and nothing else.

Put a hypothesis about the coin on trial. The hypothesis has to say how often the coin lands heads — its P(heads): a fair coin is 0.5, a two-headed one is 1. If the coin really did land heads that often, how surprising would the tosses we have be? That is the p-value, and if it falls below α the hypothesis is rejected.

the same tosses, three answers