A package for solving, filtering and estimating linear DSGE models with the ZLB (or other occasionally binding constraints).
The set of methods is introduced in the paper Estimation of DSGE Models with the Effective Lower Bound (Gregor Boehl & Felix Strobel, 2023, JEDC), where we also estimate the medium-scale New Keynesian model to post-2008 US data.
Check out my Econpizza package if you are interested in simulating nonlinear DSGE models with (or without) heterogeneous agents.
A collection of models that can be (and were) used with this package can be found in another repo.
Installation
Installing the stable version is as simple as typing
pip install pydsge
in your terminal (Linux/MacOS) or Anaconda Prompt (Win).
Documentation
Documentation can be found on ReadTheDocs:
Citation
pydsge is developed by Gregor Boehl to simulate, filter, and estimate DSGE models with the zero lower bound on nominal interest rates in various applications (see my website for research papers using the package). Please cite it with
@TechReport{boehl2022meth,
title = {{Estimation of DSGE Models with the Effective Lower Bound}},
author = {Boehl, Gregor and Strobel, Felix},
journal = {Journal of Economic Dynamics and Control},
volume = {158},
year = {2022},
publisher = {Elsevier}
}
@techreport{boehl2022obc,
title = Efficient solution and computation of models with occasionally binding constraints},
author = {Boehl, Gregor},
journal = {Journal of Economic Dynamics and Control},
volume = {143},
year = {2022},
publisher = {Elsevier}
}
We appreciate citations for pydsge because it helps us to find out how people have been using the package and it motivates further work.
Parser
The parser originally was a fork of Ed Herbst’s fork from Pablo Winant’s (excellent) package dolo.
See https://github.com/EconForge/dolo and https://github.com/eph.
References
Boehl, Gregor (2022). Efficient Solution and Computation of Models with Occasionally Binding Constraints. Journal of Economic Dynamics and Control
Metadata
Release files for pydsge 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pydsge-0.2.6.tar.gz | 7.4 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydsge-0.2.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.1 MB
Release files / pydsge-0.2.6.tar.gz
| Download URL | pydsge-0.2.6.tar.gz |
|---|---|
| Size | 7.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bba10d93cc0bc1525a437ad09ae97bf4af52b7c31673d2c1ea43755c96c1b50
|
|
BLAKE2b-256 checksum How to use checksums |
356386bba95ef0482e33051578eab9991de55676376515b9f37e47c5a0fdcb6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / pydsge-0.2.6-py3-none-any.whl
| Download URL | pydsge-0.2.6-py3-none-any.whl |
|---|---|
| Size | 6.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e5719514b2d0aa6f1c0d4838da7c893d9ba1f74d902a9d4ae50620e28bc1c717
|
|
BLAKE2b-256 checksum How to use checksums |
8eef0c768fef029b01eaa4a158713fd5342882fea747fa60d28e01ed4d9564d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for pydsge 0.2.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.