hessian not positive definite and a laplace app. NaN
Posted: Sat Jul 11, 2015 5:40 pm
Dear all,
I estimated a dsge model with a unit root using diffuse filter. The model works without the stimation part but reports several warning and error massages once the estimation part of the code is added.
First it gives a few warnings, that Jacobian is sigular and there is colinearity (but I guess this is fine given the UR), then this one
You did not declare endogenous variables after the estimation/calib_smoother command.
that I don't know how to understand,
then
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 433
In dynare_estimation at 70
In teza_ss2_e at 519
In dynare at 120
Warning: Matrix is singular to working precision.
> In dynare_estimation_1 at 448
In dynare_estimation at 70
In teza_ss2_e at 519
In dynare at 120
and finally
Log data density [Laplace approximation] is NaN.
Error using chol
Matrix must be positive definite.
can you please help me understand to what error dynare might be pointing?
I estimated a dsge model with a unit root using diffuse filter. The model works without the stimation part but reports several warning and error massages once the estimation part of the code is added.
First it gives a few warnings, that Jacobian is sigular and there is colinearity (but I guess this is fine given the UR), then this one
You did not declare endogenous variables after the estimation/calib_smoother command.
that I don't know how to understand,
then
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 433
In dynare_estimation at 70
In teza_ss2_e at 519
In dynare at 120
Warning: Matrix is singular to working precision.
> In dynare_estimation_1 at 448
In dynare_estimation at 70
In teza_ss2_e at 519
In dynare at 120
and finally
Log data density [Laplace approximation] is NaN.
Error using chol
Matrix must be positive definite.
can you please help me understand to what error dynare might be pointing?