(minus)hessian matirx and variance decomposition 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.

(minus)hessian matirx and variance decomposition problem

Postby chenchu1 » Fri Dec 23, 2016 3:16 am

Hello! I was replicating the paper of Peter Ireland (2004), 'Technology shocks in the new Keynesian model'.
I have several problems when running the following mod file to do ML estimation.
1. After running the results there is some thing wrong like 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 optimization routine.
Warning: The results below are most likely wrong!

I have tried different mode_compute 3,4,8,9. And model identification shows that all parameters are identified.But the problem was still there.

2.When I do sto_simul after estimation, there was a warning like this:
Warning: Some of the parameters have no value (sig_a, sig_e, sig_z, sig_r)
when using stoch_simul. If these parameters are not initialized in a
steadystate file, Dynare may not be able to solve the model...

so how to do simulation in this case?

3. The shock_decomposition cannot be carried out also. I wonder what i did wrong.

Thx!
Attachments
gpr_data.m
my datafile
(7.7 KiB) Downloaded 35 times
full.mod
my mod file
(2.52 KiB) Downloaded 42 times
chenchu1
 
Posts: 2
Joined: Thu Dec 22, 2016 1:13 pm

Re: (minus)hessian matirx and variance decomposition problem

Postby jpfeifer » Fri Dec 23, 2016 10:24 am

Please see https://github.com/JohannesPfeifer/DSGE_mod/tree/master/Ireland_2004
and the disclaimer at the beginning of the mod-file there.
------------
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: (minus)hessian matirx and variance decomposition problem

Postby chenchu1 » Fri Dec 23, 2016 11:03 am

thank you so much Dr.Pfeifer, it really helps me!
so much appreciation!
chenchu1
 
Posts: 2
Joined: Thu Dec 22, 2016 1:13 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 5 guests