Library: | kernel |
See also: | epa gau qua tri trian uni |
Quantlet: | cosi | |
Description: | cosi computes the cosine kernel, multivariate |
Usage: | y = cosi(x) | |
Input: | ||
x | n x p matrix containing the user-defined data at which the kernel is to be computed | |
Output: | ||
y | n x 1 matrix containing the density estimate |
library("kernel") x = aseq(-1, 21, 0.1) y = cosi(x) t=createdisplay(1,1) show(t,1,1,x~y)
The kernel is pictured