Skip to content
Snippets Groups Projects
Commit 692acc66 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Merge pull request #1137 from JohannesPfeifer/deterministic_estimation

Reset seed before drawing starting points of MCMC chains
parents 01e5b094 26c0825b
Branches
No related tags found
No related merge requests found
...@@ -113,6 +113,7 @@ if ~options_.load_mh_file && ~options_.mh_recover ...@@ -113,6 +113,7 @@ if ~options_.load_mh_file && ~options_.mh_recover
fprintf(fidlog,' \n'); fprintf(fidlog,' \n');
% Find initial values for the nblck chains... % Find initial values for the nblck chains...
if nblck > 1% Case 1: multiple chains if nblck > 1% Case 1: multiple chains
set_dynare_seed('default');
fprintf(fidlog,[' Initial values of the parameters:\n']); fprintf(fidlog,[' Initial values of the parameters:\n']);
disp('Estimation::mcmc: Searching for initial values...') disp('Estimation::mcmc: Searching for initial values...')
ix2 = zeros(nblck,npar); ix2 = zeros(nblck,npar);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment