graphs in v4

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.

graphs in v4

Postby Peterpierre » Fri Jun 06, 2008 3:39 am

hi

does anybody know the commands to control which variables are plotted in the IR (to select which variables to shock and which shocks to show)?

Or where could I look this?

thanks
Peterpierre
 
Posts: 28
Joined: Tue Apr 22, 2008 6:17 pm

Postby naturama » Mon Jun 09, 2008 11:30 am

Dear Peterpierre,

If I have understood your question I think that this might be the solution:

stoch_simul() x y z;

In this way you will get only IRFs for x, y, and z. To pick up the shock just tell dynare to shock the only exogenous variable you are interest in.

Best,
naturama
naturama
 
Posts: 5
Joined: Fri Apr 04, 2008 7:22 am

Postby Peterpierre » Mon Jun 09, 2008 11:46 am

thanks a lot!

You were very helpful!!!

But if I have several shocks in my model, and I just want the IRF of, for example, consumption to shock1, how do I tell Dynare to shock only shock1?

if I write:
stoch_simul(order = 1, irf=40) c;

then all shocks to the variable c are plotted.

I tried to shut down the variance for the other shocks (ie shocks different from shock1) but I was wondering if it is possible to do this in the stoch_simul command


Thanks again!!!
Peterpierre
 
Posts: 28
Joined: Tue Apr 22, 2008 6:17 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests