SandHouse
Pages and contents

Bayes Rule

Joint Probability

The joint probability of two events is the probability that both events occur simultaneously, i.e. the probability of both A and B. Sometimes the notation P(A∩B)is used.

P(A,B)=P(A)P(B|A)=P(B)P(A|B)

Or, if the events A and B are independent, P(A,B)=P(A)P(B).

[image: p_x_.webp]**[image: Multivariate_normal_sample.svg.webp]

Bayes Rule

The equation for Baye’s rule allows you to write P(A|B)in terms of P(B|A).

P(A|B)=P(A)P(B|A)P(B)

Which is a trivial algebraic manipulation of the statement P(A)P(B|A)=P(B)P(A|B).