Skip to content

Latest commit

 

History

History
executable file
·
33 lines (21 loc) · 1.8 KB

README.md

File metadata and controls

executable file
·
33 lines (21 loc) · 1.8 KB

TODO: Fix mhat in figure

Theoretical Foundations of Buffer Stock Theory - REMARK

DOI

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.

Code

Figures can be produced either:

Live in your browser using MyBinder: Binder

Locally

If you want to reproduce the results locally, you will need python and pip.

In a local interactive jupyter notebook
  1. Install the jupyter notebook tool per Installation.md
  2. Download this repository using git clone https://github.com/econ-ark/BufferStockTheory or a zip folder using this link.
  3. Type jupyter lab at the command line
    • Click on BufferStockTheory-Dashboard.ipynb; or
    • Navigate to Code/Python/BufferStockTheory.ipynb
Reproduce the figures and compile the paper locally using nbreproduce
  1. Install nbreproduce
  2. Download this repository using git clone https://github.com/econ-ark/BufferStockTheory or a zip folder using this link.
  3. Execute nbreproduce from the command line.

Paper

The paper can be generated by compiling the LaTeX file BufferStockTheory.tex using a standard distribution of LaTeX like TeXLive or Overleaf.