From 31f8d61586999e2f59c197efcb4ead9e278992e0 Mon Sep 17 00:00:00 2001 From: Michel Juillard Date: Tue, 10 May 2016 15:54:11 +0200 Subject: [PATCH] make estimation honor steady state nocheck option --- matlab/dynare_estimation_init.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/dynare_estimation_init.m b/matlab/dynare_estimation_init.m index c7d32065c..3c23e3443 100644 --- a/matlab/dynare_estimation_init.m +++ b/matlab/dynare_estimation_init.m @@ -484,7 +484,7 @@ if options_.analytic_derivation, M=M_; M.params(estim_params_.param_vals(:,1)) = xparam1(estim_params_.nvx+estim_params_.ncx+estim_params_.nvn+estim_params_.ncn+1:end); %set parameters M.params(estim_params_.param_vals(:,1)) = M.params(estim_params_.param_vals(:,1))*1.01; %vary parameters - if options_.diffuse_filter + if options_.diffuse_filter || options_.steadystate.nocheck steadystate_check_flag = 0; else steadystate_check_flag = 1; @@ -528,7 +528,7 @@ if ~isempty(dataset_) options_.first_obs=double(dataset_.init); end % setting steadystate_check_flag option -if options_.diffuse_filter +if options_.diffuse_filter || options_.steadystate.nocheck steadystate_check_flag = 0; else steadystate_check_flag = 1;