Wednesday, November 18, 2026
Data from SEC filings, checked daily
My DeskFree
Public filings, plainly told
Probability trees and conditional expectat
Summarize with AIChatGPTClaudePerplexityGoogle AIGrokCopilot
CFA® Level I · Quantitative Methods · Lesson 4 of 11

Probability trees and conditional expectations

Expected value, variance, Bayes' formula and decision trees.

Written by Sepehr Parsa9 min read

Basic rules

A probability is a number from 0 (impossible) to 1 (certain). The probabilities of all mutually exclusive and exhaustive outcomes add to 1.

Rule Formula
Multiplication (joint probability) P(AB) = P(A | B) × P(B)
Addition P(A or B) = P(A) + P(B) − P(AB)
Independent events P(A | B) = P(A), so P(AB) = P(A) × P(B)
Mutually exclusive events P(AB) = 0, so P(A or B) = P(A) + P(B)

Odds express the same idea differently: odds for an event = P(E) / [1 − P(E)]. A probability of 0.25 is odds of 1 to 3.

Total probability rule

When the world can be in one of several scenarios, an unconditional probability is the weighted sum of the conditional ones:

P(A) = P(A | S1) × P(S1) + P(A | S2) × P(S2) + …

Example: a 60% chance of growth and 40% chance of recession. A company beats earnings forecasts with probability 70% in growth and 30% in recession. P(beat) = 0.7 × 0.6 + 0.3 × 0.4 = 0.54.

Expected value and variance

The expected value is the probability-weighted average of the outcomes:

E(X) = Σ P(xi) × xi
Var(X) = Σ P(xi) × [xi − E(X)]²

Example: growth (60%) gives a 12% return, no growth (40%) gives −4%.

  • E(R) = 0.6 × 12 + 0.4 × (−4) = 5.6%.
  • Var = 0.6 × (12 − 5.6)² + 0.4 × (−4 − 5.6)² = 0.6 × 40.96 + 0.4 × 92.16 = 61.44, so σ = 7.84%.

Conditional expected values are the same idea within one scenario. The total expected value equals the probability-weighted sum of the conditional expected values.

Probability trees

A tree lays out scenarios step by step. Each branch carries a probability; multiply along a path for the joint probability and add the paths that lead to the outcome you want. Trees make total probability and expected value problems easy to set up and check.

Bayes’ formula

Bayes’ formula updates a prior belief with new evidence:

P(A | B) = P(B | A) × P(A) / P(B)

Example. 10% of firms in a sector cut their dividend. A model flags 90% of the firms that will cut and, wrongly, 20% of the firms that will not.

  1. P(flag) = 0.9 × 0.1 + 0.2 × 0.9 = 0.09 + 0.18 = 0.27.
  2. P(cut | flag) = 0.09 / 0.27 = 33%.

Even with a model that catches 90% of cuts, a flagged firm has only a one-in-three chance of cutting, because cuts are rare and false alarms are common. This “base rate” effect is what the exam likes to test.

Counting rules

Sometimes you need the number of possible outcomes:

  • Factorial: n! ways to arrange n items. 4! = 24.
  • Combinations (order does not matter): nCr = n! / [(n − r)! r!]. Choosing 3 stocks from 10: 120 ways.
  • Permutations (order matters): nPr = n! / (n − r)!. Ranking 3 stocks from 10: 720 ways.
  • Multinomial: n! / (n1! × n2! × …) to split n items into labelled groups.

Exam focus

Expect an expected value and standard deviation from a small scenario table, a total-probability calculation, and a Bayes question with a test or a model that flags something. Draw a quick tree: it prevents most mistakes.

Check yourself

Tap an answer. You get the explanation straight away.

  1. There is a 60% chance the economy grows. If it grows, a stock returns 12%; if not, it returns −4%. The stock's expected return is closest to:

  2. 10% of firms in a sector cut their dividend. A screening model flags 90% of firms that later cut and 20% of firms that do not. Given that a firm is flagged, the probability it will cut its dividend is closest to:

  3. Events A and B are independent, with P(A) = 0.3 and P(B) = 0.5. The probability that A or B occurs is:

Questions people ask

What is the difference between independent and mutually exclusive events?

Mutually exclusive events cannot happen together, so P(A and B) = 0. Independent events can happen together, and one tells you nothing about the other: P(A and B) = P(A) × P(B).

Why does Bayes' formula often give a surprising answer?

When the base rate is low, even an accurate signal produces many false alarms relative to true hits. Counting cases out of 100 or 1,000, as in the tool above, makes this easy to see.

When do I use combinations rather than permutations?

Use combinations when order does not matter (choosing 3 stocks out of 10) and permutations when it does (ranking 3 stocks first, second and third).

Unlimited practiceGenerate more Quantitative Methods questionsFresh questions with worked solutions every time, in the Level I style.
Progress is saved in this browser.
Next lesson · 5 of 11Portfolio mathematicsExpected return and variance of a portfolio, covariance and correlation.

CFA Institute does not endorse, promote or warrant the accuracy or quality of WallStPal. CFA® and Chartered Financial Analyst® are registered trademarks owned by CFA Institute.

Exam format, timing and topic weights are from CFA Institute's Level I, II and III exam pages, checked November 15, 2026. Check CFA Institute for the year you sit. Lessons and practice questions are WallStPal's own and are not CFA Institute material.

Report an error

Tell us what looks wrong on this page. We check every report against the original filing and fix mistakes on our corrections page.

Share this trade
XTelegram
My Desk · free

Sign in to follow

Follow stocks, members of Congress, famous investors and funds, and see what's new each time you come back.