← Decision analysis
PART 4 · 14 Decision analysis · 02

Decision Trees

Decision Trees · Decisions, Chance Events, and Expected Value

Decision nodeChance nodeExpected valueBackward inductionValue of informationSensitivityRisk

LaunchHold60%40%+$200K−$80K$0Expected value+$88K□ Choices you pick; ○ chance you average by probability

How do you compare the outcomes of choices when the situation is uncertain? Which choice is best isn’t settled by the choice alone. You also have to consider what could happen after you choose, how likely each outcome is, and what you gain or lose as a result. Launch a new product and you make a big profit if the market responds well but may take a loss if it responds poorly, and choosing not to launch has an opportunity cost too.

A decision tree lays out these choices, the uncertain events, and their outcomes in the shape of a tree so you can compare alternatives systematically. The decision tree in Ch. 07 of PART 3 · 13 Statistical learning & prediction is a model that learns prediction rules from data; the decision tree here is a tool a person draws by hand to analyze a choice.

SECTION 01

What is a decision tree?

A decision tree breaks a decision into stages and shows, in order, which choices you can make, which events can follow, and what outcome each path leads to.

ElementMeaningUsual symbol
Decision nodeA point where the decision maker choosesSquare □
Chance nodeA point where it’s uncertain which event will occurCircle ○
OutcomeThe profit, cost, or utility at the end of each pathEndpoint and outcome value

There’s an important distinction here. The decision maker controls the choices but can’t directly control chance events. A decision tree shows the two separately.

SECTION 02

When do you need a decision tree?

If the alternatives are simple and the outcomes are certain, comparing them directly is enough. But a decision tree is useful in situations like these.

Product launch

Deciding whether to launch and, if so, whether to do market research first

Equipment investment

Judging whether to invest now or after checking market conditions

Research · clinical trials

Deciding whether to continue further

Multistage choices

When choices and uncertain outcomes are linked across several stages

It’s especially useful when today’s choice changes the options you’ll have later. If you do market research first, you can decide whether to launch after seeing the results (Section 05).

SECTION 03

A worked example: should we launch a new product?

Suppose a company is considering launching a new product and has estimated net profit, including launch costs, as follows. These are assumptions for illustration, not forecasts for a real business.

ItemAssumption
Probability the market responds well60%
Probability the market responds poorly40%
If the response is goodNet profit of $200,000
If the response is poorNet loss of $80,000
If you don’t launchNo additional profit or loss ($0)
LaunchDon’t launchGood response · p = 0.6Poor response · p = 0.4+$200,000−$80,000$0EV +$88,000Choice: launchEV +$88,000Decision node (you choose)Chance node (uncertain event)Outcome (net profit)Thick line = the side with the higher expected value (assumed figures)
Figure 1. Decision tree for a new product launch

To compare launching with not launching, you can’t look only at the biggest possible profit; you have to consider the possible outcomes together with how likely each one is.

SECTION 04

Comparing alternatives by expected value

The expected value is what you get by multiplying each possible outcome by its probability and adding them all up.

E(X) = Σi=1n pi xi
pi: probability that outcome i occurs · xi: monetary value of that outcome · when all outcomes are included, the probabilities sum to 1
0.6 × $200,000 + 0.4 × (−$80,000) = $120,000 − $32,000 = $88,000
−$80K0+$80K+$160KGood response: 0.6 × $200,000+$120,000Poor response: 0.4 × (−$80,000)−$32,000Expected net profit (sum)+$88,000Expected value E(X) = Σ pᵢxᵢ · in reality, either +$200,000 or −$80,000 happens
Figure 2. How the expected value is built up

The expected net profit of not launching is $0, so if you go by expected value alone, launching is the better choice. But the expected value isn’t an amount you’re guaranteed to get. The actual outcome is either a $200,000 profit or an $80,000 loss, and an outcome of $88,000 never happens. The expected value is an average value for comparing uncertain outcomes on a single scale: the average you’d get if you made the same decision a very large number of times.

SECTION 05

A decision tree is solved from right to left

In a decision tree, you start the calculation from the final outcomes and work back to the first choice. This is called backward induction.

① Record outcomes

Write the profit, cost, or utility of each path at its endpoint.

② Chance node: expected value

Multiply each possible outcome by its probability and add them up.

③ Decision node: choose

Pick the larger value if you’re maximizing expected profit, or the smaller if you’re minimizing cost, and prune the other branches.

Research(cost $10K)Launch nowPositive 62%Negative 38%Hold $0Good 87.1% → +$200KPoor 12.9% → −$80KLaunchLaunch EV +$163,871 → launchHold $0Good 15.8% → +$200KPoor 84.2% → −$80KLaunchLaunch EV −$35,789 → holdGood 60% → +$200KPoor 40% → −$80KLaunch now EV +$88,000Best EV after research = +$101,600− research cost $10,000 = +$91,600> launch now +$88,000 → researchAssumes research says "positive" 90% of the time if good, 20% if poor · probabilities updated by Bayes’ theorem
Figure 3. Do market research first? (a two-stage decision tree)

Figure 3 is a two-stage problem: before launching, should you spend $10,000 on market research? We assumed the research comes back "positive" with probability 90% when the actual response is good and 20% when it’s poor. Working from the right end, the calculation goes like this.

When research says "positive" (62%)

The probability of a good response rises to 87.1%, so the expected value of launching is $163,871 → launch

When research says "negative" (38%)

The probability of a good response falls to 15.8%, so the expected value of launching is −$35,789 → hold ($0)

Expected value of research

0.62 × $163,871 + 0.38 × 0 = $101,600, or $91,600 after the research cost

That’s $3,600 more than the $88,000 expected value of launching right away, so under these assumptions it pays to do the research first. The research is valuable because a "negative" result lets you avoid a launch that’s expected to lose money. The increase in expected value you get from the research ($13,600) is called the expected value of sample information (EVSI); if the research costs more than this, there’s no reason to do it. If you could know the outcome perfectly in advance, the gain would be $32,000, which is called the expected value of perfect information (EVPI). No research is worth more than this amount.

Updating the probabilities based on the research result is Bayes’ theorem (PART 3 · 11 Bayesian statistics).

SECTION 06

What if the probability estimate is wrong?

−$80K0+$100K+$200KBreak-even p = 28.6%Assumed p = 0.6 → +$88,0000%25%50%75%100%Hold is betterLaunch is betterExpected net profit of launchProbability of a good response p · EV of launch = p × $200,000 + (1 − p) × (−$80,000)
Figure 4. How the conclusion changes with the probability estimate

Expected value depends heavily on the probabilities you put in. In Figure 4, the expected value of launching changes along a straight line with the probability of a good response p, and once p drops below about 28.6%, holding becomes the better choice. There’s plenty of room between the assumed 60% and the break-even point, so the conclusion holds even if the probability estimate is somewhat off. Finding the point where the conclusion flips like this is sensitivity analysis (Ch. 01), and if the break-even point is close to the assumed value, you should scrutinize the probability estimate more carefully.

SECTION 07

Is the choice with the highest expected value always best?

Expected value is a useful criterion, but it doesn’t reflect how willing the decision maker is to take risks.

AlternativeOutcomeExpected value
AGet $80,000 for certain$80,000
B$200,000 with 50% probability, $0 with 50% probability$100,000
Alternative A: $80,000 for certainAlternative B: 50% $200,000, 50% $0100%+$80KEV +$80,00050%+$200K50%$0EV +$100,000B’s EV is $20,000 higher, but half the time you get nothing · which to pick depends on your attitude toward risk (Ch. 03)
Figure 5. The alternative with the higher expected value isn’t always chosen

B has the higher expected value, but its outcome is also more variable. Someone who values stability might choose A, and someone willing to take risks for a bigger payoff might choose B. The difference isn’t a calculation error but a difference in how risk is valued, and a company or individual that can’t easily absorb a loss may choose based on a utility that accounts for risk (Ch. 03).

SECTION 08

Cautions when using decision trees

① Reliable inputs

Put in inaccurate probabilities or outcome values and the conclusion can be wrong even if the calculation is right.

② Missing outcomes

Leave out unexpected costs or extra opportunities and the comparison of alternatives gets distorted.

③ Same yardstick

Don’t mix measures, such as comparing one alternative by revenue and another by net profit.

④ Limits of expected value

Cover risk, fairness, and long-term strategic value with expected utility, sensitivity analysis, and multi-criteria methods.

Sample write-up

In a decision tree analysis assuming a 60% probability of a good market response, the expected net profit of launching the new product was $88,000, higher than not launching ($0). Including pre-launch market research (cost $10,000) raised the expected net profit to $91,600, and the break-even probability above which launching is better was 28.6%.

✓ KEY TAKEAWAYS

Pick at choices, average chance by probability, and work back from the end.


Up next: 03 Expected Utility and Risk Preference. We’ll see why the choice between alternatives with the same expected value can depend on your attitude toward risk.