diff --git a/tests/kalman/likelihood_from_dynare/fs2000_estimation_check.inc b/tests/kalman/likelihood_from_dynare/fs2000_estimation_check.inc index c6a04069527e4c60977d154de83611266cf5a6ab..0cef5554bbed891cf1dcf671da6efcd9d53aaa09 100644 --- a/tests/kalman/likelihood_from_dynare/fs2000_estimation_check.inc +++ b/tests/kalman/likelihood_from_dynare/fs2000_estimation_check.inc @@ -1,6 +1,6 @@ %%default options_.lik_init=1; -estimation(kalman_algo=0,mode_compute=8,order=1,datafile=@{data_file_name},smoother,filter_decomposition,forecast = 8,filtered_vars,filter_step_ahead=[1,3],irf=20) m P c e W R k d y gy_obs; +estimation(kalman_algo=0,mode_compute=4,order=1,datafile=@{data_file_name},smoother,filter_decomposition,forecast = 8,filtered_vars,filter_step_ahead=[1,3],irf=20) m P c e W R k d y gy_obs; fval_algo_0=oo_.likelihood_at_initial_parameters; %%Multivariate Kalman Filter options_.lik_init=1; @@ -52,15 +52,15 @@ SmoothedShocks(:,:,6)=cell2mat(struct2cell(oo_.SmoothedShocks)); SmoothedVariables(:,:,6)=cell2mat(struct2cell(oo_.SmoothedVariables)); -if max(max(abs(SmoothedMeasurementErrors-repmat(SmoothedMeasurementErrors(:,:,1),[1,1,6]))))>1e-8 +if max(max(abs(SmoothedMeasurementErrors-repmat(SmoothedMeasurementErrors(:,:,1),[1,1,6]))))>1e-6 error('SmoothedMeasurementErrors do not match') end -if max(max(abs(SmoothedShocks-repmat(SmoothedShocks(:,:,1),[1,1,6]))))>1e-8 +if max(max(abs(SmoothedShocks-repmat(SmoothedShocks(:,:,1),[1,1,6]))))>1e-6 error('SmoothedShocks do not match') end -if max(max(abs(SmoothedVariables-repmat(SmoothedVariables(:,:,1),[1,1,6]))))>1e-8 +if max(max(abs(SmoothedVariables-repmat(SmoothedVariables(:,:,1),[1,1,6]))))>1e-6 error('SmoothedVariables do not match') end