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: times
See also: spec

Quantlet: parzen
Description: Calculates the parzen window. Parzen windows classification is a technique for nonparametric density estimation, which can also be used for classification. In the Parzen window (Parzen, 1961), for each frequency, the weights for the weighted moving average of the periodogram values are computed as: wj = 1-6*(j/p)2 + 6*(j/p)3 (for j = 0 to p/2) wj = 2*(1-j/p)3 (for j = p/2 + 1 to p) w-j = wj (for j <> 0)

Reference(s):

Usage: w=parzen(x,t)
Input:
x grid on which the function is calculated
t truncation point
Output:
w Parzen window

Note:

Example:
library("times")
parzen(0,9)

Result:
Contents of w
[1,]   6.75



Author: R. Chen, C. Hafner, W. Haerdle, G. Aydinli, 20010419 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006