Using mode_compute=6 but still having "error using chol"
Posted: Thu Aug 08, 2013 2:21 pm
Dear all,
I use Dynare 4.3.3 to estimate my model but even if I use MCMC and the cov matrix implied by lik_init=2, I still have:
I tried also mode_compute=9 but get a message about the posterior kernel optimization and also "Error using dynare_estimation_1 (line 921) Mode values are outside prior bounds. Reduce prior_trunc."
Can anyone help me please?
Please find my code and data (Smets and Wouters dataset).
thanks
J.A.
I use Dynare 4.3.3 to estimate my model but even if I use MCMC and the cov matrix implied by lik_init=2, I still have:
- Code: Select all
Initial value of the log posterior (or likelihood): -3583984986302561
==========================================================
Change in the covariance matrix = 2.25.
Mode improvement = 3583648927135472
New value of jscale = 1.2389e-05
==========================================================
Error using chol
Matrix must be positive definite.
Error in gmhmaxlik (line 196)
dd = transpose(chol(CovJump));
Error in dynare_estimation_1 (line 352)
[xparam1,PostVar,Scale,PostMean] =
...
Error in dynare_estimation (line 70)
dynare_estimation_1(var_list,dname);
I tried also mode_compute=9 but get a message about the posterior kernel optimization and also "Error using dynare_estimation_1 (line 921) Mode values are outside prior bounds. Reduce prior_trunc."
Can anyone help me please?
Please find my code and data (Smets and Wouters dataset).
thanks
J.A.