File Name: Simulation – Basic Simulation Model
Location: Modeling Toolkit | Risk Simulator | Basic Simulation Model
Brief Description: Illustrates how to use Risk Simulator for running a Monte Carlo simulation, viewing and interpreting forecast results, setting seed values, setting run preferences, extracting simulation data, and creating new and switching among simulation profiles
Requirements: Modeling Toolkit, Risk Simulator
The model in the Static and Dynamic Model worksheet illustrates a very simple model with two input assumptions (revenue and cost) and an output forecast (income). In Figure 132.1, the model on the left is a static model with single-point estimates; the model on the right is a dynamic model on which Monte Carlo assumptions and forecasts can be created. After running the simulation, the results can be extracted and further analyzed. In this model, we can also learn to set different simulation preferences, run a simulation with error and precision controls, and set seed values. This should be the first model you run to get started with Monte Carlo simulation.
Figure 132.1 shows this basic model, which is a very simplistic model of revenue minus cost to equal income. On the static model, the input and output values are unchanging or static. This means that if revenue is $2 and the cost is $1, then the income must be $2 – $1, or $1. We replicate the same model on the right and call it a dynamic model, where we will run a simulation.
Figure 132.1: The world’s simplest model
To run this model, simply:
Figure 132.2: Risk Simulator toolbar
Figure 132.3: Setting up an assumption
The forecast chart is shown when the simulation is running. Once simulation is completed, the forecast chart can be used (Figure 132.4). The forecast chart has several tabs, including Histogram, Statistics, Preferences, and Options tabs. Of particular interest are the first two tabs. For instance, the Histogram shows the output forecast’s probability distribution in the form of a histogram, where the specific values can be determined using the certainty boxes. For example, select Two-Tail, enter 90 in the certainty box, and hit TAB on the keyboard. The 90% confidence interval is shown (0.5273 and 1.1739), meaning that there is a 5% chance that the income will fall below $0.5273 and another 5% chance that it will be above $1.1739. Alternatively, you can select Left-Tail and enter 1.0 on the input box, hit TAB, and see that the left-tail certainty is 74.30%, indicating that there is a 74.30% chance that the income will fall below $1.0 (alternatively, there is a 25.70% chance that income will exceed $1.0).
Figure 132.4: Forecast charts
The Statistics tab (Figure 132.5) illustrates the statistical results of the forecast variable. Note that your results will not be exactly the same as those illustrated here because a simulation (random number generation) was run. By definition, the results will not be exactly the same every time. However, if a seed value is set (see next section), the results will be identical in every single run. Setting a seed value is important especially when you wish to obtain the same values in each simulation run (e.g., you need the live model to return the same results as a printed report during a presentation).
Figure 132.5: Statistics tab
Figure 132.6: Setting a random number sequence seed
Note that the random number sequence or seed number has to be a positive integer value. Running the same model with the same assumptions and forecasts with the identical seed value and the same number of trials will always yield the same results. The number of simulation trials to run can be set in the same run properties box.
The run preferences dialog box allows you to specify the number of trials to run in a particular simulation. In addition, the simulation can be paused if a computational error in Excel is encountered (e.g., #NUM or #ERROR). Correlations can also be specified between pairs of input assumptions (Figure 132.3), and if Turn on Correlations is selected, these specified correlations will be imputed in the simulation.
The simulation’s assumptions and forecast data are stored in memory until the simulation is reset or when Excel is closed. If required, these raw data can be extracted into a separate Excel spreadsheet. To extract the data, simply:
Figure 132.7: Data extraction
The same model can have multiple simulation profiles in Risk Simulator. That is, different users of the same model can create their own simulation assumptions, forecasts, run preferences, and so forth. All these preferences are stored in separate simulation profiles, and each profile can be run independently. This powerful feature allows multiple users to run the same model their own way or allows the same user to run the model under different simulation conditions, thereby allowing for scenario analysis on Monte Carlo simulation. To create different profiles and switch among different profiles, simply:
Figure 132.8: Switching among profiles