Page 1 of 1

Choosing variables to save simulation

PostPosted: Thu Jan 22, 2015 8:32 pm
by mjs19
Hi,
Can I choose which variables I want the simulation to save data for? Or is it an all or nothing option?
Thanks.

Re: Choosing variables to save simulation

PostPosted: Sat Jan 24, 2015 9:09 am
by jpfeifer
Saved where? And yes, currently it is an all or nothing option. Why would you like to change this?

Re: Choosing variables to save simulation

PostPosted: Sun Jan 25, 2015 6:09 pm
by mjs19
If you have lots and lots of variables, sometimes interest lies on only one or two.

Re: Choosing variables to save simulation

PostPosted: Tue Jan 27, 2015 5:06 pm
by jpfeifer
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.