Bayesian statistics is a framework for using probability to quantify and update uncertainty about the world. Its defining feature is the explicit treatment of unknown quantities—whether they are population parameters, missing data, or future observations—as random variables governed by probability distributions. This contrasts with the classical or frequentist approach, which defines probability strictly as the long-run frequency of events in repeated experiments and treats unknown parameters as fixed, unchanging constants.
The conceptual engine of Bayesian statistics is Bayes' theorem, a simple identity from probability theory. In its statistical form, it states that the probability of a hypothesis \( H \) given observed data \( D \) is proportional to the probability of the data given the hypothesis, multiplied by the prior probability of the hypothesis:
\[ P(H \mid D) \propto P(D \mid H) \times P(H) \]
The three components carry specific names. The prior distribution \( P(H) \) encodes what is believed about the hypothesis before seeing the data. The likelihood \( P(D \mid H) \) describes how probable the observed data would be under each possible hypothesis. The posterior distribution \( P(H \mid D) \) is the updated belief after incorporating the data. The posterior is the central output of any Bayesian analysis: a full probability distribution over the unknown quantity, which can be summarized by its mean, median, credible intervals, or any other feature of interest.
This simple formula has profound consequences. It forces the analyst to state assumptions explicitly, it provides a coherent rule for learning from evidence, and it yields direct probability statements about unknowns—for example, "there is a 95% probability that the true effect lies between 0.1 and 0.5"—which align closely with how non-specialists interpret confidence. The price is that the prior must be chosen, and that choice can be controversial.
The underlying theorem is named after Thomas Bayes, an 18th-century Presbyterian minister whose posthumously published essay laid out the basic result. The French mathematician Pierre-Simon Laplace independently rediscovered and generalized it, using it for problems in astronomy, jurisprudence, and even the probability that the sun would rise tomorrow. For much of the 19th century, what we now call Bayesian reasoning was simply "the theory of inverse probability"—the natural way to reason from observed effects back to probable causes.
The modern identity of Bayesian statistics as a distinct school emerged in the early 20th century, largely in reaction to the rise of frequentist methods. Ronald Fisher, Jerzy Neyman, and Egon Pearson developed the now-standard toolkit of hypothesis testing, confidence intervals, and maximum likelihood estimation, explicitly rejecting the use of priors as subjective and unscientific. For most of the mid-20th century, Bayesian methods were a minority pursuit, kept alive by a small number of advocates, most prominently the Italian statistician Bruno de Finetti and the American physicist-turned-statistician E. T. Jaynes.
Two developments transformed the field. The first was theoretical: in the 1950s, Leonard Savage provided a rigorous foundation for Bayesian inference by showing that a rational decision-maker whose preferences satisfy certain axioms must behave as if she holds a prior and updates it via Bayes' theorem. This gave Bayesian statistics a principled answer to the charge of arbitrariness. The second was computational: starting in the late 1980s and accelerating through the 1990s, the development of Markov chain Monte Carlo (MCMC) algorithms made it possible to compute posterior distributions for complex models that had previously been intractable. This computational revolution turned Bayesian statistics from a philosophical stance into a practical tool, and it is now a mainstream—and in many fields dominant—approach to statistical modeling.
The choice of prior is the most distinctive and most debated aspect of Bayesian statistics. A prior can be informative, expressing strong substantive knowledge—for example, that a drug's effect is unlikely to be enormous based on the mechanism of action. It can be weakly informative, encoding only broad constraints, such as "the effect is more likely to be small than astronomically large." Or it can be non-informative or objective, attempting to let the data speak with minimal prior influence.
The criticism that priors are arbitrary is met with several responses. First, all statistical analyses make assumptions; the prior merely makes them explicit rather than hiding them. Second, with enough data, the likelihood dominates the prior, so the posterior converges to the same answer regardless of reasonable prior choices. Third, the prior can be seen as a feature, not a bug: it provides a principled way to incorporate external evidence, to regularize estimates in small samples, and to build hierarchical models where information is shared across groups.
Nevertheless, the choice of prior remains a genuine judgment call, and different analysts can reach different conclusions from the same data if they choose different priors. This has led to ongoing debates about how priors should be chosen, whether "objective" priors are truly objective, and how sensitive conclusions are to prior specification. Modern practice typically includes sensitivity analysis—checking whether conclusions change under alternative priors—as a routine part of a Bayesian analysis.
For simple models, the posterior can be derived analytically. For example, if the prior and likelihood are chosen from certain families of distributions (called conjugate families), the posterior has the same form as the prior with updated parameters. This was the mainstay of early Bayesian practice, but it severely limited the complexity of models that could be handled.
The modern workhorse is Markov chain Monte Carlo (MCMC). The idea is to construct a Markov chain whose stationary distribution is the target posterior, then simulate the chain for many steps and use the simulated values as samples from the posterior. The most widely used MCMC algorithm is the Metropolis–Hastings algorithm, and its generalization, the Gibbs sampler, which updates one parameter at a time conditional on all others. These methods allow Bayesian analysis of models with dozens, hundreds, or even thousands of parameters.
More recent computational developments include Hamiltonian Monte Carlo (HMC), which uses gradient information to explore the posterior more efficiently, and its implementation in probabilistic programming languages such as Stan. Variational inference offers a faster but approximate alternative, turning the sampling problem into an optimization problem. Approximate Bayesian computation (ABC) handles models where the likelihood is intractable by simulating data and comparing summaries. The choice among these methods involves trade-offs between speed, accuracy, and the complexity of the model.
One of the most important contributions of Bayesian statistics is the hierarchical model (also called a multilevel model). In such a model, parameters are organized in levels: individual observations are modeled conditional on group-level parameters, which are themselves modeled conditional on higher-level parameters. For example, in a study of test scores across schools, each school might have its own mean, but those school means are drawn from a common distribution whose parameters are estimated from the data.
Hierarchical models solve a fundamental problem: how to share information across groups without assuming they are identical. Schools with few students borrow strength from schools with many students; the estimated mean for a small school is pulled toward the overall average, a phenomenon called shrinkage. This is not a bug but a feature: shrinkage estimates typically have lower mean squared error than separate estimates for each group. Hierarchical models are now standard in education, medicine, ecology, and the social sciences, and they are arguably the single most practically important idea in modern Bayesian statistics.
Bayesian statistics offers distinctive tools for comparing models and making predictions. The Bayes factor is the ratio of the marginal likelihoods of two models, which quantifies the evidence that the data provide for one model over another. However, Bayes factors are sensitive to the choice of priors and can be difficult to compute, so they are less commonly used in practice than information criteria such as the Watanabe–Akaike information criterion (WAIC) or leave-one-out cross-validation (LOO-CV), which approximate out-of-sample predictive performance.
For prediction, the Bayesian approach is natural: the posterior predictive distribution gives the probability of a new observation given the data, integrating over all parameter uncertainty. This is a direct answer to the question "what will happen next?" and it automatically accounts for the fact that parameters are not known exactly. This stands in contrast to frequentist prediction, which often requires plugging in a point estimate and then adjusting for the uncertainty in that estimate.
The relationship between Bayesian and frequentist statistics is complex. They are often presented as rival schools, and there are genuine philosophical disagreements about the meaning of probability and the proper role of prior information. However, the two approaches are not always in conflict. In many problems, Bayesian and frequentist methods give similar numerical answers, especially with large samples. Moreover, Bayesian methods are often evaluated by their frequentist properties—for example, whether a 95% credible interval contains the true value 95% of the time in repeated sampling—and many Bayesian procedures are designed with such properties in mind.
The practical difference emerges in small samples, in complex models, and in the interpretation of results. A frequentist confidence interval is a statement about the procedure, not about the parameter; a Bayesian credible interval is a direct probability statement about the parameter given the data. For decision-making, Bayesian methods have a clear advantage: they provide a coherent framework for combining data with utilities and costs, leading to optimal decisions under uncertainty. This has made Bayesian methods the standard in fields such as clinical trial design, where adaptive designs that update as data accumulate are natural in a Bayesian framework.
Bayesian statistics is now a mature and widely used discipline. It is the dominant approach in many areas of machine learning, including Gaussian processes, Bayesian neural networks, and probabilistic graphical models. It is standard in epidemiology, ecology, economics, and the social sciences, where hierarchical models and the ability to incorporate prior knowledge are highly valued. In the physical sciences, it is used for everything from particle physics to cosmology, where it provides a principled way to compare competing theories against data.
The field continues to develop along several fronts. Computational methods are improving, with faster algorithms and better software making Bayesian analysis accessible to non-specialists. There is active research on making priors more principled, on scaling Bayesian methods to massive datasets, and on developing diagnostics to assess whether MCMC has converged. There is also ongoing philosophical debate about the foundations of the approach, particularly about the interpretation of probability and the role of subjectivity.
At the same time, Bayesian statistics faces real challenges. The choice of prior remains a point of contention, especially in regulatory and legal settings where objectivity is prized. Computational methods can be slow and require careful tuning. And the flexibility of Bayesian modeling can lead to overfitting if not disciplined by good priors or model checking. These challenges are not weaknesses so much as open problems, and they are the subject of active research.
For the educated newcomer, the essential picture is this: Bayesian statistics is a complete and coherent framework for learning from data, built on a single rule for updating beliefs. Its power lies in its flexibility—it can handle complex models, incorporate prior knowledge, and provide direct probability statements about unknowns. Its cost lies in the responsibility it places on the analyst to specify a prior and to check that the results are robust. It is not the only way to do statistics, but it is a way that has proven enormously useful across science, engineering, and policy, and it is likely to remain central to statistical practice for the foreseeable future.