Skip to main content

Solve, filter and estimate DSGE models with occasionaly binding constraints

Project description

badge0 badge1


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

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

pydsge-0.2.6.tar.gz (7.4 MB view details)

Uploaded Source

Built Distribution

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

pydsge-0.2.6-py3-none-any.whl (6.7 MB view details)

Uploaded Python 3

File details

Details for the file pydsge-0.2.6.tar.gz.

File metadata

  • Download URL: pydsge-0.2.6.tar.gz
  • Upload date:
  • Size: 7.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pydsge-0.2.6.tar.gz
Algorithm Hash digest
SHA256 9bba10d93cc0bc1525a437ad09ae97bf4af52b7c31673d2c1ea43755c96c1b50
MD5 b4b64ccf5862546d180c9efd521c6973
BLAKE2b-256 356386bba95ef0482e33051578eab9991de55676376515b9f37e47c5a0fdcb6a

See more details on using hashes here.

File details

Details for the file pydsge-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: pydsge-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pydsge-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e5719514b2d0aa6f1c0d4838da7c893d9ba1f74d902a9d4ae50620e28bc1c717
MD5 71ba0f70fec1cfe4e74de54ea97a8c1f
BLAKE2b-256 8eef0c768fef029b01eaa4a158713fd5342882fea747fa60d28e01ed4d9564d7

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