Skip to main content

Fast implementation of the quantile regression with support for iid, robust, and cluster standard errors.

Project description

CircleCI PyPI PyPI - License PythonVersion

Pyqreg

Pyqreg implements the quantile regression algorithm with fast estimation method using the interior point method following the preprocessing procedure in Portnoy and Koenker (1997). It provides methods for estimating the asymptotic covariance matrix for i.i.d and heteroskedastic errors, as well as clustered errors following Parente and Silva (2013).

References

  • Stephen Portnoy. Roger Koenker. “The Gaussian hare and the Laplacian tortoise: computability of squared-error versus absolute-error estimators.” Statist. Sci. 12 (4) 279 - 300 (1997).

  • Koenker, R., Ng, P. A Frisch-Newton Algorithm for Sparse Quantile Regression. Acta Mathematicae Applicatae Sinica, English Series 21, 225–236 (2005).

  • Parente, Paulo and Santos Silva, João, (2013), Quantile regression with clustered data, No 1305, Discussion Papers, University of Exeter, Department of Economics.

Install

pyqreg requires

  • Python >= 3.6

  • Numpy

You can install the latest release with:

pip3 install pyqreg

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

pyqreg-0.3.6.tar.gz (244.1 kB view details)

Uploaded Source

File details

Details for the file pyqreg-0.3.6.tar.gz.

File metadata

  • Download URL: pyqreg-0.3.6.tar.gz
  • Upload date:
  • Size: 244.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15

File hashes

Hashes for pyqreg-0.3.6.tar.gz
Algorithm Hash digest
SHA256 05d0f61dd089412ceaa0f3c5ee0441c9ef5dce0d420e0862fedd421298a373ea
MD5 0f4d83ff5bb057da20e18adaf50df178
BLAKE2b-256 bd01a8bf4b5e1af64b64f24c1be6f241caa365a3b40ca26f7c9adc78d101c358

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