Skip to content

Julia replication code of Bansal-Yaron (2004) model with different solution methods. Done in the second year of my PhD.

Notifications You must be signed in to change notification settings

meccal/BY-replication-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BY_replication_code

This project replicates Bansal-Yaron (2004) using different methods:

  • Value function iteration (VFI) with Tauchen (1986) discretization of the state space.
  • Value function iteration with Chebyshev polynomials.
  • Projection Method (collocation).

Folders: BY_VFI, BY_Projection, BY_VFI_Tauchen
Each folder contains the main file (e.g. BY_VFI.jl) and files with the functions that I created for this project. Note that I tried to avoid built-in packages as much as possible. In particular I created functions to generate Chebyshev bases and polynomials (chebyshev_func.jl) and to compute the Gauss-Hermite quadrature (Quadrature.jl). Each folder contains the 1 state variable (no stochastic volatility) and the 2 state variables alternatives.

Folder: Simulations_analysis
Contains the files that simulate the models and compute moments of the consumption and dividend growth, as well as of financial returns and valuation ratios.

For any question or comment, please contact me at lmecca@london.edu.

About

Julia replication code of Bansal-Yaron (2004) model with different solution methods. Done in the second year of my PhD.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages