Skip to content
BIASED

Bayesian inference

Block 1 of 8~2 min

Three heads and a single point

The topic Maximum likelihood gave a general recipe: choose the parameter under which the observed data are most probable. For a coin with unknown probability of heads θ\theta and kk heads in nn tosses, the recipe gives θ^=k/n\hat\theta = k/n, so 7 heads in 10 tosses give 0.70.7.

Now borrow a coin, toss it three times and get three heads. Maximum likelihood answers θ^=1\hat\theta = 1: tails is impossible. Nobody believes that. Before the first toss we already knew something about coins: most land heads about half the time, and two-headed ones are rare. The likelihood has no slot for this knowledge.

There is a second gap. The answer is a single number. It looks just as sure after 3 tosses as after 3000, and the asymptotic normality from the previous topic only speaks about large samples.

Bayesian inference closes both gaps with one move: the unknown parameter θ\theta is treated as a random variable. Its distribution before the data, the prior, holds what we knew. The data turn it into the posterior, and every answer is read off the posterior: a point estimate, an interval, a forecast for the next toss. This is the degree-of-belief reading of probability from the topic What probability is. The rules of probability stay exactly the same.

Answers are saved on the server and tied to this browser until you sign in.