Errors while running my dynare code

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.

Errors while running my dynare code

Postby carla_iosofovici » Wed Jul 11, 2012 10:05 am

Hi,
First of all I want to express my thanks to all those having guided me until now.
Second, I will kindly ask you to clarify me, if possible about the errors below, listed after running my .mod file in matlab.
How should I do to understand the source of such errors ...if it was about debugging in was simple ... I was looking at my code to a certain line and column ... but at this stage I just enter their code and I do not understand anything ...

Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.

Starting Dynare (version 4.2.1).
Starting preprocessing of the model file ...
Substitution of endo lags >= 2: added 12 auxiliary variables and equations.
Found 67 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.

This version of Dynare cannot estimate non linearized models!
Set "order" equal to 1.

??? Attempted to access k(1); index out of bounds because
numel(k)=0.

Error in ==> draw_prior_density at 120
binf = abscissa(k(1));

Error in ==> plot_priors at 101
[x,f,abscissa,dens,binf,bsup] =
draw_prior_density(i,bayestopt_);

Error in ==> dynare_estimation_init at 125
plot_priors(bayestopt_,M_,options_)

Error in ==> dynare_estimation_1 at 37
[data,rawdata,xparam1] = dynare_estimation_init(var_list_);

Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});

Error in ==> Dynare_code_COS_3 at 1147
dynare_estimation(var_list_);

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


Thanks in advance for any useful advice (P.S. I am a beginner in DSGE ... so any advice should be explicitly presented (not very technically) so that I can understand it).
Best regards,
Carla
carla_iosofovici
 
Posts: 3
Joined: Tue May 15, 2012 11:00 am

Re: Errors while running my dynare code

Postby jpfeifer » Wed Jul 11, 2012 11:51 am

Please upgrade to a recent Dynare version and see if there is a more explicit error message. Or post the mod-file.
------------
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: Errors while running my dynare code

Postby jpfeifer » Thu Jul 12, 2012 8:11 am

And don't forget to remove the old version. If it still says
Starting Dynare (version 4.2.1).

you are still using the wrong version.
------------
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


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 4 guests