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

Group: Statistical Data Analysis
Topic: Nonparametric Methods
See also: sker isoreg rmed l1line

Function: lowess
Description: lowess computes the robust locally weighted regression. Fitted values are computed at each of the given values x.

Usage: yh = lowess (x, y{, f})
Input:
x n x 1 vector (regressor variables)
y n x 1 vector (response variables)
f scalar
Output:
yh n x 1 vector

Note:

Example:
; read the geyser data
x = read("geyser")
; sort them
x = sort(x)
; compute the estimate
yh = lowess(x[,1], x[,2])
; create a display for plotting
d = createdisplay(1,1)
; show the data and the fitted line
show(d, 1, 1, x, x[,1]~yh)

Result:
n/a



(C) MD*TECH Method and Data Technologies, 05.02.2006