Skip to content

Commit 47732d5

Browse files
committed
more test code
1 parent 35ff026 commit 47732d5

1 file changed

Lines changed: 46 additions & 1 deletion

File tree

test/fix_combined_plots.jl

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,52 @@ MacroModelling.plot_irf!(RBC, parameters = [:std_z => 0.012, :β => 0.95, :ρ =>
2222

2323
MacroModelling.plot_irf!(RBC, parameters = [:std_z => 0.01, => 0.957, => 0.5])
2424

25-
MacroModelling.irf_active_plot_container
25+
MacroModelling.plot_irf!(RBC, parameters = [:std_z => 0.01, => 0.97, => 0.5])
26+
27+
MacroModelling.plot_irf!(RBC, parameters = [:std_z => 0.01, => 0.97, => 0.55])
28+
29+
MacroModelling.plot_irf!(RBC, parameters = [:std_z => 0.021, => 0.97, => 0.55])
30+
31+
32+
include("models/SW07_nonlinear.jl")
33+
34+
plot_irf(SW07_nonlinear, shocks = :ew,
35+
variables = [:gam1,:gam2,:gam3,
36+
:gamw1,:gamw2,:gamw3,
37+
:inve,:kp,:k],
38+
parameters = [:curvw => 10, :calfa => 0.18003])
39+
40+
MacroModelling.plot_irf!(SW07_nonlinear,
41+
shocks = :ew,
42+
variables = [:gam1,:gam2,:gam3,
43+
:gamw1,:gamw2,:gamw3,
44+
:inve,:kp,:k],
45+
parameters = :calfa => 0.18)
46+
47+
MacroModelling.plot_irf!(SW07_nonlinear,
48+
shocks = :ew,
49+
variables = [:gam1,:gam2,:gam3,
50+
:gamw1,:gamw2,:gamw3,
51+
:inve,:kp,:k],
52+
parameters = :curvw => 9)
53+
54+
MacroModelling.plot_irf!(SW07_nonlinear,
55+
shocks = :ew,
56+
variables = [:gam1,:gam2,:gam3,
57+
:gamw1,:gamw2,:gamw3,
58+
:inve,:kp,:k],
59+
parameters = :cgy => .5)
60+
61+
MacroModelling.plot_irf!(SW07_nonlinear,
62+
shocks = :ew,
63+
plots_per_page = 4,
64+
# variables = [:dy,:robs,:y,
65+
# :xi,:ygap,
66+
# :wnew,:xi,:ygap,
67+
# :k,:kp,:r],
68+
parameters = :ctrend => .5)
69+
70+
get_parameters(SW07_nonlinear, values = true)
2671

2772
diffdict = MacroModelling.compare_args_and_kwargs(MacroModelling.irf_active_plot_container)
2873

0 commit comments

Comments
 (0)