Learn R Programming

extremefit (version 1.0.2)

Epa.kernel: Epanechnikov kernel function

Description

Epanechnikov kernel function.

Usage

Epa.kernel(x)

Arguments

x

vector.

Details

Epanechnikov kernel: $$ K(x) = 3/4 ( 1 - x^2 ) (abs(x)<=1) $$ We recommend a critical value of 6.1 for this kernel function.

Examples

Run this code
# NOT RUN {
plot(function(x) Epa.kernel(x), -2, 2, ylab = "Epanechnikov kernel function")

# }

Run the code above in your browser using DataLab