Skip to content

Fully JAX-compatible python implementation of the DC-EGM algorithm from Iskhakov, Jorgensen, Rust, and Schjerning (QE, 2017).

License

Notifications You must be signed in to change notification settings

OpenSourceEconomics/dcegm

Repository files navigation

dc-egm

Continuous Integration Workflow image Codecov pre-commit.ci status Black

Note: This is a pre-release version of the package. While the core features are in place, the interface and functionality may still evolve. Feedback and contributions are welcome.

dcegm is a Python package for solving and simulating finite-horizon stochastic discrete-continuous dynamic choice models using the DC-EGM algorithm from Iskhakov, Jørgensen, Rust, and Schjerning (QE, 2017).

The solution algorithm employs an extension of the Fast Upper-Envelope Scan (FUES) from Dobrescu & Shanker (2022).

Installation

You can install dcegm via PyPI or directly from GitHub. In your terminal, run:

$ pip install dcegm

To install the latest development version directly from the GitHub repository, run:

$ pip install git+https://github.com/OpenSourceEconomics/dcegm.git

Documentation

The documentation is hosted at https://dcegm.readthedocs.io

References

  1. Christopher D. Carroll (2006). The method of endogenous gridpoints for solving dynamic stochastic optimization problems. Economics Letters
  2. Iskhakov, Jorgensen, Rust, & Schjerning (2017). The Endogenous Grid Method for Discrete-Continuous Dynamic Choice Models with (or without) Taste Shocks. Quantitative Economics
  3. Loretti I. Dobrescu & Akshay Shanker (2022). Fast Upper-Envelope Scan for Discrete-Continuous Dynamic Programming.

About

Fully JAX-compatible python implementation of the DC-EGM algorithm from Iskhakov, Jorgensen, Rust, and Schjerning (QE, 2017).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 8