Bayesian vs Frequentist Inference

1 min read

Bayesian and frequentist inference differ in how they interpret probability and unknown parameters.

Frequentist view: parameters are fixed unknown constants. Probability describes randomness in data and procedures.

Bayesian view: parameters can be treated as uncertain quantities. Probability represents degrees of belief updated by evidence.

Bayesian inference uses Bayes' theorem:

P(θD)=P(Dθ)P(θ)P(D)P(\theta \mid D) = \frac{P(D \mid \theta)P(\theta)}{P(D)}

Terms:

  • P(θ)P(\theta): prior
  • P(Dθ)P(D \mid \theta): likelihood
  • P(θD)P(\theta \mid D): posterior
  • P(D)P(D): evidence / normalizer

Frequentist output examples:

  • Point estimate
  • Confidence interval
  • p-value
  • Hypothesis test decision

Bayesian output examples:

  • Posterior distribution
  • Credible interval
  • Posterior predictive distribution
  • Bayes factor

Credible interval: a Bayesian interval that can be interpreted as containing the parameter with a given posterior probability, conditional on the model and prior.

Connection to ML:

Tradeoff: Bayesian inference makes uncertainty explicit, but results can depend strongly on the prior and model assumptions.

See also: Bayes' Theorem, Maximum Likelihood Estimation, Maximum A Posteriori Estimation

Linked from