Curve fitting

From Glossary of Meteorology

curve fitting

The derivation of an analytic function f(x) with its graph y = f(x) passing through or approximately through a finite set of data points (xi, yi), i = 1, . . ., n.

Curve-fitting procedures include interpolation, in which case f(xi) = yi for each data point, and the least squares method, in which case the derived function minimizes the sum of the squares of the differences between f(xi) and yi over all the data points. The functions used in curve fitting are usually polynomials. In least squares methods, a single polynomial of low degree typically is used over the entire range of x spanned by the data; in interpolation procedures, a separate polynomial typically is defined over each subinterval and the polynomial pieces connected through imposition of certain continuity conditions.
See spline function.

Copyright 2022 American Meteorological Society (AMS). For permission to reuse any portion of this work, please contact Any use of material in this work that is determined to be “fair use” under Section 107 of the U.S. Copyright Act (17 U.S. Code § 107) or that satisfies the conditions specified in Section 108 of the U.S.Copyright Act (17 USC § 108) does not require AMS’s permission. Republication, systematic reproduction, posting in electronic form, such as on a website or in a searchable database, or other uses of this material, except as exempted by the above statement, require written permission or a license from AMS. Additional details are provided in the AMS Copyright Policy statement.