Analyst Dojo
Lesson 2 of 3 6–9% of the exam

You are reading the 2026 curriculum (exams up to November 2026). Sitting in February 2027 or later? Go to the 2027 Quantitative Methods guide.

Probability trees and conditional expected values

Draw the first uncertainty as branches, then the outcomes within each branch. The forecast inside a branch is a conditional expected value. Weight each conditional expected value by its branch probability and add: that is the total probability rule for expected value, and it gives the overall forecast.

8 min cram, 32 min full read. Based on the 2026 CFA® Program Level I curriculum, Quantitative Methods, Learning Module 4. This is the 2026 version of the lesson. Sitting in February 2027 or later? Read the updated 2027 version.

Tailor this to you: take the self-assessment

Before this: Expected value, variance and standard deviation of a forecast

On the exam

  • Formulate an investment problem as a probability tree and explain the use of conditional expectations in investment application

Formulate an investment problem as a probability tree, and explain and calculate conditional expected values and the unconditional expected value. Expect a two-branch tree where averaging the branch forecasts without their probabilities is an answer option.

How deeply to learn each part
Know the idea
Understand it in general. It frames other topics, but you will not calculate with it.
Use it
Understand it well enough to solve a question with it. Recognize when it applies.
Memorize
Learn it by heart. The exam will not give it to you.

You know this one. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still do.

You tested strong here. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still know it.

Cram mode: the one-screen version of this lesson. Switch to Full for the explanations, worked examples and interactives.

How do you lay a forecast out as a tree?

A probability tree diagram shows an uncertainty that plays out in stages. Each point where the uncertainty resolves is a node . Branches leave the node, each labeled with its probability, and the probabilities leaving one node add to 1. Probabilities in the second stage are conditional probability values: the chance of an outcome given the branch you are on.

Reading a two-stage probability tree
Probability treethe first uncertainty, then the outcomes within each branch
  • Node Know the idea a point where uncertainty resolves
    • Branch probabilities from one node they add to 1
  • End-branch (joint) probability Use it multiply along the path
    • All end branches add to 1
  • Conditional expected value Memorize the forecast within one first-stage branch
    • Unconditional E(X) weight each by its branch probability and add
Joint probability along a path Use it
P(A and B)=P(B∣A) P(A)P(A \text{ and } B) = P(B \mid A)\,P(A)
Conditional probability Use it
P(A∣B)=P(A and B)P(B),P(B)≠0P(A \mid B) = \dfrac{P(A \text{ and } B)}{P(B)}, \quad P(B) \neq 0

The two formulas are the same relationship read in opposite directions. Going down a tree you multiply; coming back, you divide by the probability of the branch you are on. For example, P(growth 10% | expand) = 0.42 ÷ 0.6 = 0.7.

What is a conditional expected value?

A conditional expected value is the expected value of a variable if one particular scenario happens. You compute it exactly like an ordinary expected value, but with the probabilities inside that branch.

Conditional expected value Memorize
E(X∣S)=P(x1∣S) x1+P(x2∣S) x2+⋯+P(xn∣S) xnE(X \mid S) = P(x_1 \mid S)\,x_1 + P(x_2 \mid S)\,x_2 + \cdots + P(x_n \mid S)\,x_n

How do you combine the branches into one forecast?

Weight each conditional expected value by the probability of its scenario and add. This is the total probability rule for expected value . It works when the scenarios are mutually exclusive (only one happens) and exhaustive (together they cover everything).

Total probability rule for expected value Memorize
E(X)=E(X∣S1) P(S1)+E(X∣S2) P(S2)+⋯+E(X∣Sn) P(Sn)E(X) = E(X \mid S_1)\,P(S_1) + E(X \mid S_2)\,P(S_2) + \cdots + E(X \mid S_n)\,P(S_n)
Rearrange itTotal probability rule for expected value: solve for any input
The question asks for
Scenario 1 has probability 0.6 and an expected outcome of 8.80%. Scenario 2 is the only other scenario and has an expected outcome of 1.00%. The overall expected outcome is closest to:

8.8 × 0.6 + 1 × 0.4 = 5.68%

Unconditional expected value, E(X)5.68%

On your calculator
  1. 0.6×8.8+(0.4×1)=
  1. 0.6ENTER8.8×0.4ENTER1×+

ENTER enter (on the HP, puts the number on the stack)

InteractiveTwo-stage tree: forecast within each scenario, then weight

Try this 0 of 3

  • Cut the chance of expansion to 0.40 and watch the overall forecast
  • Push the overall forecast to 7% or more
  • Show the unweighted-average trap
Stage 1: the economy
Stage 2: if it expands
Stage 2: if it slows
Check

If the economy expands (probability 0.60) growth is expected at 8.80%; if it slows (0.40), at 1.00%. Weighting each by its probability gives an overall forecast of 5.68%.

Next yearE = 5.68%weighted byscenarioEconomyexpandsP = 0.60E = 8.80%High growth10%joint 0.42Low growth6%joint 0.18Economy slowsP = 0.40E = 1.00%High growth4%joint 0.20Low growth−2%joint 0.20
  • Next year, E = 5.68%, weighted by scenario, (matches)
    • p = 0.60: Economy expands, P = 0.60, E = 8.80%
      • p = 0.70: High growth, 10%, joint 0.42
      • p = 0.30: Low growth, 6%, joint 0.18
    • p = 0.40: Economy slows, P = 0.40, E = 1.00%
      • p = 0.50: High growth, 4%, joint 0.20
      • p = 0.50: Low growth, −2%, joint 0.20

Hover over or tap a box to follow its path.

E(g | expand)8.80%
E(g | slow)1.00%
Unconditional E(g)5.68%
Unconditional σ4.50%
Show working

E(g | expand) = 0.70 × 10 + 0.30 × 6 = 8.80%

E(g | slow) = 0.50 × 4 + 0.50 × (−2) = 1.00%

Total probability rule: E(g) = 0.60 × 8.80 + 0.40 × 1.00 = 5.68%

Check from the end branches: 0.42 × 10 + 0.18 × 6 + 0.20 × 4 + 0.20 × (−2) = 5.68% (joint probabilities sum to 1.00)

Conditional variances: given expand 3.36, given slow 9.00 (%²)

Unconditional variance from the end branches: 20.22 (%²), σ = 4.50%. It also counts the gap between the two scenario forecasts.

Unconditional expected growth on your calculator
  1. 0.7×10+(0.3×6)=STO1E(g | expand) = 8.80
  2. 0.5×4+(0.5×2+|-)=STO2E(g | slow) = 1.00
  3. 0.6×RCL1+(0.4×RCL2)=E(g) = 5.68

STO store · +|- change sign · RCL recall a stored number

  1. 0.7ENTER10×0.3ENTER6×+STO1E(g | expand) = 8.80
  2. 0.5ENTER4×0.5ENTER2CHS×+STO2E(g | slow) = 1.00
  3. 0.6RCL1×0.4RCL2×+E(g) = 5.68

ENTER enter (on the HP, puts the number on the stack) · STO store · CHS change sign · RCL recall a stored number

Display: 5.68%

The overall forecast is a weighted average of the forecasts for each scenario.

Move the first-stage probability and watch the two conditional expected values stay put while the overall forecast slides between them. The overall figure always lies between the branch forecasts.

The practical advantage is that an analyst can revise one branch, say a higher chance of a slowdown, without rebuilding the forecast. Only that probability and the weighted sum change.

Exam tip If your overall forecast lies outside the range of the branch forecasts, you have mis-weighted something.

What about the variance in a tree?

Variance also has a conditional version. A conditional variance measures spread inside one scenario, around that scenario’s expected value.

Conditional variance Know the idea
σ2(X∣S)=∑iP(xi∣S) [xi−E(X∣S)]2\sigma^2(X \mid S) = \sum_{i} P(x_i \mid S)\,[x_i - E(X \mid S)]^2
Go deeper Why the overall variance exceeds the conditional ones

The overall variance splits into two parts: the probability-weighted average of the conditional variances, plus the probability-weighted squared gaps between each conditional expected value and the overall expected value. For the retailer: 0.6 × 3.36 + 0.4 × 9.00 = 5.62, and 0.6 × (8.8 − 5.68)² + 0.4 × (1.0 − 5.68)² = 5.84 + 8.76 = 14.60. Together they give 20.22. A tree that separates good and bad scenarios clearly has a large second part.

Go deeper More than two stages

Trees can run for as many stages as the problem needs: each end node becomes a new node with its own branches. You multiply along the full path for the joint probability and fold the tree back from the right, one stage at a time. A share-price tree in the binomial option model has exactly this shape, with an up and a down branch at every node.

Memorize this

MemorizeTree rules

ItemRule
Branches from one nodeprobabilities add to 1
End-branch (joint) probabilityproduct along the path: P(S) × P(x | S)
All end branchesadd to 1
Conditional E(X | S)weight outcomes by P(x | S) inside branch S
Unconditional E(X)Σ E(X | Sᵢ) × P(Sᵢ)

Memory hook Fold the tree from the right: each first-stage node becomes one number, then weight those numbers by the first-stage probabilities.

Know it cold Total probability rule needs scenarios that are mutually exclusive and exhaustive, not equally likely.

Reading a two-stage probability tree
Probability treethe first uncertainty, then the outcomes within each branch
  • Node Know the idea a point where uncertainty resolves
    • Branch probabilities from one node they add to 1
  • End-branch (joint) probability Use it multiply along the path
    • All end branches add to 1
  • Conditional expected value Memorize the forecast within one first-stage branch
    • Unconditional E(X) weight each by its branch probability and add
Joint probability along a path Use it
P(A and B)=P(B∣A) P(A)P(A \text{ and } B) = P(B \mid A)\,P(A)
Quick example

A scenario has probability 0.30, and an outcome within it has conditional probability 0.80. The joint probability is 0.30 × 0.80 = 0.24.

On your calculator
  1. 0.3×0.8= 0.24
  1. 0.3ENTER0.8× 0.24

ENTER enter (on the HP, puts the number on the stack)

Conditional probability Use it
P(A∣B)=P(A and B)P(B),P(B)≠0P(A \mid B) = \dfrac{P(A \text{ and } B)}{P(B)}, \quad P(B) \neq 0
Quick example

Joint probability 0.24, P(B) = 0.30. P(A | B) = 0.24 ÷ 0.30 = 0.80.

On your calculator
  1. 0.24÷0.3= 0.8
  1. 0.24ENTER0.3÷ 0.8

ENTER enter (on the HP, puts the number on the stack)

Conditional expected value Memorize
E(X∣S)=P(x1∣S) x1+P(x2∣S) x2+⋯+P(xn∣S) xnE(X \mid S) = P(x_1 \mid S)\,x_1 + P(x_2 \mid S)\,x_2 + \cdots + P(x_n \mid S)\,x_n
Quick example

Given scenario S, an outcome of 12 has probability 0.8 and an outcome of 4 has 0.2. E(X | S) = 9.6 + 0.8 = 10.4.

On your calculator
  1. 0.8×12+(0.2×4)= 10.4
  1. 0.8ENTER12×0.2ENTER4×+ 10.4

ENTER enter (on the HP, puts the number on the stack)

Total probability rule for expected value Memorize
E(X)=E(X∣S1) P(S1)+E(X∣S2) P(S2)+⋯+E(X∣Sn) P(Sn)E(X) = E(X \mid S_1)\,P(S_1) + E(X \mid S_2)\,P(S_2) + \cdots + E(X \mid S_n)\,P(S_n)
Quick example

E(X | S₁) = 3.0 with P(S₁) = 0.7, and E(X | S₂) = −1.0 with P(S₂) = 0.3. E(X) = 2.1 − 0.3 = 1.8.

On your calculator
  1. 0.7×3+(0.3×1+|-)= 1.8

+|- change sign

  1. 0.7ENTER3×0.3ENTER1CHS×+ 1.8

ENTER enter (on the HP, puts the number on the stack) · CHS change sign

Conditional variance Know the idea
σ2(X∣S)=∑iP(xi∣S) [xi−E(X∣S)]2\sigma^2(X \mid S) = \sum_{i} P(x_i \mid S)\,[x_i - E(X \mid S)]^2
Quick example

Given S, outcomes 5 and −1 each have probability 0.5, so E(X | S) = 2. Variance = 0.5 × 9 + 0.5 × 9 = 9.

On your calculator
  1. (5−2)x²×0.5+((1+|-−2)x²×0.5)= 9

x² square · +|- change sign

  1. 5ENTER2−ENTER×0.5×1CHSENTER2−ENTER×0.5×+ 9

ENTER enter (on the HP, puts the number on the stack) · CHS change sign

How it is asked

  1. Unconditional expected value from two branches

    Rates fall (0.55): E(g) = 10.4. Rates rise (0.45): E(g) = 1.8. Expected growth?

    0.55 × 10.4 + 0.45 × 1.8 = 6.53%. Trap: 6.10% (equal weights).

  2. Read one branch

    Expected growth given that rates rise?

    Use only the "rise" branch: 0.3 × 6 + 0.7 × 0 = 1.80%. Trap: the overall 6.53%.

  3. Joint probability of an end branch

    Rates fall (0.55), then growth is 12% (0.80 given fall). P(fall and 12%)?

    0.55 × 0.80 = 0.44. Trap: 0.80 (the conditional probability alone).

Exam traps

  • Averaging the conditional expected values without weighting them by the branch probabilities.
  • Working from the end branches and multiplying by the second-stage probability only, forgetting the first-stage probability.
  • Branch probabilities from one node that do not add to 1. Check every node.
  • Reading a conditional expected value as the overall forecast. E(X | S) is the forecast if S happens.

Checkpoint

5 exam-style questions. About 90 seconds each.

  1. 1A company's growth depends on interest rates. Rates fall with probability 0.55 or rise with probability 0.45. If rates fall, growth is 12% (probability 0.8) or 4% (probability 0.2). If rates rise, growth is 6% (probability 0.3) or 0% (probability 0.7). The expected growth rate is closest to:

  2. 2In the same tree, the conditional expected growth rate given that interest rates rise is closest to:

  3. 3The total probability rule for expected value requires the scenarios to be:

  4. 4In the same tree, the probability that interest rates fall and growth is 12% is closest to:

  5. 5The unconditional variance of an outcome is typically larger than the probability-weighted average of its conditional variances because it also reflects:

Key takeaways

  • Tree: the first uncertainty as branches, then the outcomes within each branch.
  • A conditional expected value is the forecast inside one branch.
  • Unconditional E(X) = Σ E(X | Sᵢ) × P(Sᵢ), with Sᵢ mutually exclusive and exhaustive.
  • End-branch probabilities multiply along the path and add to 1.
Joint probability along a path Use it
P(A and B)=P(B∣A) P(A)P(A \text{ and } B) = P(B \mid A)\,P(A)
Quick example

A scenario has probability 0.30, and an outcome within it has conditional probability 0.80. The joint probability is 0.30 × 0.80 = 0.24.

On your calculator
  1. 0.3×0.8= 0.24
  1. 0.3ENTER0.8× 0.24

ENTER enter (on the HP, puts the number on the stack)

Conditional probability Use it
P(A∣B)=P(A and B)P(B),P(B)≠0P(A \mid B) = \dfrac{P(A \text{ and } B)}{P(B)}, \quad P(B) \neq 0
Quick example

Joint probability 0.24, P(B) = 0.30. P(A | B) = 0.24 ÷ 0.30 = 0.80.

On your calculator
  1. 0.24÷0.3= 0.8
  1. 0.24ENTER0.3÷ 0.8

ENTER enter (on the HP, puts the number on the stack)

Conditional expected value Memorize
E(X∣S)=P(x1∣S) x1+P(x2∣S) x2+⋯+P(xn∣S) xnE(X \mid S) = P(x_1 \mid S)\,x_1 + P(x_2 \mid S)\,x_2 + \cdots + P(x_n \mid S)\,x_n
Quick example

Given scenario S, an outcome of 12 has probability 0.8 and an outcome of 4 has 0.2. E(X | S) = 9.6 + 0.8 = 10.4.

On your calculator
  1. 0.8×12+(0.2×4)= 10.4
  1. 0.8ENTER12×0.2ENTER4×+ 10.4

ENTER enter (on the HP, puts the number on the stack)

Total probability rule for expected value Memorize
E(X)=E(X∣S1) P(S1)+E(X∣S2) P(S2)+⋯+E(X∣Sn) P(Sn)E(X) = E(X \mid S_1)\,P(S_1) + E(X \mid S_2)\,P(S_2) + \cdots + E(X \mid S_n)\,P(S_n)
Quick example

E(X | S₁) = 3.0 with P(S₁) = 0.7, and E(X | S₂) = −1.0 with P(S₂) = 0.3. E(X) = 2.1 − 0.3 = 1.8.

On your calculator
  1. 0.7×3+(0.3×1+|-)= 1.8

+|- change sign

  1. 0.7ENTER3×0.3ENTER1CHS×+ 1.8

ENTER enter (on the HP, puts the number on the stack) · CHS change sign

Conditional variance Know the idea
σ2(X∣S)=∑iP(xi∣S) [xi−E(X∣S)]2\sigma^2(X \mid S) = \sum_{i} P(x_i \mid S)\,[x_i - E(X \mid S)]^2
Quick example

Given S, outcomes 5 and −1 each have probability 0.5, so E(X | S) = 2. Variance = 0.5 × 9 + 0.5 × 9 = 9.

On your calculator
  1. (5−2)x²×0.5+((1+|-−2)x²×0.5)= 9

x² square · +|- change sign

  1. 5ENTER2−ENTER×0.5×1CHSENTER2−ENTER×0.5×+ 9

ENTER enter (on the HP, puts the number on the stack) · CHS change sign

Questions about this lesson?

Where this comes back

Questions candidates ask

What is a conditional expected value?

It is the expected value of a variable given that a particular scenario occurs, calculated with the probabilities of the outcomes inside that scenario only. E(growth | rates fall) is the forecast if rates fall, not the overall forecast.

What is the total probability rule for expected value?

The overall expected value equals each conditional expected value times the probability of its scenario, added up: E(X) = ΣE(X | Sᵢ) × P(Sᵢ). The scenarios must be mutually exclusive and exhaustive, so their probabilities add to 1.

How do you draw a probability tree for an investment problem?

Put the first uncertainty on the left as branches, each with its probability. From the end of each branch draw the next set of outcomes with their conditional probabilities. Multiply along each path for the joint probability, and check that probabilities from each node add to 1.

Spotted an error? Tell us and we will fix it.

  1. Expected value, variance and standard deviation of a forecast
  2. Probability trees and conditional expected values
  3. Bayes' formula: updating a probability with new information

Ask Sensei Listen instead

Questions on Probability trees and conditional expected values

Learn with Sensei, out loud The voice tutor, in early access

Sensei teaches the lesson aloud and stops when you interrupt: "wait, why is the geometric mean lower?" It answers with the lesson's own example, then quizzes you by voice. Every account can try Sensei on one module, with one voice question.

USD 149 a month founding price (regular USD 199), kept for as long as you stay subscribed. Everything in Plus included.

In active development and improving every day. Send feedback · Plans and pricing

Analyst Dojo Plus

Your free review list holds 10 items.

Plus keeps everything you save, for USD 19 a month. To make room on the free plan, remove something from your review list.

See Plus

Lessons, checkpoints and the lesson questions in practice stay free. Compare plans