the hessian matrix at the "mode" is not positive definite!

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.

the hessian matrix at the "mode" is not positive definite!

Postby parantap » Sun Mar 02, 2014 12:33 pm

Hi, Anybody can help me how to fix this problem? I tried different guesses for the parameters but it sometimes simply does not work.

POSTERIOR KERNEL OPTIMIZATION PROBLEM!
(minus) the hessian matrix at the "mode" is not positive definite!
=> posterior variance of the estimated parameters are not positive.
You should try to change the initial values of the parameters using
the estimated_params_init block, or use another optimization routine.
Warning: The results below are most likely wrong!
> In dynare_estimation_1 at 711
In dynare_estimation at 84
In quant_banking_stoch7_endo_est at 378
In dynare at 174
parantap
 
Posts: 31
Joined: Tue Oct 01, 2013 11:58 pm

Re: the hessian matrix at the "mode" is not positive definit

Postby jpfeifer » Sat Mar 08, 2014 11:37 am

Search the forum. See e.g. http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=4841. Do you already use mode_compute=6? If nothing else works, use mcmc_jumping_covariance
------------
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: the hessian matrix at the "mode" is not positive definit

Postby parantap » Sun Mar 09, 2014 9:10 pm

Many thanks for this lead. Would you kiddly tell me where and how I should insert the mcmc_jumping_covaraince command. I put this in the option but it did not take this. An example command will be very much appreciated.
parantap
 
Posts: 31
Joined: Tue Oct 01, 2013 11:58 pm

Re: the hessian matrix at the "mode" is not positive definit

Postby parantap » Tue Mar 11, 2014 9:55 pm

I have downloaded dynare 4.2.2 and it seems that this problem of negative hessian has gone away. was this a bug in the previous versionof dynare? Does anybody know? version 4.2.2 seems quite stable. It sometimes gives a java warning which I don't understand. Besides this it seems to be a working fine.
parantap
 
Posts: 31
Joined: Tue Oct 01, 2013 11:58 pm

Re: the hessian matrix at the "mode" is not positive definit

Postby jpfeifer » Wed Mar 12, 2014 2:43 pm

You mean 4.4.2? As far as I know, there was no bug in this part. There might have been small changes in the mod-finders. Java warnings are Matlab problems, not Dynare. It usually helps to increase the Java Heap Space in Home -> Preferences -> Matlab -> General -> Java Heap Memory

Regarding your example: in 4.4 you can use
Code: Select all
 
estimation(datafile= ..., mcmc_jumping_covariance=identity_matrix);
------------
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: Google [Bot] and 6 guests