金融学习网:学习金融知识,观察市场动 态
In probability theory, Bayes' theorem (often called Bayes' Law) relates the conditional and marginal probabilities of two random events. It is often used to compute posterior probabilities given observations. For example, a patient may be observed to have certain symptoms. Bayes' theorem can be used to compute the probability that a proposed diagnosis is correct, given that observation. (See example 2)
As a formal theorem, Bayes' theorem is valid in all interpretations of probability. However, it plays a central role in the debate around the foundations of statistics: frequentist and Bayesian interpretations disagree about the ways in which probabilities should be assigned in applications. Frequentists assign probabilities to random events according to their frequencies of occurrence or to subsets of populations as proportions of the whole, while Bayesians describe probabilities in terms of beliefs and degrees of uncertainty. The articles on Bayesian probability and frequentist probability discuss these debates at greater length.
Statement of Bayes' theorem
Bayes' theorem relates the conditional and marginal probabilities of events A and B, where B has a non-vanishing probability:
Each term in Bayes' theorem has a conventional name:
- P(A) is the prior probability or marginal probability of A. It is "prior" in the sense that it does not take into account any information about B.
- P(A|B) is the conditional probability of A, given B. It is also called the posterior probability because it is derived from or depends upon the specified value of B.
- P(B|A) is the conditional probability of B given A.
- P(B) is the prior or marginal probability of B, and acts as a normalizing constant.
Intuitively, Bayes' theorem in this form describes the way in which one's beliefs about observing 'A' are updated by having observed 'B'.
[edit] Bayes' theorem in terms of likelihood
Bayes' theorem can also be interpreted in terms of likelihood:
Here L(A|b) is the likelihood of A given fixed b. The rule is then an immediate consequence of the relationship
.
With this terminology, the theorem may be paraphrased as
(where α is a normalising constant).
In words: the posterior probability is proportional to the product of the prior probability and the likelihood.
[edit] Derivation from conditional probabilities
To derive the theorem, we start from the definition of conditional probability. The probability of event A given event B is
Equivalently, the probability of event B given event A is
Rearranging and combining these two equations, we find
This lemma is sometimes called the product rule for probabilities. Dividing both sides by P(B), providing that it is non-zero, we obtain Bayes' theorem:
[edit] Alternative forms of Bayes' theorem
Bayes' theorem is often embellished by noting that
where AC is the complementary event of A (often called "not A"). So the theorem can be restated as
More generally, where {Ai} forms a partition of the event space,
for any Ai in the partition.
See also the law of total probability.
[edit] Bayes' theorem in terms of odds and likelihood ratio
Bayes' theorem can also be written neatly in terms of a likelihood ratio Λ and odds O as
where
are the odds of A given B,
and
are the odds of A by itself,
while
is the likelihood ratio.
[edit] Bayes' theorem for probability densities
There is also a version of Bayes' theorem for continuous distributions. It is somewhat harder to derive, since probability densities, strictly speaking, are not probabilities, so Bayes' theorem has to be established by a limit process; see Papoulis (citation below), Section 7.3 for an elementary derivation. Bayes's theorem for probability densities is formally similar to the theorem for probabilities:
There is an analogous statement of the law of total probability, which is used in the denomenator:
As in the discrete case, the terms have standard names.
is the joint distribution of X and Y,
is the posterior distribution of X given Y=y,
is (as a function of x) the likelihood function of X given Y=y,
and
and
are the marginal distributions of X and Y respectively, with
being the prior distribution of X.
[edit] Abstract Bayes' theorem
Given two absolutely continuous probability measures P˜Q on the probability space
and a sigma-algebra
, the abstract Bayes theorem for a
-measurable random variable X becomes
.
This formulation is used in Kalman filtering to find Zakai equations. It is also used in financial mathematics for change of numeraire techniques.
[edit] Extensions of Bayes' theorem
Theorems analogous to Bayes' theorem hold in problems with more than two variables. For example:
This can be derived in a few steps from Bayes' theorem and the definition of conditional probability:
Similarly, we have
which can be regarded as a conditional Bayes' Theorem, and can be derived by as follows:
A general strategy is to work with a decomposition of the joint probability, and to marginalize (integrate) over the variables that are not of interest. Depending on the form of the decomposition, it may be possible to prove that some integrals must be 1, and thus they fall out of the decomposition; exploiting this property can reduce the computations very substantially. A Bayesian network, for example, specifies a factorization of a joint distribution of several variables in which the conditional probability of any one variable given the remaining ones takes a particularly simple form (see Markov blanket).
内文分页: [1] [2]
出处:Bayes' theorem
转载时必须以链接形式注明出处及本声明!
1
杨甫刚:在校大学生开网店月赚万元
Prospect theory

2008/04/28 22:40 | by 





















