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.

Newton direction

Postby jinyou_yin » Fri Apr 05, 2013 11:51 am

Hi, everyone:
my code for simulation goes well. But for estimation with the data simulated,It doesn't and it says:
Some element of Newton direction isn't finite. Jacobian maybe singular or there is a problem withinitial values
my steady state values are the steady state value .I wonder if there is sth wrong with my code or my model.
my code for estimation and simulation are attached.
Thanks a lot.waiting for your repy!
Attachments
First_simul.m
data for estimation
(9.42 KiB) Downloaded 70 times
es_2013_31.mod
code for estimation
(3.95 KiB) Downloaded 62 times
sm_2013_31.mod
code for simulation
(3.39 KiB) Downloaded 75 times
jinyou_yin
 
Posts: 11
Joined: Sun Mar 10, 2013 2:17 am

Re: Newton direction

Postby jpfeifer » Wed Apr 10, 2013 11:49 am

The problem is that given your new draw in estimation, the steady state cannot be found. You should move the definition of the steady state values to the initval-block so that they are updated every iteration. Alternatively, you can use a steady state file.
------------
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