Options_.gstep(2)

Dear all,
I have a question regarding the stepsize of the gradient of the mode finder: I would like to increase the stepsize of the gradient of the mode finder. I was told I can do that by setting options_.gstep(2)=2, 5 or 10. Where do I place this command in the dynare code? Directly front of the estimation command? Or after the estimation command?
Many thanks,
Ansgar

Hi Ansgar, are you talking about mode_compute=4? The gstep govern the computation of the Hessian at the mode.

Hi Johannes,
thank you, I thought this option could be used for mode_compute=1? Indeed, it is the computation of the hessian I want to change.
Actually the question should be “where to place it in the .mod file”. So should it be like this:

options_.gstep(2)= 2;
estimation(order=1,datafile=data_example,………)

Or like this (after the estimation command)

estimation(order=1,datafile=data_example,………)
options_.gstep(2)= 2;

Best wishes,
Ansgar

Every option needs to go before the command you intend to use it in.

Thank you!