Non-linear least squares

From Calculus
Revision as of 22:02, 9 May 2014 by Vipul (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Definition

Non-linear least squares (NLLS) is a generalized problem type related to the problem of linear least squares. It occurs frequently in the context of optimization problems.

Consider the following setup: we have a model function y=f(x,β→) (here, x may be a scalar or vector variable, but y must be scalar; for simplicity, we will notationally treat x as a scalar). The vector β→ is an unknown parameter vector with n coordinates β1,β2,…,βn. We are given a set of m data points (x1,y1),(x2,y2),…,(xm,ym) with m≥n.

For 1≤i≤m, we define the residual ri as follows:

ri=yi−f(xi,β→)

Our goal is to find a choice of the parameter vector β→ for which the sum is minimized:

∑i=1mri2

In other words, we want to minimize the sum:

∑i=1m(yi−f(xi,β→))2

How linear least squares is a special case

The case of linear least squares is the case where the function f(x,β→) is linear as a function of the vector β→ for each value of x. It need not be linear in x.