Page 1 of 1

How to reproduce shock decomposition graph with MATLAB?

PostPosted: Wed Dec 12, 2012 2:34 pm
by flyingpig
Hello!

I was trying to reproduce the historical shock decomposition graph with different style for bars (has to change to single color), the matrix
Code: Select all
oo_.shock_decomposition
is a three dimensional matrix, and there are N matrices stacked on the third dimension, N is the sample size. Could any one tell how to use these matrices redraw the graph??? Thanks!

Re: How to reproduce shock decomposition graph with MATLAB?

PostPosted: Sun Dec 30, 2012 11:04 am
by jpfeifer
Look into
Code: Select all
graph_decomp.m