Skip to main content

Implements local polynomial point estimation with robust bias-corrected uniform confidence intervals.

Project description


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.


Matias D. Cattaneo (

Xinwei Ma (

Michael Jansson (

Rajita Chandak (maintainer) (




To install/update use pip

pip install lpdensity


from lpdensity import lpdensity, lpbwdensity


  • numpy
  • pandas
  • math
  • scipy
  • sympy
  • plotnine


For overviews and introductions, see lpdensity website

Software and Implementation

Technical and Methodological

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

lpdensity-2.4.1.tar.gz (16.9 kB view hashes)

Uploaded source

Built Distribution

lpdensity-2.4.1-py3-none-any.whl (17.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page