From 96a46622af0e0e7956319f8066538015c638f1c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Thu, 12 Sep 2013 11:58:25 +0200 Subject: [PATCH] Added prior mode and hyperparameters in oo_.prior structure.. --- matlab/dynare_estimation_init.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/matlab/dynare_estimation_init.m b/matlab/dynare_estimation_init.m index ae66acca1..68366aa5a 100644 --- a/matlab/dynare_estimation_init.m +++ b/matlab/dynare_estimation_init.m @@ -292,7 +292,10 @@ end % storing prior parameters in results oo_.prior.mean = bayestopt_.p1; +oo_.prior.mode = bayestopt_.p5; oo_.prior.variance = diag(bayestopt_.p2.^2); +oo_.prior.hyperparameters.first = bayestopt_.p6; +oo_.prior.hyperparameters.second = bayestopt_.p7; % Is there a linear trend in the measurement equation? if ~isfield(options_,'trend_coeffs') % No!