- Bayes' Formula: The Big Picture
- Conditional Probability, Priors, and Posteriors
- Bayes' Formula and the Total Probability Rule
- Worked Example: Updating a Credit-Risk Probability
- Related Probability Concepts and Distinctions
- Common Mistakes and Boundary Cases
- Bayes' Formula: Summary Table
- Bayes' Formula: Q&A
- Level 1 CFA Exam Takeaway: Bayes' Formula
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 PosteriorsConditional 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.

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.
- – 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.
- – 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 ProbabilitySuppose 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 DistinctionsJoint 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 CasesThe 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 TableThe 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.
| Measure | What it represents | Role in a Bayes calculation |
| Prior probability | Probability of the event before new information | Sets the base rate |
| Likelihood | Probability of the information conditional on an event | Measures how consistent the evidence is with a path |
| Joint probability | Probability that the event and information occur together | Forms the Bayes numerator |
| Unconditional probability | Probability of the information across all relevant paths | Forms the denominator |
| Posterior probability | Updated probability of the event after information | Supports the revised interpretation |
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 the posterior probability mean in investment terms?
Can Bayes' formula be used with more than two possible events?
- 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.

