Huggett (1996)
[Code]
Other Extensions
Transition Dynamics
An “MIT shock” is an unexpected shock that hits an economy at its steady state, leading to a transition path back towards a new steady state. The primary purpose of this note is to explain the computation of the deterministic transition dynamics of the model economy after an unexpected policy change. I do this exercise in Aiyagari (1994) model economy using a change in household’s borrowing constraint as the shock.
[Notes] [Code]
Castaneda, Díaz-Giménez, and Ríos-Rull (2003)
CDR (2003) model is an extension of Aiyagari (1994) with stochastic aging and labor supply decision.
The code I’m sharing here runs extremely slow because I use this replication exercise to understand the model without caring too much about the efficiency. Efficiency can easily be improved by just rewriting the code in matrix form, instead of looping over each state. Other fancy numerical methods like EGM will shorten the execution time of the code by a lot (e.g., It only took me less than 10s in this case using EGM).
[Notes] [Code]