Difference between revisions of "Tornado Plots"

m (Internal:Tornado Plots moved to Tornado Plots: Remove from internal, so can be viewed by beta testers)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
[[Category: Graphs]]
 +
 
(Up to [[Analytica Graph Settings]] or [[Bar Origin]])  
 
(Up to [[Analytica Graph Settings]] or [[Bar Origin]])  
  
The term "Tornado Plot" refers to a variety of bar-style charts showing deviations from a standard value.  They are commonly depicted with horizontal bars, sorted so that the longer bars appear near the top, shorter bars near the bottom, giving a visual cylone-shape appearence, hence the name.  Generally each bar group depicts the sensitivity of an output to a change in an input. 
+
__TOC__
  
In @Risk, Tornado plots display the step-wise regression coefficient between and input and the selected outputOnly one bar exists for each input variable, and each bar starts at the zero-origin.  For this style Tornado, the variable [[Bar Origin]] option is unnecessary. Steps required are:
+
A "Tornado Plot" is a kind of bar-chart showing the sensitivities or deviations of result due to a list of uncertain inputsThe bars are horizontal, each labeled by the corresponding input variable, and sorted with the largest bars at the top down to the shortest at the bottom -- giving the impression of a tornado funnel cloud.  
  
  1. Compute the step-wise regression coefficients.
+
In @Risk, Tornado plots display the step-wise regression coefficient between and input and the selected output.  Only one bar exists for each input variable, and each bar starts at the zero-origin. For this style Tornado, the variable [[Bar Origin]] option is unnecessary.
2. Sort by absoulte value (largest first)
+
 
3. Truncate to the number of bars desired.
+
Steps required are:
4. Plot result as bar chart, with Swap XY on, and Y-axis in reverse order.
+
 
 +
# Compute the step-wise regression coefficients.
 +
# Sort by absolute value (largest first)
 +
# Truncate to the number of bars desired.
 +
# Plot result as bar chart, with Swap XY on, and Y-axis in reverse order.
  
 
The more common style of Tornado plots displays two bar segments for each input, "Low" and "High", each emanating from the baseline value (which is necessarily between Low and High).  There are at least three ways to plot this style of tornado, where the appropriate technique depends on the form of your computed data.
 
The more common style of Tornado plots displays two bar segments for each input, "Low" and "High", each emanating from the baseline value (which is necessarily between Low and High).  There are at least three ways to plot this style of tornado, where the appropriate technique depends on the form of your computed data.
Line 14: Line 20:
 
The following is an example of a tornado produced in this fashion.  Notice the absence of a bar-origin.
 
The following is an example of a tornado produced in this fashion.  Notice the absence of a bar-origin.
  
[[Image:RankCorrelSensitivityTornado.JPG]]
+
:[[Image:RankCorrelSensitivityTornado.JPG]]
  
 
== Technique 1 ==
 
== Technique 1 ==
  
 
Let:
 
Let:
Index Level := ["Low","Baseline","High"]
+
:<code>Index Level := ["Low", "Baseline", "High"]</code>
Index Inputs := (a list of inputs)
+
:<code>Index Inputs := ... { a list of inputs }</code>
Variable Y:= (result indexed by Inputs, Levels, and perhaps others)
+
:<code>Variable Y := ... {result indexed by Inputs, Levels, and perhaps others }</code>
  
[[Image:TornadoTable1.jpg]]
+
:[[Image:TornadoTable1.jpg]]
  
 
Also, it is assumed that Inputs has been sorted with the largest variation first, and truncated if desired to only those inputs that one desires to show.
 
Also, it is assumed that Inputs has been sorted with the largest variation first, and truncated if desired to only those inputs that one desires to show.
  
Steps:
+
Steps:
1. Plot Y, pivot Inputs to X-axis, Level to Key.
+
# Plot Y, pivot Inputs to X-axis, Level to Key.
2. Set Chart Style to Bar
+
# Set Chart Style to Bar
3. Select "Variable origin"  
+
# Select "Variable origin"  
    Swap XY is set and Bar Overlap changed to 100% automatically.  Leave those.
+
#:Swap XY is set and Bar Overlap changed to 100% automatically.  Leave those.
4. On Axis settings, reverse order for Y-axis (result).
+
# On Axis settings, reverse order for Y-axis (result).
5. In graph view, bar origin pulldown appears.  Select "Baseline" for the origin.
+
# In graph view, bar origin pulldown appears.  Select "Baseline" for the origin.
  
[[Image:TornadoSettings1.jpg]]
+
:[[Image:TornadoSettings1.jpg]]
[[Image:TornadoPlot1.jpg]]
+
 
 +
:[[Image:TornadoPlot1.jpg]]
  
 
== Technique 2 ==
 
== Technique 2 ==
  
 
Let:  
 
Let:  
Index Level := ["Low","High"]
+
:<code>Index Level := ["Low", "High"]</code>
Inputs := (a list of inputs)
+
:<code>Inputs := (a list of inputs)</code>
Variable Baseline := (the baseline value, not indexed by Level)
+
:<code>Variable Baseline := ... { the baseline value, not indexed by Level }</code>
Variable Tornado := (sensitivity result, indexed by Level)
+
:<code>Variable Tornado := ... { sensitivity result, indexed by Level }</code>
  
Here Tornado might be computed using WhatIfAll, for example.
+
Here Tornado might be computed using [[WhatIfAll]], for example.
  
 
The goal here is to display a Tornado plot when the Tornado variable's result graph is viewed.
 
The goal here is to display a Tornado plot when the Tornado variable's result graph is viewed.
  
Steps:
+
Steps:
1. Show result for Tornado.  Ensure you are in edit mode.
+
# Show result for Tornado.  Ensure you are in edit mode.
2. Click [XY] button at top right and click "Use Another Variable or Expression".
+
# Click '''XY''' button at top right and click "Use Another Variable or Expression".
3. Click Add... and select Baseline.  [OK]
+
# Click Add... and select Baseline.  '''OK'''
4. In Graph Setup, select Bars, Variable Origin (and Swap XY, and Overlap=100%) [Apply]
+
# In Graph Setup, select Bars, Variable Origin (and Swap XY, and Overlap = 100%) '''Apply'''
5. In result graph view, pivot Y-axis = inputs, Key=Level, Bar Origin=Baseline.
+
# In result graph view, pivot ''Y-axis = inputs, Key = Level, Bar Origin = Baseline''.
  
 
Here the origin is the baseline, and the "tops" of the bars are the High/Low values.
 
Here the origin is the baseline, and the "tops" of the bars are the High/Low values.
Line 63: Line 70:
 
Same model as Technique 2, but here the goal is to display the Tornado when the result for Baseline is viewed.
 
Same model as Technique 2, but here the goal is to display the Tornado when the result for Baseline is viewed.
  
Steps:
+
Steps:
1. Show result for Baseline.  Ensure you are in edit mode.
+
# Show result for Baseline.  Ensure you are in edit mode.
2. Click XY button and click "Use Another Variable or Expression".
+
# Click '''XY''' button and click "Use Another Variable or Expression".
3. Click "Add..." and select Tornado [OK]
+
# Click "Add..." and select Tornado '''OK'''
4. In graph setup, select Bars & Variable Origin (and Swap XY, overlap=100%) [Apply]
+
# In graph setup, select Bars & Variable Origin (and Swap XY, Overlap = 100%) '''Apply'''
5. In result graph view, pivot so Key=Level, Y-axis=Inputs, Origin=Tornado.
+
# In result graph view, pivot so ''Key = Level, Y-axis = Inputs, Origin = Tornado''.
  
 
Here the baseline value is the "top" of the bar, and the origin is used for the high/low values (the reverse of Technique 2).
 
Here the baseline value is the "top" of the bar, and the origin is used for the high/low values (the reverse of Technique 2).
 +
 +
==See Also==
 +
* [[Tornado charts]]
 +
* [[Stacked clustered bar charts]]
 +
* [[Bar Origin]]
 +
* [[Graph settings]]

Latest revision as of 01:59, 26 February 2016


(Up to Analytica Graph Settings or Bar Origin)

A "Tornado Plot" is a kind of bar-chart showing the sensitivities or deviations of result due to a list of uncertain inputs. The bars are horizontal, each labeled by the corresponding input variable, and sorted with the largest bars at the top down to the shortest at the bottom -- giving the impression of a tornado funnel cloud.

In @Risk, Tornado plots display the step-wise regression coefficient between and input and the selected output. Only one bar exists for each input variable, and each bar starts at the zero-origin. For this style Tornado, the variable Bar Origin option is unnecessary.

Steps required are:

  1. Compute the step-wise regression coefficients.
  2. Sort by absolute value (largest first)
  3. Truncate to the number of bars desired.
  4. Plot result as bar chart, with Swap XY on, and Y-axis in reverse order.

The more common style of Tornado plots displays two bar segments for each input, "Low" and "High", each emanating from the baseline value (which is necessarily between Low and High). There are at least three ways to plot this style of tornado, where the appropriate technique depends on the form of your computed data.

The following is an example of a tornado produced in this fashion. Notice the absence of a bar-origin.

RankCorrelSensitivityTornado.JPG

Technique 1

Let:

Index Level := ["Low", "Baseline", "High"]
Index Inputs := ... { a list of inputs }
Variable Y := ... {result indexed by Inputs, Levels, and perhaps others }
TornadoTable1.jpg

Also, it is assumed that Inputs has been sorted with the largest variation first, and truncated if desired to only those inputs that one desires to show.

Steps:

  1. Plot Y, pivot Inputs to X-axis, Level to Key.
  2. Set Chart Style to Bar
  3. Select "Variable origin"
    Swap XY is set and Bar Overlap changed to 100% automatically. Leave those.
  4. On Axis settings, reverse order for Y-axis (result).
  5. In graph view, bar origin pulldown appears. Select "Baseline" for the origin.
TornadoSettings1.jpg
TornadoPlot1.jpg

Technique 2

Let:

Index Level := ["Low", "High"]
Inputs := (a list of inputs)
Variable Baseline := ... { the baseline value, not indexed by Level }
Variable Tornado := ... { sensitivity result, indexed by Level }

Here Tornado might be computed using WhatIfAll, for example.

The goal here is to display a Tornado plot when the Tornado variable's result graph is viewed.

Steps:

  1. Show result for Tornado. Ensure you are in edit mode.
  2. Click XY button at top right and click "Use Another Variable or Expression".
  3. Click Add... and select Baseline. OK
  4. In Graph Setup, select Bars, Variable Origin (and Swap XY, and Overlap = 100%) Apply
  5. In result graph view, pivot Y-axis = inputs, Key = Level, Bar Origin = Baseline.

Here the origin is the baseline, and the "tops" of the bars are the High/Low values.

Technique 3

Same model as Technique 2, but here the goal is to display the Tornado when the result for Baseline is viewed.

Steps:

  1. Show result for Baseline. Ensure you are in edit mode.
  2. Click XY button and click "Use Another Variable or Expression".
  3. Click "Add..." and select Tornado OK
  4. In graph setup, select Bars & Variable Origin (and Swap XY, Overlap = 100%) Apply
  5. In result graph view, pivot so Key = Level, Y-axis = Inputs, Origin = Tornado.

Here the baseline value is the "top" of the bar, and the origin is used for the high/low values (the reverse of Technique 2).

See Also

Comments


You are not allowed to post comments.