Plots of sensitivity analysis

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Plots of sensitivity analysis

Postby highflyer » Fri Jan 25, 2013 1:58 pm

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!
highflyer
 
Posts: 2
Joined: Mon Dec 17, 2012 11:22 am

Re: Plots of sensitivity analysis

Postby jpfeifer » Mon Jan 28, 2013 6:07 pm

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.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests