How to choose before you know what will happen: write the decision as a payoff table, compare the classic decision rules with expected monetary value, solve a decision tree in Python, put a price on a survey or a pilot study before buying it, and advise a decision maker who fears large losses.
Slides¶
Present full screen Download the PDF
Click or tap the slide to move forward, its left edge to go back; the arrow keys work too.
Reading¶
Decision Analysis follows Qahwa House’s choice of a big kiosk, a small kiosk or none at a Riyadh winter festival. Three classic decision rules give three different answers; the expected value picks the big kiosk; a decision tree shows that a 25,000-SAR footfall survey is worth less than its price; and a utility function shows why an owner who cannot absorb a 260,000-SAR loss should open the small kiosk instead.
Lab 13: Decision tree calculator¶
Qahwa House can sell its cold brew in bottles in supermarkets: nationally, in Riyadh only, or not at all, and it can first run a 40,000-SAR pilot in ten stores. You write your own decision-tree calculator in Python, use it to price the pilot with Bayes’ rule, compare the advice for a risk-neutral and a risk-averse owner, and write a three-sentence recommendation.
Open the lab, then use its Open in Colab button.
Data: qahwa
_kiosk _decision .csv (18 rows: the payoffs, probabilities and study hit rates of the kiosk and the cold-brew decisions). The notebook downloads it by itself. Submit before the next lab session. The solutions are for checking your work afterwards.
Next week¶
Monte Carlo simulation: replacing a few scenarios with thousands of simulated outcomes, for risk models, the newsvendor problem and bidding, in a Streamlit app.