Choosing variables to save simulation

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.

Choosing variables to save simulation

Postby mjs19 » Thu Jan 22, 2015 8:32 pm

Hi,
Can I choose which variables I want the simulation to save data for? Or is it an all or nothing option?
Thanks.
mjs19
 
Posts: 16
Joined: Sat Jan 17, 2015 7:25 pm

Re: Choosing variables to save simulation

Postby jpfeifer » Sat Jan 24, 2015 9:09 am

Saved where? And yes, currently it is an all or nothing option. Why would you like to change this?
------------
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: Choosing variables to save simulation

Postby mjs19 » Sun Jan 25, 2015 6:09 pm

If you have lots and lots of variables, sometimes interest lies on only one or two.
mjs19
 
Posts: 16
Joined: Sat Jan 17, 2015 7:25 pm

Re: Choosing variables to save simulation

Postby jpfeifer » Tue Jan 27, 2015 5:06 pm

That is currently not possible. Dynare will always simulate all variables. Saving them or not should make no difference. If you want to speed up your code, you can change stoch_simul you can comment out the
Code: Select all
dyn2vec;

command that writes the simulation into variables with their respective name. The simulated series can be accessed in
Code: Select all
oo_.endo_simul

which always contains all variables for Dynare decision rule design reasons.
------------
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 11 guests