Decision Trees & Risk Analysis Lab
Model decisions under uncertainty with interactive decision trees. Compute expected values at every node, trace the optimal strategy, and explore how changing probabilities affects the best choice through sensitivity analysis.
Guided Experiment: Expected Value and Optimal Strategy
How does expected value determine the optimal choice at a decision node? Can the option with the worst possible outcome still be the best choice overall?
Write your hypothesis in the Lab Report panel, then click Next.
Decision Tree
Controls
Should you carry an umbrella? Weighs inconvenience vs getting soaked.
Click a node in the tree diagram to edit it. You can change labels, add children, adjust probabilities, or remove branches.
Analysis Results
Strategy Comparison
Possible Outcomes
| Payoff | Probability | Weighted |
|---|---|---|
| $-2 | 0.3 | $-0.6 |
| $-5 | 0.7 | $-3.5 |
| $-10 | 0.3 | $-3 |
| $0 | 0.7 | $0 |
Sensitivity Analysis
Data Table
(0 rows)| # | Scenario | Strategy | Expected Value | Best Case | Worst Case | Risk Level |
|---|
Reference Guide
Expected Value
The expected value is the weighted average of all possible outcomes, where each outcome is weighted by its probability.
For a coin flip paying $10 on heads and $0 on tails, EV = 0.5 × $10 + 0.5 × $0 = $5.
Decision Nodes and Strategy
At a decision node (shown as a diamond), the decision maker picks the option with the highest expected value. This is the "fold-back" or backward induction method.
Starting from the leaves, compute EVs backwards to the root. The optimal strategy emerges as the path of best choices.
Chance Nodes and Probability
At a chance node (shown as a circle), nature picks the outcome. Each branch has a probability, and all probabilities must sum to 1.
The EV at a chance node is the probability-weighted sum of child values.
Sensitivity Analysis and Risk
Sensitivity analysis shows how the optimal decision changes as a probability varies. The crossover point is where two strategies have equal EV.
Risk profile compares best case, worst case, and expected value. A risk-averse decision maker may prefer lower EV with smaller downside.