message='Particle Filter: Initial covariance of the states is not positive definite. Try a different nonlinear_filter_initialization';
case202
message='Particle Filter: Initial covariance of the states based on simulation resulted in NaN/Inf. Use pruning or try a different nonlinear_filter_initialization';
otherwise
message='This case shouldn''t happen. Contact the authors of Dynare';
@@ -235,9 +235,9 @@ if ~isequal(DynareOptions.mode_compute,11) || ...
fprintf('initial_estimation_checks:: If you think the latter is the case, you should try with different initial values for the estimated parameters.\n')
error('initial_estimation_checks:: The forecast error variance in the multivariate Kalman filter became singular.')
end
ifinfo(1)==201
fprintf('initial_estimation_checks:: Initial covariance of the states is not positive definite. Try a different nonlinear_filter_initialization.\n')
error('initial_estimation_checks:: Initial covariance of the states is not positive definite. Try a different nonlinear_filter_initialization.')