tests/stochastic_purely_forward/stochastic_purely_forward_with_static.mod
raw| 1 | var a b; |
| 2 | varexo epsil ; |
| 3 | parameters betta; |
| 4 | betta = 0.97; |
| 5 | |
| 6 | model; |
| 7 | a = betta*a(+1)+epsil; |
| 8 | b = a; |
| 9 | end; |
| 10 | |
| 11 | initval; |
| 12 | a=0; |
| 13 | end; |
| 14 | steady; |
| 15 | |
| 16 | shocks; |
| 17 | var epsil; stderr .2; |
| 18 | end; |
| 19 | |
| 20 | steady; |
| 21 | check; |
| 22 | |
| 23 | stoch_simul(periods=0, irf=30, order=1); |
| 24 | stoch_simul(periods=2000, irf=30, order=1); |
| 25 | |
| 26 | stoch_simul(periods=0, irf=30, order=1,hp_filter=1600); |
| 27 | stoch_simul(periods=2000, irf=30, order=1,hp_filter=1600); |