adding options to irf/moment calibration
Would it be possible to add options in the irf/moment calibration interface. For example it would be good to allow:
irf_calibration(relative_irf);
...
end;
to allow triggering
options_.relative_irf=1;
In fact, when std of shocks are estimated, it makes probably more sense to target a relative response w.r.t. an absolute one, which might just change due to the change in the value of the shock.
Similarly, we might think of allowing moment_calibration
to trigger estimation type options, like
varobs y_obs R_obs pie_obs dq de;
moment_calibration(datafile='data_ca1.m',first_obs=8,nobs=79,prefilter=1,ar=1);
...
end;
that would allow me to write a routine that automatically generates data based moment restrictions up to lag ar
for theoretical moments of the variables listed in varobs
.
We might also allow a different list of variables for calibration w.r.t. estimation, e.g. by
varobs_calibration y_obs R_obs pie_obs dq de;
Or by adding the list of variables inside the moment_calibration
command (like namendo
comma separated list in sensitivity analysis)
moment_calibration( datafile='data_ca1.m',first_obs=8,nobs=79,prefilter=1,ar=1,
varobs=(y_obs, R_obs, pie_obs, dq de)
);
...
end;
what do you think?