- Bayes' Theorem: Logical Thinking First
- A Probability Map for Bayes' Theorem
- Worked Credit Example: Tree and Frequency Table
- Bayes' Theorem Formula and Workflow
- From Posterior Probability to Investment Decisions
- Common Mistakes and Boundary Cases
- Bayes' Theorem: Q&A
- Level 1 CFA Exam Takeaway: Bayes' Theorem
Bayes' Theorem: Logical Thinking First
Bayes' theorem updates a probability after new information arrives. It answers questions such as: given that a bond has defaulted, how likely is it that the bond came from a particular rating group? The key is to start with the whole population, then narrow the population to the observations that satisfy the new condition.
The result can feel surprising because the new information is not the only input. A rare group can have a high default rate, but a much larger group may still contribute many defaults. The prior probability, or base rate, remains part of the answer even after the evidence is observed.
For CFA Level 1 questions, a frequency approach is often the clearest first step. Turn percentages into counts out of 100 or 1,000, trace the relevant branches, and then calculate the proportion within the conditioned group. The formula should confirm the logic, not replace it.
A Probability Map for Bayes' Theorem
Bayes questions use several related probability ideas. A marginal probability is the overall probability of one event, such as the probability that a randomly selected bond is junk-rated. A conditional probability adds a condition, such as the probability of default given that a bond is junk-rated.
A joint probability is the probability that two events occur together. If denotes a junk-rated bond and denotes default, then is the chance that a randomly selected bond is both junk-rated and in default. It combines the group’s prior probability with the default rate within that group; all rating-and-default combinations together form a simple joint distribution.
The total probability rule collects every mutually exclusive way in which the observed information can occur. For example, a default can come from an A-rated bond or a junk-rated bond in this simplified portfolio. The total default probability is the denominator that turns a joint probability into the posterior probability.
- – one event or group
- – the complement of event
- – the observed event or new information
- – probability that and occur together
The words “given that” point toward a conditional probability. The order matters: asks for default among junk-rated bonds, while asks for junk-rated bonds among defaults. Those are different questions with different denominators, so they should not be treated as interchangeable.

Worked Credit Example: Tree and Frequency Table
Consider the original credit example. A portfolio contains 90% A-rated bonds and 10% junk-rated bonds. The probability of default is 3% for an A-rated bond and 20% for a junk-rated bond. The question is: given that a randomly selected bond is in default, what is the posterior probability that it is junk-rated?
Build the probability tree from left to right. The first split is rating group: the A-rated branch has probability , and the junk-rated branch has probability . From each branch, split again into default and no-default using that group’s conditional default probability.
Using 1,000 bonds makes each branch visible. Of 900 A-rated bonds, 3% default, giving 27 defaults. Of 100 junk-rated bonds, 20% default, giving 20 defaults. The relevant conditioned population is not all 1,000 bonds; it is the 47 bonds that defaulted.
| Rating group | Bonds in group | Default rate | Defaulted bonds |
| A-rated | 900 | 3% | 27 |
| Junk-rated | 100 | 20% | 20 |
| Total | 1,000 | 4.7% overall default rate | 47 |
Once default is known, count only the defaulted bonds. Twenty of the 47 defaults are junk-rated, so the answer is . The posterior probability is much higher than the 10% junk-bond prior because junk bonds default more frequently, but it is not 100% because A-rated bonds are far more common in the portfolio.
This frequency table is a probability tree written as counts. It prevents a common error: using the 20% default rate of junk bonds as the answer. That 20% is ; the question asks for , which requires looking across all defaults.
Bayes' Theorem Formula and Workflow
The formula gives exactly the same result as the tree. Start with the prior probability of the target event, multiply it by the likelihood of the evidence given that event, and divide by the unconditional probability of the evidence. The denominator must include every way the evidence could occur.
In the credit example, the numerator is the joint probability of a bond being junk-rated and defaulting: . The total probability of default is . These are the probability versions of 20 junk defaults and 47 total defaults out of 1,000.
- – event that a bond is junk-rated
- – event that a bond defaults
- – prior probability of a junk-rated bond
- – posterior probability of a junk-rated bond after observing default
The workflow is reliable when written in words: define the target event, write its prior, find the evidence likelihood for each relevant group, calculate the total probability of the evidence, and divide the target joint probability by that total. A tree or frequency table is a useful audit trail when the notation becomes confusing.
Bayes' theorem is especially useful when new information has a different frequency across possible states. A rating signal, a credit event, an analyst indicator, or a macro scenario can change the probabilities assigned to future outcomes. The theorem does not create evidence; it tells you how to combine a prior with evidence that has known conditional probabilities.
From Posterior Probability to Investment Decisions
Posterior probabilities can feed directly into an investment decision. After new information changes the probabilities of economic scenarios, an analyst can use the revised probabilities to calculate an expected return, expected credit loss, or expected project cash flow. The decision changes because the scenario weights change, not because Bayes’ theorem predicts a certain outcome.
For a discrete probability distribution, expected value is the probability-weighted average of possible outcomes. Variance measures the spread of one asset's outcomes around its expected return, while covariance measures how two assets' returns move together across the same scenarios. The scenario probabilities must be mutually consistent before these measures can be interpreted.
- – probability of scenario
- – return on asset in scenario
- – return on asset in scenario
- and – expected returns
For example, an updated posterior probability of recession can raise the expected weight placed on a credit-loss scenario and reduce the expected return of a high-yield bond. It can also change covariance estimates if several portfolio holdings perform poorly in that same scenario. Bayesian updating therefore connects probability logic to portfolio risk, not merely to exam arithmetic.
Keep the scope of the result in view. A posterior is only as reliable as the prior probabilities, the conditional-probability estimates, and the assumption that the available evidence is relevant to the question. A precise calculation cannot repair weak or stale inputs.
Common Mistakes and Boundary Cases
The base-rate fallacy occurs when a solver focuses only on the conditional rate and ignores how common the underlying groups are. In the credit example, junk bonds have a 20% default rate, but they represent only 10% of the portfolio. A high likelihood is not the same as a high posterior probability when the prior is small.
False positives illustrate the same logic. If a screening signal appears often among genuinely risky investments but also appears among many low-risk investments, the posterior probability after a positive signal can still be modest. Always ask how frequently the signal occurs across all groups, not only in the group you are trying to identify.
Another error is omitting one branch from the total probability rule. The denominator must include defaults from both A-rated and junk-rated bonds in this example. Dividing the 2% joint probability by the 20% junk default rate simply returns the prior; it does not answer the question conditioned on default.
Independence is a boundary case worth checking. If events and are independent, then , so observing does not change the probability of . In that special case, the posterior equals the prior; Bayes’ theorem still works, but the new information has no updating power.
Finally, do not confuse a probability model with a forecast guarantee. Credit defaults, asset returns, and macroeconomic signals can be correlated, estimated with error, or affected by structural change. Use Bayes' theorem to organize evidence and assumptions, then assess whether those inputs remain suitable for the decision.
Bayes' Theorem: Q&A
What is the difference between conditional and joint probability?
When should Bayes' theorem be used?
How can a probability tree prevent Bayes errors?
What is the base-rate fallacy?
How are expected value and variance calculated from a probability distribution?
What does independence change in a probability calculation?
What does a posterior probability mean in investment terms?
Why is the 20% junk-bond default rate not the answer to the worked example?
Level 1 CFA Exam Takeaway: Bayes' Theorem
- Define the target event and the observed evidence before choosing a conditional probability.
- Use a probability tree or frequencies to identify the relevant joint probabilities and total conditioned population.
- Apply Bayes' theorem by dividing the target joint probability by the total probability of the evidence.
- Keep prior, likelihood, marginal, joint, and posterior probabilities distinct.
- Use posterior scenario probabilities to update expected value and portfolio-risk analysis, not to claim certainty.

