Simple Local Polynomial Density Estimators

Matias D. Cattaneo, Michael Jansson, Xinwei Ma
11/28/2018
econ.EMstat.ME

Official code: nppackages/lpdensity (5 stars, last commit 2026-05-27). 1 more implementation below.

Abstract

This paper introduces an intuitive and easy-to-implement nonparametric density estimator based on local polynomial techniques. The estimator is fully boundary adaptive and automatic, but does not require pre-binning or any other transformation of the data. We study the main asymptotic properties of the estimator, and use these results to provide principled estimation, inference, and bandwidth selection methods. As a substantive application of our results, we develop a novel discontinuity in density testing procedure, an important problem in regression discontinuity designs and other program evaluation settings. An illustrative empirical application is given. Two companion Stata and R software packages are provided.

View on arXivView PDF

Code Implementations(2)

Local Polynomial Density Methods

53R, TeXAug 7, 20204 months agoNOASSERTION
00R, StataSep 1, 20204 months ago

Cite this paper

@article{cattaneo2018simple,
  title  = {Simple Local Polynomial Density Estimators},
  author = {Matias D. Cattaneo and Michael Jansson and Xinwei Ma},
  year   = {2018},
  eprint = {1811.11512},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.11512}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1811.11512.svg)](https://codeofpaper.com/paper/1811.11512)

Discussion