Order option in ramsey_policy

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.

Order option in ramsey_policy

Postby reduardo » Wed Jan 30, 2013 3:45 pm

Hi experts!

I want to know if ramsey_policy has an option to do second order approximation.

Thanks for your help
reduardo
 
Posts: 11
Joined: Thu Jan 24, 2013 8:53 pm

Re: Order option in ramsey_policy

Postby andwes » Thu Jan 31, 2013 1:37 pm

Hi,

I'm not really an expert, but in standard dynare you can only use order=1, as far as I know. You can use Dynare++ to get higher-order approximations, though.

Furthermore, there is a possible workaround if you want to use standard dynare (via dynare++) to simulate the model - the reason for doing this is that I think there are more options in dynare than in dynare++. If you run your file in dynare++ asking it to do the ramsey policy, dynare++ produces a dmp file containing the model, not only the model restrictions (equations (1) in the link below), but also the first-order condition with respect to the economic variables (equation (3) in the link). I think the resulting system describes the economy under the Ramsey policy. Then you can use the contents of the dmp file to create a mod file and then just use stoch_simul with the appropriate order. An advantage compared to dynare++ is that you e.g. can use different solutions algorithms instead of the dynare++ algorithm.

Does anyone in the Dynare team know if the workaround is ok?

Best

Andreas

http://www.sciencedirect.com/science/ar ... 6511005313
andwes
 
Posts: 20
Joined: Wed Mar 17, 2010 2:17 pm

Re: Order option in ramsey_policy

Postby SébastienVillemot » Wed Feb 13, 2013 11:49 am

Standard Dynare goes up to order 3 with stoch_simul.

But for Ramsey policy you are limited to order 1.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: Order option in ramsey_policy

Postby reduardo » Tue Feb 19, 2013 2:52 pm

Thanks!!!
reduardo
 
Posts: 11
Joined: Thu Jan 24, 2013 8:53 pm

Re: Order option in ramsey_policy

Postby alpha » Tue Feb 19, 2013 6:49 pm

Hi,

I have used the approach of Schmitt-Grohe and Uribe that Andreas had pointed out to. I have checked the derived equations many times and I believe they are correct - I cannot spot a mistake, BUT I get completely ridiculous IRFs (attached).

Any suggestions why I could get such weird IRFs & persistence??? Btw, I have tried the approach by Schmitt-Grohe and Uribe using a smaller-scale model and it works perfectly fine.
Attachments
Full page photo.pdf
(42.59 KiB) Downloaded 87 times
alpha
 
Posts: 8
Joined: Sat Feb 25, 2012 9:38 pm

Re: Order option in ramsey_policy

Postby ka49s » Tue Mar 26, 2013 5:57 pm

SébastienVillemot wrote:Standard Dynare goes up to order 3 with stoch_simul.

But for Ramsey policy you are limited to order 1.


Hi Sébastien,

What is the reason for limiting Ramsey policy solutions to order 1? I'm using Andrew Levin's get_ramsey package, and have noticed that we can solve the .mod file with Ramsey equations fine in first-order but when we use second-order we are unable to get the theoretical mean for many variables (from oo_.mean). The same file with an instrument rule instead of the Ramsey equations returns the theoretical mean when calculated to second-order. I'm wondering if this is something inherent in calculating Ramsey policy or something wrong with our .mod file.

Thanks,
Joe
ka49s
 
Posts: 1
Joined: Mon Dec 17, 2012 10:40 pm

Re: Order option in ramsey_policy

Postby SébastienVillemot » Fri Mar 29, 2013 10:38 am

ka49s wrote:What is the reason for limiting Ramsey policy solutions to order 1?


I think it is just that nobody had the time to implement higher orders.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 4 guests