nprobust: Nonparametric Kernel-Based Estimation and Robust Bias-Corrected Inference

Sebastian Calonico, Matias D. Cattaneo, Max H. Farrell
6/1/2019
stat.COecon.EMstat.ME

Official code: nppackages/nprobust (3 stars, last commit 2026-05-27). 1 more implementation below.

Abstract

Nonparametric kernel density and local polynomial regression estimators are very popular in Statistics, Economics, and many other disciplines. They are routinely employed in applied work, either as part of the main empirical analysis or as a preliminary ingredient entering some other estimation or inference procedure. This article describes the main methodological and numerical features of the software package nprobust, which offers an array of estimation and inference procedures for nonparametric kernel-based density and local polynomial regression methods, implemented in both the R and Stata statistical platforms. The package includes not only classical bandwidth selection, estimation, and inference methods (Wand and Jones, 1995; Fan and Gijbels, 1996), but also other recent developments in the statistics and econometrics literatures such as robust bias-corrected inference and coverage error optimal bandwidth selection (Calonico, Cattaneo and Farrell, 2018, 2019). Furthermore, this article also proposes a simple way of estimating optimal bandwidths in practice that always delivers the optimal mean square error convergence rate regardless of the specific evaluation point, that is, no matter whether it is implemented at a boundary or interior point. Numerical performance is illustrated using an empirical application and simulated data, where a detailed numerical comparison with other R packages is given.

View on arXivView PDF

Code Implementations(2)

Kernel Density and Local Polynomial Regression Methods

34R, TeXAug 7, 20204 months agoNOASSERTION
00RAug 9, 20204 months ago

Similar Papers

Cite this paper

@article{calonico2019nprobust,
  title  = {nprobust: Nonparametric Kernel-Based Estimation and Robust Bias-Corrected Inference},
  author = {Sebastian Calonico and Matias D. Cattaneo and Max H. Farrell},
  year   = {2019},
  eprint = {1906.00198},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.00198}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1906.00198.svg)](https://codeofpaper.com/paper/1906.00198)

Discussion