In [3]:
include("src/ssy_state_process.jl")
Out[3]:
In [4]:
using QuantEcon
In [5]:
ssy = SSY_default()
Out[5]:
In [19]:
T = 1800
Out[19]:
In [20]:
σ_c, σ_z, z, c = sim_consumption(ssy, ts_length=T);
In [21]:
using PyPlot
plt = PyPlot
Out[21]:
In [22]:
fig, ax = plt.subplots(figsize=(10, 5.7))
ax[:plot](1:T, c, label="SSY consumption growth path", alpha=0.5)
ax[:set_xlabel]("time")
ax[:set_ylabel]("consumption growth")
ax[:legend]()
plt.savefig("foo.pdf")
plt.show()
In [ ]: