06-26-2014, 08:46 PM
Quote:P(B|A) = P(AandB)/P(A)
P(A|B) always = P(AandB)/P(B)
This is correct. The numerator is always P(AandB) for Bayes Theorem. The denominator is the probability which the outcome depends on (tip: it's always the alphabet on the right hand).
P(A|B) can be defined as the probability of A happening on the condition that B happens.