NEW
Also known as: Total Probability Theorem
A probability identity expressing an event’s probability as a sum of conditional probabilities over a partition of the sample space.
DESCRIPTION
The law of total probability relates marginal probabilities to conditional probabilities over a set of mutually exclusive and exhaustive events. It enables decomposing complex probability calculations by conditioning on simpler or observable events. This law underpins Bayesian reasoning and modeling with latent or hidden variables. In practice, it aids risk estimation, classification, and causal analysis when the data can be stratified into meaningful groups. It is foundational in statistical inference, uncertainty quantification, and probabilistic machine learning.
ALTERNATIVE DEFINITIONS
Wikipedia
In probability theory, the law of total probability is a theorem relating marginal probabilities to conditional probabilities.
Concise emphasis on the relationship between marginal and conditional probabilities.
Wolfram MathWorld
The total probability theorem states that if events B1, B2, …, Bn form a partition of the sample space, then for any event A the probability of A is given by the sum of the conditional probabilities P(A|Bi) weighted by P(Bi).
Explicit statement of the partition condition and weighted sum.
StatLect
The law of total probability states that if a collection of events forms a partition of the sample space, then the probability of any event can be computed by summing conditional probabilities over the partition.
Pedagogical framing with emphasis on computational procedure.
Penn State Eberly College of Science
The law of total probability states that if B1, B2, …, Bn is a partition of the sample space, then P(A) = ∑i P(A|Bi)P(Bi).
Textbook-style statement including the summation form.
RELATED TERMS
Conditional Probability Bayes’ Theorem Partition Random Variable Probability Distribution Chain Rule of Probability Marginal Probability Sample Space
RELATIONS
- Broader: Probability
KNOWLEDGE AREAS
TARGET AUDIENCE
Data Scientist AI Engineer Data Analyst Analytics Engineer
EXTERNAL SOURCES
- Wikipedia - Law of total probability
- StatLect - Detailed tutorial and examples
- Wolfram MathWorld - Reference entry and formula
- Penn State - Course notes with derivation
TOP QUESTIONS
Why is the Law of Total Probability important in data science?
It decomposes complex probability calculations into conditional pieces. This helps in stratified modeling, missing-data handling, and understanding uncertainty across groups.
Category: Relevancy
How does the Law of Total Probability relate to Bayes’ Theorem?
It provides the denominator term for Bayes’ theorem via summing conditional probabilities. Together, they connect prior, likelihood, and marginal probabilities.
Category: Requirements
What is a common mistake with the Law of Total Probability?
Failing to use a proper partition of the sample space. Events must be mutually exclusive and collectively exhaustive for the identity to hold.
Category: Mistakes
How do you apply the Law of Total Probability in practice?
Identify relevant segments (partition events), estimate P(A|Bi) and P(Bi), then sum. Use observed strata like demographic groups or operating conditions.
Category: Example
What is a striking analogy for the Law of Total Probability?
Think of a total as the sum of contributions from each category; like total sales being the sum from each store.
Category: Example
What is the biggest misunderstanding about the Law of Total Probability?
Assuming it applies without mutual exclusivity and exhaustiveness. Without a true partition, the sum may be incorrect.
Category: Misunderstanding
When was the Law of Total Probability introduced?
It emerged across early 20th-century probability texts, rooted in measure-theoretic formalization of probability and conditionality.
Category: Origin
What risks arise from misusing the Law of Total Probability?
Misestimated risk, biased decisions, and invalid inferences. Mis-specified partitions lead to incorrect marginal probabilities.
Category: Risk
What related concept should I study alongside the Law of Total Probability?
Bayes’ Theorem and conditional probability basics. These provide complementary tools for inference and decision-making.
Category: Requirements