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 qua tri trian uni

Quantlet: gau
Description: gau computes the (multivariate) Gaussian kernel

Usage: y = gau(x)
Input:
x n x p matrix (or array), user-defined data at which the kernel is to be computed
Output:
y n x 1 matrix (or array), the density estimate

Example:
library("kernel")
library("plot")
x = aseq(-3.5,75, 0.1) 			; define x grid
y = gau(x)				; calculate the kernel
dat = setmask(x~y, "line", "blue")
plot(dat)

Result:
The kernel is displayed.



Author: W. Haerdle, S. Klinke, L. Yang, 20021021 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006