# Numerical initial values or parameters incompatible

**URL:** <https://forum.dynare.org/t/numerical-initial-values-or-parameters-incompatible/5871>\
**Category:** Dynare help (legacy posts)\
**Created:** [13 November 2016 10:47 UTC](https://forum.dynare.org/t/numerical-initial-values-or-parameters-incompatible/5871 "2016-11-13T10:47:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhanggaoxun](https://forum.dynare.org/letter_avatar_proxy/v4/letter/z/b3f665/32.png) [@zhanggaoxun](https://forum.dynare.org/u/zhanggaoxun)\
**Post date:** [13 November 2016 10:47 UTC](https://forum.dynare.org/t/numerical-initial-values-or-parameters-incompatible/5871/1 "2016-11-13T10:47:57Z")

</div>

Dear jpfeifer,  
Can you help me with this? I am a green hand in Dynare. I have some problems when I run mu Dynare-file in Matlab:  
My mod file is attached, please!  
The error is:  
STEADY: numerical initial values or parameters incompatible with the following equations  
Columns 1 through 18  
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18  
Columns 19 through 36  
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36  
Columns 37 through 43  
37 38 39 40 41 42 43  
Check whether your model in truly linear  
Error in computing likelihood for initial parameter values  
ESTIMATION\_CHECKS: There was an error in computing the likelihood for initial parameter values.  
ESTIMATION\_CHECKS: You should try using the calibrated version of the model as starting values. To do  
ESTIMATION\_CHECKS: this, add an empty estimated\_params\_init-block with use\_calibration option immediately before the estimation  
ESTIMATION\_CHECKS: command (and after the estimated\_params-block so that it does not get overwritten):

Error using print\_info (line 80)  
The steady state contains NaN or Inf  
Error in print\_info (line 80)  
error(‘The steady state contains NaN or Inf’)  
Error in initial\_estimation\_checks (line 69)  
print\_info(info, DynareOptions.noprint, DynareOptions)  
Error in dynare\_estimation\_1 (line 179)  
oo\_ =  
initial\_estimation\_checks(objective\_function,xparam1,dataset\_,M\_,estim\_params\_,options\_,bayestopt\_,oo\_);  
Error in dynare\_estimation (line 89)  
dynare\_estimation\_1(var\_list,dname);  
Error in usmodel\_shock\_decomp (line 516)  
dynare\_estimation(var\_list\_);  
Error in dynare (line 180)  
evalin(‘base’,fname) ;

Kindly advice me what does this mean and how to improve my knowledge of dynare.  
Thanks  
Regard  
Gaoxun Zhang  
[usmodel\_shock\_decomp\_mode.zip](https://forum.dynare.org/uploads/default/original/2X/e/e22e46d9ca4395d36c89e1a7e94fd555e9880b70.zip) (14.3 KB)

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [13 November 2016 15:19 UTC](https://forum.dynare.org/t/numerical-initial-values-or-parameters-incompatible/5871/2 "2016-11-13T15:19:12Z")

</div>

What did you change compared to the files at [github.com/JohannesPfeifer/DSGE\_mod/tree/master/Smets\_Wouters\_2007](https://github.com/JohannesPfeifer/DSGE_mod/tree/master/Smets_Wouters_2007) ?
