computing shock_decomposition for calibrated models
parent
e692185c6b
commit
aa22cb56d1
|
@ -62,6 +62,8 @@ if ischar(parameters)
|
||||||
parameters = bayestopt_.p5(:);
|
parameters = bayestopt_.p5(:);
|
||||||
case 'prior_mean'
|
case 'prior_mean'
|
||||||
parameters = bayestopt_.p1;
|
parameters = bayestopt_.p1;
|
||||||
|
case 'calibration'
|
||||||
|
parameters = [];
|
||||||
otherwise
|
otherwise
|
||||||
disp('evaluate_smoother:: If the input argument is a string, then it has to be equal to:')
|
disp('evaluate_smoother:: If the input argument is a string, then it has to be equal to:')
|
||||||
disp(' ''posterior_mode'', ')
|
disp(' ''posterior_mode'', ')
|
||||||
|
@ -69,6 +71,7 @@ if ischar(parameters)
|
||||||
disp(' ''posterior_median'', ')
|
disp(' ''posterior_median'', ')
|
||||||
disp(' ''prior_mode'' or')
|
disp(' ''prior_mode'' or')
|
||||||
disp(' ''prior_mean''.')
|
disp(' ''prior_mean''.')
|
||||||
|
disp(' ''calibration''.')
|
||||||
error
|
error
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -2034,6 +2034,7 @@ shock_decomposition_options_list : shock_decomposition_option COMMA shock_decomp
|
||||||
shock_decomposition_option : o_parameter_set
|
shock_decomposition_option : o_parameter_set
|
||||||
| o_shocks
|
| o_shocks
|
||||||
| o_labels
|
| o_labels
|
||||||
|
| o_datafile
|
||||||
;
|
;
|
||||||
|
|
||||||
homotopy_setup: HOMOTOPY_SETUP ';' homotopy_list END ';'
|
homotopy_setup: HOMOTOPY_SETUP ';' homotopy_list END ';'
|
||||||
|
|
Loading…
Reference in New Issue