Page 1 of 1

polt the impluse response in the same map

PostPosted: Tue Jan 03, 2012 6:38 pm
by yxiang
hello,
I simulate the impluse responses under different control situation, could I put all the results in the same map and plot it out directly by dynare?

if it could, how to programm it?


thanks a lot!

Re: polt the impluse response in the same map

PostPosted: Wed Jan 04, 2012 10:04 pm
by rteconomics
Hi,
I think the easiest way is to write a .m file in which you say something like:

" dynare yourfile.mod
response1 = output
dynare yourfile2.mod
response2 = output
"

Where 'output' is the impulse response function you would like to plot and response1 is an auxiliary variable.
Then you can easily plot response1 and response 2 together.
It should work.
Best,
RT