Learn R Programming

HQM (version 0.1.1)

Epan: Epanechnikov kernel

Description

Implements the Epanechnikov kernel function

Usage

Epan(x)

Value

Scalar, the value of the Epanechnikov kernel at \(x\).

Arguments

x

A vector of design points where the kernel will be evaluated.

Details

Implements the Epanechnikov kernel function $$ K(x) = \frac{3}{4}(1-x^2)*(|x|<1)),$$