Help with error in dynare

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.

Help with error in dynare

Postby Carol » Sat Nov 03, 2012 12:22 pm

Hi,
I am trying to run a model in dynare version 4.2.1, for which I have a separate steady state file. I am getting the following error.
______________________
Undefined function 'x' for input arguments of type 'double'.

Error in draftmodel_Oct27 (line 273)
M_.params( 26 ) = x(1);

Error in dynare (line 132)
evalin('base',fname) ;
_____________________

I will really appreciate if someone can please help.

Thanks.
Carol
 
Posts: 29
Joined: Tue Nov 29, 2011 11:19 pm

Re: Help with error in dynare

Postby jpfeifer » Sun Nov 04, 2012 8:39 am

Please post the mod.file and upgrade Dynare.
------------
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: Help with error in dynare

Postby Carol » Sun Nov 04, 2012 10:16 pm

Hi jpfeifer,
I upgraded dynare as you suggested. I made some changes to the file. See the .mod file attached (with the steady state file). I am getting an error relating to fsolve. Please help me. Thanks.
Carol
 
Posts: 29
Joined: Tue Nov 29, 2011 11:19 pm

Re: Help with error in dynare

Postby mehdi » Tue Nov 13, 2012 6:05 pm

Hi, after running model, dynare (4.3.1) shows the following error:
Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
[mex] Markov Switching SBVAR.

??? Error using ==> dynare at 114
DYNARE: preprocessing failed
Can you help me to fix this problem?
thanks
mehdi
 
Posts: 2
Joined: Tue Nov 13, 2012 5:47 pm

Re: Help with error in dynare

Postby jpfeifer » Tue Nov 13, 2012 6:46 pm

If I run your code, Dynare crashes after the preprocessor because you did not specify a starting value for fsolve in the steady state 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: Help with error in dynare

Postby Tiago » Wed Nov 14, 2012 5:22 am

Hi,
I'm new user of dynare and have just instaled version 4.3.1 to open de example1.mod file. The following error occured:
______________________
octave:2> dynare c:\dynare\4.3.1\examples\example1.mod
(...)
Preprocessing completed.
Starting MATLAB/Octave computing.

parse error:

>>> c:\dynare\4

error: called from:
error: c:\dynare\4.3.1\matlab\dynare.m at line 122, column 1



I will really appreciate if someone can please help.

Thanks.

Tiago Rocha de Almeida
Tiago
 
Posts: 2
Joined: Wed Nov 14, 2012 5:04 am
Location: Brasília-DF/Brazil

Re: Help with error in dynare

Postby Carol » Wed Nov 14, 2012 2:58 pm

jpfeifer wrote:If I run your code, Dynare crashes after the preprocessor because you did not specify a starting value for fsolve in the steady state file.


Thanks jpfeifer.
Carol
 
Posts: 29
Joined: Tue Nov 29, 2011 11:19 pm

Re: Help with error in dynare

Postby Tiago » Sun Nov 18, 2012 6:41 pm

Hi,

about the post published on 14/11, the solution is the following:

octave:1> addpath c:\dynare\4.3.1\matlab
octave:2>cd c:\dynare\work
octave:3>dynare example1.mod

Observe that after you indicate the place dynare is, it´s necessary to change the diretory for the place where exemplo.mod is and then execute dynare inserting only the name of archive like parameter.

I hope it will be so usefull for begginers.

Tiago :P
Tiago
 
Posts: 2
Joined: Wed Nov 14, 2012 5:04 am
Location: Brasília-DF/Brazil

Re: Help with error in dynare

Postby mehdi » Tue Nov 27, 2012 5:31 pm

mehdi wrote:Hi, after running model, dynare (4.3.1) shows the following error:
Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
[mex] Markov Switching SBVAR.

??? Error using ==> dynare at 114
DYNARE: preprocessing failed
Can you help me to fix this problem?
thanks
mehdi
 
Posts: 2
Joined: Tue Nov 13, 2012 5:47 pm

Re: Help with error in dynare

Postby HoutanBastani » Wed Nov 28, 2012 3:02 pm

Please post your .mod file
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France


Return to Dynare help

Who is online

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