From 03bd2b73e6cc53e43498b9718be5196774b06cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Wed, 3 Oct 2018 18:21:16 +0200 Subject: [PATCH] Fixed integration test for the automatic tuning of mh_jscale. --- tests/estimation/tune_mh_jscale/fs2000.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/estimation/tune_mh_jscale/fs2000.mod b/tests/estimation/tune_mh_jscale/fs2000.mod index b243c924f..7986745c2 100644 --- a/tests/estimation/tune_mh_jscale/fs2000.mod +++ b/tests/estimation/tune_mh_jscale/fs2000.mod @@ -100,6 +100,6 @@ estimation(order=1, datafile='../fsdat_simul', nobs=192, loglinear, mh_replic=20 mhdata = load('fs2000/metropolis/fs2000_mh_history_0.mat'); -if any(abs(mhdata.record.AcceptanceRatio-options_.mh_tune_jscale.target)>options_.mh_tune_jscale.c1) +if any(abs(mhdata.record.AcceptanceRatio-options_.mh_tune_jscale.target)>options_.mh_tune_jscale.c2) error('Automagic tuning of the MCMC proposal scale parameter did not work as expected!') end \ No newline at end of file