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.5.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

pydsge-0.2.5-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydsge-0.2.5.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.4

File hashes

Hashes for pydsge-0.2.5.tar.gz
Algorithm Hash digest
SHA256 1889af7f207ee0e058d2ce1873558f9d365aa80acea29c0840ee11e756963568
MD5 4760d06bbab3e66e0b73d1fb186c3269
BLAKE2b-256 5ac8780cbd4187450c9369e8015296fa746e1200e9c528ab1c801161dc0d90ca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pydsge-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.4

File hashes

Hashes for pydsge-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c93a28b8fa9407036505a34c02546f7f1bb9ca9f79bb14b2556c67ee70b85bb8
MD5 36e51c3ae1d00dfec2f160b15a043a0e
BLAKE2b-256 5c2bf67a42b39b203e5850c889550151a2b5cfa0ed54e4f736488a800a5fa1ff

See more details on using hashes here.

Supported by

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