lpreba: lpreba: Local polynomial regression with option for explicit...

Description Functions Author(s)

Description

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.

Functions

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.

Author(s)

Sven Jacobs.


svjaco/lpreba documentation built on March 4, 2022, 12:42 a.m.