Loading Initial and Historical Value Data

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.

Loading Initial and Historical Value Data

Postby dhcooper01 » Fri Jul 01, 2016 1:16 pm

Is there are way in dynare to load initial values or historical values from a matlab database much like you can load parameter values and use the "set_param_value" function? My sense is no from looking through the documentation and previous discussions, but I wanted to ask in case this feature has been added to the software recently.

Thanks,
Daniel
dhcooper01
 
Posts: 4
Joined: Thu Jun 23, 2016 1:54 pm

Re: Loading Initial and Historical Value Data

Postby jpfeifer » Fri Jul 01, 2016 1:38 pm

In which context, i.e. for which command?
------------
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: Loading Initial and Historical Value Data

Postby dhcooper01 » Fri Jul 01, 2016 2:33 pm

for the histval or initval block of code in the .mod file.

rather than

initval;
y = log(30)
end;

I want to do something like

initval;
y = X;
end;

where X is a value stored in a matlab database corresponding to the actual level of output (GDP) in the data.

Thanks for your help.
dhcooper01
 
Posts: 4
Joined: Thu Jun 23, 2016 1:54 pm

Re: Loading Initial and Historical Value Data

Postby jpfeifer » Sat Jul 02, 2016 5:23 pm

See the manual on
Code: Select all
initval_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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 9 guests