powered by
This function helps retrieve the commonly used kernel function, its second moment, and its variance based on the name.
KernelRetrieval(name)
A list that contains three elements.
The interested kernel function.
The second moment of the kernel function.
The variance of the kernel function.
The lower-case full name of the kernel function.
Yikun Zhang, yikunzhang@foxmail.com
# \donttest{ kernel_result <- KernelRetrieval("epanechnikov") kernT <- kernel_result$KernFunc sigmaK_sq <- kernel_result$sigmaK_sq K_sq <- kernel_result$K_sq # }
Run the code above in your browser using DataLab