lpdensity: Local Polynomial Density Estimation and Inference

06/15/2019
by   Matias D. Cattaneo, et al.
0

Density estimation and inference methods are widely used in empirical work. When the data has compact support, as all empirical applications de facto do, conventional kernel-based density estimators are inapplicable near or at the boundary because of their well known boundary bias. Alternative smoothing methods are available to handle boundary points in density estimation, but they all require additional tuning parameter choices or other typically ad hoc modifications depending on the evaluation point and/or approach considered. This article discusses the R and Stata package lpdensity implementing a novel local polynomial density estimator proposed in Cattaneo, Jansson and Ma (2019), which is boundary adaptive, fully data-driven and automatic, and requires only the choice of one tuning parameter. The methods implemented also cover local polynomial estimation of the cumulative distribution function and density derivatives, as well as several other theoretical and methodological results. In addition to point estimation and graphical procedures, the package offers consistent variance estimators, mean squared error optimal bandwidth selection, and robust bias-corrected inference. A comparison with several other density estimation packages and functions available in R using a Monte Carlo experiment is provided.

READ FULL TEXT
research
04/21/2022

lpcde: Local Polynomial Conditional Density Estimation and Inference

This paper discusses the R package lpcde, which stands for local polynom...
research
11/28/2018

Simple Local Polynomial Density Estimators

This paper introduces an intuitive and easy-to-implement nonparametric d...
research
11/18/2022

A reliable data-based smoothing parameter selection method for circular kernel estimation

A new data-based smoothing parameter for circular kernel density (and it...
research
08/02/2023

A new adaptive local polynomial density estimation procedure on complicated domains

This paper presents a novel approach for pointwise estimation of multiva...
research
12/16/2019

Estimation of Auction Models with Shape Restrictions

We introduce several new estimation methods that leverage shape constrai...
research
04/21/2022

Boundary Adaptive Local Polynomial Conditional Density Estimators

We begin by introducing a class of conditional density estimators based ...
research
09/20/2018

Kernel Density Estimation with Linked Boundary Conditions

Kernel density estimation on a finite interval poses an outstanding chal...

Please sign up or login with your details

Forgot password? Click here to reset