v4 dynare_estimation.m: added tests mh_replic > 1000 & mh_nblocks > 1 before calling McMcDiagnositcs
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@601 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
751c382ddc
commit
cabb3f9820
|
@ -649,7 +649,7 @@ if (any(bayestopt_.pshape >0 ) & options_.mh_replic) | (any(bayestopt_.pshape >
|
||||||
if options_.mh_replic
|
if options_.mh_replic
|
||||||
metropolis(xparam1,invhess,gend,data,rawdata,bounds);
|
metropolis(xparam1,invhess,gend,data,rawdata,bounds);
|
||||||
end
|
end
|
||||||
if ~options_.nodiagnostic
|
if ~options_.nodiagnostic & options_.mh_replic > 1000 & options_.nblocks > 1
|
||||||
McMCDiagnostics;
|
McMCDiagnostics;
|
||||||
end
|
end
|
||||||
%% Here i discard first half of the draws:
|
%% Here i discard first half of the draws:
|
||||||
|
|
Loading…
Reference in New Issue