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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lpdensity-2.4.3.tar.gz.
File metadata
- Download URL: lpdensity-2.4.3.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73a30f42f3baa4700d92a9c4c76bae28480bc76e04ab88c5e06a14c2421a2d7b
|
|
| MD5 |
82fb6280110808605b5150972f53b3c8
|
|
| BLAKE2b-256 |
b2d07e1dcdf62a32a8b111db7758b32485c7389c314b2a3733c1199a544aef16
|
File details
Details for the file lpdensity-2.4.3-py3-none-any.whl.
File metadata
- Download URL: lpdensity-2.4.3-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bad5858c1c4a6be6ed136a55316bbbf31130f13da6fbf7707a2caab90d56dd66
|
|
| MD5 |
f8ceb43b3f226e8e4cf1ac1561362603
|
|
| BLAKE2b-256 |
4cefd5f96a9d095de32226d1b65ce3452cecf681dd4f86833b54521ce37b4826
|