Commit c5b8c596 authored by adjemian's avatar adjemian
Browse files

do not compute the marginal density (harmonic mean estimator) when mh_replic =...

do not compute the marginal density (harmonic mean estimator) when mh_replic = 0 and load_mh_file = 1

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1156 ac1d8469-bf42-47a9-8791-bf33cf982152
parent a4670516
......@@ -863,7 +863,9 @@ if (any(bayestopt_.pshape >0 ) & options_.mh_replic) | ...
%% Here i discard first half of the draws:
CutSample;
%% Estimation of the marginal density from the Mh draws:
marginal = marginal_density;
if options_.mh_replic
marginal = marginal_density;
end
%%
GetPosteriorParametersStatistics;
PlotPosteriorDistributions;
......
Supports Markdown
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