Numerical initial values incompatible with the following equ

HI everybody

I am having some difficulties solving my model, The wrong information as follows:

Configuring Dynare …
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.

Starting Dynare …
Starting preprocessing of the model file …
33 equation(s) found
Processing derivation …
Processing Order 1… done
Processing Order 2… done
Processing outputs …
Preprocessing completed.
Starting Matlab computing …

STEADY: numerical initial values incompatible with the following equations
3 4 5 6 7 12 13 17 18 19 20

??? Error using ==> dynare_solve at 82
exiting …

Error in ==> steady_ at 69
[oo_.steady_state,check] = dynare_solve([M_.fname ‘_static’],…

Error in ==> steady at 52
steady_;

Error in ==> huilv_faml at 301
steady;

Error in ==> dynare at 102
evalin(‘base’,fname) ;

thank you so much.

yshguo
huilv_faml.mod (2.45 KB)

Hi,

if you add the instruction “resid(1);” just before the instruction “steady;” you’ll see that some NaN appear, usually mean you didn’t declare a parameter or assign a value to one/some of them. To show this, type in the command window “M_.params” (vector of parameters’ values) and M_.param_names (vector of parameters’ names associated). In your case, you’ll see that you didn’t assign a value to some parameters (for instance “theta”) or declare them in the block “parameters”…

Hope this helps,

Best