From 71b63c6e8ea7b7293ff44482358dd021e93557a8 Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Sat, 16 Sep 2023 09:31:23 +0200 Subject: [PATCH] Remove unused lik_algo-option --- doc/manual/source/the-model-file.rst | 4 ---- matlab/default_option_values.m | 1 - matlab/optimization/gmhmaxlik_core.m | 1 - matlab/posterior_sampler_core.m | 1 - 4 files changed, 7 deletions(-) diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst index b4fcff645..062a62301 100644 --- a/doc/manual/source/the-model-file.rst +++ b/doc/manual/source/the-model-file.rst @@ -6387,10 +6387,6 @@ observed variables. initially far from the steady state. This option is not compatible with ``analytical_derivation``. - .. option:: lik_algo = INTEGER - - For internal use and testing only. - .. option:: conf_sig = DOUBLE Level of significance of the confidence interval used for classical forecasting after diff --git a/matlab/default_option_values.m b/matlab/default_option_values.m index 77ba20d6c..4bede2cac 100644 --- a/matlab/default_option_values.m +++ b/matlab/default_option_values.m @@ -400,7 +400,6 @@ options_.kalman.keep_kalman_algo_if_singularity_is_detected = false; options_.diffuse_kalman_tol = 1e-6; options_.use_univariate_filters_if_singularity_is_detected = 1; options_.riccati_tol = 1e-6; -options_.lik_algo = 1; options_.lik_init = 1; options_.load_mh_file = false; options_.load_results_after_load_mh = false; diff --git a/matlab/optimization/gmhmaxlik_core.m b/matlab/optimization/gmhmaxlik_core.m index c75a946eb..96397f5aa 100644 --- a/matlab/optimization/gmhmaxlik_core.m +++ b/matlab/optimization/gmhmaxlik_core.m @@ -75,7 +75,6 @@ function [PostMod,PostVar,Scale,PostMean] = gmhmaxlik_core(ObjFun,xparam1,mh_bou global bayestopt_ estim_params_ options_ -options_.lik_algo = 1; npar = length(xparam1); NumberOfIterations = options.number; diff --git a/matlab/posterior_sampler_core.m b/matlab/posterior_sampler_core.m index 4e3379a64..9b751c558 100644 --- a/matlab/posterior_sampler_core.m +++ b/matlab/posterior_sampler_core.m @@ -93,7 +93,6 @@ ModelName = M_.fname; BaseName = [MetropolisFolder filesep ModelName]; save_tmp_file = sampler_options.save_tmp_file; -options_.lik_algo = 1; OpenOldFile = ones(nblck,1); if strcmpi(ProposalFun,'rand_multivariate_normal') sampler_options.n = npar;