Skip to main content

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

Dependencies

  • numpy
  • pandas
  • scipy
  • sympy
  • plotnine

References

For overviews and introductions, see NP Packages website.

Software and Implementation

Technical and Methodological

Release files for lpdensity 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lpdensity 3.0.0
File Size Uploaded
lpdensity-3.0.0.tar.gz 19.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lpdensity 3.0.0
File Interpreter ABI Platform
lpdensity-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 38.0 kB

Release files / lpdensity-3.0.0.tar.gz

Download URL lpdensity-3.0.0.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6087281d8a323d9407cb20b21b9970fa73c68519eefbce8dfd617d397a34e3ca
BLAKE2b-256 checksum
How to use checksums
786cf58fcd3c712b6350289f40865f640beb0bcadf3dbe15e3830fcbac9c0ff5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 20, 2026.

Transparency log

Release files / lpdensity-3.0.0-py3-none-any.whl

Download URL lpdensity-3.0.0-py3-none-any.whl
Size 18.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df4707d7c34807225aaa6c34765cadcb0696b4a6ca8b5dd08f14f0a7de4fa1a1
BLAKE2b-256 checksum
How to use checksums
af64819e2b6fd0d044ea383a4f5812c18911a4b0f7a540582a6c0aa188ede5e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 20, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

2.4.3

2 release files

2.4.2

2 release files

2.4.1

2 release files

2.4

2 release files

2.3.1

2 release files

1.3.1

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page