Hi, Please how do i rectify the following error?
Error:kk1.mod 5.1-2: syntax error, unexpected name
Thanks.
Below are the details of my work the attachment is not going through
var c, io, im, is, yo, ym, ys,yod, ymd,yoex, ymex, yom, yos, y, ymva, ysva, z, ko, km, ks, l, lo, lm, ls, b, k, Wo, Wm, Ws, wo, wm, ws, qo, qm, qs, Po, Ps, ps, PO, pi, pi_s, s, e, R, mcs;
varexo pof, O, Rf, yof, pi_f;
parameters alpha_m, beta_m, theta_m, alpha_o, beta_o, theta_o, alpha_s, beta_s, theta_s, alpha_lo, alpha_lm, alpha_ls, nu, eta, gamma, rho, delta, psi_o, psi_m, psi_s, tau, mu_e, mu_pi, omega_m, phi_m;
rho=0.99
nu=2
eta=1
gamma=3
delta=0.025
alpha_o=0.31
beta_o=0.24
theta_o=0.45
alpha_m=0.33;
beta_m=0.57;
theta_m=0.1;
alpha_s=0.23;
beta_s=0.52;
theta_s=0.25;
phi_m=6;
alpha_lm=0.13;
alpha_lo=0.36;
alpha_ls=0.51;
psi=0.75;
tau=0.8;
omega_m=8;
mu_pi=1.101;
mu_e=1.023;
model;
c^(-nu)=c(+1)^(-nu)*(1+R);
l^eta=W;
(1+delta)*c^(-nu)=c(-1)^(-nu);
(M/p)^(gamma-1)=-c(+1)^(-nu)*R;
I=k*(+1)+(1-delta)*k;
l=lo^(alpha_lo)*lm^(alpha_lm)*ls^(alpha_ls);
w(+1)=((1-psi)*(pi)+(psi)*pi(-1))w;
ps(+1)=((1-psi)*(pi)+(psi)*pi(-1))ps;
yo=ko^(alpha_o)*lo^(beta_o)*O^(theta_o);
qo=(alpha_o)*s*pof*(yo/ko);
wo=(beta_o)*s*pof*(yo/lo);
PO=(theta_o)*s*pof*(yo/Oo);
Ys=ks^(alpha_s)*ls^(beta_s)*yos^(theta_s);
qs=(alpha_s)*mcs*(ys/ks);
ws=(beta_s)*mcs*(ys/ls);
po=(theta_s)*mcs*(ys/ yos^(theta_s);
ym=km^(alpha_m)*lm^(beta_m)*yom^(theta_m);
qm=(alpha_m)*s*pm*(ym/km);
wm=(beta_m)*s*pm*(ym/lm);
po=(theta_m)*s*pm(ym/ yom^(theta_m);
ymd=xm*(pm/p)^(-tau)*z;
yst=xs*(ps/p)^(-tau)*z;
z=c+io+im+is;
exp(R)=(mu_pi)*exp(pi)+(mu_e)*exp(e);
po*yod+s*pof*yoex+T=s*pof*yoi+wo*lo+qo*ko+PO*O;
b=b(-1);
ymex=phi_m(epm/pf)^(-omega_m)*ymf ;
y=pm*ymva+ps*ysva+spof*yo ;
end;
initval;
c=0.8;
io=2;
im=1;
is=1;
yo=2.3;
ym=1.2;
ys=1.0;
yod=1;
ymd=0;
yoex=0;
ymex=0;
yom=0;
yos=0;
y=1.089735624;
ymva=0;
ysva=0;
z=0;
ko=3;
km=2;
ks=2;
l=2;
lo=1;
lm=0;
ls=1;
b=0;
k=6;
Wo=2;
Wm=0;
Ws=0;
wo=0;
wm=0;
ws=0;
qo=1;
qm=0;
qs=1;
po=0;
ps=0;
PO=2;
pi=0;
pi_s=0;
s=0;
e=0;
R=0;
mcs=0;
end;
shocks;
var pof; stderr 0.1975;
var O; stderr 0.2089;
var Rf; stderr 0.1693;
var yof; stderr 0.0104;
var pi_f; stderr 0.1999;
end;
steady;
stoch_simul(periods=40);