Page 1 of 1

Error using ==> lnsrch1

PostPosted: Tue Feb 07, 2012 4:49 pm
by hsdipres
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.

Re: Error using ==> lnsrch1

PostPosted: Wed Feb 08, 2012 9:56 pm
by jpfeifer
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.