jpfeifer wrote:You could add measurement error.
Pfeifer,
First of all, I would like to thank you, because the errors were vanished by the new code, when I put the measurement errors and the "identification;" command. The results are great and all reasonable. Your guide has helped me a lot.
But, I am curious when I drop the identification command out, the errors return. I have dropped them out because the IR-functions are not showed in the first case (identification command and measurement erros)
Error using chol
Matrix must be positive definite.
Error in metropolis_hastings_initialization (line 68)
d = chol(vv);
Error in random_walk_metropolis_hastings (line 62)
[ ix2, ilogpo2, ModelName, MetropolisFolder, fblck, fline, npar, nblck, nruns, NewFile,
MAX_nruns, d ] = ...
Error in dynare_estimation_1 (line 782)
feval(options_.posterior_sampling_method,objective_function,options_.proposal_distribution,xparam1,invhess,bounds,dataset_,options_,M_,estim_params_,bayestopt_,oo_);
Error in dynare_estimation (line 89)
dynare_estimation_1(var_list,dname);
Error in uribe_chapter4_peru_bayes2 (line 230)
dynare_estimation(var_list_);
Error in dynare (line 180)
evalin('base',fname) ;
Do you could explain me why?
Thanks!