In probability theory, conditional probability describes the probability of event given that event has occurred. We define it as:

Bayes’ theorem

An important result of conditional probability is Bayes’ theorem, which relates the conditional probability of an event given an event occurs. In the single event case:

In the multiple event case, where we have multiple disjoint sets , then the probability of an event given event occurs is given by:

Random variables

Multiple random variables

In the continuous case, the conditional CDF is given by:

And the conditional PDF is given by: