This is a revised (August 2016) version of the example for historical decomposition for a VAR. This adds a different style graph (shown in the PDF) which does the accumulated effects of the shocks using a stacked bar graph. This makes use of several features added to GRAPH with RATS v9:
STYLE=STACKED will stack positive values up and negative values down.
The SERIES and STYLE options make it easier to put a large number of series into a graph by using a VECT[INT] for the "handles" of the series with the STYLE option giving the style numbers.
history_canada_new.png (24.13 KiB) Viewed 3970 times
While this new style graph is quite attractive, it has several important drawbacks.
Stacked bar graphs generally, and the positive-up and negative-down graphs specifically, are hard to follow for any series other than the first one because of the moving baselines.
The overall effect of shocks on the dependent variable is the difference between the up and the down, but the visual cue is to add since that's overall length of the bar.
This looks fine in color. Try to convert that to black and white to put it into a journal, and you can't tell what's going on.