I have a big problem. I coded a model incorporating :
- a financial accelerator
- a bank capital channel
- public capital in production function
- public investment related to oil revenues
- petroleum sector.
The deterministic simulation of the model give a solution.
But, i cannot do stochastic simulation. the error message tells :
“Warning: Matrix is singular to working precision.
Error using eig
Input matrix contains NaN or Inf.”
How can i overcome this issues ?