Error:Rank Condition is not satisfied.

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.

Error:Rank Condition is not satisfied.

Postby sirene » Wed Aug 21, 2013 11:34 am

Dear all,
I have written the codes, but dynare gives the following error.Could you help me how I should modify the model, or what should I do?I also attach the mod file.If you look, I would be grateful.
Thank you very much in advance,
Sincerely,


There are 5 eigenvalue(s) larger than 1 in modulus
for 4 forward-looking variable(s)

The rank conditions ISN'T verified!

??? Error using ==> print_info at 40
Blanchard Kahn conditions are not satisfied: no stable equilibrium

Error in ==> stoch_simul at 81
print_info(info, options_.noprint);

Error in ==> mn2 at 177
info = stoch_simul(var_list_);

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

mod file:


var c R p k y re L S I ez eg ;
varexo ug uz ;
parameters alpha beta sigma delta lambda rho_g rho_z tao_inf tao_y tao_L si ci sis tax sigma_ug sigma_uz ;


alpha=0.3;
beta=0.99;
delta=0.02;
lambda=0.3;
sigma=2;

rho_g =0.7;
rho_z =0.7;

tao_inf=1.5;
tao_y=0.25;
tao_L=2;

si=0.3;
ci=0.6;
sis=0.1;

tax=0.08;

sigma_ug=0.38;
sigma_uz=1;



model(linear);

c=(c(+1))-(1/(sigma))*(R-(p(+1)));
R=(1-beta*(1-delta))*((sigma)*(c(+1))+(1/1-alpha)*(y(+1)-(k)+ p(+1)));
p=beta*(p(+1))+lambda*((sigma)*c-(alpha/1-alpha)*(k(-1)-y))+ez;
k(-1)=si*I(-1)+(1-delta)*k(-2);
I(-1)=L;
y= ci*c+si*I+tax*sis*S;
S=I/(1-tax);
R=re+tao_inf *p+tao_y*y+tao_L*(L(+1)-L);
re=R-p(+1);
ez=rho_z*ez(-1)+uz;
eg=rho_g*eg(-1)+ug;
END;



steady ;
check;

shocks;
var uz=(sigma_uz)^2;
end;


stoch_simul(order=1,irf=20);
Attachments
mn2.mod
(872 Bytes) Downloaded 65 times
sirene
 
Posts: 14
Joined: Fri Jul 19, 2013 1:16 pm

Re: Error:Rank Condition is not satisfied.

Postby fabiover » Wed Aug 21, 2013 1:24 pm

Hi,

replace the capital accumulation equation with this one

k=si*I+(1-delta)*k(-1);

it should work
Fabio Verona
Research Economist
Monetary Policy and Research Department
BANK OF FINLAND
Snellmaninaukio, Helsinki
PO Box 160, FI-00101 HELSINKI, FINLAND
phone +358 10 831 2464
www.bof.fi
http://fabioverona.rvsteam.net/
fabiover
 
Posts: 9
Joined: Wed Sep 26, 2012 10:10 am
Location: Helsinki

Re: Error:Rank Condition is not satisfied.

Postby sirene » Thu Aug 22, 2013 3:09 pm

it works! thank you very much!
Sincerely,
sirene
 
Posts: 14
Joined: Fri Jul 19, 2013 1:16 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests