beta=0.99;
epsw=10;
epsp=10;
pistar=0;
omega=0.2;
alpha=1/3;
delta=0.025;
chi1=1/beta-1+delta;
chi2=0.01;
b = 0.72;            % habit persistence consumption
phiw=0.43;
phip=0.71;
zetap=0.03;
zetaw=0.38;
eta=1.23;

tau=1.87;
sigma=2;
rhoi=0.79;
rhoa=0.99;
rhog=0.96;
rhoz=0.9;
rhonu=0.97;
phipi=1.35;
phiy=0.32;
sea=0.0074;
sez=0.0091;
seg=0.0038;
sei=0.0013;
senu=0.005;

% steady states
mc_ss=(epsp-1)/epsp;
N_ss=1/3;
K_ss=(mc_ss*alpha/(1/beta-1+delta))^(1/(1-alpha))*N_ss;
psi=((1-beta*b)*(epsp-1)/epsp*(1-alpha)*(K_ss/N_ss)^alpha*(epsw-1)/epsw)...
    /(N_ss^eta*(1-b)*((K_ss/N_ss)^alpha*N_ss*(1-omega)-delta*K_ss));


save parameterfile_large beta epsp epsw pistar omega alpha delta chi1...
    chi2 b phiw phip zetap zetaw eta tau rhoi rhoa rhoz rhog phipi phiy...
    rhonu sea sez seg sei senu psi sigma K_ss N_ss
dynare medscale_est_new noclearall
