Bayesian statistics ( BAY-zee-ən or BAY-zhən) is a theory in the field of statistics based on the Bayesian interpretation of probability, where probability expresses a degree of belief in an event. The degree of belief may be based on prior knowledge about the event, such as the results of previous experiments, or on personal beliefs about the event. This differs from a number of other interpretations of probability, such as the frequentist interpretation, which views probability as the limit of the relative frequency of an event after many trials. More concretely, analysis in Bayesian methods codifies prior knowledge in the form of a prior distribution. Bayesian statistical methods use Bayes' theorem to compute and update probabilities after obtaining new data. Bayes' theorem describes the conditional probability of an event based on data as well as prior information or beliefs about the event or conditions related to the event. For example, in Bayesian inference, Bayes' theorem can be used to estimate the parameters of a probability distribution or statistical model. Since Bayesian statistics treats probability as a degree of belief, Bayes' theorem can directly assign a probability distribution that quantifies the belief to the parameter or set of parameters. Bayesian statistics is named after Thomas Bayes, who formulated a specific case of Bayes' theorem in a paper published in 1763. In several papers spanning from the late 18th to the early 19th centuries, Pierre-Simon Laplace developed the Bayesian interpretation of probability. Laplace used methods now considered Bayesian to solve a number of statistical problems. While many Bayesian methods were developed by later authors, the term "Bayesian" was not commonly used to describe these methods until the 1950s. Throughout much of the 20th century, Bayesian methods were viewed unfavorably by many statisticians due to philosophical and practical considerations. Many of these methods required much computation, and most widely used approaches during that time were based on the frequentist interpretation. However, with the advent of powerful computers and new algorithms like Markov chain Monte Carlo, Bayesian methods have gained increasing prominence in statistics in the 21st century.
Bayes' theorem
Bayes' theorem is used in Bayesian methods to update probabilities, which are degrees of belief, after obtaining new data. Given two events A and B, the conditional probability of A given that B is true is expressed as follows: P(A∣B)=P(B∣A)P(A)P(B) where P(B)≠0. Although Bayes' theorem is a fundamental result of probability theory, it has a specific interpretation in Bayesian statistics. In the above equation, A usually represents a proposition (such as the statement that a coin lands on heads fifty percent of the time) and B represents the evidence, or new data that is to be taken into account (such as the result of a series of coin flips). P(A) is the prior probability of A which expresses one's beliefs about A before evidence is taken into account. The prior probability may also quantify prior knowledge or information about A. P(B∣A) is the likelihood function, which can be interpreted as the probability of the evidence B given that A is true. The likelihood quantifies the extent to which the evidence B supports the proposition A. P(A∣B) is the posterior probability, the probability of the proposition A after taking the evidence B into account. Essentially, Bayes' theorem updates one's prior beliefs P(A) after considering the new evidence B. The probability of the evidence P(B) can be calculated using the law of total probability. If {A1,A2,…,An} is a partition of the sample space, which is the set of all outcomes of an experiment, then, P(B)=P(B∣A1)P(A1)+P(B∣A2)P(A2)+⋯+P(B∣An)P(An)=∑iP(B∣Ai)P(Ai) When there are an infinite number of outcomes, it is necessary to integrate over all outcomes to calculate P(B) using the law of total probability. Often, P(B) is difficult to calculate as the calculation would involve sums or integrals that would be time-consuming to evaluate, so often only the product of the prior and likelihood is considered, since the evidence does not change in the same analysis. The posterior is proportional to this product: P(A∣B)∝P(B∣A)P(A) The maximum a posteriori, which is the mode of the posterior and is often computed in Bayesian statistics using mathematical optimization methods, remains the same. The posterior can be approximated even without computing the exact value of P(B) with methods such as Markov chain Monte Carlo or variational Bayesian methods.
Construction The classical textbook equation for the posterior in Bayesian statistics is usually stated as π(θ∣x)=ℒ(x∣θ)⋅π(θ)∫Θℒ(x∣θ′)⋅π(θ′)dθ′ where π(θ∣x) is the updated probability of θ being the true parameter after collecting the data x, ℒ(x∣θ) is the likelihood of collecting the data x given the parameter θ, π(θ) is the prior belief of θ's likelihood and the integral in the denominator gives the probability of collecting the data x. Mathematically, this version of Bayes' theorem can be constructed in the following way: Suppose (Ω,ΣΩ,{Pθ∣θ∈Θ}) to be some parametric statistical model and (Θ,ΣΘ,π) to be a probability space over the parameter space. We can construct a new probability space (Θ×Ω,ΣΘ⊗ΣΩ,Q) where Q is a sort of product measure defined as: Q(M):=(π⊗P⋅)(M)=∫ΘPθ′(Mθ′)dπ(θ′), where Mθ′:={ω∈Ω∣(θ′,ω)∈M}). Now, let Aθ:={θ}×Ω and Bx:=Θ×{x}, then we get: Q(θ)=Q(Aθ)=∫{θ}Pθ′(Ω)dπ(θ′)=π({θ})⋅Pθ(Ω)=π(θ) and hence Q(x∣θ)=Q(Bx∩Aθ)Q(Aθ)=π(θ)⋅Pθ({x})π(θ)=Pθ(x) both as empirically might be expected. Thus, Bayes' theorem states: Q(θ∣x)=Pθ(x)⋅π(θ)Q(x) If π≪λ (i.e. absolutely continuous w.r.t. the Lebesgue measure ), then there exists a density such that π(θ)=dπdλ(θ) and we can write: Q(x)=∫ΘPθ′(x)dπ(θ′)=∫ΘPθ′(x)⋅π(θ′)dθ′ Else, if π≪ν (absolutely continuous w.r.t. counting measure), analogous we can write: Q(x)=∫ΘPθ′(x)⋅π(θ′)dν(θ′)=∑iPθi(x)⋅π(θi) Thus, by identifying Q(θ∣x) with π(θ∣x) and ℒ(x∣θ) with Pθ(x) we arrive at the classical equation stated above.
Bayesian methods The general set of statistical techniques can be divided into a number of activities, many of which have special Bayesian versions.
Bayesian inference
… excerpt ends here. Continue reading the full article.
