Scenario and Sensitivity Analysis Questions
Testing how outcomes change under different assumptions through scenario modeling and sensitivity analysis. Covers building base, upside, and downside cases, isolating the variables that most affect results, and communicating the range and key drivers of uncertainty. Emphasizes stress-testing a model rather than producing a single point estimate.
Write a Python pseudo-code or outline for a Monte Carlo simulation to estimate the distribution of ROI for an ML project. Inputs: cost ~ Normal(50_000, 10_000), monthly conversion lift ~ Normal(0.005, 0.002), baseline monthly traffic = 200,000, AOV = $40, baseline conversion = 0.02. Output: 10,000 simulated ROI samples and 90% credible interval.
Implement a Monte Carlo simulation in Python to estimate the distribution of 5-year NPV for a project where annual benefits are Normally distributed with mean $200k and std $50k, and annual costs are fixed at $80k. Use a 10% discount rate and 10,000 simulation runs. Describe output metrics you'd report in the business case.
Provide a short plan describing how to run a sensitivity-based vendor procurement analysis that includes SLAs tied to payments. How would you model performance-based rebates or penalties in a financial forecast and stress-test worst-case vendor performance?
Design a multi-factor sensitivity analysis where benefits depend on correlated variables: adoption rate, per-user revenue, and retention. Describe how you would model correlations, run a correlated Monte Carlo, and summarize joint effects on 5-year NPV.
Describe pseudo-code or steps to compute the probability that a multi-year ML investment has positive NPV using Monte Carlo simulation. Scenario: Year0 investment $100k, Year1 additional $50k contingent on adoption, Year2 $20k maintenance. Adoption rate ~ Beta(a,b) drives annual revenue. Include distribution choices, monthly discounting, sampling, and outputs you'd present to stakeholders.
That is every published Scenario and Sensitivity Analysis question for Data Scientist so far. Browse the other topics in this category, or practice this one interactively.