Page 1 of 1

Dynare 4.4.3 vs 4.5

PostPosted: Tue Jun 13, 2017 8:13 am
by federico
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

Re: Dynare 4.4.3 vs 4.5

PostPosted: Wed Jun 14, 2017 4:42 pm
by jpfeifer
Have you compared the mode found by the two versions? Is it the same?

Re: Dynare 4.4.3 vs 4.5

PostPosted: Thu Jun 15, 2017 8:26 am
by federico
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 ?

Re: Dynare 4.4.3 vs 4.5

PostPosted: Fri Jun 16, 2017 8:08 am
by jpfeifer
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.

Re: Dynare 4.4.3 vs 4.5

PostPosted: Fri Jun 16, 2017 8:45 am
by federico
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.

Re: Dynare 4.4.3 vs 4.5

PostPosted: Fri Jun 16, 2017 8:48 am
by jpfeifer
Could you please provide me with the files to replicate the issue. There may be a problem with Dynare.