Merge pull request #970 from JohannesPfeifer/fs2000_examples
Cosmetic changes to fs2000 examplestime-shift
commit
e16ed447cd
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* This file replicates the estimation of the cash in advance model described
|
* This file replicates the estimation of the cash in advance model (termed M1
|
||||||
* Frank Schorfheide (2000): "Loss function-based evaluation of DSGE models",
|
* in the paper) described in Frank Schorfheide (2000): "Loss function-based
|
||||||
* Journal of Applied Econometrics, 15(6), 645-670.
|
* evaluation of DSGE models", Journal of Applied Econometrics, 15(6), 645-670.
|
||||||
*
|
*
|
||||||
* The data are in file "fsdat_simul.m", and have been artificially generated.
|
* The data are in file "fsdat_simul.m", and have been artificially generated.
|
||||||
* They are therefore different from the original dataset used by Schorfheide.
|
* They are therefore different from the original dataset used by Schorfheide.
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2004-2010 Dynare Team
|
* Copyright (C) 2004-2015 Dynare Team
|
||||||
*
|
*
|
||||||
* This file is part of Dynare.
|
* This file is part of Dynare.
|
||||||
*
|
*
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2004-2010 Dynare Team
|
* Copyright (C) 2004-2015 Dynare Team
|
||||||
*
|
*
|
||||||
* This file is part of Dynare.
|
* This file is part of Dynare.
|
||||||
*
|
*
|
||||||
|
@ -59,18 +59,27 @@ M-M(-1)+d = l;
|
||||||
y = k(-1)^alp*(A*n)^(1-alp);
|
y = k(-1)^alp*(A*n)^(1-alp);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
initval;
|
steady_state_model;
|
||||||
k = 6;
|
gA = exp(gam);
|
||||||
gM = mst;
|
gst = 1/gA;
|
||||||
P = 2.25;
|
gM = mst;
|
||||||
c = 0.45;
|
khst = ( (1-gst*bet*(1-del)) / (alp*gst^alp*bet) )^(1/(alp-1));
|
||||||
W = 4;
|
xist = ( ((khst*gst)^alp - (1-gst*(1-del))*khst)/mst )^(-1);
|
||||||
R = 1.02;
|
nust = psi*mst^2/( (1-alp)*(1-psi)*bet*gst^alp*khst^alp );
|
||||||
d = 0.85;
|
n = xist/(nust+xist);
|
||||||
n = 0.19;
|
P = xist + nust;
|
||||||
l = 0.86;
|
k = khst*n;
|
||||||
y = 0.6;
|
|
||||||
gA = exp(gam);
|
l = psi*mst*n/( (1-psi)*(1-n) );
|
||||||
|
c = mst/P;
|
||||||
|
d = l - mst + 1;
|
||||||
|
y = k^alp*n^(1-alp)*gst^alp;
|
||||||
|
R = mst/bet;
|
||||||
|
W = l/n;
|
||||||
|
ist = y-c;
|
||||||
|
q = 1 - d;
|
||||||
|
|
||||||
|
e = 1;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
shocks;
|
shocks;
|
||||||
|
|
Loading…
Reference in New Issue