The probability of an Event ''A'' conditional on another event ''B'' is generally different from the probability of ''B'' conditional on ''A''. However, there is a definite relationship between the two, and Bayes' theorem is the statement of that relationship.
As a formal and Frequentist Probability discuss these debates at greater length.
Bayes' theorem relates the conditional and marginal probabilities of Stochastic Events ''A'' and ''B'':
: |
In words: the posterior probability is proportional to the product of the prior probability and the likelihood.
|   |
rac{P(A \cap B)}{P(B)}</math>
|
|   |
rac{P(A \cap B)}{P(A)} \!</math>
|
|   |
P(A \cap B) = P(BA)\, P(A) \!</math>
|
|   |
rac{P(BA)\,P(A)}{P(B)} \!</math>
|
|   |
P(A\cap B) + P(A^C\cap B) = P(BA) P(A) + P(BA^C) P(A^C)\,</math>
|
|   |
rac{P(B A)\, P(A)}{P(BA) P(A) + P(BA^C) P(A^C)} \!</math>
|
|   |
rac{P(B A_i)\, P(A_i)}{\sum_j P(BA_j)\,P(A_j)} , \!</math>
|
|   |
O(A) \cdot \Lambda (AB) </math>
|
|   |
rac{P(AB)}{P(A^CB)} \!</math> are the ''odds'' of ''A'' given ''B'',
|
|   |
rac{L(AB)}{L(A^CB)} = rac{P(BA)}{P(BA^C)} \!</math> is the likelihood ratio
|
|   |
rac{f(x,y)}{f(y)} = rac{f(yx)\,f(x)}{f(y)} \!</math>
|
|   |
rac{f(yx)\,f(x)}{\int_{-\infty}^{\infty} f(yx)\,f(x)\,dx}
|
|   |
''y'',
|
|   |
&nbsp''L''(''x''''y'') is (as a function of ''x'') the likelihood function of ''X'' given ''Y''=''y'',
|
|   |
"X\mathcal{G}]" class="copylinks" target="_blank">= rac{E_Q[rac{dP}{dQ} X \mathcal{G} }{E_Q[rac{dP}{dQ}\mathcal{G}]}</math>
|
|   |
rac{P(A) \, P(BA) \, P(CA,B)}{P(B) \, P(CB)} </math>
|
|   |
rac{P(A,B,C)}{P(B,C)} = rac{P(A,B,C)}{P(B) \, P(CB)} = </math>
|
|   |
rac{P(CA,B) \, P(A,B)}{P(B) \, P(CB)} = rac{P(A) \, P(BA) \, P(CA,B)}{P(B) \, P(CB)} </math>
|
|   |
rac{P(B A) P(A)}{P(B)} = rac{075 imes 05}{0625} = 06</math>
|
|   |
"wikitable"
|
|   |
"http://wwwinformationdelightinfo/information/entry/false_positive" class="copylinks">False Positive for 1% of non-users
|
|   |
rac{P(+ D) P(D)}{P(+)} \
|
|   |
rac{P(+ D) P(D)}{P(+ D) P(D) + P(+ N) P(N)} \
|
|   |
10, m=7) =
|
|   |
7 r, n=10) \, f(r)} {\int_0^1 f(m=7r, n=10) \, f(r) \, dr} \!</math>
|
|   |
&nbsp''f''(''m''&nbsp=&nbsp7''r'', ''n''&nbsp=&nbsp10), we can compute the posterior probability density function ''f''(''r''''n''&nbsp=&nbsp10, ''m''&nbsp=&nbsp7)
|
|   |
&nbsp''P''(''m''&nbsp=&nbsp7''r'', ''n''&nbsp=&nbsp10,) for such a problem is just the probability of 7 successes in 10 trials for a Binomial Distribution
|
|   |
7 r, n=10) = {10 \choose 7} \, r^7 \, (1-r)^3 </math>
|
|   |
7r, n=10) \, f(r) \, dr = \int_0^1 {10 \choose 7} \, r^7 \, (1-r)^3 \, 1 \, dr = {10 \choose 7} \, rac{1}{1320} \!</math>
|
|   |
10, m=7) =
|
|   |
1/2</math>
|
|   |
0</math>
|
|   |
1</math>
|
|   |
rac{P(B A_r) P(A_r)}{P(B)} & = rac{rac 1 2 rac 1 3}{rac 1 2} & = rac 1 3
|
|   |
rac{P(B A_g) P(A_g)}{P(B)} & = rac{0 rac 1 3}{rac 1 2} & = 0
|
|   |
rac{P(B A_b) P(A_b)}{P(B)} & = rac{1 rac 1 3}{rac 1 2} & = rac 2 3
|
|