Description Functions Author(s)
The package implements the local polynomial regression estimator of arbitrary degree. Estimates for the regression function (conditional mean), its first and second derivative can be obtained. Moreover, computation of effective kernels (i.e. effectively assigned weights in the kernel smoothing process) is provided. Different compactly supported kernels (Uniform, Epanechnikov, etc.) are available. For local constant regression (Nadaraya-Watson), explicit boundary adjustment via boundary kernels can be conducted. Different boundary kernels are available. Additional functionality includes bandwidth selection via cross-validation and the computation of asymptotic confidence intervals.
LP | Local polynomial estimator. |
NW_boundary | Boundary-adjusted Nadaraya-Watson estimator. |
CV_error_fun | Leave-one-out cross-validation (LOOCV) error. |
bw_CV_fun | CV optimal bandwidth. |
confidence_intervals_LP | Asymptotic confidence intervals for the local polynomial estimator. |
Sven Jacobs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.