I just need the irfs of some variables

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.

I just need the irfs of some variables

Postby psbe20 » Thu May 19, 2016 9:47 am

Being a new user of the Dynare program, I am very sorry to ask if there is anyway we could specify directly in Matlab what variable we want to show the irfs. I have tried cutting and pasting, but the results are not as neat as I wished. Right now, the only thing I have left to finish my seminar paper is to export only a set of the irfs to Latex, and I will be done.


Any suggestions ?
psbe20
 
Posts: 4
Joined: Thu Apr 28, 2016 6:43 am

Re: I just need the irfs of some variables

Postby jpfeifer » Thu May 19, 2016 12:21 pm

After stoch_simul and estimation you can provide the names of the variables you want IRFs for. Alternatively, the IRFs are stored in oo_.irfs and you can plot them with Matlab.
------------
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

Re: I just need the irfs of some variables

Postby psbe20 » Fri May 20, 2016 4:02 am

Could you please be more specific ? I have been looking for the commands, but nothing is there to be found.

1. after " stoch_simul; " Is it that you meant I put all the interested variables in the argument like this: stoch_simul(x1,x2,x3); ?
2. I cannot find the oo_.irfs in my working directory. Where does the dynare really save it ?

Thanks in advance, and my apologies for this persistence.


Best
psbe20
 
Posts: 4
Joined: Thu Apr 28, 2016 6:43 am

Re: I just need the irfs of some variables

Postby xuz » Mon May 23, 2016 11:16 pm

psbe20 wrote:Could you please be more specific ? I have been looking for the commands, but nothing is there to be found.

1. after " stoch_simul; " Is it that you meant I put all the interested variables in the argument like this: stoch_simul(x1,x2,x3); ?
2. I cannot find the oo_.irfs in my working directory. Where does the dynare really save it ?

Thanks in advance, and my apologies for this persistence.


Best


1. one example is:

stock_simul(order =1, irf=40) y l;

which only plots the 40-period irf of y and l.

2. In your matlab Workspace, you can see "oo_", which is a 1 by 1 struct, double click it, then you can see one of the fields is "irfs", double click it.
xuz
 
Posts: 29
Joined: Thu May 14, 2015 10:59 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 11 guests