Debian Codegraph @

tests/estimation/method_of_moments/CET/cet_mle.mod

raw
1 % -------------------------------------------------------------------------
2 % Functionality testing of Frequentist IRF matching
3 % -------------------------------------------------------------------------
4
5 % Copyright © 2023 Dynare Team
6 %
7 % This file is part of Dynare.
8 %
9 % Dynare is free software: you can redistribute it and/or modify
10 % it under the terms of the GNU General Public License as published by
11 % the Free Software Foundation, either version 3 of the License, or
12 % (at your option) any later version.
13 %
14 % Dynare is distributed in the hope that it will be useful,
15 % but WITHOUT ANY WARRANTY; without even the implied warranty of
16 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 % GNU General Public License for more details.
18 %
19 % You should have received a copy of the GNU General Public License
20 % along with Dynare. If not, see <https://www.gnu.org/licenses/>.
21
22 @#define ML = 1
23 @#include "cet_model.inc"
24
25 options_.prior_interval= 0.95;
26
27 method_of_moments(mom_method = irf_matching
28 %, add_tiny_number_to_cholesky = 1e-14
29 %, additional_optimizer_steps = [4]
30 %, analytic_jacobian
31 %, analytic_standard_errors
32 %, bartlett_kernel_lag
33 %, bounded_shock_support
34 %, brooks_gelman_plotrows
35 %, cova_compute=0
36 %, datafile
37 %, dirname=cet_imh_results
38 %, dr
39 %, dr_cycle_reduction_tol
40 %, dr_logarithmic_reduction_maxiter
41 %, dr_logarithmic_reduction_tol
42 %, drop
43 %, first_obs
44 %, geweke_interval
45 %, graph_format
46 %, huge_number
47 , irf_matching_file = cet_irf_matching_file
48 %, k_order_solver
49 %, load_mh_file
50 %, load_results_after_load_mh
51 %, logdata
52 %, lyapunov
53 %, lyapunov_complex_threshold
54 %, lyapunov_doubling_tol
55 %, lyapunov_fixed_point_tol
56 %, mcmc_jumping_covariance = prior_variance
57 %, mh_conf_sig = 0.90
58 %, mh_drop = 0.5
59 %, mh_init_scale_factor
60 %, mh_initialize_from_previous_mcmc
61 %, mh_initialize_from_previous_mcmc_directory
62 %, mh_initialize_from_previous_mcmc_prior
63 %, mh_initialize_from_previous_mcmc_record
64 %, mh_jscale = 0.5
65 %, mh_nblocks = 2
66 %, mh_posterior_mode_estimation
67 %, mh_recover
68 %, mh_replic=1000
69 %, mh_tune_guess = 0.5
70 %, mh_tune_jscale = 0.33
71 %, mom_burnin
72 %, mom_seed
73 %, mom_se_tolx
74 %, mode_check
75 %, mode_check_neighbourhood_size
76 %, mode_check_number_of_points
77 %, mode_check_symmetric_plots = 0
78 , mode_compute = 4
79 %, mode_file = cet_original_mode
80 %, nobs
81 %, no_posterior_kernel_density
82 %, nodiagnostic
83 %, nodisplay
84 %, nograph
85 %, noprint
86 %, optim
87 %, order
88 %, penalized_estimator
89 %, plot_priors = 0
90 %, posterior_max_subsample_draws
91 %, posterior_sampling_method = 'random_walk_metropolis_hastings'
92 %, posterior_sampler_options = ('proposal_distribution'
93 % ,'rand_multivariate_normal'
94 % ,'rand_multivariate_student'
95 % ,'student_degrees_of_freedom',4
96 % ,'use_mh_covariance_matrix',1
97 % ,'save_tmp_file',1
98 % , scale_file
99 % )
100 %, posterior_sampling_method = 'tailored_random_block_metropolis_hastings'
101 %, posterior_sampler_options = ('proposal_distribution'
102 % ,'rand_multivariate_normal'
103 % ,'rand_multivariate_student'
104 % ,'student_degrees_of_freedom',4
105 % ,'new_block_probability',0.3
106 % ,'mode_compute',1
107 % ,optim
108 % ,'save_tmp_file',1
109 % ,scale_file
110 % )
111 %, posterior_sampling_method = 'independent_metropolis_hastings'
112 %, posterior_sampler_options = ('proposal_distribution'
113 % ,'rand_multivariate_normal'
114 % ,'rand_multivariate_student'
115 % ,'student_degrees_of_freedom',4
116 % ,'use_mh_covariance_matrix',1
117 % ,'save_tmp_file',1
118 % ,scale_file
119 % )
120 %, posterior_sampling_method = 'slice'
121 %, posterior_sampler_options = ('rotated',1
122 % ,'mode_files'
123 % ,'slice_initialize_with_mode',1
124 % ,'initial_step_size',0.8
125 % ,'use_mh_covariance_matrix',1
126 % ,'save_tmp_file',1
127 % )
128 %, prefilter
129 %, prior_trunc
130 %, pruning
131 %, qz_criterium
132 %, qz_zero_threshold
133 %, raftery_lewis_diagnostics
134 %, raftery_lewis_qrs
135 %, relative_irf
136 %, replic
137 %, schur_vec_tol
138 %, silent_optimizer
139 , simulation_method = stoch_simul
140 %, simulation_multiple
141 %, sub_draws
142 %, sylvester
143 %, sylvester_fixed_point_tol
144 %, taper_steps
145 %, tex
146 %, use_penalized_objective_for_hessian
147 %, verbose
148 %, weighting_matrix
149 %, weighting_matrix_scaling_factor
150 %, xls_range
151 %, xls_sheet
152 );