首页    期刊浏览 2024年11月28日 星期四
登录注册

文章基本信息

  • 标题:lpdensity: Local Polynomial Density Estimation and Inference
  • 本地全文:下载
  • 作者:Matias D. Cattaneo ; Michael Jansson ; Xinwei Ma
  • 期刊名称:Journal of Statistical Software
  • 印刷版ISSN:1548-7660
  • 电子版ISSN:1548-7660
  • 出版年度:2022
  • 卷号:101
  • 页码:1-25
  • DOI:10.18637/jss.v101.i02
  • 语种:English
  • 出版社:University of California, Los Angeles
  • 摘要:Density estimation and inference methods are widely used in empirical work. When the underlying distribution has compact support, conventional kernel-based density estimators are no longer consistent 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 and studied in Cattaneo, Jansson, and Ma (2020, 2022), which is boundary adaptive and involves only one tuning parameter. The methods implemented also cover local polynomial estimation of the cumulative distribution function and density derivatives. In addition to point estimation and graphical procedures, the package offers consistent variance estimators, mean squared error optimal bandwidth selection, robust bias-corrected inference, and confidence bands construction, among other features. A comparison with other density estimation packages available in R using a Monte Carlo experiment is provided.
国家哲学社会科学文献中心版权所有