changing Dynare order outside the .mod file
Posted: Fri Oct 10, 2014 7:32 am
Hi,
I need to do a grid search for a range of parameters, for which I use
but in each iteration, I need to get the derivatives both for the first and third order expansions. That is, for each parameter, I need to get two sets of derivatives (for 1st and 3rd order). Could you please let me know if/how I can do this.
Note: I have already tried to just change the order using
Many thanks in advance,
Soroush
I need to do a grid search for a range of parameters, for which I use
- Code: Select all
set_param_value('param', value(i));
stoch_simul(var_list_);
but in each iteration, I need to get the derivatives both for the first and third order expansions. That is, for each parameter, I need to get two sets of derivatives (for 1st and 3rd order). Could you please let me know if/how I can do this.
Note: I have already tried to just change the order using
- Code: Select all
options_.order = 3;
Many thanks in advance,
Soroush