maximum_lag

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.

maximum_lag

Postby rockyyao » Sun Nov 20, 2011 12:34 pm

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
rockyyao
 
Posts: 18
Joined: Mon Mar 10, 2008 4:37 pm

Re: maximum_lag

Postby rockyyao » Mon Nov 21, 2011 11:07 am

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) ;
rockyyao
 
Posts: 18
Joined: Mon Mar 10, 2008 4:37 pm

Re: maximum_lag

Postby jpfeifer » Mon Nov 21, 2011 12:38 pm

There should not be a "clear all" in the 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: maximum_lag

Postby rockyyao » Mon Nov 21, 2011 1:14 pm

thanks!
rockyyao
 
Posts: 18
Joined: Mon Mar 10, 2008 4:37 pm


Return to Dynare help

Who is online

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