problem with datafile

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.

Re: problem with datafile

Postby stavakoli » Sat Dec 10, 2016 10:07 am

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
stavakoli
 
Posts: 32
Joined: Tue Nov 22, 2016 3:13 pm

Re: problem with datafile

Postby jpfeifer » Sat Dec 10, 2016 2:47 pm

Did reading Excel files ever work on your computer?
------------
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: problem with datafile

Postby stavakoli » Sun Dec 11, 2016 7:49 am

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) ;
stavakoli
 
Posts: 32
Joined: Tue Nov 22, 2016 3:13 pm

Re: problem with datafile

Postby jpfeifer » Sun Dec 11, 2016 10:42 am

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.
------------
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: problem with datafile

Postby stavakoli » Mon Dec 12, 2016 8:27 am

thank you very much prof. Pfeifer for your helpful advises.
stavakoli
 
Posts: 32
Joined: Tue Nov 22, 2016 3:13 pm

Previous

Return to Dynare contributions and examples

Who is online

Users browsing this forum: No registered users and 4 guests