Please help me about this ERROR!!

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.

Please help me about this ERROR!!

Postby zahra2309 » Sat Jun 01, 2013 9:04 am

Hello every one!
I have a very simple model. It shows these errors when I run it. I cant understand how can I solve it!
These are the errors:

Error in ==> check at 76
print_info(info, options.noprint);

Error in ==> Simple_model at 248
check(M_,options_,oo_);

Error in ==> dynare at 120
evalin('base',fname) ;

could you please help me?
Any help would be appreciated.
I can not attach the file so I write all bellow!
Code: Select all
var  yy_o  yy_T   ii_o  ii_T  cc   aa_o  aa_T   tt  ww_o  ww_T  rr_o  rr_T  ll_o  ll_T  qq   kk_o  kk_T; 
varexo  e_o  e_T  e_oil yy_oil;

parameters  y_oil_bar  y_o_bar  y_T_bar  c_bar  q_bar  t_bar  i_o_bar  i_T_bar  l_o_bar  l_T_bar  k_o_bar  k_T_bar  r_o_bar  r_T_bar  w_o_bar  w_T_bar  a_o_bar  a_T_bar  betaa  b  rho_o  rho_T  rho_oil  alphaa  alpha_o  deltaa  delta_T  thetaa  ethaa  gama_o  gama_T;

betaa   = 0.99;
b       = 1.9 ;
rho_o   = 0.72;
rho_T   = 0.5;
rho_oil = 0.5;
alphaa  = 0.412;
alpha_o = 0.5;
deltaa  = 0.042;
delta_T = 0.5;
ethaa   = 1.003;
thetaa  = 2.95;
gama_o  = 0.5;
gama_T  = 0.1;
y_oil_bar = 1.0791e+004 ;
a_o_bar = 1.2000 ;
a_T_bar = 1.2000 ;
r_o_bar = 2.0640 ;
r_T_bar = 2.0640 ;
w_T_bar = 5.5751e-006 ;
c_bar   = 5.5751e-005 ;
k_T_bar = -2.1376e-009 ;
q_bar   = -555.2767 ;
k_o_bar = 5.7293e-006 ;
y_T_bar = -1.0657e-008 ;
i_T_bar = -4.0276 ;
y_o_bar = -5.3286e-009 ;
l_T_bar = -1.6439e-004 ;
t_bar   = -2.1157e-008 ;
w_o_bar = 2.7876e-005 ;
l_o_bar = 3.7275e-004 ;
i_o_bar = 1.0795e+004 ;

model (linear);

yy_T = aa_T + alphaa * kk_T + (1-alphaa-alpha_o) * ll_T + alpha_o * yy_o ;                         
yy_o = aa_o + thetaa * kk_o + (1-thetaa) * ll_o ;                                                 
aa_o = rho_o * aa_o(-1) + e_o ;                                                                 
aa_T = rho_T * aa_T(-1) + e_T ;                                                               
yy_oil = rho_oil * yy_oil(-1) + e_oil ;                                                   
kk_T = ii_T+kk_o-ii_o ;                                                       
cc   = ww_o ;                                                                                   
cc   = ww_T ;                                                                                 
cc = betaa/ethaa*(rr_o(+1)-(1-deltaa+r_o_bar)*cc(+1))  ;                                       
cc = betaa/ethaa*(rr_T(+1)-(1-deltaa+r_o_bar)*cc(+1)) ;                                         
ww_o = y_o_bar/w_o_bar*(1-thetaa)/l_o_bar*(yy_o-ll_o) ;                                                                                                       
cc = betaa*r_o_bar*c_bar*rr_o(+1)+ betaa*(1-deltaa)*c_bar/ethaa*cc(+1)- betaa*thetaa*y_o_bar*c_bar/k_o_bar*(yy_o(+1)-kk_o(+1));   
cc = betaa/ethaa*(1-deltaa)*cc(+1) ;                                                             
ww_T = y_T_bar/(w_T_bar*l_T_bar)*(1-alphaa-alpha_o)*(yy_T-ll_T) ;                                 
yy_o = 1/y_o_bar*(c_bar*cc + i_o_bar*ii_o + i_T_bar*ii_T + y_oil_bar*yy_oil) ;                     
ii_T = 1/i_T_bar*(w_T_bar*l_T_bar*ww_T*ll_T+w_o_bar*l_o_bar*ww_o*ll_o+y_oil_bar*yy_oil+r_T_bar*k_T_bar*rr_T*kk_T+r_o_bar*k_o_bar*rr_o*kk_o-c_bar*cc-i_o_bar*ii_o-q_bar*qq*(ethaa*t_bar-(1-delta_T)*t_bar)-(q_bar+q_bar*qq)*(ethaa*t_bar*tt(+1)-(1-delta_T)*t_bar*tt)) ;       
yy_T = cc-qq ;                                                                               

end;

steady;

check;

shocks;
var e_o   ;  stderr 0.045;
var e_T   ;  stderr 0.045;
var e_oil ;  stderr 0.045;
% var e_T  e_o  e_oil ;
end;

stoch_simul;
zahra2309
 
Posts: 22
Joined: Sat Feb 23, 2013 10:54 am

Re: Please help me about this ERROR!!

Postby jpfeifer » Sat Jun 01, 2013 1:52 pm

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:
yy_o
yy_T
ii_o
ii_T
tt
ll_o
ll_T
qq
kk_o
kk_T
Relation 2
Colinear variables:
yy_o
yy_T
ii_o
ii_T
tt
ll_o
ll_T
qq
kk_o
kk_T
Relation 3
Colinear variables:
yy_o
yy_T
ii_o
ii_T
tt
ll_o
ll_T
qq
kk_o
kk_T
Relation 1
Colinear equations
1 2 3 4 6 7 8 9 11 12 13 14 15 16 17

Relation 2
Colinear equations
5 9 12 13 18

Relation 3
Colinear equations
5 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: Please help me about this ERROR!!

Postby zahra2309 » Sun Jun 02, 2013 9:40 am

Thank you very much for your fast reply!
But how can I solve this problem?
I am confused about it!
A little bit of clarification is appreciated!
Thank you in advance.
zahra2309
 
Posts: 22
Joined: Sat Feb 23, 2013 10:54 am

Re: Please help me about this ERROR!!

Postby jpfeifer » Mon Jun 03, 2013 6:35 pm

Please search the forum. Often it means that either there is a unit root in your model or you are missing an equation while having a redundant one in the model (usually due to Walras Law)
------------
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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests