Sensitivity analysis measures how much a model’s results change when its inputs change, and therefore shows which assumptions matter. It answers a simple question: if this number is wrong, how much does the answer change? A model with fifty inputs resembles a mixing desk with fifty sliders, because moving most of them changes nothing you can hear. The analysis finds the handful that matter before you argue about the other forty-five.
Finance teams know the simplest version as what-if analysis. The methods range from changing one input at a time to varying every input together, and each answers a different question. The sections below follow that ladder, and one hypothetical example, a utility evaluating a battery storage investment, shows what each rung reveals.
Why does it pay to find the inputs that matter?
Four practical benefits explain why reviewers ask for it, especially in fields such as energy and power, where investments last for decades, and the future is uncertain.
- Focus your effort. Spend data collection and expert time on the few inputs that move the answer, and accept rough estimates for the rest.
- Test the recommendation. Check whether the preferred option stays preferred when your assumptions prove wrong.
- Build trust. Boards, regulators, and review panels want to see which assumptions carry the conclusion. GAO’s cost estimating guide lists sensitivity analysis as step 8 of its twelve-step estimating process and gives it a chapter of its own.
- Find model errors. An input that should matter but does not, or one that matters far more than it should, often points to a mistake in the formulas.
Quantifying the uncertainty in your inputs is a separate step, which the risk analysis page covers, and this analysis then ranks which of those uncertainties deserve your attention.
How does one-at-a-time testing work?
One-at-a-time testing changes a single input while every other input stays at its nominal value. You record the change in the output, restore the input, and repeat for the next input. Finance teams call the method what-if analysis, and decision analysts call it one-way sensitivity analysis. It is quick and easy to explain, which makes it the right first step.
Consider a hypothetical example with illustrative round numbers. A utility evaluates a battery that delivers 100 megawatts for four hours, which stores 400,000 kilowatt-hours. At nominal values, the battery costs $300 per kilowatt-hour ($120 million), earns net revenue of $150 per kilowatt-year ($15 million per year), lasts 15 years, and faces an 8 percent discount rate. These values yield a net present value of about $8 million, and the model deliberately excludes operating costs, taxes, and degradation.
Now vary revenue alone. At $110 per kilowatt-year, the net present value falls to about negative $26 million, and at $190 it rises to about $43 million. Repeating the test for capital cost, discount rate, and project life produces one result for each input.
Analysts often plot the output against a range of values for one input, a technique that Analytica’s documentation calls parametric analysis. Spreadsheet users often build a similar view with a data table, which varies one or two input cells across a set of values. Either way, the result shows how the answer responds to one input at a time, and it shows nothing about inputs that move together.
What is a tornado diagram (tornado chart)?
A tornado diagram, or tornado chart, shows the results of one-at-a-time testing for many inputs in a single picture. Each input gets a horizontal bar that runs from the output at the input’s low value to the output at its high value, with every other input at nominal. The chart sorts the bars by length, so the widest bar sits on top and the narrowest at the bottom. That outline resembles a funnel cloud, although this one only flattens assumptions.
In the battery example, revenue produces the widest bar, a swing of about $68 million. Capital cost follows at about $48 million, the discount rate at about $32 million, and project life at about $28 million. Every bar crosses zero, which means each input alone could turn the project from a gain into a loss somewhere within its range.
Read the chart in three steps. First, find the widest bars, because those inputs move the answer most. Second, check each bar’s direction: higher capital cost lowers the value, and higher revenue raises it. Third, check whether a bar crosses the line where your decision changes.
The chart has two blind spots. It varies one input at a time, so it hides interactions between inputs, and it depends on the low and high values that you choose. A wide range on an input you know well makes that input look more important than it is. For the steps to build one in software, see the tornado charts documentation.
What are local and global methods?
Local methods measure the effect of a change around one point, usually the nominal case. One-at-a-time testing and tornado diagrams are local methods. Global methods vary all inputs together across their full ranges and report each input’s share of the variation in the output.
Local methods can mislead when a model is nonlinear or when inputs interact. In the battery model, revenue passes through a factor that depends on both the discount rate and the project life, so the effect of a revenue shortfall depends on those two inputs. A tornado holds them at nominal values, so it shows only one slice of that relationship.
Sobol indices are the best-known global measure, and the approach comes from I. M. Sobol, whose 1993 paper is the standard citation. The method splits the output variance into shares attributable to each input. The first-order index of an input is the share that input explains on its own, and the total index adds the share that comes from its interactions with other inputs.
Morris screening offers a cheaper alternative for models with many inputs. Morris’s 1991 method repeats one-at-a-time changes from many random starting points across the input space, then averages the effects and records how much they vary. An input with a large average effect matters, and an input whose effect varies widely from point to point either interacts with other inputs or acts nonlinearly.
Andrea Saltelli and colleagues cover these methods in Global Sensitivity Analysis: The Primer, and an open textbook on sensitivity analysis methods offers a free introduction.
How does a Monte Carlo sample rank the inputs?
Probabilistic sensitivity analysis, which Analytica calls importance analysis, ranks inputs by how much of the output’s uncertainty each one causes. It starts with a Monte Carlo simulation, in which each uncertain input has a probability distribution, and the simulation draws thousands of random combinations. The analysis then computes the rank-order correlation between each input’s sampled values and the output. A high correlation, positive or negative, marks an input that drives the result.
Because every input varies together, the ranking reflects interactions that a tornado diagram misses. It also weights each value by its probability, so an unlikely extreme counts for less than a likely value.
Suppose each battery input follows a triangular distribution that peaks at the nominal value and spans the same low and high values as the tornado. A simulation then gives rank-order correlations of about 0.72 for revenue, negative 0.50 for capital cost, negative 0.32 for the discount rate, and 0.28 for project life. The ranking matches the tornado. The simulation also shows about a 34 percent chance that the net present value falls below zero, a figure that a tornado cannot produce.
Variance shares from the same run, which are first-order Sobol indices, tell a similar story. Revenue explains about 53 percent of the variation in the net present value, capital cost 26 percent, the discount rate 11 percent, and project life 9 percent. Those shares add up to about 100 percent, which means the inputs act almost independently over these ranges, so the tornado ranking holds. When a model’s shares add up to well under 100 percent, interactions carry the rest, and one-at-a-time testing misses them.
Readers who want to compare simulation tools can read Lumina’s comparison of Monte Carlo software.
Does the recommended decision change?
A wide bar on a tornado diagram does not prove that an input matters to the decision. What matters is whether the input can push the result across the line that separates one choice from another. A switchover value, or break-even value, is the input value at which the preferred option changes.
The battery project breaks even when revenue falls to about $140 per kilowatt-year, which is about 6.5 percent below the nominal $150. It also breaks even when capital cost rises to about $321 per kilowatt-hour, which is about 7 percent above the nominal $300. Those two numbers show how little margin the recommendation has.
Value of information goes a step further. The expected value of perfect information states, in the units of the decision, the most you should pay to learn an uncertain input before you decide. In the battery model, perfect knowledge of revenue is worth about $2.5 million, capital cost about $1.1 million, and the discount rate and project life about $0.2 million each.
On the tornado, the discount rate and project life swing the result by roughly $30 million each, yet learning either one is worth little. The reason is that the expected net present value turns negative only in the least favorable tenth or so of each input’s distribution, against nearly three tenths for revenue. That comparison points the research budget at revenue and capital cost. The decision analysis page explains how value of information fits into the wider process.
How does scenario analysis differ?
The difference between sensitivity analysis and scenario analysis comes down to how many variables change at once. Sensitivity analysis moves inputs by a controlled amount, usually one at a time, to learn which ones matter. Scenario analysis changes many inputs together to tell a coherent story about the future, such as a recession with tight credit, to see what happens in that world. The table below compares the two.
| Feature | Sensitivity analysis | Scenario analysis |
|---|---|---|
| What changes | One input at a time, or all inputs by design | A coherent set of inputs together |
| Question answered | Which inputs matter, and by how much? | What happens in this possible future? |
| Typical output | Tornado diagram or importance ranking | Side-by-side results for named scenarios |
| Main weakness | Ignores whether input combinations are plausible | Covers only the futures that someone imagines |
The two methods complement each other. A recession scenario for the battery that combines revenue of $110 per kilowatt-year, capital cost of $360 per kilowatt-hour, and a discount rate of 10 percent gives a net present value of about negative $60 million, a result that no single bar on the tornado shows. Sensitivity analysis tells you which inputs to watch, and scenario analysis tells you what a bad combination does.
How do you present the results?
Match the display to the audience. A tornado diagram suits a board, because the bars need no explanation. An importance ranking suits analysts because it accounts for each value’s probability. A switchover table suits decision makers, because it states the change that would reverse the recommendation.
Limit each display to the five or so largest drivers and group the rest under one label, such as all other inputs. State the low and high values behind every bar, because readers otherwise compare bars drawn on different ranges. Finish with one sentence that says what the picture means for the decision.
How does Analytica handle this work?
Analytica includes these analyses in the same environment where you build the decision model. Its tornado chart varies each input one at a time between low and high values you set as absolute numbers, percentages around the nominal value, or, for uncertain inputs, fractiles such as the 10th and 90th percentiles. When the output is an array, Analytica produces one tornado for each element. Importance analysis uses the Monte Carlo sample to rank inputs by rank-order correlation with the output.
A parametric analysis needs no data tables. You add a dimension that lists alternative values for an input, and Intelligent Arrays carry that dimension through every downstream variable, so the output appears for each value at once. Value of information analysis calculates the expected value of perfect information for an uncertain input.
With Analytica Cloud Platform, you publish the model from the desktop and invite collaborators by email, and they run it in a browser without installing anything. Readers who want to compare tools can read Lumina’s comparison of sensitivity analysis software.
Further reading
The sources below cover the methods and examples on this page.
- Morgan, M. G., and M. Henrion. Uncertainty: A Guide to Dealing with Uncertainty in Quantitative Risk and Policy Analysis. Cambridge University Press, 1990.
- Saltelli, A., et al. Global Sensitivity Analysis: The Primer. Wiley, 2008.
- Sobol, I. M. “Sensitivity Estimates for Nonlinear Mathematical Models.” Mathematical Modelling and Computational Experiments, volume 1, number 4, pages 407 to 414, 1993.
- Morris, M. D. “Factorial Sampling Plans for Preliminary Computational Experiments.” Technometrics, volume 33, pages 161 to 174, 1991.
- Clemen, R. T. Making Hard Decisions: An Introduction to Decision Analysis.
- U.S. Government Accountability Office. Cost Estimating and Assessment Guide. GAO-20-195G, 2020.
Morgan and Henrion’s book treats uncertainty in quantitative models, and the primer details the global methods.
Frequently asked questions
What is an example of sensitivity analysis?
A utility evaluating a battery storage investment might raise and lower its capital cost, revenue, discount rate, and project life, then record the effect on net present value. In the hypothetical example above, raising capital cost from $240 to $360 per kilowatt-hour changes the net present value from about $32 million to about negative $16 million. Repeating the test for every input and sorting the swings produces a tornado diagram.
Is sensitivity analysis the same as what-if analysis?
They overlap but differ in scope. What-if analysis asks what happens when one assumption changes, and one-at-a-time testing is its most common form. Sensitivity analysis is broader, because it also ranks inputs with tornado diagrams, weights values by probability with importance analysis, measures interactions with global methods, and checks whether the decision changes. A what-if question gives you one answer, while sensitivity analysis tells you which questions deserve asking.
Can Excel do sensitivity analysis?
Yes, for the one-at-a-time version. An Excel data table varies one or two input cells across a set of values and shows the result for each. Ranking many inputs, simulating probability distributions, and measuring interactions take extra setup or additional software. Solver, the optimization add-in, can create a report after it finds a solution, and the page on optimization and solvers explains what solver output can say about how a best answer responds to change.
What is the difference between local and global sensitivity analysis?
Local sensitivity analysis changes inputs one at a time around a base case and measures the effect of each change. Global sensitivity analysis varies all inputs across their full ranges and measures each input’s share of the output’s variation, including interaction effects. Local methods run faster and are easier to explain, and global methods work better when a model is nonlinear or its inputs interact.
How many inputs should a tornado chart show?
Show about five. Most audiences can follow five bars, and the bars below the top five usually add little to the message. In an analyst’s report, you can extend the chart to ten when many inputs have similar swings, and you can group the remainder under one label.