lpcde: Local Polynomial Conditional Density Estimation and Inference

04/21/2022
by   Matias D. Cattaneo, et al.
0

This paper discusses the R package lpcde, which stands for local polynomial conditional density estimation. It implements the kernel-based local polynomial smoothing methods introduced in Cattaneo, Chandak, Jansson, Ma (2022) for statistical estimation and inference of conditional distributions, densities, and derivatives thereof. The package offers pointwise and integrated mean square error optimal bandwidth selection and associated point estimators, as well as uncertainty quantification based on robust bias correction both pointwise (e.g., confidence intervals) and uniformly (e.g., confidence bands) over evaluation points. The methods implemented are boundary adaptive whenever the data is compactly supported. We contrast the functionalities of lpcde with existing R packages, and showcase its main features using simulated data.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset