I want to lag the model so that it becomes entirely backward looking and get rid of the rational expectations, then solve it as deterministic. So that:
x_t = F()*x_{t-1} ... etc
However, If I lag every variable those in the vector n_t will appear only in lagged terms. To avoid this I simply redefine n_{t-1} = n_l and lag only the variables in x.
Prior the lagging the model works, but afterwards gives this error:
- Code: Select all
Warning: Matrix is singular to working precision.
Error using eig
Input to EIG must not contain NaN or Inf.
and some other errors that follow from the latter.
Do you know if what I am doing is possible and if I do it in the right way? Also how can I get a more descriptive error that leads me to the problem?