sur gibbs: add red line at value of beta

time-shift
Houtan Bastani 2017-07-12 18:26:04 +02:00
parent 8c24b5210c
commit e0a6c1b0d8
1 changed files with 2 additions and 0 deletions

View File

@ -145,5 +145,7 @@ for j = 1:length(pnamesall)
M_.params(strmatch(pnamesall{j}, M_.param_names, 'exact')) = oo_.surgibbs.beta(j);
subplot(nrows, ncols, j)
histogram(oo_.surgibbs.betadraws(:, j))
hc = histcounts(oo_.surgibbs.betadraws(:, j));
line([oo_.surgibbs.beta(j) oo_.surgibbs.beta(j)], [min(hc) max(hc)], 'Color', 'red');
title(pnamesall{j}, 'Interpreter', 'none')
end