Commit 03bd2b73 authored by Stéphane Adjemian (Charybdis)'s avatar Stéphane Adjemian (Charybdis)

Fixed integration test for the automatic tuning of mh_jscale.

parent ffb36e57
...@@ -100,6 +100,6 @@ estimation(order=1, datafile='../fsdat_simul', nobs=192, loglinear, mh_replic=20 ...@@ -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'); 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!') error('Automagic tuning of the MCMC proposal scale parameter did not work as expected!')
end end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment