Implements local polynomial distribution and density estimation with robust bias-corrected inference.
Project description
LPDENSITY
The lpdensity package provides tools for local polynomial distribution and density estimation, bandwidth selection, robust bias-corrected inference, and graphical procedures.
lpdensity: implements local polynomial distribution and density estimation with pointwise and uniform inference.lpbwdensity: implements data-driven bandwidth selectors for local polynomial distribution and density estimation.
See Cattaneo, Jansson and Ma (2020, 2022, 2024) for references.
Website: https://nppackages.github.io/.
Source code: https://github.com/nppackages/lpdensity.
Authors
Matias D. Cattaneo, maintainer (matias.d.cattaneo@gmail.com)
Rajita Chandak (rajita.chandak@gmail.com)
Michael Jansson (michael.jansson.berkeley@gmail.com)
Xinwei Ma (xinweima.pku@gmail.com)
Installation
To install/update use pip
pip install lpdensity
Usage
from lpdensity import lpdensity, lpbwdensity
- Replication: lpdensity illustration.
Dependencies
- numpy
- pandas
- scipy
- sympy
- plotnine
References
For overviews and introductions, see NP Packages 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, 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.
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-3.0.0.tar.gz.
File metadata
- Download URL: lpdensity-3.0.0.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6087281d8a323d9407cb20b21b9970fa73c68519eefbce8dfd617d397a34e3ca
|
|
| MD5 |
9b85c3bebc1b7ae0c830c9ab151c614c
|
|
| BLAKE2b-256 |
786cf58fcd3c712b6350289f40865f640beb0bcadf3dbe15e3830fcbac9c0ff5
|
Provenance
The following attestation bundles were made for lpdensity-3.0.0.tar.gz:
Publisher:
publish-python.yml on nppackages/lpdensity
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lpdensity-3.0.0.tar.gz -
Subject digest:
6087281d8a323d9407cb20b21b9970fa73c68519eefbce8dfd617d397a34e3ca - Sigstore transparency entry: 1582332755
- Sigstore integration time:
-
Permalink:
nppackages/lpdensity@0af2b91ce1f471b7ded620c3bb2a7a35d49aa78b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/nppackages
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@0af2b91ce1f471b7ded620c3bb2a7a35d49aa78b -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file lpdensity-3.0.0-py3-none-any.whl.
File metadata
- Download URL: lpdensity-3.0.0-py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df4707d7c34807225aaa6c34765cadcb0696b4a6ca8b5dd08f14f0a7de4fa1a1
|
|
| MD5 |
4ccaf190901a8714eb8834be8b815607
|
|
| BLAKE2b-256 |
af64819e2b6fd0d044ea383a4f5812c18911a4b0f7a540582a6c0aa188ede5e5
|
Provenance
The following attestation bundles were made for lpdensity-3.0.0-py3-none-any.whl:
Publisher:
publish-python.yml on nppackages/lpdensity
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lpdensity-3.0.0-py3-none-any.whl -
Subject digest:
df4707d7c34807225aaa6c34765cadcb0696b4a6ca8b5dd08f14f0a7de4fa1a1 - Sigstore transparency entry: 1582332934
- Sigstore integration time:
-
Permalink:
nppackages/lpdensity@0af2b91ce1f471b7ded620c3bb2a7a35d49aa78b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/nppackages
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@0af2b91ce1f471b7ded620c3bb2a7a35d49aa78b -
Trigger Event:
workflow_dispatch
-
Statement type: