Page 2 of 2

Re: problem with datafile

PostPosted: Sat Dec 10, 2016 10:07 am
by stavakoli
Thank you very much for your attention.
Actually I used the original data from Iranian Central Bank and I did anything by myself on them. Anyway, as your advise I saved the original data entries in a new Excel file and worked with them but unfortunately I have the same error. I think it's unusual

Re: problem with datafile

PostPosted: Sat Dec 10, 2016 2:47 pm
by jpfeifer
Did reading Excel files ever work on your computer?

Re: problem with datafile

PostPosted: Sun Dec 11, 2016 7:49 am
by stavakoli
Thank you very much prof. Pfeifer for your advises.
The problem has been solved when I install dynare 4.4.3 . But I' got such a new error:
Log data density [Laplace approximation] is -71142721660644.375000.

??? Error using ==> chol
Matrix must be positive definite.

Error in ==> metropolis_hastings_initialization at 68
d = chol(vv);

Error in ==> random_walk_metropolis_hastings at 62
[ ix2, ilogpo2, ModelName, MetropolisFolder, fblck, fline, npar, nblck, nruns,
NewFile, MAX_nruns, d ] = ...

Error in ==> dynare_estimation_1 at 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 at 89
dynare_estimation_1(var_list,dname);

Error in ==> policya at 293
dynare_estimation(var_list_);

Error in ==> dynare at 180
evalin('base',fname) ;

Re: problem with datafile

PostPosted: Sun Dec 11, 2016 10:42 am
by jpfeifer
That is an economic problem. Judging from the log data density, your observation equations are still wrong. Please see Pfeifer(2013): "A Guide to Specifying Observation Equations for the Estimation of DSGE Models" https://sites.google.com/site/pfeiferecon/Pfeifer_2013_Observation_Equations.pdf.

Re: problem with datafile

PostPosted: Mon Dec 12, 2016 8:27 am
by stavakoli
thank you very much prof. Pfeifer for your helpful advises.