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.

Ramsey policy

Postby S_V » Fri Mar 24, 2017 11:48 am

Dear All,

I am experiencing an issue computing Ramsey policy. When I run the mod file without activating the ramsey_policy command, there are zero residuals for all equations. But when I activate the command, some of the residual become 'NaN'. Although the code still runs through giving the value of the planner's objective, it doesn't seem like this should be the case.

Please find the mod file in the attached folder.

Many thanks in advance.
Attachments
OE forum.zip
(16.55 KiB) Downloaded 62 times
S_V
 
Posts: 26
Joined: Tue Nov 15, 2016 11:38 am

Re: Ramsey policy

Postby jpfeifer » Fri Mar 24, 2017 12:11 pm

The static model for Ramsey is very different than the one for stoch_simul. In the latter, you have as many variables as equations and provide initial values for all variables. In Ramsey, you have (at least) one instrument whose steady state you do not know. Moreover, there are Lagrange mutipliers for which you don't know the steady state. Thus, the
Code: Select all
resid

and
Code: Select all
steady

commands are not well-defined.
------------
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: Ramsey policy

Postby S_V » Fri Mar 24, 2017 12:37 pm

Many thanks for your prompt response Prof. Pfeifer.

Can I ask whether that means that the results I get from the Ramsey computation are accurate, given that the residual command is not well-defined?

Thanks
S_V
 
Posts: 26
Joined: Tue Nov 15, 2016 11:38 am

Re: Ramsey policy

Postby jpfeifer » Fri Mar 24, 2017 12:47 pm

The purpose of the Ramsey-command is to compute exactly these missing variables. While you cannot compute the steady state before having these objects, you can do that afterwards. As you can see, the residuals when running the Ramsey command are 0, i.e. Dynare was able to compute the steady state for the endogenous variables, the instrument, and the multipliers. Thus, there is no reason to worry about the results. Everything works as expected, as far as I can see.
------------
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: Google [Bot] and 5 guests