Skip to main content

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.

Metadata

Release files for dcegm 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dcegm 0.1.3
File Size Uploaded
dcegm-0.1.3.tar.gz 69.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dcegm 0.1.3
File Interpreter ABI Platform
dcegm-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 201.3 kB

Release files / dcegm-0.1.3.tar.gz

Download URL dcegm-0.1.3.tar.gz
Size 69.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7867476e564c67a3db8626abf749477582b6396a1aaff39590ed2451cac39a91
BLAKE2b-256 checksum
How to use checksums
2ce24ceed82bfa9c9cb41089a16b3a192d3161a6b39910c90e105b2b5ac6431a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / dcegm-0.1.3-py3-none-any.whl

Download URL dcegm-0.1.3-py3-none-any.whl
Size 132.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31502abaaad3954aebb16ca07f95c3039f7a738721898f69bba80bd5b66abaee
BLAKE2b-256 checksum
How to use checksums
de258f2ddaf79ed0ebef797747d70b6f5de08e5d8423c8f6ded6835f12392d15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page