Dynare 4.4.3 vs 4.5

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.

Dynare 4.4.3 vs 4.5

Postby federico » Tue Jun 13, 2017 8:13 am

Hi everyone,

I download the new stable version 4.5 and I tried to run an old mod file that was created under version 4.4.3

With the older version the estimation was fine while when I run the mod file with the new version 4.5
after the mode search (I used mode_compute=5, but the results does not depend by the algorithm) I obtain the usual warning that the variance and covariance matrix is not semidefinitve positive and the estimation collapse.

Minimum and Maximum eigenvalues are quite different between the two versions

I check the updates list but it seems that you did not intervene on this part of dynare.

Do you have any idea what can be the problem here?

Thank you

Federico
federico
 
Posts: 68
Joined: Fri Mar 30, 2012 4:46 pm

Re: Dynare 4.4.3 vs 4.5

Postby jpfeifer » Wed Jun 14, 2017 4:42 pm

Have you compared the mode found by the two versions? Is it the same?
------------
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: Dynare 4.4.3 vs 4.5

Postby federico » Thu Jun 15, 2017 8:26 am

Yes, the mode found with version 4.4.3 and 4.5 are the basicly thesame but I cannot obtain the standard deviation

However, If I used othe options to compute the hessian at the mode and not the default option ('Hessian', 2) I was able to obtain results comparable with the older version.
In this case the convergence is harder to achieve for a couple of parameter.

Can it be a solution ?
federico
 
Posts: 68
Joined: Fri Mar 30, 2012 4:46 pm

Re: Dynare 4.4.3 vs 4.5

Postby jpfeifer » Fri Jun 16, 2017 8:08 am

I think there has been a change in the way the Hessian is computed with mode_compute=5. That would explain the difference and why using a different way to compute the Hessian is successful.
------------
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: Dynare 4.4.3 vs 4.5

Postby federico » Fri Jun 16, 2017 8:45 am

The only strange thing is that with the default option
I obtained an hessian matrix where an entire row is a NaN.
That's why of course the hessian is not invertible.
federico
 
Posts: 68
Joined: Fri Mar 30, 2012 4:46 pm

Re: Dynare 4.4.3 vs 4.5

Postby jpfeifer » Fri Jun 16, 2017 8:48 am

Could you please provide me with the files to replicate the issue. There may be a problem with Dynare.
------------
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 4 guests