message='The model doesn''t determine the current variable uniquely.';
case2
message=sprintf('The generalized Schur (QZ) decomposition failed. For more information, see the documentation for Lapack function dgges: info=%d, n=%d. You can also run model_diagnostics to get more information on what may cause this problem.',info(2),info(3));
case3
message='Blanchard & Kahn conditions are not satisfied: no stable equilibrium.';
case4
message='Blanchard & Kahn conditions are not satisfied: indeterminacy.';
case5
message='Blanchard & Kahn conditions are not satisfied: indeterminacy due to rank failure.';
case6
message='The Jacobian matrix evaluated at the steady state contains elements that are not real or are infinite.';
message=sprintf('One of the eigenvalues is close to 0/0 (the absolute value of numerator and denominator is smaller than %5.4f!\n If you believe that the model has a unique solution you can try to reduce the value of qz_zero_threshold.',options_.qz_zero_threshold);
message=sprintf('Impossible to find the steady state (the sum of squared residuals of the static equations is %5.4f). Either the model doesn''t have a steady state or there are an infinity of steady states. Check whether your model is truly linear or whether there is a mistake in linearization.',info(2));
message=sprintf('Impossible to find the steady state (the sum of squared residuals of the static equations is %5.4f). Either the model doesn''t have a steady state, there are an infinity of steady states, or the guess values are too far from the solution',info(2));
message=sprintf('The steady state is complex (the sum of square residuals of imaginary parts of the steady state is %5.4f)',info(2));
case22
message='The steady state has NaNs or Inf.';
case23
message='Parameters have been updated in the steadystate routine and some have complex values.';
case24
message='Parameters have been updated in the steadystate routine and some are NaNs or Inf.';
case25
message='The solution to the static equations is not a steady state of the dynamic model: verify that the equations tagged by [static] and [dynamic] are consistent';
case26
message='The loglinearization of the model cannot be performed, because the steady state is not strictly positive.';
case30
message='Ergodic variance can''t be computed.';
case41
message='one (many) parameter(s) do(es) not satisfy the lower bound';
case42
message='one (many) parameter(s) do(es) not satisfy the upper bound';
case43
message='Covariance matrix of structural shocks is not positive definite';
case44%DsgeLikelihood_hh / dsge_likelihood
message='The covariance matrix of the measurement errors is not positive definite.';
case45%DsgeLikelihood_hh / dsge_likelihood
message='Likelihood is not a number (NaN) or a complex number';
case46%DsgeLikelihood_hh / dsge_likelihood
message='Likelihood is a complex number';
case47%DsgeLikelihood_hh / dsge_likelihood
message='Prior density is not a number (NaN)';
case48%DsgeLikelihood_hh / dsge_likelihood
message='Prior density is a complex number';
case49
message='The model violates one (many) endogenous prior restriction(s)';
case50
message='Likelihood is Inf';
case51
message=sprintf('\n The dsge_prior_weight is dsge_var=%5.4f, but must be at least %5.4f for the prior to be proper.\n You are estimating a DSGE-VAR model, but the value of the dsge prior weight is too low!',info(2),info(3));
case52%dsge_var_likelihood
message='You are estimating a DSGE-VAR model, but the implied covariance matrix of the VAR''s innovations, based on artificial and actual sample is not positive definite!';
case53%dsge_var_likelihood
message='You are estimating a DSGE-VAR model, but the implied covariance matrix of the VAR''s innovations, based on the artificial sample, is not positive definite!';
case55
message='Fast Kalman filter only works with stationary models [lik_init=1] or stationary observables for non-stationary models [lik_init=3]';
case61%Discretionary policy
message='Discretionary policy: maximum number of iterations has been reached. Procedure failed.';
case62
message='Discretionary policy: some eigenvalues greater than options_.qz_criterium. Model potentially unstable.';
case63
message='Discretionary policy: NaN elements are present in the solution. Procedure failed.';
case64
message='discretionary_policy: the derivatives of the objective function contain NaN.';
message='discretionary_policy: the model must be written in deviation form and not have constant terms or an analytical steady state meeds to be provided.';
message='Particle Filter: Initial covariance of the states based on simulation resulted in NaN/Inf. Use pruning or try a different nonlinear_filter_initialization';