Library: | kernel |
See also: | cosi epa gau qua trian uni |
Quantlet: | tri | |
Description: | tri computes the triweight kernel, multivariate |
Usage: | y = tri(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 containg the density estimate |
library("kernel") x = aseq(-1.1, 110, 0.02) y = tri(x) t=createdisplay(1,1) show(t,1,1,x~y)
The kernel is pictured