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 qing23185 » Tue Mar 29, 2016 5:13 am

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.


I don't know what i should do.
Thanks!
Attachments
wangshuai.zip
(22.74 KiB) Downloaded 74 times
qing23185
 
Posts: 9
Joined: Sun Mar 20, 2016 9:15 am

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

Postby jpfeifer » Tue Mar 29, 2016 7:46 am

You have an identification problem in your model:
Testing prior mean

All parameters are identified in the model (rank of H).


WARNING !!!
The rank of J (moments) is deficient!

e_sigmaqU is not identified by J moments!
[dJ/d(e_sigmaqU)=0 for all J moments!]
rho1_sigmaqU is not identified by J moments!
[dJ/d(rho1_sigmaqU)=0 for all J moments!]

[e_epsilU,e_lambdafU] are PAIRWISE collinear (with tol = 1.e-10) !
[rho1_epsilU,rho1_lambdafU] are PAIRWISE collinear (with tol = 1.e-10) !

For example, sigmaqU seems to not enter any model equation.
------------
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 qing23185 » Tue Mar 29, 2016 10:14 am

Thanks!
I already fixed the identification problems.
Now Testing prior mean
All parameters are identified in the model (rank of H).
All parameters are identified by J moments (rank of J)


but i still got.. POSTERIOR KERNEL OPTIMIZATION PROBLEM!
(minus) the hessian matrix at the "mode" is not positive definite!


where I was wrong?
Attachments
wangshuai.zip
(22.72 KiB) Downloaded 63 times
qing23185
 
Posts: 9
Joined: Sun Mar 20, 2016 9:15 am

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

Postby jpfeifer » Tue Mar 29, 2016 10:36 am

Try a different mode-finder. You are clearly not at a global mode for some parameters.
------------
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 ZBCPA » Wed Mar 30, 2016 11:47 pm

jpfeifer wrote:Try a different mode-finder. You are clearly not at a global mode for some parameters.


Dear Johannes, do you mean if at a global mode, the hessian matrix at the mode must be positive definite?
ZBCPA
 
Posts: 101
Joined: Sat May 16, 2015 4:15 am

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

Postby jpfeifer » Thu Mar 31, 2016 9:34 am

If it's an interior maximum, yes that must be the case. (More precisely, minus the Hessian must be positive definite, see https://en.wikipedia.org/wiki/Second_partial_derivative_test)
------------
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 14 guests