TODO:
- Fix mhat in figure
- Update to HARK 15
The BufferStockTheory directory contains code to reproduce the figures of the paper Theoretical Foundations of Buffer Stock Saving by Christopher Carroll, and the LaTeX source to produce the paper once the figures have been created.
Figures can be produced either:
Live in your browser using MyBinder:
In a local interactive jupyter notebook
- Install the jupyter notebook tool per Installation.md
- Download this repository using
git clone https://github.com/econ-ark/BufferStockTheory
or a zip folder using this link. - Type
jupyter lab
at the command line- Click on
BufferStockTheory-Dashboard.ipynb
; or - Navigate to
Code/Python/BufferStockTheory.ipynb
- Click on
- Install nbreproduce
- Download this repository using
git clone https://github.com/econ-ark/BufferStockTheory
or a zip folder using this link. - Execute
nbreproduce
from the command line.
The paper can be generated by compiling the LaTeX file BufferStockTheory.tex
using a standard distribution of LaTeX like TeXLive or Overleaf.