steady state for 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.

steady state for ramsey policy

Postby jameszhow1985 » Sat Dec 19, 2015 2:08 pm

Hi, Professor Pfeifer

I build a two-country dsge model. It works well. But when I turn to the ramsey policy, It does not work. The error message is undefined function or variable 'ys', I checked the steady state file automatically generated by dynare and found variable ys(80) and ys(87) are there,undefined.But I only have 59 variables included two instruments in my model. I don't know what variables ys(80) and ys(87) are. Can you have a look for me? This is my mod file.
Last edited by jameszhow1985 on Mon Dec 21, 2015 8:56 am, edited 1 time in total.
jameszhow1985
 
Posts: 19
Joined: Sat Oct 24, 2015 1:57 pm

Re: steady state for ramsey policy

Postby jpfeifer » Sun Dec 20, 2015 2:37 pm

There is a bug in Dynare 4.4.3 related to instruments. Please try the Dynare unstable from December 17 (or earlier; please do not use the most recent one)
------------
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: steady state for ramsey policy

Postby jameszhow1985 » Mon Dec 21, 2015 8:11 am

jpfeifer wrote:There is a bug in Dynare 4.4.3 related to instruments. Please try the Dynare unstable from December 17 (or earlier; please do not use the most recent one)


Hi, Professor Pfeifer

I tried the unstable version of dynare, the previous problem is gone. But new problem appears. Before I comment out the first two equations(e.g. two instruments), it works well. After I comment out these equations, It reports that the steady state contains NaN or Inf. How is that possible ? This is my updated mod file.
Attachments
paper.mod
(9.93 KiB) Downloaded 173 times
find_ws.m
(15.22 KiB) Downloaded 147 times
jameszhow1985
 
Posts: 19
Joined: Sat Oct 24, 2015 1:57 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests