logo

Law of Total Probability: Formula and Worked Examples

Law of Total Probability: Formula and Worked Examples
8

The law of total probability calculates an event's probability by adding its contributions across a complete set of nonoverlapping scenarios. Each contribution equals the probability of a scenario multiplied by the event's probability conditional on that scenario.

If B1, B2, and other scenarios partition all possible outcomes, then P(A) = Σ P(A | Bi)P(Bi). The scenarios must cover the whole sample space without counting any outcome twice.

In forecasting, the rule helps combine conditional views into one overall estimate. It also makes the assumptions visible: changing scenario weights can change the final probability even if the forecast within each scenario stays the same.

What the Law of Total Probability Adds Up

Suppose A is the event you want to forecast. You may find it easier to estimate A under several distinct conditions than to estimate it directly. The law provides a coherent way to combine those conditional estimates.

MIT's conditional-probability slides develop the rule using a partition of the sample space. The University of Utah's probability notes also state the rule in terms of intersections with each part of that partition.

The basic idea is to divide the event into pieces that do not overlap, calculate each piece, and add them. The scenario probability controls how much weight each conditional estimate receives.

This is different from adding a set of conditional probabilities without weights. A likely scenario should generally contribute more than a rare one when both have the same conditional event probability.

The rule is a probability identity, not evidence that the chosen inputs are accurate. A precise weighted sum can still be based on poor scenario definitions or unsupported forecasts.

The Conditions: A Complete, Nonoverlapping Partition

A partition has two requirements. Its scenarios are mutually exclusive, so an outcome belongs to no more than one scenario. They are collectively exhaustive, so every outcome belongs to one of them.

For a simple two-scenario version, use B and its complement, not B. Then:

P(A) = P(A | B)P(B) + P(A | not B)P(not B).

For a larger finite partition, the scenario weights sum to one. Every conditional probability used in the product must be defined for a scenario with positive probability. A zero-weight scenario contributes zero without requiring a conditional estimate on that zero-probability event.

Be careful with descriptive labels. “Inflation is high” and “employment is weak” can both be true. Treating them as separate nonoverlapping buckets would double-count some outcomes unless you refine them into joint scenarios.

The conditional probability guide explains what the vertical bar means: P(A | B) describes A under the condition B. It is not the probability of B given A, and it is not the probability that A and B both happen.

Worked Example: A Hypothetical Rate-Cut Forecast

Imagine a future policy decision with three hypothetical, mutually exclusive economic regimes: cool, stable, and hot. Define these regimes using fixed thresholds before making the forecast. Assume they cover every possible observation relevant to the exercise.

Give the regimes probabilities of 50%, 30%, and 20%. Within those regimes, suppose the estimated chances of a rate cut are 70%, 40%, and 10%, respectively.

Regime Weight Cut chance
Cool 50% 70%
Stable 30% 40%
Hot 20% 10%

Multiply the probability of each regime by its conditional rate-cut probability:

  • Cool contribution: 0.50 × 0.70 = 0.35.
  • Stable contribution: 0.30 × 0.40 = 0.12.
  • Hot contribution: 0.20 × 0.10 = 0.02.

The overall rate-cut probability is 0.35 + 0.12 + 0.02 = 0.49, or 49%.

All inputs are invented for this example. They are not current central-bank forecasts, historical estimates, or probabilities from a live market. The calculation shows how to combine assumptions, not how to establish them.

Hypothetical rate-cut forecast combines scenario contributions of 0.35, 0.12 and 0.02 into 49%.
Hypothetical complete regime partition: 50% × 70% + 30% × 40% + 20% × 10% = 49%. The first percentage in each product is the regime weight; the second is the rate-cut probability conditional on that regime.

Why an Unweighted Average Gives the Wrong Result Here

The simple average of the three conditional probabilities is (70% + 40% + 10%) / 3 = 40%. That would assign equal weight to all three regimes.

The stated regime probabilities are not equal. The cool regime carries 50% of the weight, the stable regime 30%, and the hot regime 20%. The correct total under these assumptions is therefore 49%, not 40%.

An unweighted average is valid when the partition's scenario probabilities are actually equal. It is not a shortcut that can be used merely because the scenarios occupy equally sized rows in a table.

As a quick check, a weighted average with nonnegative weights summing to one must lie between the smallest and largest conditional probabilities. Here 49% lies between 10% and 70%. Passing this check does not prove the forecast is good, but failing it would reveal an arithmetic or input problem.

Do not add the conditional probabilities to obtain 120%. They describe different conditions. Their weighted contributions, rather than their raw percentages, belong in the total.

How the Rule Connects to Bayes' Theorem

The same example can answer a reverse conditional question: if a cut occurs, what is the probability that the cool regime applies under the model?

The joint probability of a cool regime and a cut is 0.50 × 0.70 = 0.35. Divide by the total cut probability of 0.49:

P(cool | cut) = 0.35 / 0.49 ≈ 71.43%.

The original 70% was P(cut | cool). The new 71.43% is P(cool | cut). They condition in opposite directions and need not match.

The Bayes theorem guide explains this reversal in more detail. The law of total probability often supplies the denominator that normalizes the conditional update.

That update remains tied to the assumptions in the hypothetical model. Observing a real policy cut would not, by itself, validate the three chosen regimes or the conditional probabilities assigned to them. A different model can produce a different posterior estimate.

Stress-Test the Scenario Weights

Now leave the conditional rate-cut chances at 70%, 40%, and 10%, but change the regime probabilities to 30%, 30%, and 40%.

The contributions become 0.21, 0.12, and 0.04. Their sum is 0.37, or 37%. The overall forecast falls by 12 percentage points even though no within-regime rate-cut estimate changed.

This is a useful sensitivity exercise. It separates uncertainty about which environment will occur from uncertainty about what happens inside that environment.

You can also vary the conditional probabilities while holding the scenario weights fixed. Keep those changes visible rather than revising both sets of inputs and attributing the entire result to one new piece of evidence.

For a practical forecast record, save the regime definitions, weights, conditional estimates, time, and event deadline. Later information can justify revisions. Preserving the earlier version makes it possible to distinguish an actual update from a rewritten history.

From a Probability Estimate to a Contract Decision

An estimated 49% event probability is not automatically a trade recommendation. For a hypothetical contract paying $1 for YES and $0 otherwise, it implies an expected payoff of $0.49 under that forecast.

The expected value formula shows how the purchase price and costs enter the next calculation. A model probability must be compared with the actual payoff definition, available price, and relevant charges.

If the contract resolves using a different threshold, meeting, or publication date than the forecast, the comparison is invalid even when both questions are described casually as a “rate cut.” Align the event definitions first.

Account for uncertainty in the inputs as well. A small apparent price gap can disappear when reasonable scenario assumptions change. The weighted probability is a useful summary of a stated model, rather than proof that the model has discovered an advantage.

Frequently Asked Questions

Does the Rule Require Independent Scenarios?

No. The partition's scenarios must be mutually exclusive and exhaustive. Mutual exclusivity is different from independence. The calculation specifically uses conditional probabilities to accommodate relationships between the event and the scenarios.

Can the Scenarios Overlap?

Not in the simple weighted-sum form presented here. Refine overlapping scenarios into nonoverlapping joint cases or use a probability calculation that accounts for their intersections. Otherwise, some outcomes can be counted more than once.

What if the Scenario Weights Do Not Sum to One?

Investigate whether a scenario is missing, overlaps another, or was entered incorrectly. Rounding can cause a tiny display difference, but silently renormalizing a substantially incomplete model can conceal the original problem.

Is Total Probability the Same as Expected Value?

No. This rule combines probabilities of the same event across a partition. Expected value averages numerical outcomes or payoffs. They use related weighted-sum reasoning but summarize different quantities.

Author
Dale Hanson
Dale HansonCommunity Manager. X @InHansonWeTrust
Categories