From 5efb7a7ddfecab1d8015723d0a40d9acd4aa7af2 Mon Sep 17 00:00:00 2001 From: George Perendia Date: Fri, 19 Mar 2010 19:17:38 +0000 Subject: [PATCH] added clause in dynare_estimation_1.m to avoid use of kalman smoother and diagnostics if options_.partial_information == 1 --- 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 155c791be..d73febdc1 100644 --- a/matlab/dynare_estimation_1.m +++ b/matlab/dynare_estimation_1.m @@ -1085,7 +1085,7 @@ end if (~((any(bayestopt_.pshape > 0) & options_.mh_replic) | (any(bayestopt_.pshape ... > 0) & options_.load_mh_file)) ... - | ~options_.smoother ) & M_.endo_nbr^2*gend < 1e7 % to be fixed + | ~options_.smoother ) & M_.endo_nbr^2*gend < 1e7 & options_.partial_information == 0 % to be fixed %% ML estimation, or posterior mode without metropolis-hastings or metropolis without bayesian smooth variable [atT,innov,measurement_error,updated_variables,ys,trend_coeff,aK,T,R,P,PK,d,decomp] = DsgeSmoother(xparam1,gend,data,data_index,missing_value); oo_.Smoother.SteadyState = ys;