Package Bio :: Package Statistics :: Module lowess
[show private | hide private]
[frames | no frames]

Module Bio.Statistics.lowess

This module implements the Lowess function for nonparametric regression.

Functions: lowess Fit a smooth nonparametric regression curve to a scatterplot.

For more information, see William S. Cleveland: "Robust locally weighted regression and smoothing scatterplots", Journal of the American Statistical Association, December 1979, volume 74, number 368, pp. 829-836.
Function Summary
  lowess(x, y, f, iter)
lowess(x, y, f=2./3., iter=3) -> yest

Function Details

lowess(x, y, f=0.66666666666666663, iter=3)

lowess(x, y, f=2./3., iter=3) -> yest

Lowess smoother: Robust locally weighted regression. The lowess function fits a nonparametric regression curve to a scatterplot. The arrays x and y contain an equal number of elements; each pair (x[i], y[i]) defines a data point in the scatterplot. The function returns the estimated (smooth) values of y.

The smoothing span is given by f. A larger value for f will result in a smoother curve. The number of robustifying iterations is given by iter. The function will run faster with a smaller number of iterations.

Generated by Epydoc 2.1 on Mon Aug 27 16:43:47 2007 http://epydoc.sf.net