KernelChars | R Documentation |
For a given kernel these functions return some of the most commonly used numeric values related to them.
RK(K) RdK(K) mu2K(K) mu0K(K) K4(K) dom(K)
K |
A kernel as given in |
Most of these functions are implemented as an attribute of every kernel. For the computations of the numeric value for these quantities, see references.
A numeric value returning:
RK |
The L_2 norm of |
RdK |
The L_2 norm of the derivative of |
mu2K |
The second order moment of |
mu2K |
The zeroth order moment of |
dom |
The support of |
K4 |
The fourth order autoconvolution of |
Jorge Luis Ojeda Cabrera.
Fan, J. and Gijbels, I. Local polynomial modelling and its applications\/. Chapman & Hall, London (1996).
Wand, M.~P. and Jones, M.~C. Kernel smoothing\/. Chapman and Hall Ltd., London (1995).
Kernels
, Compute kernel values.
## Note that lower and upper params are set in the definition to ## use 'dom()' function. g <- function(kernels) { mu0 <- sapply(kernels,function(x) computeMu0(x,)) mu0.ok <- sapply(kernels,mu0K) mu2 <- sapply(kernels,function(x) computeMu(2,x)) mu2.ok <- sapply(kernels,mu2K) Rk.ok <- sapply(kernels,RK) RK <- sapply(kernels,function(x) computeRK(x)) K4 <- sapply(kernels,function(x) computeK4(x)) res <- data.frame(mu0,mu0.ok,mu2,mu2.ok,RK,Rk.ok,K4) res } g(kernels=c(EpaK,gaussK,TriweigK,TrianK))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.