Implements local polynomial point estimation with robust bias-corrected uniform confidence intervals.
Project description
LPDENSITY
The lpdensity
package provides Stata and R implementations of bandwidth selection, point estimation and inference procedures for local polynomial distribution and density methods.
This work was supported by the National Science Foundation through grant SES-1459931, SES-1459967, SES-1947805 and SES-1947662.
Authors
Matias D. Cattaneo (cattaneo@princeton.edu)
Xinwei Ma (x1ma@ucsd.edu)
Michael Jansson (mjansson@econ.berkeley.edu)
Rajita Chandak (maintainer) (rchandak@princeton.edu)
Website
https://nppackages.github.io/lpdensity/
Manual
https://github.com/nppackages/lpdensity/tree/master/Python/lpdensity/docs/build/latex/lpdensity.pdf
Installation
To install/update use pip
pip install lpdensity
Usage
from lpdensity import lpdensity, lpbwdensity
Dependencies
- numpy
- pandas
- math
- scipy
- sympy
- plotnine
References
For overviews and introductions, see lpdensity website
Software and Implementation
- Cattaneo, Jansson and Ma (2022): lpdensity: Local Polynomial Density Estimation and Inference.
Journal of Statistical Software 101(2): 1-25.
Technical and Methodological
-
Cattaneo, M. D., M. Jansson, and X. Ma (2020). Simple Local Polynomial Density Estimators.
Journal of the American Statistical Association, 115(531): 1449-1455.
Supplemental appendix. -
Cattaneo, M. D., M. Jansson, and X. Ma (2023). Local Regression Distribution Estimators.
Journal of Econometrics, forthcoming.
Supplemental Appendix. -
Calonico, S., M. D. Cattaneo, and M. H. Farrell (2018): On the Effect of Bias Estimation on Coverage Accuracy in Nonparametric Inference.
Journal of the American Statistical Association 113(522): 767-779. -
Calonico, S., M. D. Cattaneo, and M. H. Farrell (2022): Coverage Error Optimal Confidence Intervals for Local Polynomial Regression.
Bernoulli 28(4): 2998-3022. -
Cattaneo, M. D., M. Jansson, and X. Ma (2022). lpdensity: Local Polynomial Density Estimation and Inference.
Journal of Statistical Software, 101(2), 1–25.
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
Built Distribution
File details
Details for the file lpdensity-2.4.2.tar.gz
.
File metadata
- Download URL: lpdensity-2.4.2.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60473fe9293acc42831df49a55e5639cf1cacdf54d4ce8caaa2c4da32b7880ad |
|
MD5 | 84cdc6c0cee17fdc5a169976b10f0f38 |
|
BLAKE2b-256 | 2dc69593b9d6155e0f51c7d246a6f7c3b23404a9fa1a83f5f4d4206e0f1053e0 |
File details
Details for the file lpdensity-2.4.2-py3-none-any.whl
.
File metadata
- Download URL: lpdensity-2.4.2-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52f84d76d8a54a0da36c48d38b152ae55088d2550beae7e40fdbce2edea09aa0 |
|
MD5 | 984e187a8da001fd61e14d1ac56c6bb3 |
|
BLAKE2b-256 | 071ea77792542df85a4c77a91c255d7b741c4c3e31314c8d32414d469b571a4d |