├── .gitignore ├── Project.toml ├── README.md ├── output ├── Chapter5 │ ├── fig_5_1.pdf │ ├── fig_5_2.pdf │ ├── fig_5_3a.pdf │ ├── fig_5_3b.pdf │ ├── fig_5_3c.pdf │ ├── fig_5_4a.pdf │ ├── fig_5_4b.pdf │ └── fig_5_4c.pdf └── Chapter7 │ ├── fig_7_3a.pdf │ ├── fig_7_3b.pdf │ ├── fig_7_3c.pdf │ ├── fig_7_3d.pdf │ ├── fig_7_4.pdf │ ├── fig_7_5.pdf │ ├── fig_7_6a.pdf │ ├── fig_7_6b.pdf │ └── fig_7_6c.pdf ├── scripts ├── .ipynb_checkpoints │ ├── Chapter5-checkpoint.ipynb │ ├── Chapter5-checkpoint.jl │ ├── Chapter7-checkpoint.ipynb │ └── Chapter7-checkpoint.jl ├── Ch7_simplemodel │ ├── .ipynb_checkpoints │ │ ├── Chapter7_simplemodel-checkpoint.ipynb │ │ └── Chapter7_simplemodel-checkpoint.jl │ ├── Chapter7_simplemodel.ipynb │ ├── Chapter7_simplemodel.jl │ ├── Project.toml │ └── longbonds_cont_time.jl ├── Chapter5.ipynb ├── Chapter5.jl ├── Chapter7.ipynb ├── Chapter7.jl └── plotting_functions.jl └── src ├── LTBonds.jl ├── bellman.jl ├── budget_and_returns.jl ├── helper_functions.jl ├── initializers.jl ├── m_shocks.jl ├── preferences.jl ├── processes.jl ├── simulations.jl ├── solver.jl ├── types.jl ├── types_bonds.jl ├── types_models.jl └── types_simulations.jl /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | Manifest.toml -------------------------------------------------------------------------------- /Project.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/Project.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/README.md -------------------------------------------------------------------------------- /output/Chapter5/fig_5_1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter5/fig_5_1.pdf -------------------------------------------------------------------------------- /output/Chapter5/fig_5_2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter5/fig_5_2.pdf -------------------------------------------------------------------------------- /output/Chapter5/fig_5_3a.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter5/fig_5_3a.pdf -------------------------------------------------------------------------------- /output/Chapter5/fig_5_3b.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter5/fig_5_3b.pdf -------------------------------------------------------------------------------- /output/Chapter5/fig_5_3c.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter5/fig_5_3c.pdf -------------------------------------------------------------------------------- /output/Chapter5/fig_5_4a.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter5/fig_5_4a.pdf -------------------------------------------------------------------------------- /output/Chapter5/fig_5_4b.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter5/fig_5_4b.pdf -------------------------------------------------------------------------------- /output/Chapter5/fig_5_4c.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter5/fig_5_4c.pdf -------------------------------------------------------------------------------- /output/Chapter7/fig_7_3a.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter7/fig_7_3a.pdf -------------------------------------------------------------------------------- /output/Chapter7/fig_7_3b.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter7/fig_7_3b.pdf -------------------------------------------------------------------------------- /output/Chapter7/fig_7_3c.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter7/fig_7_3c.pdf -------------------------------------------------------------------------------- /output/Chapter7/fig_7_3d.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter7/fig_7_3d.pdf -------------------------------------------------------------------------------- /output/Chapter7/fig_7_4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter7/fig_7_4.pdf -------------------------------------------------------------------------------- /output/Chapter7/fig_7_5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter7/fig_7_5.pdf -------------------------------------------------------------------------------- /output/Chapter7/fig_7_6a.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter7/fig_7_6a.pdf -------------------------------------------------------------------------------- /output/Chapter7/fig_7_6b.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter7/fig_7_6b.pdf -------------------------------------------------------------------------------- /output/Chapter7/fig_7_6c.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/output/Chapter7/fig_7_6c.pdf -------------------------------------------------------------------------------- /scripts/.ipynb_checkpoints/Chapter5-checkpoint.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/scripts/.ipynb_checkpoints/Chapter5-checkpoint.ipynb -------------------------------------------------------------------------------- /scripts/.ipynb_checkpoints/Chapter5-checkpoint.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/scripts/.ipynb_checkpoints/Chapter5-checkpoint.jl -------------------------------------------------------------------------------- /scripts/.ipynb_checkpoints/Chapter7-checkpoint.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/scripts/.ipynb_checkpoints/Chapter7-checkpoint.ipynb -------------------------------------------------------------------------------- /scripts/.ipynb_checkpoints/Chapter7-checkpoint.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/scripts/.ipynb_checkpoints/Chapter7-checkpoint.jl -------------------------------------------------------------------------------- /scripts/Ch7_simplemodel/.ipynb_checkpoints/Chapter7_simplemodel-checkpoint.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/scripts/Ch7_simplemodel/.ipynb_checkpoints/Chapter7_simplemodel-checkpoint.ipynb -------------------------------------------------------------------------------- /scripts/Ch7_simplemodel/.ipynb_checkpoints/Chapter7_simplemodel-checkpoint.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/scripts/Ch7_simplemodel/.ipynb_checkpoints/Chapter7_simplemodel-checkpoint.jl -------------------------------------------------------------------------------- /scripts/Ch7_simplemodel/Chapter7_simplemodel.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/scripts/Ch7_simplemodel/Chapter7_simplemodel.ipynb -------------------------------------------------------------------------------- /scripts/Ch7_simplemodel/Chapter7_simplemodel.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/scripts/Ch7_simplemodel/Chapter7_simplemodel.jl -------------------------------------------------------------------------------- /scripts/Ch7_simplemodel/Project.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/scripts/Ch7_simplemodel/Project.toml -------------------------------------------------------------------------------- /scripts/Ch7_simplemodel/longbonds_cont_time.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/scripts/Ch7_simplemodel/longbonds_cont_time.jl -------------------------------------------------------------------------------- /scripts/Chapter5.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/scripts/Chapter5.ipynb -------------------------------------------------------------------------------- /scripts/Chapter5.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/scripts/Chapter5.jl -------------------------------------------------------------------------------- /scripts/Chapter7.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/scripts/Chapter7.ipynb -------------------------------------------------------------------------------- /scripts/Chapter7.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/scripts/Chapter7.jl -------------------------------------------------------------------------------- /scripts/plotting_functions.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/scripts/plotting_functions.jl -------------------------------------------------------------------------------- /src/LTBonds.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/src/LTBonds.jl -------------------------------------------------------------------------------- /src/bellman.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/src/bellman.jl -------------------------------------------------------------------------------- /src/budget_and_returns.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/src/budget_and_returns.jl -------------------------------------------------------------------------------- /src/helper_functions.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/src/helper_functions.jl -------------------------------------------------------------------------------- /src/initializers.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/src/initializers.jl -------------------------------------------------------------------------------- /src/m_shocks.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/src/m_shocks.jl -------------------------------------------------------------------------------- /src/preferences.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/src/preferences.jl -------------------------------------------------------------------------------- /src/processes.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/src/processes.jl -------------------------------------------------------------------------------- /src/simulations.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/src/simulations.jl -------------------------------------------------------------------------------- /src/solver.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/src/solver.jl -------------------------------------------------------------------------------- /src/types.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/src/types.jl -------------------------------------------------------------------------------- /src/types_bonds.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/src/types_bonds.jl -------------------------------------------------------------------------------- /src/types_models.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/src/types_models.jl -------------------------------------------------------------------------------- /src/types_simulations.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markaguiar/TheEconomicsofSovereignDebt/HEAD/src/types_simulations.jl --------------------------------------------------------------------------------