kernel {SCEM}R Documentation

Epanechnikov kernel

Description

Calculates the value of the Epanechnikov kernel function for any vector.

Usage

kernel(v)

Arguments

v

A vector of real numbers.

Value

A vector of the calculated kernel values for the input vector.

References

Epanechnikov, V. A. (1969). Non-parametric estimation of a multivariate probability density. Theory of Probability and its Applications, 14(1), 153-6.

Examples

x = runif(10)
kernel(x)


[Package SCEM version 1.1.0 Index]