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.

modfile.mod (4.27 KB)

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

[quote]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

[/quote]

[quote=“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

[quote]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

[/quote]

[/quote]

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.

data201208.xls (25.5 KB)

mod.mod (3.83 KB)

With the unstable version, it still says

[quote]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

[/quote]

[quote=“jpfeifer”]With the unstable version, it still says

[quote]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

[/quote]

[/quote]

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.

mod.mod (3.8 KB)

data201208.xls (25.5 KB)

Use ` model_diagnostics(M_,options_,oo_)`

[quote]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

[/quote]

[quote=“jpfeifer”]Use ` model_diagnostics(M_,options_,oo_)`

[quote]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

[/quote]

[/quote]

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.