Hi,
I am stuck with this error message, occurring after over thirty minutes of Bayesian estimation.
Loading 165 observations from AADT.mat
Warning: File 'mh_scale_fname' not found.
> In dynare_estimation_1 at 119
In dynare_estimation at 70
In NS5a at 350
In dynare at 120
Initial value of the log posterior (or likelihood): -31792033231.634
==========================================================
Change in the covariance matrix = 1.
Mode improvement = 31791909756.2529
New value of jscale = 7.5517e-18
==========================================================
Warning: Matrix is singular to working precision.
> In dynare_estimation_1 at 341
In dynare_estimation at 70
In NS5a at 350
In dynare at 120
Error using chol
Matrix must be positive definite.
Error in gmhmaxlik (line 196)
dd = transpose(chol(CovJump));
Error in dynare_estimation_1 (line 330)
[xparam1,PostVar,Scale,PostMean] = ...
Error in dynare_estimation (line 70)
dynare_estimation_1(var_list,dname);
Error in NS5a (line 350)
dynare_estimation(var_list_);
Error in dynare (line 120)
evalin('base',fname) ;
I tried to search the forum but found nothing similar as I already use mode_compute=6 and my model seems to be working well when I use stoch_simul before the estimation. I followed two famous papers regarding parameter priors (Smets and Wouters 2007, Justiniano, Primiceri and Tambalotti 2010) so I doubt these priors are two narrow. Also, there is no trend in my linear model, so I have demeaned/detrended the data to be consistent with this.
Any help would be much appreciated. Thanks in advance.
chicoutimy