Debian Codegraph @

tests/deterministic_simulations/ramst_pf_controlled_paths_common.inc

raw
1 var c k y;
2 varexo x e_y;
3
4 parameters alph gam delt bet aa;
5 alph=0.5;
6 gam=0.5;
7 delt=0.02;
8 bet=0.05;
9 aa=0.5;
10
11
12 model;
13 c + k - aa*x*k(-1)^alph - (1-delt)*k(-1);
14 c^(-gam) - (1+bet)^(-1)*(aa*alph*x(+1)*k^(alph-1) + 1 - delt)*c(+1)^(-gam);
15 y = 0.98*y(-1)+e_y;
16 end;
17
18 initval;
19 x = 1;
20 k = ((delt+bet)/(1.0*aa*alph))^(1/(alph-1));
21 c = aa*k^alph-delt*k;
22 y = 0;
23 end;
24
25 steady;
26
27 @#if shocks
28 perfect_foresight_controlled_paths;
29 exogenize c;
30 periods 2 4:5;
31 values 1.6 1.7;
32 endogenize x;
33
34 exogenize k;
35 periods 7:9;
36 values 13;
37 endogenize x;
38
39 exogenize y;
40 periods 2003Y:2005Y;
41 values 0.5;
42 endogenize e_y;
43 end;
44
45 shocks;
46 var x;
47 periods 1;
48 values 1.2;
49 end;
50 @#endif