The lpdensity
package provides Python, R and Stata 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.
Please email: lpdensity@googlegroups.com
To install/update in Python type:
pip install lpdensity
Help: Python Manual, PyPi repository.
Replication: py-script.
To install/update in R type:
install.packages('lpdensity')
Help: R Manual, CRAN repository.
Replication: R-script.
To install/update in Stata type:
net install lpdensity, from(https://raw.githubusercontent.com/nppackages/lpdensity/master/stata) replace
Help: lpdensity, lpbwdensity.
Replication: do-file.
For source code and related files, visit lpdensity
repository.
Cattaneo, Jansson and Ma (2020): Simple Local Polynomial Density Estimators.
Journal of the American Statistical Association 115(531): 1449-1455.
Supplemental appendix.
Cattaneo, Jansson and Ma (2024): Local Regression Distribution Estimators.
Journal of Econometrics 240(2): 105074.
Supplemental Appendix.