Compute actual costs - don’t guess | Binary choice practice
Instructions
A practice prompt gives you confusion matrices and a cost structure, then asks which model or threshold is cheaper. Plug in the actual numbers and compute before you choose.
Format: IS / IS NOT fill-in-blank. Click the collapsed callout to reveal each answer after you’ve committed.
cat("\nModel A costs $", format(cost_A, big.mark=","),"\nModel B costs $", format(cost_B, big.mark=","),"\nModel B is cheaper by $", format(cost_A - cost_B, big.mark=","))
Model A costs $ 417,500
Model B costs $ 131,000
Model B is cheaper by $ 286,500
Model A: $417,500. Model B: $131,000. Model B is far cheaper despite having nearly twice as many false positives, because each missed disease case is 100× more expensive than a false alarm.
Q2
Model A _____ (DOES / DOES NOT) have higher overall accuracy than Model B.
NoteAnswer
DOES.
Show computation
acc_A <- (42+115) /200acc_B <- (48+88) /200cat("Model A accuracy:", acc_A, "\nModel B accuracy:", acc_B)
Model A accuracy: 0.785
Model B accuracy: 0.68
Model A: 78.5% accuracy. Model B: 68.0% accuracy. Model A is more accurate but MORE EXPENSIVE. This is the key lesson: accuracy ≠ cost-effectiveness when costs are asymmetric.
Q3
If both error types cost the same ($500 each), the cheaper model _____ (WOULD / WOULD NOT) change.
\(p = 0.3\) is cheapest at $10,300 — not p=0.5. The lower threshold has more unnecessary restocks (55 vs 22), but each missed sellout costs 4× as much ($400 vs $100), so catching sellouts aggressively wins. Don’t assume the middle threshold is always best — compute.
Q5
If the cost of a missed sellout DOUBLED to $800, the optimal threshold _____ (WOULD / WOULD NOT) likely shift toward a LOWER threshold.