| 1 |
% ------------------------------------------------------------------------- |
| 2 |
% Functionality testing of Bayesian IRF matching with |
| 3 |
% - Random-Walk Metropolis-Hastings |
| 4 |
% - whether mh_posterior_mode_estimation option works |
| 5 |
% ------------------------------------------------------------------------- |
| 6 |
|
| 7 |
% Copyright © 2023-2025 Dynare Team |
| 8 |
% |
| 9 |
% This file is part of Dynare. |
| 10 |
% |
| 11 |
% Dynare is free software: you can redistribute it and/or modify |
| 12 |
% it under the terms of the GNU General Public License as published by |
| 13 |
% the Free Software Foundation, either version 3 of the License, or |
| 14 |
% (at your option) any later version. |
| 15 |
% |
| 16 |
% Dynare is distributed in the hope that it will be useful, |
| 17 |
% but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 |
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 19 |
% GNU General Public License for more details. |
| 20 |
% |
| 21 |
% You should have received a copy of the GNU General Public License |
| 22 |
% along with Dynare. If not, see <https://www.gnu.org/licenses/>. |
| 23 |
@#define LESSPARAMS=1 |
| 24 |
@#include "cet_model.inc" |
| 25 |
|
| 26 |
options_.prior_interval= 0.95; |
| 27 |
|
| 28 |
method_of_moments(mom_method = irf_matching |
| 29 |
%, add_tiny_number_to_cholesky = 1e-14 |
| 30 |
, irf_matching_file = cet_irf_matching_file |
| 31 |
, mh_conf_sig = 0.90 |
| 32 |
, mh_replic=100 |
| 33 |
, mh_posterior_mode_estimation |
| 34 |
, mode_file = cet_original_mode |
| 35 |
, verbose |
| 36 |
); |