Law of Total Probability
The Law of Total Probability is a fundamental theorem in probability theory that relates marginal probabilities to conditional probabilities. It allows us to compute the probability of an event by considering all possible scenarios (partitions of the sample space) and using the conditional probabilities for each scenario.
Formula:
If form a partition of the sample space (i.e., the events are mutually exclusive and exhaustive), then the total probability of an event can be expressed as:
Explanation:
- is the conditional probability of given .
- is the probability of event .
- The sum runs over all the possible events , which partition the entire sample space.
The law allows us to calculate by considering how behaves across the different “parts” (or “cases”) defined by the partition .
Intuition:
Suppose you want to find the probability of event , but directly calculating is difficult. Instead, you break down based on different scenarios (events ) that together cover all possibilities. You then calculate the conditional probability of given each scenario and combine these with the probabilities of the scenarios to find the total probability of .
Example:
Suppose we want to calculate the probability that a randomly chosen person has a disease . We can partition the population into two groups: those who are tested for the disease () and those who are not tested ():
Here, is the probability of having the disease given that the person is tested, and is the probability of being tested.
Extended Form:
If we have multiple partitions, the total probability can be generalized as:
Where form a partition of the sample space.
Theorem of Total Probability:
If is a set of exhaustive and mutually exclusive events, and is another event associated with , then
Mutually Exclusive: Two events and are mutually exclusive if
Exhaustive: A set of events is exhaustive if
Example:
Let , and
The events are mutually exclusive and exhaustive because:
Example Question
Suppose there are three doors ( E_1, E_2, E_3 ) at your college, and there’s a zombie apocalypse. We want to calculate the probability of escaping through any of these doors.
Using the Theorem of Total Probability, the probability of escaping ( P(E) ) is:
Example Question Trick
Now, consider a more complex scenario: After escaping, what is the probability that the person escaped through door 2?
To solve this, we use Bayes’ Theorem, which we learned in a previous lecture. Bayes’ Theorem allows us to update our beliefs based on new evidence. The formula for Bayes’ Theorem is:
Given that the person has escaped (event ( A )), the probability that they escaped through door 2 (event ( E_2 )) is:
Where:
- ( P(E_2 \mid E) ) is the probability of having escaped through door 2 given that the person has escaped.
- ( P(E_2) ) is the prior probability of escaping through door 2.
- ( P(E \mid E_2) ) is the likelihood of escaping given that the person chose door 2.
- ( P(E) ) is the total probability of escaping, calculated using the Theorem of Total Probability.
Conclusion
The combination of the Theorem of Total Probability and Bayes’ Theorem provides a powerful framework for analyzing complex probabilistic scenarios. These theorems are fundamental in statistics and probability theory, with wide-ranging applications in fields such as machine learning, medical diagnosis, and risk assessment.
References
Information
- date: 2025.02.03
- time: 09:42