Running scenarios
Given a temporal causal model system, you can run user-defined scenarios. A scenario is defined by a time series, that is referred to as the root series, and a set of user-defined values for that series over a specified time range. The specified values are then used to generate predictions for the time series that are affected by the root series. The analysis requires a temporal causal model system and the data that was used to build the system. In this example, the active dataset is the data that was used to build the model system.
To run scenarios:
- From the menus, choose:
Figure 1. Apply Temporal Causal Models - Browse to the location where you saved the temporal causal model system file and select the file.
- Click the button that is labeled Run scenarios to investigate how specific values of inputs affect predictions.
- Click Continue.
- In the Temporal Causal Model Scenarios dialog, click Define Scenario
Period.
Figure 2. Scenario Period - Select Specify by time intervals relative to end of estimation period.
- Enter -3 for the starting interval and enter 0 for
the ending interval.
These settings specify that each scenario is based on values that are specified for the last four time intervals in the estimation period. For this example, the last four time intervals means the last four weeks. The time range over which the scenario values are specified is referred to as the scenario period.
- Enter 4 for the intervals to predict past the end of the scenarios
values.
This setting specifies that predictions are generated for four time intervals beyond the end of the scenario period.
- Click Continue.
- Click Add Scenario on the Scenarios tab.
Figure 3. Scenario Definition - Move Lever3 to the Root Field box to examine how specified values of Lever3 in the scenario period affect predictions of the other series that are causally affected by Lever3.
- Enter Lever3_25pct for the scenario ID.
- Select Specify expression for scenario values for root field and enter
Lever3*1.25 for the expression.
This setting specifies that the values for Lever3 in the scenario period are 25% larger than the observed values. For more complex expressions, you can use the Expression Builder by clicking the calculator icon.
- Click Continue.
- Repeat steps 10 - 14 to define a scenario that has Lever3 for the root field,
Lever3_50pct for the scenario ID, and Lever3*1.5 for
the expression.
Figure 4. Scenarios - Click the Options tab and enter 2 for the maximum level for affected targets.
- Click Run.
- Double-click the Impact Diagram chart for Lever3_50pct in the Viewer to
activate it.
Figure 5. Impact Diagram for Scenario: Lever3_50pct The Impact Diagram shows the series that are affected by the root series Lever3. Two levels of effects are shown because you specified 2 for the maximum level for affected targets.
The Forecasted Values table includes the predictions for all of the series that are affected by Lever3, up to the second level of effects. Predictions for target series in the first level of effects start at the first time period after the beginning of the scenario period. In this example, predictions for target series in the first level start at 2010-10-10. Predictions for target series in the second level of effects start at the second time period after the beginning of the scenario period. In this example, predictions for target series in the second level start at 2010-10-17. The staggered nature of the predictions reflects the fact that the time series models are based on lagged values of the inputs.
- Click the node for KPI_5 to generate a detailed sequence diagram.
Figure 6. Sequence Diagram for KPI_5 The sequence chart shows the predicted values from the scenario, and it also shows the values of the series in the absence of the scenario. When the scenario period contains times within the estimation period, the observed values of the series are shown. For times beyond the end of the estimation period, the original forecasts are shown.