Learn R Programming

DOvalidation (version 1.1.0)

K.sextic: Sextic Kernel

Description

Evaluation of the Sextic kernel function

Usage

K.sextic(u)

Arguments

u

A vector (or scalar) with the evaluation point(s).

Value

The value of the kernel function at u.

References

Gamiz, M.L., Mammen, E., Martinez-Miranda, M.D. and Nielsen, J.P.(2016). Double one-sided cross-validation of local linear hazards. Journal of the Royal Statistical Society B, 78, 755-779.

See Also

K.epa

Examples

Run this code
# NOT RUN {
curve(K.sextic,-1.5,1.5,main="Sextic kernel",ylab="K(u)",xlab="u")
# The left onesided 
K.sextic.left<-function(u) return(2*K.sextic(u)*(u<0))
curve(K.sextic.left,-1.5,1.5,main="Left onesided sextic kernel",ylab="K(u)",xlab="u")
# }

Run the code above in your browser using DataLab