Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

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

Example:
library("kernel")
x = aseq(-1, 21, 0.1)
y = trian(x)
t=createdisplay(1,1)
show(t,1,1,x~y)

Result:
The kernel is pictured



Author: I. Proenca, L. Yang, 20010912
(C) MD*TECH Method and Data Technologies, 05.02.2006