Least_squares Least_squares

Least squares - Definition and Overview

Least squares is a mathematical optimization technique that attempts to find a "best fit" to a set of data by attempting to minimize the sum of the squares of the differences (called residuals) between the fitted function and the data.

It is commonly used in curve fitting. Many other optimization problems can also be expressed in a least squares form, either minimizing energy or maximizing entropy.

See linear regression and Gauss-Markov theorem. The Gauss-Markov theorem says that least-squares estimators are in a certain sense optimal.

To use the method of least squares we use a function f(x), containing some number of unknown constants (for instance f(x) = mx + b, where m and b are not yet known), and find the values of m and b that minimize the sum of the squares of the residuals (that is, the sum of terms of the form (yif(xi))2). We then have the equation for the curve, y = f(x), of the required form, that best fits the data points (xi, yi).

For linear functions f see linear least squares.

For nonlinear functions see Optimization, Gauss-Newton algorithm, Levenberg-Marquardt algorithm.

External links


Example Usage of squares

Derek_Venturi: @amandaxautopsy Because squares are deformed circles.
RachealMc: squares now nicely baking in the oven. Finishing some photo retouches and now wondering if I should put up the x-mas lights...
BookieBill: Aint nothing changed. Them squares just betting more on them Patriots is all. The other teams they betting is them Raiders and Cardinals.
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.