Stability in the BY Model


In [4]:
include("src/stability_tests.jl")


WARNING: replacing docs for 'EpsteinZin :: Union{}' in module 'Main'.
WARNING: replacing docs for 'EpsteinZinBY :: Tuple{}' in module 'Main'.
WARNING: replacing docs for 'EpsteinZinSSY :: Tuple{}' in module 'Main'.
WARNING: replacing docs for 'BYconsumption :: Union{}' in module 'Main'.
WARNING: replacing docs for 'BYconsumption :: Tuple{}' in module 'Main'.
WARNING: replacing docs for 'multi_from_single :: Tuple{Any,Any}' in module 'Main'.
WARNING: replacing docs for 'discretize_by :: Tuple{BYconsumption,Integer,Integer}' in module 'Main'.
WARNING: replacing docs for 'SSYconsumption :: Union{}' in module 'Main'.
WARNING: replacing docs for 'SSYconsumption :: Tuple{}' in module 'Main'.
WARNING: replacing docs for 'split_index :: Tuple{Any,Any}' in module 'Main'.
WARNING: replacing docs for 'discretize_ssy_process :: Tuple{SSYconsumption,Integer,Integer,Integer}' in module 'Main'.
WARNING: replacing docs for 'compute_K :: Tuple{EpsteinZin,BYconsumption}' in module 'Main'.
WARNING: replacing docs for 'compute_K :: Tuple{EpsteinZin,SSYconsumption}' in module 'Main'.
WARNING: replacing docs for 'compute_spec_rad :: Tuple{Array{T,2} where T}' in module 'Main'.
WARNING: replacing docs for 'compute_spec_rad :: Tuple{EpsteinZin,BYconsumption}' in module 'Main'.
WARNING: replacing docs for 'compute_spec_rad :: Tuple{EpsteinZin,SSYconsumption}' in module 'Main'.
WARNING: replacing docs for 'compute_growth_upper_bound :: Tuple{BYconsumption,Any,Any}' in module 'Main'.
WARNING: replacing docs for 'compute_growth_upper_bound :: Tuple{SSYconsumption,Any,Any,Any}' in module 'Main'.
WARNING: replacing docs for 'compute_mm_coef :: Tuple{EpsteinZin,BYconsumption}' in module 'Main'.
WARNING: replacing docs for 'compute_mm_coef :: Tuple{EpsteinZin,SSYconsumption}' in module 'Main'.
Out[4]:
compute_mm_coef (generic function with 4 methods)

In [5]:
using PyPlot
plt = PyPlot


Out[5]:
PyPlot

In [6]:
ez = EpsteinZinBY()
by = BYconsumption()


Out[6]:
BYconsumption{Float64}(0.0015, 0.979, 0.044, 0.987, 7.9092e-7, 2.3e-6)

In [31]:
I_vals = 10:20


compute_spec_rad(ez, by, I=15, J=15)


Out[31]:
1.0555597138912134

In [ ]: