POSTERIOR KERNEL OPTIMIZATION PROBLEM

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.

POSTERIOR KERNEL OPTIMIZATION PROBLEM

Postby wayne » Tue Jul 18, 2017 12:31 pm

I am doing DSGE model in Dynare for my dissertation, and I am stuck with some problems that I am trying to figure why for few days. But I still can't fix it.

Two of my main questions are:

1.I got this:
'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 optimisation routine.'

2. In the RESULTS FROM POSTERIOR ESTIMATION section, the standard errors I got are 'NaN'
And I don't understand why there are no standard errors.

RESULTS FROM POSTERIOR ESTIMATION
parameters
prior mean mode s.d. prior pstdev

rho_p 0.500 0.5999 NaN beta 0.2000
rho_m 0.500 0.5999 NaN beta 0.2000
rho_x 0.500 0.7781 NaN beta 0.2000


I attached the mod file and my data.

Thank you so much.
Attachments
myd.zip
(7.55 KiB) Downloaded 59 times
wayne
 
Posts: 1
Joined: Tue Jul 18, 2017 12:26 pm

Re: POSTERIOR KERNEL OPTIMIZATION PROBLEM

Postby Robert » Tue Jul 18, 2017 12:54 pm

Hi Wayne,

Regarding your question 1, have you checked the previous posts in this forum? Lately people have asked a lot of questions (including myself) about the problem of finding the mode. Here are two links:

http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=25244

http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=25222

Also, have you tried running different mode finders, via the mode_file=your_mode_file option? Sometimes it can take a while and running one optimiser is sometimes not enough.

Best

Rob
Robert
 
Posts: 36
Joined: Wed Jan 13, 2016 3:10 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 11 guests