Error using ==> lnsrch1

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.

Error using ==> lnsrch1

Postby hsdipres » Tue Feb 07, 2012 4:49 pm

I get this error (Error using ==> lnsrch1) after trying to run a model based on Furceri, D. and A. Mourougane (2010), “The Effects of Fiscal Policy on Output: A DSGE Analysis” (just section 2.1, firms). Any ideas on what the error might be? (I attached the file), i´m quite new at this, thanks.
Attachments
firms2_120207.mod
firms
(903 Bytes) Downloaded 66 times
hsdipres
 
Posts: 2
Joined: Tue Feb 07, 2012 3:48 pm

Re: Error using ==> lnsrch1

Postby jpfeifer » Wed Feb 08, 2012 9:56 pm

There is a problem with the steady state. Put
Code: Select all
resid(1);

before steady. One of the problems is the last equation:
Code: Select all
0.03=(P(+1)/P-1);

In steady state P(+1)=P. Thus, the righthand side is 0 and cannot be 0.03.
------------
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 5 guests