Your Training Partner
Techniques Toolbox
Horizontal tornado diagram around a vertical line at 45 working days. This line marks the base schedule duration of the online services portal. Six bars run from longest to shortest. B. Portal runs from 44 to 60 days. D. RCPers interface runs from 45 to 58 days. C. Data migration runs from 45 to 55 days. R1. Canton delay runs from 45 to 54 days. E. Acceptance testing runs from 43 to 51 days. A. Scoping runs from 43 to 50 days.

Sensitivity Analysis

Sensitivity analysis finds which input of a quantified model moves its result most. The inputs are durations, costs, risks or the parameters of a process. The result is a finish date, a total cost or a cycle time. In the most common method, one input varies between a low value and a high value. The others keep their base value. The swing in the result measures how much the input matters. In a Monte Carlo simulation, the ranking uses the correlation of each input with the result. The tornado diagram draws the ranking with the most influential input at the top.

Goal

Sensitivity analysis measures the effect of each input of a model on its result, then ranks the inputs by decreasing influence. The model is a schedule, a cost estimate or a process. If a small change in an input produces a large change in the result, the result is sensitive to that input. The GAO (Government Accountability Office), which audits federal spending for the US Congress, gives this definition in its cost estimating guide.

The GAO varies one input at a time and measures the swing in the result in days or in francs. The PMBOK Guide (§2.7.2.3) correlates the variations in the result with those of each input over a Monte Carlo simulation.

The technique shows where to put the effort: the estimate to refine first, the risk to treat, the process parameter to watch. According to the GAO, the inputs that drive the result most deserve further study. The deliverables are the ranked list of inputs with their swing and the tornado diagram that draws it.

The BPM CBOK applies the same idea to a business process (§4.6.3). The analyst changes a parameter or an activity of the process and observes the result. The CBOK looks for two characteristics in the result. Responsiveness describes how the process absorbs more or fewer requests and earlier or later arrivals: how fast work flows, how much the process handles, where bottlenecks form. Variability describes how its output changes when its parameters vary.

Usage

When to use it

  • Estimates to refine before a commitment: pick out the ranges that deserve a second estimate.
  • A risk response budget to allocate: treat first the risk that moves the date or the cost most.
  • A Monte Carlo simulation already run: read which input contributes most to the spread of the finish date.
  • A choice between solution options: measure how far a parameter must move to reverse the recommendation.
  • A value proposition tied to a date or an investment threshold: check during planning what tips it over (PMBOK §2.3).
  • A process to resize: find the parameter that cycle time reacts to most (volume, arrival rate, headcount).
  • A model already costed in a spreadsheet: the analysis comes down to two recalculations per input.

When not to use it

  • The probability of meeting a date or a budget: the ranking gives none; Monte Carlo simulation calculates it.
  • A named condition where several inputs move together: a strike or a failing supplier is played out with what-if scenario analysis.

Description

The procedure: one input at a time

The steps come from the GAO guide.

  1. List the assumptions and parameters of the model that can vary.
  2. Recalculate the result while one input varies between two set values. The other inputs keep their base value.
  3. Record the result.
  4. Repeat steps 2 and 3 until each input has been tested on its own.
  5. Rank the inputs by swing and document the ranking.

Choosing the inputs

For a cost estimate, the GAO starts with the main cost drivers: each element's share of the total points to the candidates. It adds the inputs of high-risk elements. It always includes the assumptions most likely to change, for example an assumption made for lack of knowledge or one that the organisation does not control. For a schedule, the inputs are the activity durations and the risks in the register that lengthen them.

Setting a low and a high value

The GAO asks for documented and traceable bounds. In its view, varying every input by the same subjective percentage does not produce a valid sensitivity analysis. In a budget, which is a sum, ±20% on each line gives each line a swing of 40% of its amount. Lines of CHF 600'000 and CHF 100'000 receive swings of CHF 240'000 and CHF 40'000, even if the second is the more uncertain. The ranking repeats the order of the amounts, which the GAO already uses to choose the inputs.

The bounds come from data: actual durations on comparable projects, the minimum and maximum of a three-point estimate, a supplier's quote, a contractual range. A risk in the register is an event. Step 2 applies to it as follows: the analyst tests it absent, then present with its maximum impact. The swing then counts the occurrence as certain, whatever the probability of the risk. An opportunity is tested the same way and gives a bar on the left only.

Recalculating and ranking

In a schedule, each recalculation repeats the forward pass of the critical path method. In a budget, it repeats the sum. A model with six inputs needs twelve recalculations on top of the base calculation.

The swing of an input is the difference between its two results. The analyst sorts the inputs by decreasing swing and records the low value, the high value and the two results for each one.

Reading the tornado

The tornado diagram draws a vertical line at the base result. Each input gets a horizontal bar that runs from the result at its low value to the result at its high value. The bars are sorted from longest to shortest. This order gives the diagram its tornado shape.

A bar is often asymmetric. In a schedule or a budget, the left part shows what the input gains when it takes its low value. The right part shows what it loses at its high value. In a schedule, an activity off the critical path has no left part: shortening it does not shorten the project. The analyst focuses the effort on the inputs at the top: a second estimate, a finer breakdown, a risk response. Those at the bottom keep their estimate.

The tipping point

The tipping point is the value of an input beyond which the conclusion changes. In a schedule, it is the duration beyond which a parallel activity becomes critical. Below it, changing the activity does not change the date. Above it, each day adds to the date.

When the analysis compares solution options, the GAO asks this question: how far must a parameter move for the recommendation to change? A parameter is sensitive when a change of 10 to 50% reverses the choice. Below 10%, it is very sensitive. These thresholds apply to the comparison of options. They are not for ranking the inputs of a schedule.

The PMBOK Guide method: correlation over a simulation

In a Monte Carlo simulation, each iteration draws a value for each input and calculates the finish date. Over a few thousand iterations, the tool calculates the correlation coefficient between the values drawn for each input and the project duration. The PMBOK Guide ranks the elements by decreasing strength of correlation, which produces the same tornado shape. The elements are risks, highly variable activities or sources of ambiguity. The axis runs from -1 to +1 and has no unit.

A negative correlation signals an input that shortens the project when it occurs or increases. The PMBOK Guide's example shows the opportunity of a foundations contractor that would deliver early. A register that holds only threats produces no negative bar.

In this method, all inputs vary together according to their probability distributions. The ranking takes account of the probability of each value and of the other inputs that move at the same time. It needs a complete simulation model. The one-input-at-a-time analysis makes do with the deterministic schedule or budget.

Business processes

For a process, the result is a cycle time, a throughput or a cost per case. The inputs are the parameters that the CBOK names: the volume of requests, their arrival rate, the capacity assigned to each activity. The model is often a process simulation. The GAO procedure applies as it stands: one parameter at a time, between two bounds taken from observed volumes.

Next to it the CBOK places process risk analysis, which it calls similar to sensitivity analysis. Risk analysis examines the control points of the process and what happens when one of them fails. The CBOK cites the verification of a customer's identity and the check of their creditworthiness.

Sensitivity, scenario, simulation

What-if scenario analysis and Monte Carlo simulation work on the same uncertainty and answer different questions.

 Sensitivity analysisWhat-if scenario analysisMonte Carlo simulation
QuestionWhich input moves the result most?What happens if condition X occurs?How likely is the project to meet the date or the budget?
Inputs that varyOne at a time between two bounds (GAO); all, then correlated with the result (PMBOK)Several together under a named conditionAll together according to their probability distributions
OutputRanked inputs, tornado diagramOne recalculated result per scenarioDistribution of the result, S-curve
Sensitivity analysis, what-if scenario analysis and Monte Carlo simulation: the question, the inputs that vary and the output of each.

The BPM CBOK and the GAO also call sensitivity analysis what-if analysis. Project management literature gives that name to scenario analysis. Only the number of inputs that move therefore separates the two techniques. According to the GAO, the two combine: the analyst can fix a scenario and then test each input within it.

Pitfalls

Adding up the bars

The GAO points this out: the one-input-at-a-time analysis does not give the possible range of the result. Swings do not add up. In the online services portal of the example, B and D at their maximum give 60 days together: as many as B alone. Adding their overruns of 15 and 13 days would wrongly predict 73 days. For the range of the result, all inputs must vary together, which is what simulation does.

Combined effects

Two inputs together can produce more than the sum of their separate effects. In the same example, shortening B alone gains one day, because D takes over on the critical path. Shortening D alone gains nothing. Shortening both gains three days. A decision about two linked inputs is recalculated with both.

An improbable bound

The swing counts each bound as certain. In the tornado, C (swing of 10 days) comes ahead of R1 (9 days). Yet R1 occurs one time in four. The maximum of C almost never occurs. Such an input ranks high in the swing tornado and low in the correlation tornado. The two rankings of the online services portal show this gap.

A correlation read in days

A correlation of 0.50 does not say by how many days the input moves the date. It says how closely the input and the date vary together across the iterations. The report names the method it shows and the unit of the axis.

AI considerations

A language model writes the calculation loop: a Python script or a spreadsheet that varies each input between its bounds, recalculates the result and sorts the swings. The analyst checks it on a case with a known answer. Shortening an activity off the critical path must leave the date unchanged. In a single chain of activities, the swing of each activity must equal its range.

The language model also helps to list the inputs. From the assumptions of an estimate or the activities of a schedule, it proposes a list that the analyst checks against the risk register and with the activity owners. A range of plus or minus 20% proposed by the model is the subjective percentage that the GAO rejects. The bounds and their provenance come from data or from the owners.

Asked which input of a project is the most sensitive, a language model answers with a plausible name without having recalculated anything. Budgets, supplier quotes and contractual risks stay out of online services whose terms of use the organisation does not control.

Examples

A municipality in the canton of Vaud opens an online services portal. The base schedule gives 45 working days: A, then B, C and D in parallel, then E. The finish equals A + the longest of B, C and D + E, that is 10 + 25 + 10 along path A-B-E. The base value of each activity is the most likely value of its three-point estimate. Each activity varies on its own between the minimum and the maximum of that estimate. Risk R1 goes from "does not occur" to "occurs, +10 days on D".

InputBase valueLow valueHigh valueFinish if low (days)Finish if high (days)Swing (days)
B. Portal development252040446016
D. Interface with the cantonal register of persons (RCPers)241838455813
C. Data migration221535455510
R1. The canton delivers its register interface latedoes not occurdoes not occur+10 days on D45549
E. Acceptance testing (UAT) and go-live1081643518
A. Scoping and specifications1081543507
Sensitivity analysis of the online services portal: the finish date when a single input moves to its low value and then to its high value. Base schedule: 45 working days.

This tornado follows the GAO method: each swing reads in days. B comes first because it is on the critical path: all 15 days of its overrun pass into the date. D exceeds its base value by 14 days, but its one day of float absorbs one. C and D have no left part. As long as B remains the longest branch, shortening them does not shorten the project. C becomes critical beyond 25 days, that is three days above its base value. The team splits portal development into work packages and re-estimates B first.

Visualisations

The swing tornado diagram is scaled in days or in francs. It shows how far each input can push the result on its own. The correlation tornado diagram has no unit. It shows which input varies most with the result when all of them vary. The Monte Carlo simulation of the same online services portal gives the second one.

InputSwing (days)Rank by swingCorrelation with project durationRank by correlation
B. Portal1610.403
D. RCPers interface1320.432
C. Data migration1030.126
R1. Canton delay940.501
E. Acceptance testing850.354
A. Scoping760.305
The online services portal ranked twice: by the swing in days of one input at a time and by the correlation with project duration over 10'000 iterations.

C drops from third to last place. Its swing counts its maximum of 35 days, where C becomes the longest branch. In the simulation, C is critical in 12% of the iterations: its variations rarely reach the finish date. R1 rises from fourth to first place. The swing measures R1 at its maximum impact on a D at its base value. In the simulation, R1 occurs in a quarter of the iterations and then adds 5 to 10 days to D. D is most often the critical branch: in 47% of the iterations.

The ranking by swing points to the estimate to refine. The ranking by correlation points to what drives the actual date most when all the uncertainties play out.

Cost

PhaseLevelRationale
PreparationMediumList the inputs and document for each a low bound and a high bound with their provenance.
ExecutionLowTwo recalculations per input on the existing model. The correlation tornado comes out of the simulation with no extra calculation.
DocumentationLowThe table of bounds, the results, the tornado and the chosen method (swing or correlation).

Tools

A spreadsheet is enough for the one-input-at-a-time method. In Excel, the Data Table and Goal Seek commands sit under Data > Forecast > What-If Analysis. Data Table recalculates a model for a list of values of one input. Goal Seek finds the value of an input that closes the gap between two options: the tipping point. A stacked bar chart draws the tornado.

The risk modules of scheduling tools (Oracle Primavera Risk Analysis, Safran Risk) and the simulation add-ins for spreadsheets (Lumivero @RISK, Oracle Crystal Ball) produce the correlation tornado from the simulation.

A Python script loops over the inputs in a few dozen lines. Matplotlib draws the tornado. The script is versioned with its bounds. For a process, Bizagi Modeler and the other modelling tools with a simulation module replay the process with one parameter changed.

Sources

  • PMI, A Guide to the Project Management Body of Knowledge (PMBOK Guide), 8th ed., §2.3, §2.7.2.3 Perform Risk Analysis and Section 5, entries Sensitivity analysis and Influence diagrams: sensitivity analysis as a tool of quantitative risk analysis, the correlation of each model element with the result, the tornado diagram and its negative bars, the sensitivity of the value proposition to dates and investment thresholds.
  • ABPMP, Guide to the Business Process Management Common Body of Knowledge (BPM CBOK), §4.6.3 Analyzing the Process and glossary, entry Sensitivity Analysis: the analysis applied to the parameters of a process, its responsiveness and its variability, the name what-if analysis, the distinction from process risk analysis.
  • U.S. Government Accountability Office, Cost Estimating and Assessment Guide, GAO-20-195G, 2020, chapter 11: the definition, the one-input-at-a-time procedure, the choice of inputs and their bounds, the tornado diagram, the limits of the method and the sensitivity thresholds in the comparison of options.
Scrum of Scrums
All techniques
Sequence Diagrams