Codes
I like writing codes. I am starting this page to put some of the codes which I find interesting. If you go through the codes and find any mistakes, please let me know. I will be very grateful.
- Standard Incomplete Market model with exogenous labor supply. [Code] [Aiyagari (1994)]
- Discretize persistent and transitory income process using Tauchen (1986) method. Both MATLAB and Python codes are available. For reference have a look at Makoto Nakajima's excellent lecture notes. [Code]
- Rouwenthorst method of discretization. Both MATLAB and Python codes are available. [Code] [Reference, Kopecky and Suen (RED, 2011)]
- Rouwenhorst method of discretization with lifecycle varying persistent/transitory shocks. Both MATLAB and Python codes are available. [Code]
- Codes which I am writing after going through excellent slides of Benjamin Moll. I learned a lot from those slides and codes.
- Shooting algorithm (link)