A and B are independent if:

If ,

Bayes Theorem