corrected bug in the sequence of tasks in dynare_esitmation_1 introduced in 29f9bb9

time-shift
Michel Juillard 2010-09-13 21:34:15 +02:00
parent 41ff70e08c
commit f6aace084b
1 changed files with 499 additions and 498 deletions

View File

@ -1119,8 +1119,10 @@ if (any(bayestopt_.pshape >0 ) & options_.mh_replic) | ...
end
xparam = get_posterior_parameters('mean');
set_all_parameters(xparam);
end
end
if (~((any(bayestopt_.pshape > 0) & options_.mh_replic) | (any(bayestopt_.pshape ...
if (~((any(bayestopt_.pshape > 0) & options_.mh_replic) | (any(bayestopt_.pshape ...
> 0) & options_.load_mh_file)) ...
| ~options_.smoother ) & M_.endo_nbr^2*gend < 1e7 & options_.partial_information == 0 % to be fixed
%% ML estimation, or posterior mode without metropolis-hastings or metropolis without bayesian smooth variable
@ -1620,9 +1622,8 @@ if (any(bayestopt_.pshape >0 ) & options_.mh_replic) | ...
fclose(fidTeX);
end
end
end
end
end
if options_.forecast > 0 & options_.mh_replic == 0 & ~options_.load_mh_file
forecast(var_list_,'smoother');
end