Help with RANK Condition not being satisfied

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Help with RANK Condition not being satisfied

Postby Nice » Tue Jan 26, 2016 11:25 pm

Hello,

I am getting the following error:

There are 4 eigenvalue(s) larger than 1 in modulus
for 5 forward-looking variable(s)

The rank condition ISN'T verified!

Error using print_info (line 45)
Blanchard Kahn conditions are not satisfied: indeterminacy
Error in stoch_simul (line 92)
print_info(info, options_.noprint, options_);
Error in liq_b (line 456)
info = stoch_simul(var_list_);
Error in dynare (line 223)
evalin('base',fname) ;

I have tried using Model_diagnostics but it cannot identify any problems with the .mod file

I have a feeling the problem could be with equation 8 and 9 as they can be collapsed into one equation but then I am not sure which endogenous variable to eliminate. Could someone kindly provide some guidance.

Many Thanks!
Attachments
liq_b.mod
(7.23 KiB) Downloaded 72 times
Nice
 
Posts: 31
Joined: Fri Jul 11, 2014 5:16 pm

Re: Help with RANK Condition not being satisfied

Postby jpfeifer » Fri Jan 29, 2016 8:53 am

That is generally hard to tell. Most probably there is still a timing problem or a problem with the parameterization. I would recommend simplifying the model by adding lump sum taxation to balance the budget and see whether it runs. Only then add the financing rules. This assures that it is not a matter of the parameterization of the fiscal rules.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Help with RANK Condition not being satisfied

Postby Nice » Sat Jan 30, 2016 9:40 pm

Thank you Jpfeifer!
Nice
 
Posts: 31
Joined: Fri Jul 11, 2014 5:16 pm

Re: Help with RANK Condition not being satisfied

Postby hassen » Mon Feb 01, 2016 2:52 pm

dear all
i have the same problem.
could anyone help me
please
this is the model
Attachments
hassen.mod
(3.55 KiB) Downloaded 55 times
hassen
 
Posts: 2
Joined: Sat Jan 30, 2016 6:41 pm

Re: Help with RANK Condition not being satisfied

Postby jpfeifer » Tue Feb 02, 2016 8:20 am

Dear hassen, please check the timing of all of your equations. It is most probably a timing error.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Help with RANK Condition not being satisfied

Postby dynare16 » Tue Feb 02, 2016 2:57 pm

Hello,

I also have the same message error when running my code.

I checked the timing of my variables many times and cannot see where the problem comes from.

As I have one more forward-looking variables in comparison with the number of explosive eigenvalues, I changed the timing of the risk-free rate that I have in my model such that it is no longer predetermined, and then the model is running.

But in my view this does not make sense economically, as the risk-free rate is a predetermined variable, so it should be written in Dynare in t when received in t+1, right ? But then, the Blanchard-Kahn conditions are not satisfied.

Could it be that in my model, default on risk-free bonds can occur ex-post, even though I didn't explicitly allow for default ?

Thanks a lot
dynare16
 
Posts: 44
Joined: Tue Feb 02, 2016 2:47 pm

Re: Help with RANK Condition not being satisfied

Postby jpfeifer » Tue Feb 02, 2016 3:10 pm

@dynare16 Without the equations, it is hard to tell what you are talking about. But in most models the risk-free rate between time t and t+1 is not predetermined. The reason is that at time t the shocks first realize and only then the interest rate is chosen. This implies that the risk-free rate is chosen at time t, making it a regular jump variable.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Help with RANK Condition not being satisfied

Postby hassen » Tue Feb 02, 2016 3:35 pm

thank u so much jpfeifer
i'll check
hassen
 
Posts: 2
Joined: Sat Jan 30, 2016 6:41 pm

Re: Help with RANK Condition not being satisfied

Postby dynare16 » Tue Feb 02, 2016 3:38 pm

Thanks for your answer !

Here is my mod file.
Attachments
dynare16.mod
(1.79 KiB) Downloaded 74 times
dynare16
 
Posts: 44
Joined: Tue Feb 02, 2016 2:47 pm

Re: Help with RANK Condition not being satisfied

Postby jpfeifer » Tue Feb 02, 2016 3:52 pm

The file runs and looks sensible, so what it the problem?
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Help with RANK Condition not being satisfied

Postby dynare16 » Tue Feb 02, 2016 3:59 pm

The code is running because the risk-free rate is not predetermined here. When it is predetermined, Blanchard-Kahn conditions are not satisfied. So I just want to make sure that a non-predetermined risk-free rate is consistent in my model.

Thanks
dynare16
 
Posts: 44
Joined: Tue Feb 02, 2016 2:47 pm

Re: Help with RANK Condition not being satisfied

Postby jpfeifer » Tue Feb 02, 2016 4:13 pm

Now I see what you mean with predetermined risk-free rate. Indeed your timing for the risk-free rate in the model looks wrong.
The underlying reason why the wrong timing makes the model run might be the same as in http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=3564
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Help with RANK Condition not being satisfied

Postby dynare16 » Tue Feb 02, 2016 9:04 pm

Thanks for your help !

Then what should I conclude ? The risk-free rate which is paid in period t should be written r(-1) in Dynare, right ? And then the problem with the Blanchard Kahn conditions comes from another variable ? But I can't see which one.
dynare16
 
Posts: 44
Joined: Tue Feb 02, 2016 2:47 pm

Re: Help with RANK Condition not being satisfied

Postby jpfeifer » Thu Feb 04, 2016 7:43 am

Yes, the risk-free rate which is paid in period t should be written r(-1).
Please follow the above link I gave you and check it out, because I think your problem is related to one stock (debt) that is predetermined being split up within the period for two uses. In this case, the latter are not predetermined anymore.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Help with RANK Condition not being satisfied

Postby dynare16 » Thu Feb 04, 2016 8:58 am

It seems to me that the stock of debt is not predetermined : in period t, households demand debt, firms demand debt and market clears, and both sectors use that debt to fund projects in period t already. And then the risk-free rate is paid in period t on debt borrowed in period t-1 but it is already determined in period t-1 at the time market clears. Am I wrong ?

In the model, I used one variable for households' demand for debt, one variable for firms' demand but only one variable for debt supply from patient households. Is this wrong ? I considered that, as both debts are riskless, they are bought on a unique market with a unique borrowing rate. Maybe I should use two distinct variables for debt supply from patient households : one for firms and the other one for impatient households, and then two market-clearing conditions ?

Thanks !
dynare16
 
Posts: 44
Joined: Tue Feb 02, 2016 2:47 pm

Next

Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 12 guests