Fast implementation of the quantile regression with support for iid, robust, and cluster standard errors.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyqreg-0.3.5.tar.gz
.
File metadata
- Download URL: pyqreg-0.3.5.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8da8ba3b57a3b4291a5a44bc77c6b4bd453ca53d1b17cb89847ff1d2eb2df7f |
|
MD5 | 606478edde0faf9612e3cab3b722efc4 |
|
BLAKE2b-256 | d6ca3e42ab879c7d140273ac197aced3c7373a0078a7958d3a1b324fd91829ee |