Stephane makes me remark that the introduction of auxiliary variables create problems for people who use Matlab syntax in Dynare and rely on global such as M_.endo_nbr It is important that we define clearly the position of auxiliary variables in the vectors of variables and that we commit to it. We had decided, to put auxiliary variables after all variables declared explicitly in the model. We can add that the Lagrange multipliers added by ramsey_policy will be added after the auxiliary variables. All the best, Michel
I would prefer to store the Lagrange multipliers before the auxiliary variables. These multipliers are "true variables" (contrary to the auxiliary variables) of the ramsey policy model, and we may want to read/manipulate these variables in the steadystate file (for instance). This would be simpler if the multipliers are stored before the auxiliary variables. Best, Stéphane. 2009/10/20 Michel Juillard <michel.juillard@ens.fr>
Stephane makes me remark that the introduction of auxiliary variables create problems for people who use Matlab syntax in Dynare and rely on global such as M_.endo_nbr It is important that we define clearly the position of auxiliary variables in the vectors of variables and that we commit to it. We had decided, to put auxiliary variables after all variables declared explicitly in the model. We can add that the Lagrange multipliers added by ramsey_policy will be added after the auxiliary variables.
All the best,
Michel
_______________________________________________ Dev mailing list Dev@dynare.org http://www.dynare.org/cgi-bin/mailman/listinfo/dev
-- Stéphane Adjemian CEPREMAP & Université du Maine Tel: (33)1-43-13-62-39
Le mardi 20 octobre 2009 à 16:29 +0200, Stéphane Adjemian a écrit :
I would prefer to store the Lagrange multipliers before the auxiliary variables. These multipliers are "true variables" (contrary to the auxiliary variables) of the ramsey policy model, and we may want to read/manipulate these variables in the steadystate file (for instance). This would be simpler if the multipliers are stored before the auxiliary variables.
This is also simpler to implement that way, because the creation of auxiliary variables for lagrange multipliers necessarily occurs before those for leads/lags. -- Sébastien Villemot
OK michel Sébastien Villemot wrote:
Le mardi 20 octobre 2009 à 16:29 +0200, Stéphane Adjemian a écrit :
I would prefer to store the Lagrange multipliers before the auxiliary variables. These multipliers are "true variables" (contrary to the auxiliary variables) of the ramsey policy model, and we may want to read/manipulate these variables in the steadystate file (for instance). This would be simpler if the multipliers are stored before the auxiliary variables.
This is also simpler to implement that way, because the creation of auxiliary variables for lagrange multipliers necessarily occurs before those for leads/lags.
participants (3)
-
Michel Juillard -
Stéphane Adjemian -
Sébastien Villemot