Bayes' Theorem

P(A|B) = P(B|A) ร— P(A) / [P(B|A) ร— P(A) + P(B|A') ร— P(A')]