Rank condition not satisfied
Posted: Tue Apr 11, 2017 1:53 pm
Hi,
I'm sorry to be asking this question, because there are so many threads covering this topic, but I'm having a rank condition problem, and having looked through all the threads, I still can't figure out what the problem with my code is.
I have a simple NK mode, without K or wage rigidities. I have a much larger model that I want to work with, but as always advised, started with the simplest form. However even with this the rank condition is not satisfied. The model as it is gives the following error:
There are 5 eigenvalue(s) larger than 1 in modulus
for 5 forward-looking variable(s)
and when I run a model_diagnostics, I get told that Lambda isn't present at current value, which is true, since Lambda only appears as Lambda(+1). But the rank problem doesn't change when I only use Lambda (well now I only have 4 forward-looking vars, but still a rank condition issue).
Lambda is the stochastic discount factor of the HH. I need it as it's needed in my bigger model. But I have also tried to add a lambda in the dynare code which is the lagrangian (so lambda = 1/C), and calculate Lambda from that, or even completely replace Lambda. But none of these solve the problem. I have tried to change the timing of R as well, and again, no avail.
Would greatly appreciate some help.
I'm sorry to be asking this question, because there are so many threads covering this topic, but I'm having a rank condition problem, and having looked through all the threads, I still can't figure out what the problem with my code is.
I have a simple NK mode, without K or wage rigidities. I have a much larger model that I want to work with, but as always advised, started with the simplest form. However even with this the rank condition is not satisfied. The model as it is gives the following error:
There are 5 eigenvalue(s) larger than 1 in modulus
for 5 forward-looking variable(s)
and when I run a model_diagnostics, I get told that Lambda isn't present at current value, which is true, since Lambda only appears as Lambda(+1). But the rank problem doesn't change when I only use Lambda (well now I only have 4 forward-looking vars, but still a rank condition issue).
Lambda is the stochastic discount factor of the HH. I need it as it's needed in my bigger model. But I have also tried to add a lambda in the dynare code which is the lagrangian (so lambda = 1/C), and calculate Lambda from that, or even completely replace Lambda. But none of these solve the problem. I have tried to change the timing of R as well, and again, no avail.
Would greatly appreciate some help.