Law of Total Probability
  • if {π‘Œ1,Β π‘Œ2, …, π‘Œπ‘›} are mutually disjoint events in the sample space 𝛺 and β‹ƒπ‘–π‘Œπ‘– = 𝛺, then:
    • 𝐏(𝑋) = 𝛴1≀𝑖≀𝑛𝐏(𝑋,π‘Œπ‘–)Β = 𝛴1≀𝑖≀𝑛𝐏(𝑋|π‘Œπ‘–)𝐏(π‘Œπ‘–)
  • in other words: the marginal probability 𝐏(𝑋) is the weighted average of the conditional probabilities 𝐏(𝑋|π‘Œπ‘–) weighted by 𝐏(π‘Œπ‘–)
Together With Baye’s Theorem
  • 𝐏(𝑍|𝑋) = 𝐏(𝑋|𝑍)𝐏(𝑍) / [𝛴1≀𝑖≀𝑛𝐏(𝑋|π‘Œπ‘–)𝐏(π‘Œπ‘–)]