diff --git a/matlab/DsgeSmoother.m b/matlab/DsgeSmoother.m index a0a68acc5..e33dec1fe 100644 --- a/matlab/DsgeSmoother.m +++ b/matlab/DsgeSmoother.m @@ -191,7 +191,7 @@ data1 = Y-trend; if any(any(H ~= 0)) % should be replaced by a flag if kalman_algo == 1 [alphahat,epsilonhat,etahat,ahat,P,aK,PK,decomp] = ... - kalman_smoother(ST,Z,R1,Q,H,Pinf,Pstar,data1,nobs,np,smpl); + kalman_smoother(T,R,Q,H,Pstar,data1,start,mf,kalman_tol,riccati_tol); if all(alphahat(:)==0) kalman_algo = 2; if ~estim_params_.ncn diff --git a/matlab/set_prior.m b/matlab/set_prior.m index f64c1e371..1cd0feffb 100644 --- a/matlab/set_prior.m +++ b/matlab/set_prior.m @@ -90,7 +90,7 @@ if nvn bayestopt_.p3 = [ bayestopt_.p3; estim_params_.var_endo(:,8)]; bayestopt_.p4 = [ bayestopt_.p4; estim_params_.var_endo(:,9)]; bayestopt_.jscale = [ bayestopt_.jscale; estim_params_.var_endo(:,10)]; - bayestopt_.name = cellstr(strvcat(char(bayestopt_.name), M_.endo_names(estim_params_.var_endo(:,1),:))); + bayestopt_.name = cellstr(strvcat(char(bayestopt_.name), options_.varobs(estim_params_.var_endo(:,1),:))); end if ncx xparam1 = [xparam1; estim_params_.corrx(:,3)];