Hello community,

When looping over parameter values, *stoch_simul* can nicely be called in Matlab without running the whole mod-file again. Is there a similar way to do this with the *estimation* command? The example below shows what I have in mind. I am trying to see how certain estimates change if calibrated parameters change.

Best regards,

Tiljim

```
rhos = 0.8:0.05:1.05;
first_time = 1;
for i=1:length(rhos)
if first_time
set_param_value('rho',rhos(i));
dynare your_mod_file_here noclearall;
first_time = 0;
else
set_param_value('rho',rhos(i));
%info = stoch_simul(var_list_); %this is known to work.
%THE FOLLOWING COMMAND DOES NOT WORK, BUT IS WHAT I AM LOOKING FOR:
info = estimation(datafile=data_estimation) pi, y, i;
if info;
disp('Computation fails for rho = ' num2str(rho)]);
end;
end
end
```