HOME

TheInfoList



OR:

In constrained least squares one solves a
linear least squares Linear least squares (LLS) is the least squares approximation of linear functions to data. It is a set of formulations for solving statistical problems involved in linear regression, including variants for ordinary (unweighted), weighted, and ...
problem with an additional constraint on the solution. I.e., the unconstrained equation \mathbf \boldsymbol = \mathbf must be fit as closely as possible (in the least squares sense) while ensuring that some other property of \boldsymbol is maintained. There are often special-purpose algorithms for solving such problems efficiently. Some examples of constraints are given below: * Equality constrained least squares: the elements of \boldsymbol must exactly satisfy \mathbf \boldsymbol = \mathbf (see
Ordinary least squares In statistics, ordinary least squares (OLS) is a type of linear least squares method for choosing the unknown parameters in a linear regression model (with fixed level-one effects of a linear function of a set of explanatory variables) by the ...
). * Regularized least squares: the elements of \boldsymbol must satisfy \, \mathbf \boldsymbol - \mathbf \, \le \alpha (choosing \alpha in proportion to the noise standard deviation of y prevents over-fitting). * Non-negative least squares (NNLS): The vector \boldsymbol must satisfy the vector inequality \boldsymbol \geq \boldsymbol defined componentwise—that is, each component must be either positive or zero. * Box-constrained least squares: The vector \boldsymbol must satisfy the vector inequalities \boldsymbol_\ell \leq \boldsymbol \leq \boldsymbol_u, each of which is defined componentwise. * Integer-constrained least squares: all elements of \boldsymbol must be
integer An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign (−1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
s (instead of
real number In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
s). * Phase-constrained least squares: all elements of \boldsymbol must be real numbers, or multiplied by the same complex number of unit modulus. If the constraint only applies to some of the variables, the mixed problem may be solved using separable least squares by letting \mathbf = mathbf \mathbf /math> and \mathbf ^ = mathbf ^ \mathbf ^/math> represent the unconstrained (1) and constrained (2) components. Then substituting the least-squares solution for \mathbf , i.e. :\hat_1 = \mathbf _1^+ (\mathbf - \mathbf _2 \boldsymbol _2) (where + indicates the Moore–Penrose pseudoinverse) back into the original expression gives (following some rearrangement) an equation that can be solved as a purely constrained problem in \mathbf _2. : \mathbf \mathbf _2 \boldsymbol _2 = \mathbf\mathbf , where \mathbf:=\mathbf-\mathbf _1 \mathbf _1^+ is a
projection matrix In statistics, the projection matrix (\mathbf), sometimes also called the influence matrix or hat matrix (\mathbf), maps the vector of response values (dependent variable values) to the vector of fitted values (or predicted values). It describes t ...
. Following the constrained estimation of \hat_2 the vector \hat_1 is obtained from the expression above.


See also

* Constrained optimization *
Integer programming An integer programming problem is a mathematical optimization or Constraint satisfaction problem, feasibility program in which some or all of the variables are restricted to be integers. In many settings the term refers to integer linear programmin ...


References

{{Reflist Least squares