help with a code
Posted:
Sun Jul 12, 2015 7:58 am
by fda
Is there anybody who can help me please?I am trying to run the code I attach, and I get the following error message:
??? Error using ==> print_info at 36
The generalized Schur (QZ) decomposition failed. For more information, see the documentation for Lapack function dgges:
info=15, n=15
Error in ==> check at 76
print_info(info, options.noprint);
Error in ==> calib1 at 504
oo_.dr.eigval = check(M_,options_,oo_);
Error in ==> dynare at 120
evalin('base',fname) ;
Re: help with a code
Posted:
Sun Jul 12, 2015 8:06 am
by jpfeifer
Fix your model.
- Code: Select all
(po/pd)
in equation 49 is clearly not linear. Similarly, in equation 47 you have
- Code: Select all
pm/pd
.
Re: help with a code
Posted:
Mon Jul 20, 2015 2:28 pm
by fda
Hello,
thanks the problem solve, but now I have another problem with the code.I've got the following error message
??? Error using ==> print_info at 52
One of the eigenvalues is close to 0/0 (the absolute value of numerator and denominator is smaller than 1e-6)
Error in ==> check at 76
print_info(info, options.noprint);
Error in ==> calib1 at 504
oo_.dr.eigval = check(M_,options_,oo_);
Error in ==> dynare at 120
evalin('base',fname) ;
How can I solve the problem?
Thanks
Re: help with a code
Posted:
Tue Jul 21, 2015 9:27 am
by jpfeifer
Run model_diagnostics
- Code: Select all
model_diagnostics(M_,options_,oo_)
to see the collinearity issue
- Code: Select all
ODEL_DIAGNOSTICS: The Jacobian of the static model is singular
MODEL_DIAGNOSTICS: there is 7 colinear relationships between the variables and the equations
Relation 1
Colinear variables:
c
lambada
pc
w
q
pi
rk
m
pcf
mf
e
k
i
y
v
oy
cn
oc
cd
imc
pd
pcn
pm
id
imi
s
t
ta
oi
se
yg
im
o
x
imcf
imif
tbal
yo
gbal
yd
yf
if
re
Relation 2
Colinear variables:
pcf
mf
e
t
ta
oi
se
x
imcf
imif
tbal
yo
gbal
yf
if
re
Relation 3
Colinear variables:
pcf
mf
e
t
ta
oi
se
x
imcf
imif
tbal
yo
gbal
yf
if
re
Relation 4
Colinear variables:
pcf
mf
e
t
ta
oi
se
x
imcf
imif
tbal
yo
gbal
yf
if
re
Relation 5
Colinear variables:
pcf
mf
e
t
ta
oi
se
x
imcf
imif
tbal
yo
gbal
yf
if
re
Relation 6
Colinear variables:
pcf
mf
e
t
ta
oi
se
x
imcf
imif
tbal
yo
gbal
yf
if
re
Relation 7
Colinear variables:
pcf
mf
e
t
ta
oi
se
x
imcf
imif
tbal
yo
gbal
yf
if
re
Relation 1
Colinear equations
32
Relation 2
Colinear equations
1 36 53
Relation 3
Colinear equations
6 11 12 13 16 17 18 30 31 33 34 35 38 39
Relation 4
Colinear equations
6 11 12 13 16 17 18 30 31 33 34 35 38 39
Relation 5
Colinear equations
6 11 12 13 16 17 18 30 31 33 34 35 38 39
Relation 6
Colinear equations
6 11 12 13 16 17 18 30 31 33 34 35 38 39
Relation 7
Colinear equations
6 11 12 13 16 17 18 30 31 33 34 35 38 39
MODEL_DIAGNOSTICS: The presence of a singularity problem typically indicates that there is one
MODEL_DIAGNOSTICS: redundant equation entered in the model block, while another non-redundant equation
MODEL_DIAGNOSTICS: is missing. The problem often derives from Walras Law.