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: smoother
See also:

Quantlet: supsmo
Description: calculates the super smoother

Usage: sm=supsmo(xy)
Input:
xy n x 2 matrix of user-defined data. In the first column the independent and in the second column the dependent variable are represented.
Output:
sm n x 2 matrix, the first column contains the independent variable xy[,1] and the second column the fitted values.

Example:
library("smoother")
library("plot")
xy = read("motcyc")
sm=supsmo(xy)
sm = setmask(sm,"line","red")
plot(xy, sm)

Result:
plot of the super smoother and the original data



Author: F. Noetzel, W. Haerdle, 19991208 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006