Skip to main content

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).

Project description

dcegm

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dcegm-0.1.3.tar.gz (69.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dcegm-0.1.3-py3-none-any.whl (132.2 kB view details)

Uploaded Python 3

File details

Details for the file dcegm-0.1.3.tar.gz.

File metadata

  • Download URL: dcegm-0.1.3.tar.gz
  • Upload date:
  • Size: 69.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for dcegm-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7867476e564c67a3db8626abf749477582b6396a1aaff39590ed2451cac39a91
MD5 6a3b0f863aee7e0542de377e6aa2e741
BLAKE2b-256 2ce24ceed82bfa9c9cb41089a16b3a192d3161a6b39910c90e105b2b5ac6431a

See more details on using hashes here.

File details

Details for the file dcegm-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: dcegm-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 132.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for dcegm-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 31502abaaad3954aebb16ca07f95c3039f7a738721898f69bba80bd5b66abaee
MD5 bddfdb685fe500881062174358695478
BLAKE2b-256 de258f2ddaf79ed0ebef797747d70b6f5de08e5d8423c8f6ded6835f12392d15

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page