Auxiliary variables location

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.

Auxiliary variables location

Postby xuyongdeng » Thu Mar 10, 2016 3:15 pm

Supposing I have y(+2), pi(+2) in my model, I understand dynare define two auxiliary variables: AUX_ENDO_LEAD_aa and AUX_ENDO_LEAD_bb. My questions is how I know that AUX_ENDO_LEAD_aa is y(+1) and AUX_ENDO_LEAD_bb is pi(+1). How Dynare links the AUX_ENDO_LEAD to the endo variables we declared in "var ". Thanks in advance for your help.
xuyongdeng
 
Posts: 13
Joined: Mon Aug 10, 2015 9:08 pm

Re: Auxiliary variables location

Postby jpfeifer » Fri Mar 11, 2016 6:56 am

The corresponding information should be stored in
Code: Select all
M_.aux_vars

See also http://www.dynare.org/DynareWiki/AuxiliaryVariables
------------
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: Auxiliary variables location

Postby xuyongdeng » Fri Mar 11, 2016 10:58 am

Hi jpfeifer, thank you for your reply. I've checked M_.aux_vars(i).orig_index . It strange that it has information when Aux var is for exogenous with a lag. However, M_.aux_vars(i).orig_index does not has information when Aux var is for exogenous with a lead.
xuyongdeng
 
Posts: 13
Joined: Mon Aug 10, 2015 9:08 pm

Re: Auxiliary variables location

Postby jpfeifer » Fri Mar 11, 2016 11:23 am

Have you tried the unstable version? There might have been a bug.
------------
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: Auxiliary variables location

Postby xuyongdeng » Fri Mar 11, 2016 11:50 am

Yes, I tried the latest unstable version. M_.aux_vars(i).orig_index still shows [].
xuyongdeng
 
Posts: 13
Joined: Mon Aug 10, 2015 9:08 pm

Re: Auxiliary variables location

Postby jpfeifer » Fri Mar 11, 2016 2:03 pm

That is a bug still on our to-do list: https://github.com/DynareTeam/dynare/issues/773
------------
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


Return to Dynare help

Who is online

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