From e7a983797c2910c72ad1d37b5e8673386f250b2d Mon Sep 17 00:00:00 2001 From: Marco Ratto Date: Fri, 14 Oct 2011 15:48:39 +0200 Subject: [PATCH] fixed call to prior_posterior_statistics --- matlab/dynare_estimation_1.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/dynare_estimation_1.m b/matlab/dynare_estimation_1.m index db69c0919..607b7cfc8 100644 --- a/matlab/dynare_estimation_1.m +++ b/matlab/dynare_estimation_1.m @@ -801,7 +801,7 @@ if (any(bayestopt_.pshape >0 ) && options_.mh_replic) || ... oo_ = compute_moments_varendo('posterior',options_,M_,oo_,var_list_); end if options_.smoother || ~isempty(options_.filter_step_ahead) || options_.forecast - prior_posterior_statistics('posterior',data,gend,data_index,missing_value); + prior_posterior_statistics('posterior',dataset_.data,dataset_.info.ntobs,dataset_.missing.aindex,dataset_.missing.state); end xparam = get_posterior_parameters('mean'); set_all_parameters(xparam);