Bug? # eig AND rank satisfied, yet "indeterminacy"

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.

Bug? # eig AND rank satisfied, yet "indeterminacy"

Postby spa » Mon Feb 28, 2011 11:26 pm

Hello,

I'm wondering if anybody else has encountered this problem with Dynare 4.2. I'm getting the following error message and I don't understand why:

Code: Select all
There are 5 eigenvalue(s) larger than 1 in modulus
for 5 forward-looking variable(s)
 
The rank condition is verified.
 
??? Error using ==> print_info at 42
Blanchard Kahn conditions are not satisfied: indeterminacy


I thought satisfying rank AND # unstable eigenvalues == # forward looking variables was necessary and sufficient.

Thank you for your feedback.
spa
 
Posts: 4
Joined: Mon Feb 28, 2011 11:14 pm

Re: Bug? # eig AND rank satisfied, yet "indeterminacy"

Postby jpfeifer » Tue Mar 01, 2011 8:13 am

Could you please post the mod-file.
------------
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: Bug? # eig AND rank satisfied, yet "indeterminacy"

Postby spa » Tue Mar 01, 2011 4:38 pm

Here is the code. It's large (sorry).

The tension stems from the equation where you close the small open economy by making the interest rate dependent on the level of net foreign assets (actually written as debt, d). The parameter you can play with is denoted by Zd. I'm enclosing the output (BK satisfied or not) of different Zd choices. Note that one has to include 2 out of the 3 following equations: 1) GBC (government budget constraint), 2) HHBC (household budget constraint, 3) Tradable sector market clearing condition. The file Understanding_Zd.doc considers two cases: a) GBC + HHBC, b) HHBC + T-clearing.

The error that I mention happens when you have GBC + HHBC and you set Zd high.

Thank you for your feedback!
spa
 
Posts: 4
Joined: Mon Feb 28, 2011 11:14 pm

Re: Bug? # eig AND rank satisfied, yet "indeterminacy"

Postby jpfeifer » Tue Mar 01, 2011 5:16 pm

Even the version that runs has problems as can be seen by "near singularity warning". If this matrix is near singular, the resulting eigenvalues vary a lot and are not reliable. The model then sometimes passes the BK-condition check in the "check;"-command, but afterwards crashes in the stoch_simul-command.

If you run the model and type
Code: Select all
model_diagnostics(M_,options_,oo_)

you see that there are some collinear equations, which might cause the trouble. This might also help you to sort out, which equation to leave out of the model.
------------
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: Bug? # eig AND rank satisfied, yet "indeterminacy"

Postby spa » Tue Mar 01, 2011 5:25 pm

Thank you for the diagnostics tip.

Any idea as to why Dynare sometimes runs even though BK is violated, and why does it claim indeterminacy some other times even though BK is satisfied? Neither of these should happen, right? Particularly the latter one (the first might have to do with RCOND, right?)...
spa
 
Posts: 4
Joined: Mon Feb 28, 2011 11:14 pm

Re: Bug? # eig AND rank satisfied, yet "indeterminacy"

Postby jpfeifer » Tue Mar 01, 2011 5:40 pm

Both has to do with the rcond thing. "check;" and "stoch_simul;" use different ways to compute the eigenvalues to check for determinacy. If the results are inaccurate due to singularity issues, the statements may contradict each other. The problem may go in both ways - as you are experiencing now.
------------
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: Bug? # eig AND rank satisfied, yet "indeterminacy"

Postby spa » Tue Mar 01, 2011 5:56 pm

Thanks again for your prompt feedback. It's been very helpful.
spa
 
Posts: 4
Joined: Mon Feb 28, 2011 11:14 pm


Return to Dynare help

Who is online

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