Skip to content
LeetQuant
QT03 Expected Value and Decision Theory

QT03 · Expected Value and Decision Theory · Lesson 3 of 5

Decision Trees and Backward Induction

Draw a decision under uncertainty as a tree of decision and chance nodes, solve it by backward induction, and price information and flexibility: the value of perfect and imperfect information and of the option to abandon.

17 min

Objective

Turn a verbal decision problem into a tree, solve it, and answer the follow-up interviewers always ask: "how much would you pay to know X first?" This lesson treats a single decision maker facing chance. Opponents who also optimise are game theory (QT06), and long sequences of stop-or-continue decisions are optimal stopping (QT04).

The tree

A decision tree has three kinds of node:

  • Decision nodes (drawn as squares): you choose a branch.
  • Chance nodes (circles): nature chooses a branch with known probabilities.
  • Leaves: the payoff, net of every cost paid along the path.

The order of nodes from left to right is the order of time and of information. A decision node may depend only on what has been revealed before it. Getting this order right is most of the modelling work: the same nodes in a different order are a different problem.

Backward induction

Solve from the leaves to the root:

  • at a chance node, the value is the probability-weighted average of its children;
  • at a decision node, the value is the maximum of its children, and you record which branch achieves it.

The value at the root is the value of the problem, and the recorded choices form the optimal policy: a plan saying what to do at every node you might reach, including ones you hope not to reach.

Value of information

Information is valuable only because it can change a decision. Compare two trees: one where you decide now, and one where a chance node revealing the information comes first and you decide after.

  • Expected value of perfect information (EVPI): the value if you learn the uncertain state before deciding, minus the value deciding now. It is an upper bound on what any test, report or research is worth.
  • Expected value of sample information (EVSI): the same comparison for an imperfect signal. Update with Bayes' rule on each signal, re-solve the decision for each, and average over the signal's probabilities.

Both are ≥0\ge 0: you can always ignore information. Both are 00 when the same action is optimal whatever the information says.

Worked example

deploy a strategy, or test it first?

A new strategy is good with probability 0.40.4 and bad with probability 0.60.6. Deploying a good strategy earns +10+10; deploying a bad one loses 55; not deploying earns 00. A paper-trading test can be run first. It says "pass" with probability 0.80.8 if the strategy is good and with probability 0.30.3 if it is bad.

(a) Should you deploy without testing? (b) What is perfect information about the strategy worth? (c) What is the test worth?

Show solution

(a) Decide now. Deploying is worth 0.4×10+0.6×(−5)=4−3=1>00.4 \times 10 + 0.6 \times (-5) = 4 - 3 = 1 > 0, so deploy. Value: 11.

(b) Perfect information. If you knew the state, you would deploy only when good: 0.4×10+0.6×0=40.4 \times 10 + 0.6 \times 0 = 4. So EVPI=4−1=3\text{EVPI} = 4 - 1 = 3. Notice where the value comes from: avoiding the −5-5 in the bad state, 0.6×5=30.6 \times 5 = 3.

(c) The test. First the signal probabilities:

P(pass)=0.4×0.8+0.6×0.3=0.32+0.18=0.5.P(\text{pass}) = 0.4 \times 0.8 + 0.6 \times 0.3 = 0.32 + 0.18 = 0.5 .

Posteriors by Bayes' rule:

P(good∣pass)=0.320.5=0.64,P(good∣fail)=0.080.5=0.16.P(\text{good} \mid \text{pass}) = \frac{0.32}{0.5} = 0.64, \qquad P(\text{good} \mid \text{fail}) = \frac{0.08}{0.5} = 0.16 .

Re-solve the decision after each signal:

  • after a pass, deploying is worth 0.64×10−0.36×5=6.4−1.8=4.60.64 \times 10 - 0.36 \times 5 = 6.4 - 1.8 = 4.6: deploy;
  • after a fail, deploying is worth 0.16×10−0.84×5=1.6−4.2=−2.60.16 \times 10 - 0.84 \times 5 = 1.6 - 4.2 = -2.6: do not deploy, value 00.

Averaging over the signal: 0.5×4.6+0.5×0=2.30.5 \times 4.6 + 0.5 \times 0 = 2.3. So EVSI=2.3−1=1.3\text{EVSI} = 2.3 - 1 = 1.3. You should pay up to 1.31.3 for the test, well below the 33 that perfect information would be worth, because the test lets through 30%30\% of bad strategies and rejects 20%20\% of good ones.

Worked example

the option to abandon

A two-phase research project. Phase 1 costs 22. With probability 12\tfrac12 the results are promising. You may then pay 66 for phase 2, which pays 2020 with probability 0.60.6 if phase 1 was promising and 0.10.1 if it was not (and 00 otherwise).

What is the project worth if you decide on phase 2 after seeing phase 1? What if you must commit to both phases up front?

Show solution

Staged decision, solved backwards. After a promising phase 1, phase 2 is worth 0.6×20−6=6>00.6 \times 20 - 6 = 6 > 0: continue. After an unpromising one, it is worth 0.1×20−6=−4<00.1 \times 20 - 6 = -4 < 0: abandon, value 00. At the root:

Vstaged=−2+12×6+12×0=1.V_{\text{staged}} = -2 + \tfrac12 \times 6 + \tfrac12 \times 0 = 1 .

Committing up front. The overall success probability is 12(0.6+0.1)=0.35\tfrac12(0.6 + 0.1) = 0.35, so

Vcommit=−2−6+0.35×20=−1.V_{\text{commit}} = -2 - 6 + 0.35 \times 20 = -1 .

The project is worth doing only because you can stop. The option to abandon is worth 1−(−1)=21 - (-1) = 2, exactly the 12×4\tfrac12 \times 4 loss avoided in the unpromising branch. This is the logic of real options and of staged investment: an intermediate observation is a chance node placed before a decision node.

Knowledge check

Option A pays 5 for sure. Option B pays 12 or 0 with equal probability. How much is it worth to learn B's outcome before choosing?

Knowledge check

In the two-phase project, suppose an unpromising phase 1 still leaves a 0.4 chance that phase 2 pays 20. What is the option to abandon now worth?

Knowledge check

In the strategy example, a second test would be worth running only if it could do which of the following?

Key takeaways

  • Chance nodes average, decision nodes maximise; fold back from the leaves.
  • Node order encodes what you know when: moving a chance node before a decision can only help.
  • EVPI bounds the value of any information; EVSI needs Bayes' rule and a re-solved decision for each signal.
  • Information and flexibility are worth something only in the branches where they change the action.
  • Report the policy, not just the number: what you do at every node.

Practice problems

Finished reading?

Answer the 3 knowledge checks to complete this lesson (0 done).