Code Monkey home page Code Monkey logo

sequence-jacobian's Introduction

Sequence-Space Jacobian

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

Click here to download all files as a zip. Note: major update on July 26, 2019.

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.

sequence-jacobian's People

Contributors

mrognlie avatar bbardoczy avatar aauclert avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.