Math 2.0

concept

Bayesian inference

Summary

Bayesian inference is a method of statistical inference that treats an unknown parameter θ\theta as a random variable. It uses Bayes' theorem to update a probability distribution for θ\theta when data arrive. One starts from a prior distribution with density π(θ)\pi(\theta) and a model with likelihood L(θ∣x)=f(x∣θ)L(\theta \mid x) = f(x \mid \theta). The posterior distribution has the density π(θ∣x)=f(x∣θ) π(θ)∫Θf(x∣θ′) π(θ′) dθ′.\pi(\theta \mid x) = \frac{f(x \mid \theta)\, \pi(\theta)}{\int_\Theta f(x \mid \theta')\, \pi(\theta')\, d\theta'}.

Remarks

In short, the posterior is proportional to the likelihood times the prior. Example: with a Beta⁡(a,b)\operatorname{Beta}(a, b) prior for the success probability pp, and kk successes in nn Bernoulli(pp) trials, the posterior is Beta⁡(a+k,b+n−k)\operatorname{Beta}(a + k, b + n - k) (see beta distribution). The prior is conjugate. The posterior gives point estimates, such as the posterior mean, and credible intervals. For new observations, the posterior predictive distribution is f(x~∣x)=∫Θf(x~∣θ) π(θ∣x) dθf(\tilde{x} \mid x) = \int_\Theta f(\tilde{x} \mid \theta)\, \pi(\theta \mid x)\, d\theta, if x~\tilde{x} and xx are conditionally independent given θ\theta.

Explanations

L1 human

Bayesian inference starts with a belief about an unknown quantity, written as a probability distribution. Each new piece of data updates this belief with Bayes' theorem. The result, the posterior, combines the prior belief with the evidence.

What this node needs for W1
  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

Sources

  1. Web https://en.wikipedia.org/wiki/Bayesian_inference, Formal description
  2. Web https://en.wikipedia.org/wiki/Bayesian_inference, Conjugate priors