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.2.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.2-py3-none-any.whl (132.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dcegm-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 6cf5758dfbb578bef51d77cf58fa444d769edfbb16169b33e5507084f061b451
MD5 3ec1d82c882e6602d2f8485d7793778b
BLAKE2b-256 99d65d6e09f6a3f6241ae5929839ec9eae9fd0acdfd53f0d895b43abe0546fb0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dcegm-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 132.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 30985074500a80d23a8f4bfa8bd47bef13d99ae84defbd97ea9cf04a6841d518
MD5 7d0b6ac550985f69cde065a85dc79db4
BLAKE2b-256 5f73817ee65f75463d153b98a4db442b3e0ab4b5116fc20794b4b90c3f50e6f5

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