Replace vague hunches with calibrated probability estimates you can track and improve over time.
Coding
Decision Tree
Try itMap multi-stage decisions under uncertainty and calculate expected value for every path.
What it does
Decision Tree is a structured framework for mapping decisions with sequential stages and uncertain outcomes. It uses decision nodes (choices you control) and chance nodes (outcomes you don't) with assigned probabilities and terminal payoffs, then rolls back right-to-left to compute expected value. The process forces every assumption — probabilities, payoffs, branch coverage — to be written down explicitly so they can be reviewed, challenged, and updated. Includes two modes: Engine mode runs the full 6-step process for users with a concrete case; Coach mode guides unfamiliar users step-by-step with hard stops between each step.
When to use it
- Choosing between expansion options with uncertain demand scenarios
- Sequential investment decision — commit now or wait for more data
- Build vs. buy vs. wait on a major capital expenditure
- Evaluating a settlement vs. litigation path with probabilistic outcomes
The skill document
Decision Tree
Overview
A decision tree maps a multi-stage decision: decision nodes (squares) for choices you control, chance nodes (circles) for outcomes you don't, probabilities on every branch, payoffs at the leaves — then rollback right-to-left to get expected value at the root. First systematized by John F. Magee (HBR, 1964); formalized by Howard Raiffa (1968). Its biggest value: converting "I feel we should expand" into "what probability do you assign to high demand?" — making every assumption explicit and contestable.
Composes with expected-value-and-kelly (EV scaffold + bet sizing), probabilistic-thinking (calibration per node), inversion (rollback = working outcomes backward), mece (branches must be MECE so probabilities sum to 1.0).
When to Use
- Decision has sequential stages (decide → learn → decide again)
- Outcomes uncertain; probabilities can be estimated (even roughly)
- Payoffs quantifiable (NPV, revenue, cost, lives saved)
- Multiple stakeholders need a shared visual model to align on assumptions
- Sizing a big irreversible bet under AI uncertainty — build vs. buy vs. wait on AI capex, a fab investment, or committing while AI adoption / AI valuations are unproven
Not when: one-shot choice with no stages; probabilities unestimable; payoffs purely qualitative; branch set too large (use scenario planning instead).
Coaching Novices (Adaptive Front Door)
- Engine mode: user has a concrete multi-stage decision → run The Process directly.
- Coach mode: user is unfamiliar or has no concrete case → guide step by step.
In Coach mode, respond one step at a time. Each [WAIT] is a hard stop — output only that step's question, then stop.
- One-line: a decision tree converts "I feel" into "what probability do you assign?" — making assumptions explicit so they can be argued about.
- Check fit. Sequential stages? Uncertain outcomes? Quantifiable payoffs? If yes to all three, a tree applies.
- Elicit their real case. What's the initial choice? What uncertain outcomes follow? What payoffs result?
[WAIT — do not advance until user responds]
- Run The Process one step at a time with their input — draw structure, assign probabilities, assign payoffs, roll back.
[WAIT — do not advance until user responds]
- Close by naming the insight: the threshold at which the recommendation flips, and whether to gather more data.
[WAIT — do not advance until user responds]
The Process
Step 1 — Root: Define the decision (options, timeline, decision-maker). Draw a square; each option is a branch.
Step 2 — Chance nodes: For each branch, identify uncertain events → draw circles. Branches at each circle must be MECE; probabilities must sum to 1.0.
Step 3 — Probabilities: Assign a number (0.0–1.0) + documented basis to every branch. Reject "50/50" without justification.
Step 4 — Payoffs: Assign consistent-unit payoffs (NPV, revenue, etc.) to every terminal leaf.
Step 5 — Rollback: Right to left — EV at each circle = Σ(p × value). At each square, keep highest EV branch; mark losers //.
Step 6 — Sensitivity + stop-rule: Find the probability threshold where the optimal choice switches. Compute EVPI = EV(perfect info) − EV(best decision now). If EVPI < cost of data: decide now. If EVPI > cost: gather data first. Stop refining when the leading option's EV advantage exceeds the value of further analysis.
Output Template
Decision Tree:
Options: A / B | Timeline:
Tree: [node-by-node description]
Probabilities: Node | Branch | p | Basis
Payoffs: Path | Value | Unit
Rollback: Option A EV= / Option B EV= / Optimal=
Sensitivity: flips when p([key branch]) > [threshold] | EVPI=
Recommendation: [option] — holds if [condition]; flips if [condition]
→ Method in Action: Magee 1964 — Chemical Plant Investment (HBR) · Eisenhower's D-Day Weather Decision → 2026 lens: A Chipmaker's Leading-Edge Fab Investment Under AI Uncertainty (2024–2026)
Pack: Decision Tree by Domain
| Domain | Root Decision | Key Uncertainty | Payoff | Watch For |
|---|---|---|---|---|
| Capital investment | Large vs. small plant | Demand scenarios | NPV | Overconfident demand p |
| R&D portfolio | Fund vs. kill | Technical success; adoption | Revenue × p | Ignoring base-rate failure |
| Litigation | Settle vs. litigate | Win/lose; damages | Expected settlement | Anchoring on best case |
| Product launch | Now vs. delay | Market reception; competitor | Revenue per scenario | Missing competitor-first branch |
| M&A | Acquire vs. pass | Integration; synergy | Post-acquisition EV | Paying for performance peak |
Applying It Well
- Draw before calculating — structure surfaces hidden assumptions
- Assign probabilities before revealing your preferred option
- Run sensitivity before concluding; find the switchover threshold and EVPI
- Audit missing branches explicitly: "what did we leave out?"
→ Primary sources: references/sources.md
Common Rationalizations
[D] = designed upfront | [O] = observed in real use. [O] entries are more valuable.
| Rationalization (Fake Move) | Reality |
|---|---|
| [D] "This is strategic — we don't need numbers." | Without numbers the tree is just a picture. Force strategic disagreements to become numerical ones. |
| [D] "We can't estimate probabilities." | Even rough estimates beat implicit zero/one assumptions. Every un-numbered branch already has an implicit probability. |
| [D] "The tree chose A — we're done." | Holds only at assigned probabilities. Sensitivity analysis is mandatory before concluding. |
| [D] "We enumerated all branches." | Trees are always simplifications. Ask explicitly: what branches are missing? |
| [D] "It's 50/50 — we just don't know." | 50/50 is a claim requiring justification. What base rate supports it? |
| [D] "My gut says B even though the tree says A." | Gut = implicit tree with different probabilities. Find which number your gut is using and put it in. |
| [D] "The tree gave a recommendation — it must be right." | GIGO: garbage probabilities produce garbage recommendations. Calibrate inputs first. |
| → Add [O] entries here after each real use — paste the actual failure pattern | What went wrong and why |
Red Flags
- Probabilities verbal only — no numbers written | Chance-node probabilities don't sum to 1.0
- No sensitivity analysis performed | Terminal payoffs in mixed units across branches
- Probabilities assigned post-hoc to justify a pre-decided conclusion | No missing-branch audit
Verification
- Root decision defined; all options enumerated
- All chance nodes MECE; probabilities sum to 1.0 at each node
- Every probability has documented basis
- All terminal payoffs in same unit and discount rate
- Rollback verified numerically at every node
- Sensitivity complete — switchover threshold identified
- EVPI calculated; data-gathering decision made
- Missing-branch audit performed; recommendation states conditions it holds and flips
Part of deciqAI Knowledge Skills — 227 open-source thinking skills that make rigor executable for AI agents. The same skills power every deciqAI agent, which runs them autonomously to operate your company. See it run → https://www.deciqai.com/c/decision-tree · ⭐ Star the repo → https://github.com/deciqAI/knowledge-skills · Contributions welcome.
Agents: latest version & machine-readable metadata → https://www.deciqai.com/s/decision-tree.json
Questions people ask
- What's the minimum needed to build a decision tree?
- A root decision (the choice to make), at least one uncertain outcome with estimable probability, and a quantifiable payoff at the end. If probabilities cannot be estimated even roughly, or payoffs are purely qualitative, the tree won't add value.
- How is this different from a simple expected value calculation?
- Simple EV handles one-shot choices. A decision tree handles sequential decisions where what you do next depends on what you learn — the tree maps that full pathway and calculates the value of flexibility itself (EVPI).
- What if I can't assign precise probabilities?
- Even rough estimates (e.g., 'demand is 60–70% likely to be high') are useful. The tree surfaces your implicit assumptions so they can be calibrated and tested through sensitivity analysis. A missing probability already has an implicit value — making it explicit lets you challenge it.
Related skills
Make irreversible life decisions by projecting to 80 and naming which regret you'd rather live with.
Diagnose which mental domain is holding you back before choosing a cognitive intervention.
Detect when presentation language is steering your decision instead of the facts themselves.
Tests whether you genuinely understand something or just recognize it — exposes the gaps in your mental model.
Prioritize growth directions with a 2×2 risk framework — pick one bet and commit.
More from deciqai
Browse all skillsDiagnose your organization's strategic phase and spot misaligned initiatives before they drain momentum.
When multiple explanations all fit the evidence, pick the one that assumes the least.
Identify catastrophic failure paths before you commit — and design your plan around eliminating them.
Trace decisions past the obvious effect to catch the consequences that reverse it.
A structured interview and analysis process that uncovers the actual job customers hire your product to do — and who they're really competing against.
Diagnose why learners are struggling and redesign instruction to stay within working memory limits.