powered by
Graphs of the effect of shocks are plotted.
shockDecomposition(model, horizon=30, shock=rep(1,horizon))
An object of class TSmodel or TSestModel.
The number of periods for which to calculate the effect of shocks.
data to be used model output. See details.
None
All output data is set to zero and then each output in turn is switched to a value of shock (default 1.0) for all periods.
# NOT RUN { data("eg1.DSE.data.diff", package="dse") model <- estVARXls(eg1.DSE.data.diff) shockDecomposition(model) # }
Run the code above in your browser using DataLab