collateral_para.mat (2.6 KB)
longrunpro.mod (5.3 KB)
I am trying to introduce financial frictions in the form of collateral constraint into the long-run productivity risk model (Croce · 2014, JME, Long-run productivity risk: A new hope for production-based asset pricing?). My Dynare code (see the longrunpro.mod attached) can compute the steady state, but it reports the BK condition problem:
*There are 5 eigenvalue(s) larger than 1 in modulus *
for 4 forward-looking variable(s)
The rank condition ISN’T verified!
dynare:k_order_perturbation: Caught Kord exception: NaN or Inf asserted in first order derivatives in FirstOrder::solve
I have checked the timing of equations very carefully, but I still can not find the problem. I attached my Dynare code (longrunpro.mod) and parameter file collateral_para.mat here.
Can anyone help me check what is wrong with my code?
Many thanks