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, documented in Cattaneo, Jansson and Ma (2022) <doi:10.18637/jss.v101.i02>: 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>
LicenseGPL-2
Version2.4
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("lpdensity")

Try the lpdensity package in your browser

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

lpdensity documentation built on Jan. 22, 2023, 1:39 a.m.