Package: lpdensity
Title: Local Polynomial Density Estimation and Inference
Version: 2.5
Author: Matias D. Cattaneo [aut],
  Michael Jansson [aut],
  Xinwei Ma [aut, cre]
Authors@R: c(person(given = c("Matias", "D."),
                      family = "Cattaneo",
                      role = "aut"),
               person(given = "Michael",
                      family = "Jansson",
                      role = "aut"),
               person(given = "Xinwei",
                      family = "Ma",
                      role = c("aut", "cre"),
                      email = "x1ma@ucsd.edu"))
Maintainer: Xinwei Ma <x1ma@ucsd.edu>
Description: 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. 
Imports: ggplot2, MASS
Depends: R (>= 3.1)
License: GPL-2
Encoding: UTF-8
RoxygenNote: 7.3.2
NeedsCompilation: no
Packaged: 2024-10-06 05:53:49 UTC; xinweima
Repository: CRAN
Date/Publication: 2024-10-06 06:50:02 UTC
Built: R 4.5.2; ; 2025-11-01 02:14:47 UTC; windows
