Library: | kernel |
See also: | cosi epa gau qua tri uni |
Quantlet: | trian | |
Description: | trian computes the triangular kernel, multivariate |
Usage: | y = trian(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 = trian(x) t=createdisplay(1,1) show(t,1,1,x~y)
The kernel is pictured