K {sBF}R Documentation

Kernel weighting function

Description

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

Usage

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.


[Package sBF version 1.0 Index]