error "lnsrch1 at 53", Newton direction

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 "lnsrch1 at 53", Newton direction

Postby Mahar » Wed May 16, 2012 11:31 am

Hello,

This error message appears when i compute my code:
"??? Error using ==> lnsrch1 at 53
Some element of Newton direction isn't finite."

What does is it mean?
I changed a lot of initial values and parameters values, it isn't better.
I am almost sure the equations of the model are the right ones, and expressed in the right form.

Many thanks

Mahar
Attachments
test1605.mod
(2.74 KiB) Downloaded 72 times
Mahar
 
Posts: 2
Joined: Wed May 16, 2012 9:32 am

Re: error "lnsrch1 at 53", Newton direction

Postby jpfeifer » Fri Jun 08, 2012 11:45 am

Your starting values are so poor that Dynare cannot find the steady state. Try computing the steady state by pencil and paper and provide them to the program.
------------
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: error "lnsrch1 at 53", Newton direction

Postby Mahar » Sun Jun 10, 2012 8:31 am

Thank you for your answer, i'm going to find the steady state values by pencil and paper.

Regards
Mahar
 
Posts: 2
Joined: Wed May 16, 2012 9:32 am

Re: error "lnsrch1 at 53", Newton direction

Postby selima » Fri Aug 02, 2013 5:18 pm

excuse me for my evident question , but what do you mean by computing steady state by pencil and paper ? is it not considering the rime subscript and putting the schock=0?
thank you for the answer.
selima
 
Posts: 46
Joined: Thu Jan 10, 2013 5:13 pm

Re: error "lnsrch1 at 53", Newton direction

Postby jpfeifer » Thu Aug 15, 2013 10:57 am

It means dropping time subscripts and setting shocks to 0 and then computing the steady state by hand on a piece of paper.
------------
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 7 guests