Notes on Computational Methods for Macroeconomics
Below is a set of notes that I created and used when I was teaching the course "Computational Methods for Macroeconomics" at UIUC. Please use with caution, as that there are (possibly numerous) typos and mistakes in the notes (that's what David Wiczer told me). I am hoping that I can make these notes, with additional materials that I accumulated and with companion codes (written in Fortran 90, Matlab, and Julia) into a book (can anybody help me?).

  1. Practical introduction to dynamic programming
  2. Numerical methods: Approximation of normal distribution and AR(1)
  3. Numerical methods: Approximation using Checbyshev polynomials
  4. Numerical methods: One-dimensional optimization
  5. Numerical methods: Numerical differentiation
  6. Solving neoclassical growth model: Introduction
  7. Solving neoclassical growth model: Value function iteration + Discretization
  8. Solving neoclassical growth model: Value function iteration + Finite Element Method
  9. Solving neoclassical growth model: Value function iteration + Checbyshev approximation
  10. Solving RBC model: Linear-quadratic apporximation
  11. Solving RBC model: Blanchard-Kahn
  12. Solving RBC model: Undetermined Coefficients
  13. Solving heterogeneous-agent model: Handling type distribution
  14. Solving heterogeneous-agent model: Aiyagari (QJE1994)
  15. Solving heterogeneous-agent model: Aiyagari (QJE1994) with some extensions
  16. Solving heterogeneous-agent model: Krusell-Smith (JPE1998)
  17. [Not Public] Solving heterogeneous-agent model: Krusell-Smith with labor supply decision (MD1997)
  18. [Not Public] Solving heterogeneous-agent model: Krusell-Smith with portfolio choice decision (MD1997)
  19. [Not Public] Solving heterogeneous-agent model: Aiyagari model with transition dynamics (MIT shock)
  20. [Not Public] Solving heterogeneous-agent model: Limited commitment
  21. [Not Public] Solving models with sovereign defaults: Arellano (AER2008)
  22. [Not Public] Solving heterogeneous agent model: equilibrium bankruptcy: Chatterjee et. al. (ECO2007)
  23. [Not Public] Solving heterogeneous-agent model: Krusell-Smith + perturbation
  24. [Not Public] Solving heterogeneous-agent model: Krusell-Smith + MIT shock (Boppart et al., JEDC2018)
  25. [Not Public] Solving heterogeneous-agent model: HANK model
Notes on Message Passing Interface (MPI)
Below are the materials that I used to give lectures on practical introduction on message passing interface (MPI), with a focus on solving cannonical heterogeneous-agent models using parallel cluster.

  1. Presentation slides