Skip to main content

Apart from the smoother (npas) and TEnKF, I stole quite some of the code from these two projects:

They deserve most of the merits. I just made everything look way more complicated. Sometimes filterpy was more efficient, sometimes pykalman. Unfortunately the pykalman project is orphaned. I tweaked something here and there:

  • treating numerical errors in the UKF covariance matrix by looking for the nearest positive semi-definite matrix

  • eliminating identical sigma points (yields speedup assuming that evaluation of each point is costly)

  • extracting functions from classes and compile them using the @njit flag (speedup)

  • major cleanup

NPAS is built from scratch. I barely did any testing as a standalone filter and just always used it in combination with the ‘pydsge’, where it works very well.

Some very rudimentary documentation can be found here.

Installation with pip

Be sure that you are on Python 3.x. Then it’s as simple as:

pip install econsieve

Installation of bleeding-edge version using git

First install git. Linux users just use their respective repos.

Windows users probably use anaconda and can do

conda install -c anaconda git

in the conda shell as they kindly tell us here. Otherwise you can probably get it here.

Then you can simply do

pip install git+https://github.com/gboehl/econsieve

If you run it and it complains about missing packages, please let me know so that I can update the setup.py!

Alternatively you can clone the repository and then from within the cloned folder run (Windows user from the Anaconda Prompt):

pip install .

Updating

The package is updated very frequently (find the history of latest commits here). I hence recommend pulling and reinstalling whenever something is not working right. Run:

pip install --upgrade econsieve

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 [gregorboehl.com](https://gregorboehl.com) for research papers using the package). Please cite it with:

@TechReport{boehl2022meth,
  author={Boehl, Gregor and Strobel, Felix},
  title={{Estimation of DSGE Models with the Effective Lower Bound}},
  year=2022,
  type     = {CRC 224 Discussion Papers},
  institution={University of Bonn and University of Mannheim, Germany}
}

We appreciate citations for pydsge because it helps us to find out how people have been using the package and it motivates further work.

Metadata

Release files for econsieve 0.0.9

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

Source distribution (sdist)

Source distribution for econsieve 0.0.9
File Size Uploaded Provenance
econsieve-0.0.9.tar.gz 23.2 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 47.3 kB

Release files / econsieve-0.0.9.tar.gz

Download URL econsieve-0.0.9.tar.gz
Size 23.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ed436091cb73053243511c0f7bdc7f3313bc631bc233e8f3cbf72326b1f75187
BLAKE2b-256 checksum
How to use checksums
3f9cf1419c2750faffcee8465827da665d7b729ba8dc043c21f9fbde6a882a2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.4

Release files / econsieve-0.0.9-py3-none-any.whl

Download URL econsieve-0.0.9-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdf753726f9748f6dd1da34c4566f60cdb726ec401abce2ae1207de928db1ff2
BLAKE2b-256 checksum
How to use checksums
1b6709b2c97167e4667d1164cc46e27ae051b55b8cfc3c74044d6b3493cb6d83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.4

Security for econsieve 0.0.9

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.

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