Level 1 CFA® Exam: Bayes' Formula

Level 1 CFA® Exam: Bayes' Formula

  1. Bayes' Formula: The Big Picture
  2. Conditional Probability, Priors, and Posteriors
  3. Bayes' Formula and the Total Probability Rule
  4. Worked Example: Updating a Credit-Risk Probability
  5. Related Probability Concepts and Distinctions
  6. Common Mistakes and Boundary Cases
  7. Bayes' Formula: Summary Table
  8. Bayes' Formula: Q&A
  9. Level 1 CFA Exam Takeaway: Bayes' Formula
## Bayes' Formula: The Big Picture

Bayes' formula updates the probability of an event after new information arrives. It begins with a prior probability, combines that prior with evidence about how likely the new information is under different outcomes, and produces a posterior probability. The posterior is the revised probability that matters after the information has been observed.

The intuition is not “reverse probability” by itself. A result that is common when an event occurs may also be common when the event does not occur. Bayes' formula accounts for both facts, as well as the event's base rate, before deciding how much weight the information deserves.

In investment analysis, this approach is useful when an analyst wants to revise a probability rather than make an all-or-nothing prediction. A credit warning, an economic indicator, or an earnings signal may change the assessed probability of an outcome, but it does not prove that outcome will occur. The quality of the update depends on the assumptions and evidence used to set the probabilities.

## Conditional Probability, Priors, and Posteriors

Conditional probability describes a probability after a condition is specified. is the probability of observing information when event has occurred. It differs from , the probability that the event occurred after the information was observed; Bayes' formula connects these two conditional probabilities.

The prior reflects what was known before the new information. The posterior reflects what is known afterward. A posterior can be higher, lower, or equal to the prior, depending on whether the observed information is more, less, or equally likely when occurs than when it does not.

A probability tree makes the sequence clear: start with the branches for and its complement, attach conditional information probabilities to each branch, then calculate the terminal joint probabilities. The relevant branch is not enough on its own; the posterior must compare that branch with every way the same information could have been observed.

Watercolor infographic for Level 1 CFA® Exam: Bayes' Formula

Bayes' Formula and the Total Probability Rule

Bayes' formula states that the posterior is the likelihood of the information given the event, multiplied by the prior, and divided by the unconditional probability of the information. The numerator is a joint probability, while the denominator normalizes that joint probability across all paths that could produce the information.

Bayes' Formula
  • – posterior probability of event given information
  • – likelihood of information given event
  • – prior probability of event
  • – unconditional probability of information

For two mutually exclusive and exhaustive possibilities, and , the total probability rule supplies the denominator. It adds the joint probabilities of all relevant paths that lead to . This is why a probability tree, a contingency table, or a careful two-step calculation can prevent denominator errors.

Total Probability Rule for Two Events
  • – unconditional probability of information
  • – probability of information if event occurs
  • – probability of event
  • – probability of information if event does not occur
  • – probability that event does not occur

For a calculation, first label the event, the observed information, and their complements. Then calculate , multiply by , and divide. Keeping probabilities as decimals until the final step reduces rounding and percentage-conversion mistakes.

## Worked Example: Updating a Credit-Risk Probability

Suppose an analyst assigns a 10% prior probability that an issuer will experience financial distress during the next year. A newly observed risk flag appears in 70% of distressed issuers and in 20% of issuers that do not become distressed. The risk flag is informative, but it is not conclusive, because it can also appear when distress does not occur.

First, calculate the unconditional probability of the flag: . The first branch, 0.07, is the joint probability of distress and the flag; the second branch, 0.18, is the joint probability of no distress and the same flag. Both branches belong in the denominator because either one can produce the observed flag.

Next, apply Bayes' formula: . The posterior probability of distress is therefore 28%. In investment terms, the flag has raised the assessed credit-risk probability from 10% to 28%, but the result remains a model-based probability, not a certain forecast of distress or a direct recommendation about a security.

## Related Probability Concepts and Distinctions

Joint probability is the probability that two events occur together. For example, is the joint probability of event and information . Conditional probability instead narrows attention to a stated condition, so confusing a joint probability with a conditional probability can put the wrong value in the numerator or denominator.

The total probability rule is the closest companion to Bayes' formula because it often calculates . Bayes updates a probability after observing information; total probability aggregates paths before that update. In a two-event setting, the paths involving and must be mutually exclusive and collectively exhaustive for the displayed denominator formula to apply.

Expected value and variance answer different questions from Bayes' formula. Expected value weights possible outcomes by their probabilities, while variance weights squared deviations from that expected value. Bayes' formula can revise the probabilities used in an expected-value or variance calculation, but it does not itself calculate a payoff, expected return, or risk measure.

For a complementary logical explanation, read Bayes' theorem explained without formulas.

## Common Mistakes and Boundary Cases

The base-rate fallacy occurs when someone treats as though it were , ignoring the prior probability and the chance of observing the information without the event. In the example, 70% is the likelihood of the flag given distress, not the 28% posterior probability of distress given the flag. The denominator is what converts a likelihood into a posterior.

Another common error is to use only as the answer. That product is the joint probability of both the event and the information; it has not yet been normalized by the total probability of the information. A probability tree exposes the missing competing branches and makes it easier to check that the denominator includes every relevant route.

If and are independent, then , so Bayes' formula leaves the prior unchanged: . The formula is undefined when , because the information is impossible under the model. Check the event definitions and the probability partition before calculating, especially when a question includes more than two possible states.

## Bayes' Formula: Summary Table

The table separates the roles played by the key probability measures. Reading the formula this way helps candidates decide whether a number is a prior, a likelihood, a joint probability, or the posterior requested by the question.

The total probability rule belongs before the Bayes calculation whenever is not already supplied. Use mutually exclusive paths that cover all possibilities for the observed information; otherwise the denominator will not represent the unconditional probability of that information.

When interpreting a result, compare the posterior with the prior and ask why it changed. The direction and size of the update reflect the evidence relative to the base rate, not simply whether the information sounds favorable or unfavorable.

MeasureWhat it representsRole in a Bayes calculation
Prior probabilityProbability of the event before new informationSets the base rate
LikelihoodProbability of the information conditional on an eventMeasures how consistent the evidence is with a path
Joint probabilityProbability that the event and information occur togetherForms the Bayes numerator
Unconditional probabilityProbability of the information across all relevant pathsForms the denominator
Posterior probabilityUpdated probability of the event after informationSupports the revised interpretation
## Bayes' Formula: Q&A
What is the difference between conditional and joint probability?
Joint probability is the probability that two events occur together. Conditional probability is the probability of one event after another event or condition is specified. Bayes' formula uses a joint probability in its numerator and a conditional probability as its final result.
When should Bayes' theorem be used?
Use it when a prior probability can be updated using observed information and known or estimated conditional probabilities. It is especially useful when the new information is informative but not decisive.
How can a probability tree prevent Bayes errors?
A tree separates the prior branches from the conditional information branches. Multiplying along a branch gives a joint probability, and adding all branches that lead to the observed information gives the correct denominator.
What is the base-rate fallacy?
It is the error of ignoring the prior probability and treating a likelihood as a posterior probability. The error can make rare events appear much more likely than they are after a signal is observed.
How are expected value and variance calculated from a probability distribution?
Expected value is the sum of each possible outcome multiplied by its probability. Variance is the sum of each probability multiplied by the squared difference between that outcome and the expected value. Updated probabilities from Bayes' formula can be used in either calculation.
What does independence change in a probability calculation?
If information and an event are independent, observing the information does not change the event probability. The posterior equals the prior because the likelihood of the information is the same whether the event occurs or not.
What does the posterior probability mean in investment terms?
It is a revised estimate of the probability of the defined event under the stated assumptions. It can inform valuation, scenario analysis, or credit assessment, but it is not a guaranteed outcome or an automatic investment decision.
Can Bayes' formula be used with more than two possible events?
Yes. The denominator must then add the joint probabilities for every mutually exclusive and exhaustive event that could lead to the observed information. The same updating logic applies.
## Level 1 CFA Exam Takeaway: Bayes' Formula
  • Distinguish the prior probability from the posterior probability updated after new information.
  • Do not confuse a likelihood with a posterior; Bayes' denominator accounts for every path to the observed information.
  • Use the total probability rule to calculate an unconditional information probability when it is not supplied.
  • A probability tree can separate priors, conditional probabilities, joint probabilities, and the required denominator.
  • If information is independent of the event, the posterior probability equals the prior probability.