computing shock_decomposition for calibrated models

time-shift
Michel Juillard 2012-04-21 21:37:52 +02:00
parent e692185c6b
commit aa22cb56d1
2 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,8 @@ if ischar(parameters)
parameters = bayestopt_.p5(:);
case 'prior_mean'
parameters = bayestopt_.p1;
case 'calibration'
parameters = [];
otherwise
disp('evaluate_smoother:: If the input argument is a string, then it has to be equal to:')
disp(' ''posterior_mode'', ')
@ -69,6 +71,7 @@ if ischar(parameters)
disp(' ''posterior_median'', ')
disp(' ''prior_mode'' or')
disp(' ''prior_mean''.')
disp(' ''calibration''.')
error
end
end

View File

@ -2034,6 +2034,7 @@ shock_decomposition_options_list : shock_decomposition_option COMMA shock_decomp
shock_decomposition_option : o_parameter_set
| o_shocks
| o_labels
| o_datafile
;
homotopy_setup: HOMOTOPY_SETUP ';' homotopy_list END ';'