added clause in dynare_estimation_1.m to avoid use of kalman smoother and diagnostics if options_.partial_information == 1

time-shift
George Perendia 2010-03-19 19:17:38 +00:00
parent 41343575a7
commit 5efb7a7ddf
1 changed files with 1 additions and 1 deletions

View File

@ -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;