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?).
- Practical introduction to dynamic programming
- Numerical methods: Approximation of normal distribution and AR(1)
- Numerical methods: Approximation using Checbyshev polynomials
- Numerical methods: One-dimensional optimization
- Numerical methods: Numerical differentiation
- Solving neoclassical growth model: Introduction
- Solving neoclassical growth model: Value function iteration + Discretization
- Solving neoclassical growth model: Value function iteration + Finite Element Method
- Solving neoclassical growth model: Value function iteration + Checbyshev approximation
- Solving RBC model: Linear-quadratic apporximation
- Solving RBC model: Blanchard-Kahn
- Solving RBC model: Undetermined Coefficients
- Solving heterogeneous-agent model: Handling type distribution
- Solving heterogeneous-agent model: Aiyagari (QJE1994)
- Solving heterogeneous-agent model: Aiyagari (QJE1994) with some extensions
- Solving heterogeneous-agent model: Krusell-Smith (JPE1998)
- [Not Public] Solving heterogeneous-agent model: Krusell-Smith with labor supply decision (MD1997)
- [Not Public] Solving heterogeneous-agent model: Krusell-Smith with portfolio choice decision (MD1997)
- [Not Public] Solving heterogeneous-agent model: Aiyagari model with transition dynamics (MIT shock)
- [Not Public] Solving heterogeneous-agent model: Limited commitment
- [Not Public] Solving models with sovereign defaults: Arellano (AER2008)
- [Not Public] Solving heterogeneous agent model: equilibrium bankruptcy: Chatterjee et. al. (ECO2007)
- [Not Public] Solving heterogeneous-agent model: Krusell-Smith + perturbation
- [Not Public] Solving heterogeneous-agent model: Krusell-Smith + MIT shock (Boppart et al., JEDC2018)
- [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.