A Two-Asset Savings Model with an Income-Contribution Scheme
A Two-Asset Savings Model with an Income-Contribution Scheme
This paper develops a two-asset consumption-savings model and serves as the documentation of an open-source implementation of methods to solve and simulate it in the HARK toolkit. The model represents an agent who can save using two different assets—one risky and the other risk-free—to insure against fluctuations in his income, but faces frictions to transferring funds between assets. The flexibility of its implementation and its inclusion in the HARK toolkit will allow users to adapt the model to realistic life-cycle calibrations, and also to embedded it in heterogeneous-agents macroeconomic models.
Details
Authors
Abstract
This paper develops a two-asset consumption-savings model and serves as the documentation of an open-source implementation of methods to solve and simulate it in the HARK toolkit. The model represents an agent who can save using two different assets---one risky and the other risk-free---to insure against fluctuations in his income, but faces frictions to transferring funds between assets. The flexibility of its implementation and its inclusion in the HARK toolkit will allow users to adapt the model to realistic life-cycle calibrations, and also to embedded it in heterogeneous-agents macroeconomic models.
Actions
Live Interactive Notebook
This material includes a Jupyter Notebook version. You can directly launch and interact with the Notebook within your browser using MyBinder via the "Launch" button(s) below.
Material Source Code
Econ-ARK materials are open source and available to view and clone from GitHub.
How to Execute this Notebook (with conda)
Install miniconda on your computer
- Open a Terminal (MacOS) or the Anaconda Prompt (Windows)
- At a command line, change the working directory to the one where you want to install
- On MacOS/unix, if you install in the
/tmp
directory, the repo will disappear at reboot: cd /tmp
- On MacOS/unix, if you install in the
git clone https://github.com/econ-ark/RiskyContrib --recursive
cd RiskyContrib
conda env create -f ./binder/environment.yml --prefix ./condaenv
- This creates
./condaenv
inside your clone of the repo, containing dependencies. conda run --prefix ./condaenv pip install jupyterlab
conda run --prefix ./condaenv jupyter-lab
Metadata
Key | Value |
---|---|
cff-version | 1.1.0 |
authors | {"family-names"=>"Velásquez-Giraldo", "given-names"=>"Mateo", "orcid"=>"https://orcid.org/0000-0001-7243-6776"} |
abstract | This paper develops a two-asset consumption-savings model and serves as the documentation of an open-source implementation of methods to solve and simulate it in the HARK toolkit. The model represents an agent who can save using two different assets---one risky and the other risk-free---to insure against fluctuations in his income, but faces frictions to transferring funds between assets. The flexibility of its implementation and its inclusion in the HARK toolkit will allow users to adapt the model to realistic life-cycle calibrations, and also to embedded it in heterogeneous-agents macroeconomic models. |
date-released | |
remark-version | v1.0.1 |
references | {"type"=>"article", "authors"=>[{"family-names"=>"Velásquez-Giraldo", "given-names"=>"Mateo", "orcid"=>"https://orcid.org/0000-0001-7243-6776"}, {"family-names"=>"Author 2 Last Name", "given-names"=>"Author 2 First Name", "orcid"=>"https://orcid.org/XXXX-XXXX-XXXX-XXXX"}], "title"=>"A Two-Asset Savings Model with an Income-Contribution Scheme", "doi"=>"https://zenodo.org/badge/DOI/10.5281/zenodo.4974234.svg"} |
github_repo_url | https://github.com/econ-ark/RiskyContrib |
remark-name | RiskyContrib |
notebooks | Code/Python/RiskyContrib.ipynb |
tags | REMARK |
keywords | Lifecycle Portfolio Choice Social Security Open Source |
date |