Interactive guide to Auclert, Bardóczy, Rognlie, and Straub (2019): "Using the Sequence-Space Jacobian to Solve and Estimate Heterogeneous-Agent Models".
Jupyter Notebook Python
Latest commit 0dd6ce6 Aug 7, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Jul 31, 2019
figures Jul 31, 2019
.gitignore May 15, 2019
asymptotic.py Jul 25, 2019
determinacy.py Jul 25, 2019
estimation.py Jul 25, 2019
hank.ipynb Jul 26, 2019
hank.py Aug 7, 2019
het_block.py Jul 26, 2019
het_jacobian.ipynb Jul 26, 2019
jacobian.py Jul 25, 2019
krusell_smith.ipynb Jul 26, 2019
krusell_smith.py Jul 18, 2019
nonlinear.py Jul 25, 2019
rbc.ipynb Jul 31, 2019
simple_block.py Jul 24, 2019
solved_block.py Jul 25, 2019
two_asset.ipynb Jul 26, 2019
two_asset.py Jul 26, 2019
utils.py Jul 25, 2019

# Sequence-Space Jacobian

Interactive guide to Auclert, Bardóczy, Rognlie, Straub (2019): "Using the Sequence-Space Jacobian to Solve and Estimate Heterogeneous-Agent Models".

## 1. Resources

### 1.1 RBC notebook

Warm-up. Get familiar with solving models in sequence space using our tools. If you don't have Python, just start by reading the `html` version. If you do, we recommend downloading our code and running the Jupyter notebook directly on your computer.

### 1.2. Krusell-Smith notebook

The first example. A comprehensive tutorial in the context of a simple, well-known HA model. Shows how to compute the Jacobian both "by hand" and with our automated tools. Also shows how to calculate second moments and the likelihood function.

### 1.3. One-asset HANK notebook

The second example. Generalizes to a more complex model, with a focus on our automated tools to streamline the workflow. Introduces our winding number criterion for local determinacy.

### 1.4. Two-asset HANK notebook

The third example. Showcases the workflow for solving a state-of-the-art HANK model where households hold liquid and illiquid assets, and there are sticky prices, sticky wages, and capital adjustment costs on the production side. Introduces the concept of solved blocks.

### 1.5. HA Jacobian notebook

Inside the black box. A step-by-step examination of our fake news algorithm to compute Jacobians of HA blocks.

## 2. Setting up Python

To install a full distribution of Python, with all of the packages and tools you will need to run our code, download the latest Python 3 Anaconda distribution. Note: make sure you choose the installer for Python version 3. Once you install Anaconda, you will be able to play with the notebooks we provided. Just open a terminal, change directory to the folder with notebooks, and type `jupyter notebook`. This will launch the notebook dashboard in your default browser. Click on a notebook to get started.

For more information on Jupyter notebooks, check out the official quick start guide. If you'd like to learn more about Python, the QuantEcon lectures of Tom Sargent and John Stachurski are a great place to start.

You can’t perform that action at this time.