Blanchard Kahn conditions

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.

Blanchard Kahn conditions

Postby mhkarami » Thu Jul 09, 2015 10:09 am

Dear professor jpfeifer:
When I run pass_through_two_two.mod file in dynare, there is a trouble I don't know how to solve it. The
error information coming up with the following message:
There are 3 eigenvalue(s) larger than 1 in modulus
for 4 forward-looking variable(s)

The rank condition ISN'T verified!


STEADY-STATE RESULTS:

c 0
r 0
pi 0
n 0
w 0
m 0
y 0
a 0
g 0
mc 0
gama_H 0
pi_H 0
pi_F 0
psi_F 0
s 0
q 0
epsilon 0
pistar 0
dc 0
fr 0
gamastar_H 0
pistar_o 0
gamastar_o 0
o 0
gama_F 0
c_F 0
c_H 0
cstar_H 0
ystar 0
Error using print_info (line 45)
Blanchard Kahn conditions are not satisfied:
indeterminacy

Error in stoch_simul (line 98)
print_info(info, options_.noprint,
options_);

Error in pass_through_two_two (line 459)
info = stoch_simul(var_list_);

Error in dynare (line 180)
evalin('base',fname) ;

-----
please guide me
Last edited by mhkarami on Sun Jul 26, 2015 6:48 am, edited 2 times in total.
mhkarami
 
Posts: 10
Joined: Thu Nov 06, 2014 1:09 pm

Re: solving Blanchard Kahn conditions

Postby jpfeifer » Sat Jul 11, 2015 8:13 am

Run model_diagnostics to see that there is still a collinearity issue in your 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: solving Blanchard Kahn conditions

Postby mhkarami » Mon Jul 13, 2015 8:23 am

Dear professor jpfeifer:
Thank you very much for your help!Under the guidance of you, I did it and I received the following message:
>> model_diagnostics(M_,options_,oo_)
model_diagnostic: the Jacobian of the static model is singular
there is 3 colinear relationships between the variables and the equations
Relation 1
Colinear variables:
n
w
y
gama_H
s
q
dc
fr
gamastar_H
gamastar_o
gama_F
c_F
c_H
cstar_H
Relation 2
Colinear variables:
n
w
y
gama_H
s
q
dc
fr
gamastar_H
gamastar_o
gama_F
c_F
c_H
cstar_H
Relation 3
Colinear variables:
n
w
y
gama_H
s
q
dc
fr
gamastar_H
gamastar_o
gama_F
c_F
c_H
cstar_H
Relation 1
Colinear equations
7 10 12 20

Relation 2
Colinear equations
15 18 19

Relation 3
Colinear equations
7 10 12 20

The presence of a singularity problem typically indicates that there is one
redundant equation entered in the model block, while another non-redundant equation
is missing. The problem often derives from Walras Law.
-----

what should I do now, please help me
mhkarami
 
Posts: 10
Joined: Thu Nov 06, 2014 1:09 pm

Re: solving Blanchard Kahn conditions

Postby jpfeifer » Mon Jul 13, 2015 10:32 am

Find the missing and redundant equations and interchange them.
------------
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: solving Blanchard Kahn conditions

Postby mhkarami » Mon Jul 13, 2015 3:24 pm

but I can't find that. I think every thing is ok, but I don't know why I receive this error !! :(
mhkarami
 
Posts: 10
Joined: Thu Nov 06, 2014 1:09 pm

Re: solving Blanchard Kahn conditions

Postby mhkarami » Wed Jul 22, 2015 8:08 am

Dear professor jpfeifer:
I noticed that one of my equations was incorrect and I corrected it (I used positive instead of negative in one of my equations) , after that my Blanchard Kan error disappeared and I could run my code and received outputs. But still when I use the command that u introduced me "model_diagnostics(M_,options_,oo_)" I receive this:
Relation 1
Colinear equations
7 10 12 20

Relation 2
Colinear equations
7 10 12 20

Relation 3
Colinear equations
15 18 19

Relation 4
Colinear equations
29 30

The presence of a singularity problem typically indicates that there is one
redundant equation entered in the model block, while another non-redundant equation
is missing. The problem often derives from Walras Law.
----------------------------------------------------
Do u think my model still has problem or my problem has solved?
Any advice will be appreciated.

Thank you so much!
mhkarami
 
Posts: 10
Joined: Thu Nov 06, 2014 1:09 pm

Re: solving Blanchard Kahn conditions

Postby mhkarami » Sun Jul 26, 2015 4:14 pm

mhkarami wrote:Dear professor jpfeifer:
I noticed that one of my equations was incorrect and I corrected it (I used positive instead of negative in one of my equations) , after that my Blanchard Kan error disappeared and I could run my code and received outputs. But still when I use the command that u introduced me "model_diagnostics(M_,options_,oo_)" I receive this:
Relation 1
Colinear equations
7 10 12 20

Relation 2
Colinear equations
7 10 12 20

Relation 3
Colinear equations
15 18 19

Relation 4
Colinear equations
29 30

The presence of a singularity problem typically indicates that there is one
redundant equation entered in the model block, while another non-redundant equation
is missing. The problem often derives from Walras Law.
----------------------------------------------------
Do u think my model still has problem or my problem has solved?
Any advice will be appreciated.

Thank you so much!
mhkarami
 
Posts: 10
Joined: Thu Nov 06, 2014 1:09 pm

Re: Blanchard Kahn conditions

Postby jpfeifer » Mon Jul 27, 2015 6:45 am

Please provide the updated codes.
------------
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: Blanchard Kahn conditions

Postby mhkarami » Mon Jul 27, 2015 1:33 pm

Dear Johannes,

Thank you for your answer.
I will email them for you
mhkarami
 
Posts: 10
Joined: Thu Nov 06, 2014 1:09 pm

Re: Blanchard Kahn conditions

Postby jpfeifer » Tue Jul 28, 2015 7:05 am

Your model now has a bunch of unit roots that give rise the warning about collinearity. If the unit roots are desired, your model is fine 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: Blanchard Kahn conditions

Postby mhkarami » Tue Jul 28, 2015 7:25 am

Dear Johannes
Thank you so much
Best regards
mhkarami
 
Posts: 10
Joined: Thu Nov 06, 2014 1:09 pm

Re: Blanchard Kahn conditions

Postby rdoctors » Tue Jul 28, 2015 8:53 pm

Hello, I'm new to dynare and I'm having troubles with my model. I'm trying to replicate the SAMBA (2011 version), which is the Brazilian central Bank model. My dynare version is 4.4.3.
It is giving these errors : Blanchard Kahn conditions are not satisfied: indeterminacy

and : There are 22 eigenvalue(s) larger than 1 in modulus
for 28 forward-looking variable(s)

I've used the model_diagnostics(M_,options_,oo_) command but now it is not working. Does someone now why it isn't working? (it just doesn't do it).

Does anyone now how I could solve this problem???

Thank you!!
rdoctors
 
Posts: 9
Joined: Tue Jul 28, 2015 8:43 pm

Re: Blanchard Kahn conditions

Postby jpfeifer » Wed Jul 29, 2015 5:18 am

Given the difference in roots, there seems to be a fundamental timing problem. Check your predetermined states whether you assigned the correct timing. See the manual for details.
------------
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: Blanchard Kahn conditions

Postby rdoctors » Wed Jul 29, 2015 12:29 pm

jpfeifer wrote:Given the difference in roots, there seems to be a fundamental timing problem. Check your predetermined states whether you assigned the correct timing. See the manual for details.



thank you for your reply! But do you have any guesses of why the model_diagnostics(M_,options_,oo_) command is not working?
rdoctors
 
Posts: 9
Joined: Tue Jul 28, 2015 8:43 pm

Re: Blanchard Kahn conditions

Postby jpfeifer » Wed Jul 29, 2015 1:04 pm

What is the error message?
------------
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

Next

Return to Dynare help

Who is online

Users browsing this forum: No registered users and 4 guests

cron