Non-linear least squares

From Calculus
(Redirected from NLLS)

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 mn.

For 1im, we define the residual ri as follows:

ri=yif(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(yif(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.