Page 1 of 1

Error in a DSGE model

PostPosted: Tue Feb 27, 2007 3:22 pm
by fmacit
Hi,
I am trying to solve a DSGE model and I run a couple of different versions of the model and I always got the errors that I attached below. I don`t understand where those errors come from. I really appreciate if you could help me on that.


??? In an assignment A(I) = B, the number of elements in B and
I must be the same.

Error in ==> C:\dynare_v3\examples\code_fff.m
On line 42 ==> z(28) = exp(y(35)) -(eta*(exp(y(37)+y(1))*exp(y(5))^(alfah-1)+kappag*exp( ...

Error in ==> c:\dynare_v3\matlab\dynare_solve.m
On line 41 ==> fvec = feval(func,x,varargin{:});

Error in ==> c:\dynare_v3\matlab\steady_.m
On line 23 ==> [ys_,check] = dynare_solve([fname_ '_fff'],x);

Error in ==> c:\dynare_v3\matlab\steady.m
On line 7 ==> steady_;

Error in ==> C:\dynare_v3\examples\code.m
On line 206 ==> steady(0);

Error in ==> c:\dynare_v3\matlab\dynare.m
On line 26 ==> evalin('base',fname) ;

PostPosted: Fri Mar 16, 2007 9:03 pm
by MichelJuillard
one of the parameters in the equation corresponding to line 42 in code_fff is misspelled or doesn't have a value

Best

Michel