var a b y wA wB c k kG I IG l lA lB m n i w r;
//
varexo epsm epsn epsi;
//-----------------------------------------------
// 2. Declaration of Parameters
//-----------------------------------------------
parameters
tauK
tauL
G
chi
beta
alphaA
betaA
alphaB
betaB
gamma
theta
delta
deltag
rhom
rhon
rhoi
sigmam
sigman
sigmai;
//-----------------------------------------------
// 3. Parameter Calibration
//-----------------------------------------------
tauK=0.8;
tauL=0.8;
G = 0.1;
beta = 0.9992;
alphaA = 0.21;
betaA = 0.79;
alphaB =0.31;
betaB =0.42;
gamma =0.27;
theta=0.5;
delta = 0.5;
deltag=0.05;
rhom = 0.9;
rhon =0.9;
//rhog = 0.9;
rhoi=0.9;
chi = 0.5;
sigmam = 0.001;
sigman = 0.001;
sigmai=0.001;
// parameters used for initial value calculation
//-----------------------------------------------
// 4. The MODEL
//-----------------------------------------------
model;
(1/(c)) = beta*(1/(c(+1)))*(1+(1-tauK)*r-delta);
//c = (1-tauL)*w*l +(1-tauK)*r*k-I;
chi*(c)/(1-l) = (1-tauL)*w;
a = exp(m)*(kG^alphaA)*(lA^betaA);
b = exp(n)*(k^alphaB)*(lB^betaB);
y = (theta*b^gamma+(1-theta)*a^gamma)^(1/gamma);
y=c+I+IG+G;
c+I+IG+G =(theta*b^gamma+(1-theta)*a^gamma)^(1/gamma);
l =lA+lB;
I = k(+1)-(1-delta)*k;
IG = k(+1)-(1-deltag)*k;
wA*lA = betaA*a;
wB*lB = betaB*b;
w*l= wA*lA+wB*lB;
r*k= alphaB*b;
G + exp(i)*IG = w*tauL*l + r*tauK*k;
错误使用 print_info (line 74)
Impossible to find the steady state. Either the model doesn't have a steady state, there are an infinity of steady states, or
the guess values are too far from the solution