[S,FF,AA] = shockplot(M,ShockName,SimRange,PlotList,...)
M
[ model ] - Model object that will be simulated.
ShkName
[ char ] - Name of the shock that will be simulated.
Range
[ numeric ] - Date range on which the shock will be simulated.
PlotList
[ cellstr ] - List of variables that will be reported; you can use the syntax of dbase/dbplot
.
S
[ struct ] - Database with simulation results.
FF
[ numeric ] - Handles of figure windows created.
AA
[ numeric ] - Handles of axes objects created.
'deviation='
[ true
| false
] - See the option 'deviation='
in model/simulate
.
'dtrends='
[ @auto
| true
| false
] - See the option 'dtrends='
option in model/simulate
.
'shockSize='
[ 'std'
| numeric ] - Size of the shock that will be simulated; 'std'
means that one std dev of the shock will be simulated.
See help on dbase/dbplot
for other options available.
The simulated shock always occurs at time t=1
. Starting the simulation range, SimRange
, before t=1
allows you to simulate anticipated shocks.
The graphs automatically include one pre-sample period, i.e. one period prior to the start of the simulation.