CRAN

lpdensity 0.2.3

Local Polynomial Density Estimation and Inference

Released Apr 15, 2019 by Xinwei Ma

This package cannot yet be used with Renjin it depends on other packages which are not available: ggplot2 3.1.1 An older version of this package is more compatible with Renjin.

Dependencies

ggplot2 3.1.1

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

Source

R

View GitHub Mirror

Release History