This REMARK replicates Druedahl, J. (2021). A guide on solving non-convex consumption-saving models. Computational Economics, 58(3), 747-775.
First, create a new environment and install all required packages in requirements.txt:
pip install -r requirements.txt
The corresponding .py
and .ipynb
files can be found here:
code/python
After installing the requirements described above, all results of the project should be reproducible by executing the following command from the command line in this directory
$ nbreproduce reproduce.sh
or similarly for any other available script (e.g., nbreproduce reproduce_min.sh
)
Detailed documentation about nbreproduce
is at https://econ-ark.github.io/nbreproduce/.
nbreproduce
is available through PyPI and depends on Docker.
If you already have Docker installed locally you can install nbreproduce
using
$ pip install nbreproduce # make sure you have Docker installed on your machine.