Difference between revisions of "Tutorial: Analyzing a model"
DKontotasiou (talk | contribs) |
DKontotasiou (talk | contribs) |
||
Line 44: | Line 44: | ||
==Performing parametric (sensitivity) analysis== | ==Performing parametric (sensitivity) analysis== | ||
+ | '''''Parametric analysis '''''(also called '''''sensitivity analysis''''') involves varying the value of an input variable to examine its effect on a selected output. Performing sensitivity analysis often provides useful insights into how small changes in input variable values affect the desired outcome. | ||
+ | |||
+ | Because the importance analysis in the section “Importance analysis” revealed that ''Appreciation rate ''caused most of the uncertainty in ''Difference between buying and renting, ''you will start the parametric analysis with that input variable. You will change ''Appreciation rate''’s definition from a probability distribution to a list of alternative values, and analyze the effect on the ''Difference between buying and renting ''output. | ||
+ | |||
+ | Before proceeding, click the edit button [[File:Chapter 3.10a.png]] in the toolbar to switch into edit mode. In edit mode you can modify the model: adding and removing nodes, and modifying existing nodes. Then click the key icon [[File:Chapter 3.10b.png]] to open the '''Attribute '''panel, then select the ''Appreciation rate ''node, and then select '''Definition '''from the Attribute popup menu to view its definition. | ||
+ | |||
+ | [[File:Chapter 3.10.png]] | ||
+ | |||
+ | When the Definition attribute is displayed, the Expression popup menu [[File:Chapter 3.10c.png]] appears. | ||
+ | |||
+ | Before proceeding, click the '''edit''' tool [[File:Chapter 3.10a.png]] to switch to edit mode. | ||
+ | |||
+ | The Expression popup menu allows you to change the definition of a variable to one of several different types of expressions. | ||
+ | |||
+ | Expression types include: | ||
+ | * Expression, or mathematical formula [[File:Chapter 3.10d.png]] | ||
+ | * List [[File:Chapter 3.10e.png]] | ||
+ | * List of Labels [[File:Chapter 3.10f.png]] | ||
+ | * Table [[File:Chapter 3.10g.png]] | ||
+ | * Probability table [[File:Chapter 3.10g.png]] | ||
+ | * Distribution [[File:Chapter 3.10c.png]] | ||
+ | * Choice [[File:Chapter 3.10h.png]] | ||
+ | |||
+ | You will now use the Expression popup menu to change the definition of ''Appreciation rate'' from a probability distribution to a list. You will redefine ''Appreciation rate'' as a list of alternative values from -10% to 10%. | ||
+ | |||
+ | [[File:Chapter 3.11.png]] | ||
+ | |||
+ | [[File:Chapter 3.12.png]] | ||
+ | |||
+ | Note that the icon on the Expression popup menu changes to indicate that '''List''' [[File:Chapter 3.10e.png]] is selected. | ||
+ | |||
+ | When a definition is first changed to a list, a cell (indicated by a box around it) appears in the definition. The first cell in the list initially contains the expression that was previously in the definition. In this case, you see the expression for a normal distribution (Normal(Inflation,3)). | ||
+ | |||
+ | You will replace the entry with a number and add cells to perform parametric analysis. | ||
+ | |||
+ | [[File:Chapter 3.13.png]] | ||
+ | |||
+ | ---- | ||
+ | In Analytica, you add cells to a list by pressing the main Enter key, not the numeric keypad Enter key. | ||
+ | ---- | ||
+ | |||
+ | A new cell appears with the value -9. Change its value to -5. After you have entered two values, as you press ''Enter'' to add a new cell, Analytica automatically fills in the new cell with a value based on the difference between the last two values. You can override the automatic value by typing the desired value. | ||
+ | |||
+ | [[File:Chapter 3.14.png]] | ||
+ | |||
+ | [[File:Chapter 3.15.png]] | ||
+ | |||
+ | [[File:Chapter 3.16.png]] | ||
+ | |||
+ | Pivot the graph as follows: | ||
+ | |||
+ | [[File:Chapter 3.17.png]] | ||
+ | |||
+ | The resulting graph shows the mid value of buying and renting as a function of ''Appreciation rate'', which varies from -10% to 10%, as you just entered. | ||
+ | |||
+ | ''Appreciation rate'' is informally called an '''''index''''' because it characterizes a dimension of another variable’s value, in this case, ''Costs of buying and renting''. | ||
+ | |||
+ | The graph shows that at an ''Appreciation rate'' of about -5% per year, renting and buying costs the same. If it is less than -5%, it would be better to rent; if it is greater than -5%, it would be better to buy. | ||
+ | |||
+ | [[File:Chapter 3.18-updated.png]] | ||
+ | |||
+ | The table shows the values computed for each parameterized value of ''Appreciation rate''. | ||
+ | |||
+ | [[File:Chapter 3.19-updated.png]] | ||
+ | |||
+ | ==Evaluating alternative decisions== | ||
==See Also== | ==See Also== |
Revision as of 12:39, 30 June 2015
This chapter shows you how to:
- Perform importance analysis
- Perform parametric analysis
- Set up and compare alternative decisions
In this chapter you will analyze the Rent vs. Buy Analysis model, a modified version of the model that you used in Chapter 1, “Using the Rent vs. Buy Model” and Chapter 2, “Exploring the Rent vs. Buy Model”. You will identify its key sources of uncertainty through importance analysis, perform parametric analysis, and compare alternative decisions.
For instructions on how to open a model, see “Opening the Rent vs. Buy model”. In this case, however, open the Rent vs. Buy Analysis model by double-clicking the file labeled Rent vs. Buy Analysis.ana.
Examining the difference between renting and buying
The Rent vs. Buy Analysis model is the module called Model that you explored in Chapter 2, “Exploring the Rent vs. Buy Model,” with the addition of nodes to help you understand the importance of the uncertain inputs to the uncertainty in the output.
In Chapter 1, “Using the Rent vs. Buy Model,” you saw that evaluating Costs of buying and renting produces a graph of two uncertain values. To understand whether it would be financially advantageous to rent or buy, the Rent vs. Buy Analysis model includes the objective node, Difference between buying and renting.
The difference between the two uncertain values is also uncertain. The difference is positive if buying costs less over the time period, and negative if renting costs less over the time period.
Importance analysis
In the Rent vs. Buy Analysis model, as in most complex models, several of the input variables are uncertain.
It is often useful to understand how much each uncertain input contributes to the uncertainty in the output. Typically, a few key uncertain inputs are responsible for the lion’s share of the uncertainty in the output, while the rest of the inputs have little impact.
Analytica’s importance analysis features can help you understand which uncertain inputs con- tribute most to the uncertainty in the output. You can then concentrate on getting more precise estimates or building a more detailed model for the one or two most “important” inputs.
Analytica defines importance as the rank order correlation between the output value and each uncertain input. Each variable’s importance is calculated on a relative scale from 0 to 1. An importance value of 0 indicates that the uncertain input variable has no effect on the uncertainty in the output. A value of 1 implies total correlation, where all of the uncertainty in the output is due to the uncertainty of a single input.
It is clear in the figure above that the input Appreciation Rate is contributing most of the uncertainty in the Difference between buying and renting.
For more information about importance analysis and the steps to create an importance variable in your own model, see “Scatter plots” in the “Sensitivity and Uncertainty Analysis” chapter of the Analytica User Guide.
Performing parametric (sensitivity) analysis
Parametric analysis (also called sensitivity analysis) involves varying the value of an input variable to examine its effect on a selected output. Performing sensitivity analysis often provides useful insights into how small changes in input variable values affect the desired outcome.
Because the importance analysis in the section “Importance analysis” revealed that Appreciation rate caused most of the uncertainty in Difference between buying and renting, you will start the parametric analysis with that input variable. You will change Appreciation rate’s definition from a probability distribution to a list of alternative values, and analyze the effect on the Difference between buying and renting output.
Before proceeding, click the edit button in the toolbar to switch into edit mode. In edit mode you can modify the model: adding and removing nodes, and modifying existing nodes. Then click the key icon
to open the Attribute panel, then select the Appreciation rate node, and then select Definition from the Attribute popup menu to view its definition.
When the Definition attribute is displayed, the Expression popup menu appears.
Before proceeding, click the edit tool to switch to edit mode.
The Expression popup menu allows you to change the definition of a variable to one of several different types of expressions.
Expression types include:
You will now use the Expression popup menu to change the definition of Appreciation rate from a probability distribution to a list. You will redefine Appreciation rate as a list of alternative values from -10% to 10%.
Note that the icon on the Expression popup menu changes to indicate that List is selected.
When a definition is first changed to a list, a cell (indicated by a box around it) appears in the definition. The first cell in the list initially contains the expression that was previously in the definition. In this case, you see the expression for a normal distribution (Normal(Inflation,3)).
You will replace the entry with a number and add cells to perform parametric analysis.
In Analytica, you add cells to a list by pressing the main Enter key, not the numeric keypad Enter key.
A new cell appears with the value -9. Change its value to -5. After you have entered two values, as you press Enter to add a new cell, Analytica automatically fills in the new cell with a value based on the difference between the last two values. You can override the automatic value by typing the desired value.
Pivot the graph as follows:
The resulting graph shows the mid value of buying and renting as a function of Appreciation rate, which varies from -10% to 10%, as you just entered.
Appreciation rate is informally called an index because it characterizes a dimension of another variable’s value, in this case, Costs of buying and renting.
The graph shows that at an Appreciation rate of about -5% per year, renting and buying costs the same. If it is less than -5%, it would be better to rent; if it is greater than -5%, it would be better to buy.
The table shows the values computed for each parameterized value of Appreciation rate.
Evaluating alternative decisions
See Also
Tutorial Chapter 2 <- | Tutorial Chapter 3 | -> Tutorial Chapter 4 |
Enable comment auto-refresher