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 Black

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.9.tar.gz (244.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pyqreg-0.3.9.tar.gz
  • Upload date:
  • Size: 244.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15

File hashes

Hashes for pyqreg-0.3.9.tar.gz
Algorithm Hash digest
SHA256 9bfaf0469ec54238a3a1b65887cb9c255ad6de0b30a84addb4bbd771da8881b7
MD5 663f59b2ff81c38f0cd016186b7b2522
BLAKE2b-256 1f5f36d36f50470076c64548be237c5090ed551e647f04e7120f2a55613a2343

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