Overview

Conditional probability expresses the probability of one event given that another (probabilistic) event has already occurred. Bayes’ rule and the law of total probability, which follow directly from the definition of conditional probability, allow us to compute conditional probabilities in a wide range of problems.

Related notes:


Conditional probability

Conditional probability

If are events with , then the conditional probability of event given that the conditioning event has occured is given by

Conditional probability satisfies the axioms of probability:

  1. .
  2. If are disjoint events, then

Further, similar to with unconditioned probabilities, we have and

Simpson’s paradox

The events exhibit Simpson’s paradox if we have both

but .

Intuitively, Simpson’s paradox occurs when there is “some confounding going on.”


Law of total probability

Blitzstein & Hwang 2.3.1-2: Probability of an intersection of events

As a direct consequence of the definition of conditional probability, we have the following result for an intersection of two events:

Applying this repeatedly, we generalize to the intersection of events:

where are events with intersection . The commas denote intersections (i.e., “and”).

Note that one can permute (from B&H, “this is theorems in one”); some orderings are more convenient than others.

Law of total probability

Suppose are mutually exclusive (i.e., disjoint) and exhaustive (i.e., at least one event in the collection must occur) events. Then for any other event , we have

(see General definition of probability for axioms and properties of probability.)

Equivalently, we require to partition the whole set ; that is, for all (mutually exclusive), and is the union of all sets in the collection (exhaustive).


Bayes’ rule and odds

Bayes’ theorem (reversing the conditioning)

If are mutually exclusive and exhaustive events, then for any other event , the posterior probability of given that as occurred is

We can incorporate “extra conditioning” into Bayes’ theorem using the definition of conditional probability again. Let . Then

Bayes’ rule can also be expressed in odds, instead of probability.

Odds of an event

The odds of an event are defined by

Odds form of Bayes’ rule

For any events with positive probabilities, the posterior odds of after conditioning on are

where the factors in the right-hand expression are called the likelihood ratio and prior odds, respectively.


Review

Definitions

  • Conditional probability
  • Law of Total Probability
  • Bayes’ theorem
  • Simpson’s paradox

Exercises

  • Show how the definition of conditional probability satisfies the axioms of probability.
  • Prove the Law of Total Probability. (Hint: write as the union of disjoint events.)
  • Show how to incorporate “extra conditioning” into Bayes’ formula for :