(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | 1.3 Bayes' theorem | + | =1.3 Bayes' theorem= |
− | + | From the [[ECE_600_Prerequisites|ECE600 Pre-requisites notes]] of [[user:han84|Sangchun Han]], [[ECE]] PhD student. | |
+ | ---- | ||
• = Bayes' rule | • = Bayes' rule | ||
− | • <math>P\left(A|B\right)=\frac{P\left(A\cap B\right)}{P\left(B\right)}=\frac{P\left(B|A\right)P\left(A\right)}{P\left(B\right)}</math> | + | • <math class="inline">P\left(A|B\right)=\frac{P\left(A\cap B\right)}{P\left(B\right)}=\frac{P\left(B|A\right)P\left(A\right)}{P\left(B\right)}</math> |
+ | |||
+ | • If <math class="inline">P\left(B\right)=\sum_{i}P\left(B\cap A_{i}\right)=\sum_{i}P\left(B|A_{i}\right)P\left(A_{i}\right)</math> , then <math class="inline">P\left(A_{i}|B\right)=\frac{P\left(A_{i}\cap B\right)}{P\left(B\right)}=\frac{P\left(B|A_{i}\right)A_{i}}{\sum_{j}P\left(B|A_{j}\right)A_{j}}</math> | ||
− | + | ---- | |
+ | [[ECE600|Back to ECE600]] | ||
[[ECE 600 Prerequisites|Back to ECE 600 Prerequisites]] | [[ECE 600 Prerequisites|Back to ECE 600 Prerequisites]] |
Latest revision as of 10:23, 30 November 2010
1.3 Bayes' theorem
From the ECE600 Pre-requisites notes of Sangchun Han, ECE PhD student.
• = Bayes' rule
• $ P\left(A|B\right)=\frac{P\left(A\cap B\right)}{P\left(B\right)}=\frac{P\left(B|A\right)P\left(A\right)}{P\left(B\right)} $
• If $ P\left(B\right)=\sum_{i}P\left(B\cap A_{i}\right)=\sum_{i}P\left(B|A_{i}\right)P\left(A_{i}\right) $ , then $ P\left(A_{i}|B\right)=\frac{P\left(A_{i}\cap B\right)}{P\left(B\right)}=\frac{P\left(B|A_{i}\right)A_{i}}{\sum_{j}P\left(B|A_{j}\right)A_{j}} $