lpdensity: Local Polynomial Density Estimation and Inference

Without imposing stringent distributional assumptions or shape restrictions, nonparametric estimation has been popular in economics and other social sciences for counterfactual analysis, program evaluation, and policy recommendations. This package implements a novel density (and derivatives) estimator based on local polynomial regressions: lpdensity() to construct local polynomial based density (and derivatives) estimator, and lpbwdensity() to perform data-driven bandwidth selection.

Package details

AuthorMatias D. Cattaneo, Michael Jansson, Xinwei Ma
MaintainerXinwei Ma <x1ma@ucsd.edu>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the lpdensity package in your browser

Any scripts or data that you put into this service are public.

lpdensity documentation built on March 3, 2021, 1:11 a.m.