K: Kernel weighting function

Description Usage Arguments Details References See Also

View source: R/K.R

Description

Instrumental to the sBF function. It returns weights used in the Nadaraya-Watson estimator.

Usage

1
K(u, method = "gaussian")

Arguments

u

distance from the origin.

method

type of kernel function. The default value is gaussian, other possible methods are: unifrom, epanechnikov, biweight, and triweight.

Details

The domain of the kernel functions is centered at the origin and generally the weight value returned by the kernel decreases while the distance u from the origin increases.

References

Silverman, B. W. (1986) Density Estimation. London: Chapman and Hall.

See Also

sBF-package, sBF.


sBF documentation built on May 29, 2017, 10:23 a.m.