依原書 Chapter 13 對第 10 章 Café model 的 sensitivity stress-test,驗證單一 input 改變時 output 是否符合預期方向。
Base Case 下,Other Costs = $29,192、Net Income = $7,791。原書先改一個 variable,再觀察 model 是否出現合理反應。
| 測試 | Base | Stress Input |
|---|---|---|
| Consumables / Cup | $0.45 | $1.00 |
| Large Cup Price | $4.00 | $0 |
| Small Cup Price | $3.50 | $0 |
先把模型設為 Base Case。一次只改一個 driver;變更前先寫下預期方向,再看 output。第一測試改 B17 consumables;第二測試把 prices 設為 0,檢查 Revenue 是否真的歸零。
| Output | Base | Consumables = $1.00 |
|---|---|---|
| Other Costs | $29,192 | $45,804 |
| Net Income | $7,791 | -$3,838 |
| Revenue when both prices = 0 | — | 應為 0 |
Costs 上升、profit 下滑符合因果方向,顯示 links 正常。把 price 設成 0 是更極端的 boundary test:若 Revenue 還不為 0,模型中很可能存在 hard-code 或錯 link。
請分析 Consumables 從 $0.45 提高到 $1.00 後 Other Costs $29,192→$45,804、Net Income $7,791→-$3,838 是否符合預期,並設計兩個類似的極端 sensitivity tests。
**問題:**為什麼原書要求先思考預期結果,再查看實際 output?