The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

lpdensity: Local Polynomial Density Estimation and Inference

Implements local polynomial distribution and density methods for point estimation, inference and bandwidth selection, documented in Cattaneo, Jansson and Ma (2020) <doi:10.1080/01621459.2019.1635480>, Cattaneo, Jansson and Ma (2022) <doi:10.18637/jss.v101.i02>, and Cattaneo, Jansson and Ma (2024) <doi:10.1016/j.jeconom.2021.01.006>. lpdensity() constructs local polynomial distribution and density estimators with robust bias-corrected inference, and lpbwdensity() implements data-driven bandwidth selection.

Version: 3.0.1
Depends: R (≥ 3.1)
Imports: ggplot2, MASS
Suggests: testthat (≥ 3.0.0)
Published: 2026-05-23
DOI: 10.32614/CRAN.package.lpdensity
Author: Matias D. Cattaneo [aut, cre], Michael Jansson [aut], Xinwei Ma [aut]
Maintainer: Matias D. Cattaneo <matias.d.cattaneo at gmail.com>
BugReports: https://github.com/nppackages/lpdensity/issues
License: GPL-3
URL: https://nppackages.github.io/, https://github.com/nppackages/lpdensity
NeedsCompilation: no
Citation: lpdensity citation info
CRAN checks: lpdensity results

Documentation:

Reference manual: lpdensity.html , lpdensity.pdf

Downloads:

Package source: lpdensity_3.0.1.tar.gz
Windows binaries: r-devel: lpdensity_3.0.1.zip, r-release: lpdensity_3.0.1.zip, r-oldrel: lpdensity_3.0.1.zip
macOS binaries: r-release (arm64): lpdensity_3.0.1.tgz, r-oldrel (arm64): lpdensity_3.0.1.tgz, r-release (x86_64): lpdensity_3.0.1.tgz, r-oldrel (x86_64): lpdensity_3.0.1.tgz
Old sources: lpdensity archive

Reverse dependencies:

Reverse imports: mrddGlobal, rddensity

Linking:

Please use the canonical form https://CRAN.R-project.org/package=lpdensity to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.