4: Least-Squares Approximation
( \newcommand{\kernel}{\mathrm{null}\,}\)
The method of least-squares is commonly used to fit a parameterized curve to experimental data. In general, the fitting curve is not expected to pass through the data points, making this problem substantially different from the one of interpolation. We consider here only the simplest case of the same experimental error for all the data points. Let the data to be fitted be given by (xi,yi), with i=1 to n.