Hi Dynare community,
I am looping through different objective function weights with the optimal simple rule (osr) feature.
Obviously i would like to store the estimated policy coefficients. Does anyone know where the estimated policy coefficients are stored or how how I can store the estimated coefficients at each pass of the loop. Currently the code looks like,
piws = 0:0.1:1.0;
for j = 1:5;
piw = piws(j);
optim_weights;
pi piw;
y 1;
i 0.25;
end;
osr_params gamma_pi gamma_y gamma_i gamma_ee gamma_yy ;
gamma_pi = 5.117;
gamma_y = 0.036;
gamma_yy = 0.1;
gamma_ee = 0;
gamma_i = 0.7;
options_.noprint=1;
options_.nograph=1;
osr;
end;
Thanks in advance