Page 1 of 1

Plots of sensitivity analysis

PostPosted: Fri Jan 25, 2013 1:58 pm
by highflyer
Hi all,

I want to do some sensitivity analysis with my model by varying different parameters. Let's say I want to plug in 3 different values for one parameter, which will give me 3 graphs with the different curves. Now I want only one graph which contains all the 3 curves. How can I do that?

Thanks a lot!

Re: Plots of sensitivity analysis

PostPosted: Mon Jan 28, 2013 6:07 pm
by jpfeifer
You can save the stored IRFs from oo_ and manually plot them. For example, use

Code: Select all
set_param_value('rho',0.5);
stoch_simul(order = 1,irf=40);
oo_less_persistence=oo_;

to generate an IRF with rho set to 0.5 and saving the IRFs into oo_less_persistence from where you can plot them against oo_ from another run.