Debian Codegraph @

addons/SVAR/examples/Traditional/simple_C_wild.inp

raw
1 set verbose off
2 include SVAR.gfn
3 open sw_ch14.gdt
4
5 series infl = 400*ldiff(PUNEW)
6 rename LHUR unemp
7
8 list X = unemp infl
9 list Z = const
10
11 Mod = SVAR_setup("C", X, Z, 3)
12 Mod.horizon = 36
13 SVAR_restrict(&Mod, "C", 1, 2)
14
15 SVAR_estimate(&Mod)
16
17 set stopwatch
18 bfail = SVAR_boot(&Mod,,, 0, "wildR", 2) # full BC
19 printf "Number of failed bootstrap iterations = %d, Time (bootstrap) = %g\n", \
20 bfail, $stopwatch
21
22 gpbuild Plots
23 IRFplot(&Mod, 0, 0)
24 end gpbuild
25
26 gridplot Plots --output=display --width=1200
27