Blanchard Kahn conditions are not satisfied: no stable equil

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 are not satisfied: no stable equil

Postby mayong1982 » Fri Jul 12, 2013 8:48 am

dear all,

i have tried many times of my dynare code, but the following results still show:

Error in computing likelihood for initial parameter values
Error using print_info (line 40)
Blanchard Kahn conditions are not satisfied: no stable equilibrium


i have uploaded my mod file.
Hope someone can help solve the problem.
Thanks a lot.
Attachments
modfile.mod
(4.27 KiB) Downloaded 70 times
mayong1982
 
Posts: 26
Joined: Tue Nov 29, 2011 11:18 am

Re: Blanchard Kahn conditions are not satisfied: no stable e

Postby jpfeifer » Fri Jul 12, 2013 12:26 pm

It's the standard issue. Please provide explicit starting values for estimation. Just use the ones from calibration. Apart from that, there seems to be a problem with your model.
model_diagnostics says

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:
c
s
e
p_star
p_f
p_h
y
yn
Relation 2
Colinear variables:
c
s
e
p_star
p_f
p_h
y
yn
Relation 3
Colinear variables:
c
s
e
p_star
p_f
p_h
y
yn
Relation 1
Colinear equations
1 2 4 7 8 9 12 16 19 20 21 22 23 25

Relation 2
Colinear equations
1 2 4 7 8 9 12 16 19 20 21 22 23 25

Relation 3
Colinear equations
1 2 4 7 8 9 12 16 19 20 21 22 23 25
------------
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 are not satisfied: no stable e

Postby mayong1982 » Mon Jul 22, 2013 8:10 am

jpfeifer wrote:It's the standard issue. Please provide explicit starting values for estimation. Just use the ones from calibration. Apart from that, there seems to be a problem with your model.
model_diagnostics says

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:
c
s
e
p_star
p_f
p_h
y
yn
Relation 2
Colinear variables:
c
s
e
p_star
p_f
p_h
y
yn
Relation 3
Colinear variables:
c
s
e
p_star
p_f
p_h
y
yn
Relation 1
Colinear equations
1 2 4 7 8 9 12 16 19 20 21 22 23 25

Relation 2
Colinear equations
1 2 4 7 8 9 12 16 19 20 21 22 23 25

Relation 3
Colinear equations
1 2 4 7 8 9 12 16 19 20 21 22 23 25





Hi, jpfeifer:

I have changed some of the equations following ur helpful suggestions, but wrong messages still emerge.
after running the dynare code, it says:
Error in computing likelihood for initial parameter values
Attempted to access info(2); index out of bounds because numel(info)=1.

will you please give me some further suggestions? i have attached my dynare code and datafile. thanks a lot.
Attachments
data201208.xls
(25.5 KiB) Downloaded 71 times
mod.mod
(3.83 KiB) Downloaded 81 times
mayong1982
 
Posts: 26
Joined: Tue Nov 29, 2011 11:18 am

Re: Blanchard Kahn conditions are not satisfied: no stable e

Postby jpfeifer » Mon Jul 22, 2013 8:22 am

With the unstable version, it still says

model_diagnostic: the Jacobian of the static model is singular
there is 1 colinear relationships between the variables and the equations
Colinear variables:
e
Colinear equations
1 4 5 6 7 19
------------
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 are not satisfied: no stable e

Postby mayong1982 » Mon Jul 22, 2013 11:34 am

jpfeifer wrote:With the unstable version, it still says

model_diagnostic: the Jacobian of the static model is singular
there is 1 colinear relationships between the variables and the equations
Colinear variables:
e
Colinear equations
1 4 5 6 7 19




dear jpfeifer:

according to ur model diagnostic, i erased the equations that contains variale e. but again, the dynare reported error:

The generalized Schur (QZ) decomposition failed. For more information, see the documentation for Lapack function dgges: info=24, n=22

will you please help me check the model agian?

sorry to trouble you and thanks a lot.
Attachments
mod.mod
(3.8 KiB) Downloaded 78 times
data201208.xls
(25.5 KiB) Downloaded 73 times
mayong1982
 
Posts: 26
Joined: Tue Nov 29, 2011 11:18 am

Re: Blanchard Kahn conditions are not satisfied: no stable e

Postby jpfeifer » Mon Jul 22, 2013 11:44 am

Use
Code: Select all
 model_diagnostics(M_,options_,oo_)


model_diagnostic: the Jacobian of the static model is singular
there is 1 colinear relationships between the variables and the equations
Colinear variables:
pi_star
r_star
Colinear equations
1 4 5 6 18
------------
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 are not satisfied: no stable e

Postby mayong1982 » Mon Jul 22, 2013 12:06 pm

jpfeifer wrote:Use
Code: Select all
 model_diagnostics(M_,options_,oo_)


model_diagnostic: the Jacobian of the static model is singular
there is 1 colinear relationships between the variables and the equations
Colinear variables:
pi_star
r_star
Colinear equations
1 4 5 6 18



thanks very much. when the model equations is complicated, sometimes is hard to detect colinear equations. the command you recommend seems to be very useful to investigate model problems.
thanks again.
mayong1982
 
Posts: 26
Joined: Tue Nov 29, 2011 11:18 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests