Page 1 of 1

Blanchard Kahn conditions are not satisfied: no stable equil

PostPosted: Fri Jul 12, 2013 8:48 am
by mayong1982
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.

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

PostPosted: Fri Jul 12, 2013 12:26 pm
by jpfeifer
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

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

PostPosted: Mon Jul 22, 2013 8:10 am
by mayong1982
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.

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

PostPosted: Mon Jul 22, 2013 8:22 am
by jpfeifer
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

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

PostPosted: Mon Jul 22, 2013 11:34 am
by mayong1982
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.

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

PostPosted: Mon Jul 22, 2013 11:44 am
by jpfeifer
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

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

PostPosted: Mon Jul 22, 2013 12:06 pm
by mayong1982
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.