Dear all professors,

When I run cash-in-advance model, I met following problems:

Warning: Some of the parameters have no value… Error using print_info (line 32) The steady state has NaNs or Inf.

I define the parameter definitions in a sequential way and residual is zero. Could anyone help me out? CIA.mod (2.5 KB)

clear

paibar

Thank you professor! CIA.mod (2.4 KB) Now I modified paibar = gbar which exclude zero. But dynare tell me that BK condition is not satisfied. Is there something wrong with my calibration?

I found the solution. I should write p-p(-1) = pai-g; rather than p(+1)-p = pai(+1)-g(+1)