Bayesian vs frequentist probability
7 min read
Short answer
Frequentists treat probability as the long-run frequency of an outcome and parameters as fixed unknown numbers. Bayesians treat probability as a degree of belief, so even a parameter gets a probability distribution that is updated with Bayes' theorem as data arrive. With plenty of data the two usually agree.
Two meanings of probability
For a fair coin, a frequentist says "" means that in many repeated flips about half land heads. This is awkward for one-off events ("the probability it rains tomorrow", "the probability this defendant did it"), since you cannot repeat them.
A Bayesian says "" quantifies uncertainty given what you know. One-off events are fine, and different people with different information may assign different probabilities. Both views obey the same axioms, so the algebra, such as conditional probability and Bayes' theorem, is identical.
How each handles an unknown parameter
Suppose a coin has unknown heads-probability . The frequentist treats as fixed and judges a procedure by how it behaves over many hypothetical datasets, for example the estimate and a 95% confidence interval, the guarantee that the method captures the true in 95% of repeated experiments.
The Bayesian starts with a prior distribution for , multiplies by the likelihood of the data, and normalizes to a posterior: . A 95% credible interval is then a direct statement that lies in that range with probability 0.95, given the prior and data.
Trade-offs
Bayesian analysis can use prior knowledge naturally and gives direct probability statements, but results can depend on the prior, especially with little data. Frequentist methods avoid choosing a prior and have well-understood error guarantees, but their statements (p-values, confidence levels) are about procedures and are easy to misread.
In practice many statisticians use both, picking whichever fits the problem, and as data accumulate the prior's influence fades and the answers converge.
Worked example
A coin lands heads 7 times in 10 flips. Give the frequentist estimate of and the Bayesian posterior mean using a uniform prior.
Frequentist: (the maximum likelihood estimate).
Bayesian: a prior updated with 7 heads and 3 tails gives the posterior , with mean .
The Bayesian answer is pulled slightly toward the prior's center of . With flips and heads the two answers would be nearly identical.
Try it yourself
With a prior, you see 3 heads in 3 flips. What is the posterior mean of , and how does it compare with the frequentist estimate?
Show the answer
The posterior is with mean . The frequentist estimate is . The Bayesian answer is less extreme because the prior tempers conclusions from tiny samples.
Keep going with practice
Vidi's Bayes' theorem lessons give you the update rule that Bayesian statistics is built on.