Categories
  Encyclosphere.org ENCYCLOREADER
  supported by EncyclosphereKSF

Least squares

From Citizendium - Reading time: 2 min


This article is developing and not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article is under development and subject to a disclaimer.

Least squares, also known as ordinary least squares analysis, is a method for linear regression that determines the values of unknown quantities in a statistical model by minimizing the sum of the squared residuals (the difference between the predicted and observed values). This method was first described by Carl Friedrich Gauss. It can be shown that the least-squares approach to regression analysis is optimal in the sense that it satisfies the Gauss-Markov theorem.

A related method is the least mean squares (LMS) method. It occurs when the number of measured data is 1 and the gradient descent method is used to minimize the squared residual.

Many other types of optimization problems can be expressed in a least squares form, by either minimizing energy or maximizing entropy. The least squares method is particularly important in estimation of model parameters from measured data.

Problem statement[edit]

Consider the problem of adjusting a model function to best fit a data set. The chosen model function has adjustable parameters. The data set consist of n points

(yi,𝐱i),i=1,2,,n.

The model function has the form

y=f(𝐱;𝐚),

where y is the dependent variable, x is the vector of independent variables, and a are the adjustable parameters of the model. We wish to find the values of these parameters such that the model best fits the data according to a defined error criterion. The least squares method minimizes the sum of squares of errors,

S(𝐚)=i=1n(yif(𝐱i;𝐚))2,

with respect to the adjustable parameters of the model a.

See also[edit]


Licensed under CC BY-SA 3.0 | Source: https://citizendium.org/wiki/Least_squares
11 views | Status: cached on November 15 2025 21:12:13
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF