Bayesian inference

Bayesian inference (/ˈbziən/ BAY-zee-ən or /ˈbʒən/ BAY-zhən)[1] is a type of statistical inference. In Bayesian inference, evidence or information is available, Bayes' theorem is used to change (or update) the probability of a hypothesis. Bayesian inference uses a prior distribution to estimate posterior probabilities. Bayesian inference is an important to statistics, mathematical statistics, decision theory, and sequential analysis. Bayesian inference is used in science, engineering, philosophy, medicine, sport, and law.

Bayes' rule

A geometric visualisation of Bayes' theorem. In the table, the values 2, 3, 6 and 9 give the relative weights of each corresponding condition and case. The figures denote the cells of the table involved in each metric, the probability being the fraction of each figure that is shaded. This shows that P(A|B) P(B) = P(B|A) P(A) i.e. P(A|B) = P(B|A) P(A)/P(B) . Similar reasoning can be used to show that P(¬A|B) = P(B|¬A) P(¬A)/P(B) etc.
Contingency table
Template:Diagonal split header Satisfies
hypothesis
H
Violates
hypothesis
¬H

Total
Has evidence
E
P(H|E)·P(E)
= P(E|H)·P(H)
P(¬H|E)·P(E)
= P(E|¬H)·P(¬H)
P(E)
No evidence
¬E
P(H|¬E)·P(¬E)
= P(¬E|H)·P(H)
P(¬H|¬E)·P(¬E)
= P(¬E|¬H)·P(¬H)
P(¬E) =
1−P(E)
Total    P(H) P(¬H) = 1−P(H) 1

Bayesian inference figures out the posterior probability from prior probability and the "likelihood function". The likelihood function comes from a statistical model of the data. [math]\displaystyle{ P(H \mid E) = \frac{P(E \mid H) \cdot P(H)}{P(E)}, }[/math] where

  • [math]\displaystyle{ H }[/math] is a hypothesis that is changed by data (or evidence). There are usually many hypotheses. The point of the test is to see which hypothesis is more likely.
  • [math]\displaystyle{ P(H) }[/math] is the prior probability. It estimates the probability of a hypothesis before there is any evidence.
  • [math]\displaystyle{ E }[/math] is the evidence, or data. It is any new data that is found.
  • [math]\displaystyle{ P(H \mid E) }[/math] is the posterior probability. This is what we want to know.
  • [math]\displaystyle{ P(E \mid H) }[/math] is the likelihood function.
  • [math]\displaystyle{ P(E) }[/math] is the marginal likelihood. It is the same for all possible hypotheses that are being tested. [math]\displaystyle{ P(E) }[/math] has to be greater than 0. If [math]\displaystyle{ P(E) }[/math] is 0, then you divide by zero.

Bayesian Inference Media

Related pages

Further reading

  • Stone, JV (2013), "Bayes' Rule: A Tutorial Introduction to Bayesian Analysis", Download first chapter here, Sebtel Press, England.
  • Dennis V. Lindley. Understanding Uncertainty, Revised Edition (2013)John Wiley. ISBN 978-1-118-65012-7.
  • Colin Howson. Scientific Reasoning: The Bayesian Approach (2005)Open Court Publishing Company. ISBN 978-0-8126-9578-6.
  • Berry, Donald A.. Statistics: A Bayesian Perspective (1996)Duxbury. ISBN 978-0-534-23476-8.
  • Morris H. DeGroot. Probability and Statistics (2002)Addison-Wesley. ISBN 978-0-201-52488-8.
  • Bolstad, William M. (2007) Introduction to Bayesian Statistics: Second Edition, John Wiley ISBN 0-471-27020-2
  • Winkler, Robert L. Introduction to Bayesian Inference and Decision (2003)Probabilistic. ISBN 978-0-9647938-4-2. Updated classic textbook. Bayesian theory clearly presented.
  • Lee, Peter M. Bayesian Statistics: An Introduction. Fourth Edition (2012), John Wiley ISBN 978-1-1183-3257-3
  • Carlin, Bradley P.. Bayesian Methods for Data Analysis, Third Edition (2008)Boca Raton, FL: Chapman and Hall/CRC. ISBN 978-1-58488-697-6.
  • Gelman, Andrew. Bayesian Data Analysis, Third Edition (2013)Chapman and Hall/CRC. ISBN 978-1-4398-4095-5.

References

Other websites