Law of Total probability and Bayes' theorem Flashcards
1
Q
Simple law of total probability - 2
A
- A and B are two events
- P(B) = P ( B ∩ A ) + P ( B ∩ A bar ) = P ( B | A ) · P ( A ) + P ( B | A bar ) · P ( A bar )
2
Q
Bayes’ Theorem - 3
A
- P(A|B)= P(B|A)·P(A) / P(B|A)·P(A)+P(B|A bar)·P(A bar).
- P(B|A) + P(B bar | A) = 1
- P(B|A) + P(B|A bar ) ≠ 1
3
Q
Partition - 3
A
- A collection of A1, … , Am events
- Each event is pairwise disjoint (Ai n Aj) = Empty if i ≠ j
- The union of events is the entire sample space
4
Q
Law of total probability - 2
A
- A1, … , Am is a partition
- P(B) = Sum(m, i = 1) P(B ∩ Ai ) = Sum(m, i = 1) P(B|Ai ) · P(Ai ).