Page 1 of 1

maximum_lag

PostPosted: Sun Nov 20, 2011 12:34 pm
by rockyyao
Hi,
I am working on a DSGE model with many leads (expectations) and lags. Dynare generate auxiliary variables for them. I read in the forum that version 4.2.2 has bug in calculating steady state for those auxiliary variables, I has this problem too, so I switch back to version 4.2.1. This time I got the following error message:

Starting Dynare (version 4.2.1).
Starting preprocessing of the model file ...
Substitution of endo leads >= 2: added 21 auxiliary variables and equations.
Substitution of endo lags >= 2: added 10 auxiliary variables and equations.
Found 48 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.

??? Reference to non-existent field 'maximum_lag'.

Error in ==> gnkpc_nl6 at 493
oo_.endo_simul=[oo_.steady_state*ones(1,M_.maximum_lag)];

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

Can anyone help me figure out what is going on?

Thx

Yf

Re: maximum_lag

PostPosted: Mon Nov 21, 2011 11:07 am
by rockyyao
I also downloaded the latest unstable version 2011-11-21 to run my code. I still get the same error message:

??? Reference to non-existent field 'maximum_lag'.

Error in ==> gnkpc_nl6 at 503
oo_.endo_simul=[oo_.steady_state*ones(1,M_.maximum_lag)];

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

Re: maximum_lag

PostPosted: Mon Nov 21, 2011 12:38 pm
by jpfeifer
There should not be a "clear all" in the file.

Re: maximum_lag

PostPosted: Mon Nov 21, 2011 1:14 pm
by rockyyao
thanks!