The question about the Ramsey FOC Compute

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.

The question about the Ramsey FOC Compute

Postby Heniz.Wu » Mon May 01, 2017 7:36 am

Hello
I use the Andrew T. Levin 2005, 2006 code to compute the Ramsey FOC.Although there is no problem with this original model,it meet some questions after i modify this original model in the readme_get_ramsey.pdf.I guess it can not solve the medium model because it's old.There may be a better solution, look forward to your answer.

Thank you very much for your help.
Best regards

model.mod
modified mod
(11.17 KiB) Downloaded 47 times

Windows Command:
>> infilename = 'model'
infilename =
model
>> outfilename= 'yyy'
outfilename =
yyy
>> get_ramsey
// Monetary Policy Rule
Note: 1 policy rules declared in model file
Wrong use syms> getnames (line 95)
Not a valid variable name
Wrong syms (line 59)
[Vars, funs, control] = getnames (varargin);
Error dynmod2sym (line 418)
Eval (['syms', parstring, ';']);
Error get_ramsey (line 22)
Dynmod2sym;
Attachments
Get_Ramsey.zip
Ramsey code
(22.52 KiB) Downloaded 41 times
readme_get_ramsey.pdf
(8.27 KiB) Downloaded 40 times
Heniz.Wu
 
Posts: 6
Joined: Sun Mar 19, 2017 11:50 am

Re: The question about the Ramsey FOC Compute

Postby jpfeifer » Mon May 01, 2017 5:01 pm

Sorry, but we do only provide support for Dynare, not old and external packages.
------------
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