Linear least squares

Short description: Least squares approximation of linear functions to data

Part of a series on

Regression analysis
Models

* Linear regression
* Simple regression
* Polynomial regression
* General linear model

* Generalized linear model
* Discrete choice
* Binomial regression
* Binary regression
* Logistic regression
* Multinomial logit
* Mixed logit
* Probit
* Multinomial probit
* Ordered logit
* Ordered probit
* Poisson

* Multilevel model
* Fixed effects
* Random effects
* Linear mixed-effects model
* Nonlinear mixed-effects model

* Nonlinear regression
* Nonparametric
* Semiparametric
* Robust
* Quantile
* Isotonic
* Principal components
* Least angle
* Local
* Segmented

* Errors-in-variables

Estimation

* Least squares
* Linear
* Non-linear

* Ordinary
* Weighted
* Generalized

* Partial
* Total
* Non-negative
* Ridge regression
* Regularized

* Least absolute deviations
* Iteratively reweighted
* Bayesian
* Bayesian multivariate

Background

* Regression validation
* Mean and predicted response
* Errors and residuals
* Goodness of fit
* Studentized residual
* Gauss–Markov theorem

* v
* t
* e

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 generalized (correlated) residuals. Numerical methods for linear least squares include inverting the matrix of the normal equations and orthogonal decomposition methods.

## Contents

* 1 Basic formulation
* 2 Formulations for Linear Regression
* 2.1 Alternative formulations
* 3 Objective function
* 4 Discussion
* 5 Properties
* 5.1 Limitations
* 6 Applications
* 6.1 Uses in data fitting
* 7 Example
* 7.1 Fitting a line
* 7.2 Fitting a parabola
* 7.3 Fitting other curves and surfaces
* 8 See also
* 9 References
* 10 Further reading
* 11 External links

## Basic formulation

Consider the linear equation

Ax=b,

|
|

(1)

where A∈ℝm×n and b∈ℝm are given and x∈ℝn is variable to be computed. When m>n, it is generally the case that (1) has no solution. For example, there is no value of x that satisfies [100111]x=[110], because the first two rows require that x=(1,1), but then the third row is not satisfied. Thus, for m>n, the goal of solving (1) exactly is typically replaced by finding the value of x that minimizes some error. There are many ways that the error can be defined, but one of the most common is to define it as ‖Ax−b‖2. This produces a minimization problem, called a least squares problem

minimizex∈ℝm‖Ax−b‖2.

|
|

(2)

The solution to the least squares problem (1) is computed by solving the normal equation[1]

A⊤Ax=A⊤b,

|
|

(3)

where A⊤ denotes the transpose of A.

Continuing the example, above, with A=[100111]andb=[110], we find A⊤A=[101011][100111]=[2112] and A⊤b=[101011][110]=[11]. Solving the normal equation gives x=(1/3,1/3).

## Formulations for Linear Regression

The three main linear least squares formulations are:

* Ordinary least squares (OLS) is the most common estimator. OLS estimates are commonly used to analyze both experimental and observational data.

The OLS method minimizes the sum of squared residuals, and leads to a closed-form expression for the estimated value of the unknown parameter vector β: β^=(𝐗T𝐗)−1𝐗T𝐲, where 𝐲 is a vector whose ith element is the ith observation of the dependent variable, and 𝐗 is a matrix whose ij element is the ith observation of the jth independent variable. The estimator is unbiased and consistent if the errors have finite variance and are uncorrelated with the regressors:[2] E⁡[𝐱iεi]=0, where 𝐱i is the transpose of row i of the matrix 𝐗. It is also efficient under the assumption that the errors have finite variance and are homoscedastic, meaning that E[εi2|xi] does not depend on i. The condition that the errors are uncorrelated with the regressors will generally be satisfied in an experiment, but in the case of observational data, it is difficult to exclude the possibility of an omitted covariate z that is related to both the observed covariates and the response variable. The existence of such a covariate will generally lead to a correlation between the regressors and the response variable, and hence to an inconsistent estimator of β. The condition of homoscedasticity can fail with either experimental or observational data. If the goal is either inference or predictive modeling, the performance of OLS estimates can be poor if multicollinearity is present, unless the sample size is large.
* Weighted least squares (WLS) are used when heteroscedasticity is present in the error terms of the model.
* Generalized least squares (GLS) is an extension of the OLS method, that allows efficient estimation of β when either heteroscedasticity, or correlations, or both are present among the error terms of the model, as long as the form of heteroscedasticity and correlation is known independently of the data. To handle heteroscedasticity when the error terms are uncorrelated with each other, GLS minimizes a weighted analogue to the sum of squared residuals from OLS regression, where the weight for the ith case is inversely proportional to var(εi). This special case of GLS is called "weighted least squares". The GLS solution to an estimation problem is β^=(𝐗TΩ−1𝐗)−1𝐗TΩ−1𝐲, where Ω is the covariance matrix of the errors. GLS can be viewed as applying a linear transformation to the data so that the assumptions of OLS are met for the transformed data. For GLS to be applied, the covariance structure of the errors must be known up to a multiplicative constant.

### Alternative formulations

Other formulations include:

* Iteratively reweighted least squares (IRLS) is used when heteroscedasticity, or correlations, or both are present among the error terms of the model, but where little is known about the covariance structure of the errors independently of the data.[3] In the first iteration, OLS, or GLS with a provisional covariance structure is carried out, and the residuals are obtained from the fit. Based on the residuals, an improved estimate of the covariance structure of the errors can usually be obtained. A subsequent GLS iteration is then performed using this estimate of the error structure to define the weights. The process can be iterated to convergence, but in many cases, only one iteration is sufficient to achieve an efficient estimate of β.[4][5]
* Instrumental variables regression (IV) can be performed when the regressors are correlated with the errors. In this case, we need the existence of some auxiliary instrumental variables zi such that E[ziεi] = 0\. If Z is the matrix of instruments, then the estimator can be given in closed form as β^=(𝐗T𝐙(𝐙T𝐙)−1𝐙T𝐗)−1𝐗T𝐙(𝐙T𝐙)−1𝐙T𝐲. Optimal instruments regression is an extension of classical IV regression to the situation where E[εi | zi] = 0.
* Total least squares (TLS)[6] is an approach to least squares estimation of the linear regression model that treats the covariates and response variable in a more geometrically symmetric manner than OLS. It is one approach to handling the "errors in variables" problem, and is also sometimes used even when the covariates are assumed to be error-free.

* Linear Template Fit (LTF)[7] combines a linear regression with (generalized) least squares in order to determine the best estimator. The Linear Template Fit addresses the frequent issue, when the residuals cannot be expressed analytically or are too time consuming to be evaluate repeatedly, as it is often the case in iterative minimization algorithms. In the Linear Template Fit, the residuals are estimated from the random variables and from a linear approximation of the underlying true model, while the true model needs to be provided for at least n+1 (were n is the number of estimators) distinct reference values β. The true distribution is then approximated by a linear regression, and the best estimators are obtained in closed form as β^=((𝐘M~)TΩ−1𝐘M~)−1(𝐘M~)TΩ−1(𝐲−𝐘m¯), where 𝐘 denotes the template matrix with the values of the known or previously determined model for any of the reference values β, 𝐲 are the random variables (e.g. a measurement), and the matrix M~ and the vector m~ are calculated from the values of β. The LTF can also be expressed for Log-normal distribution distributed random variables. A generalization of the LTF is the Quadratic Template Fit, which assumes a second order regression of the model, requires predictions for at least n2+2n distinct values β, and it finds the best estimator using Newton's method.

* Percentage least squares focuses on reducing percentage errors, which is useful in the field of forecasting or time series analysis. It is also useful in situations where the dependent variable has a wide range without constant variance, as here the larger residuals at the upper end of the range would dominate if OLS were used. When the percentage or relative error is normally distributed, least squares percentage regression provides maximum likelihood estimates. Percentage regression is linked to a multiplicative error model, whereas OLS is linked to models containing an additive error term.[8]

* Constrained least squares, indicates a linear least squares problem with additional constraints on the solution.

## Objective function

In OLS (i.e., assuming unweighted observations), the optimal value of the objective function is found by substituting the optimal expression for the coefficient vector: S=𝐲T(𝐈−𝐇)T(𝐈−𝐇)𝐲=𝐲T(𝐈−𝐇)𝐲, where 𝐇=𝐗(𝐗T𝐗)−1𝐗T, the latter equality holding since (𝐈−𝐇) is symmetric and idempotent. It can be shown from this[9] that under an appropriate assignment of weights the expected value of S is m−n. If instead unit weights are assumed, the expected value of S is (m−n)σ2, where σ2 is the variance of each observation.

If it is assumed that the residuals belong to a normal distribution, the objective function, being a sum of weighted squared residuals, will belong to a chi-squared (χ2) distribution with m − n degrees of freedom. Some illustrative percentile values of χ2 are given in the following table.[10]

m−n | χ0.502 | χ0.952 | χ0.992

|
|
|

10 | 9.34 | 18.3 | 23.2
25 | 24.3 | 37.7 | 44.3
100 | 99.3 | 124 | 136

These values can be used for a statistical criterion as to the goodness of fit. When unit weights are used, the numbers should be divided by the variance of an observation.

For WLS, the ordinary objective function above is replaced for a weighted average of residuals.

## Discussion

In statistics and mathematics, linear least squares is an approach to fitting a mathematical or statistical model to data in cases where the idealized value provided by the model for any data point is expressed linearly in terms of the unknown parameters of the model. The resulting fitted model can be used to summarize the data, to predict unobserved values from the same system, and to understand the mechanisms that may underlie the system.

Mathematically, linear least squares is the problem of approximately solving an overdetermined system of linear equations A x = b, where b is not an element of the column space of the matrix A. The approximate solution is realized as an exact solution to A x = b', where b' is the projection of b onto the column space of A. The best approximation is then that which minimizes the sum of squared differences between the data values and their corresponding modeled values. The approach is called linear least squares since the assumed function is linear in the parameters to be estimated. Linear least squares problems are convex and have a closed-form solution that is unique, provided that the number of data points used for fitting equals or exceeds the number of unknown parameters, except in special degenerate situations. In contrast, non-linear least squares problems generally must be solved by an iterative procedure, and the problems can be non-convex with multiple optima for the objective function. If prior distributions are available, then even an underdetermined system can be solved using the Bayesian MMSE estimator.

In statistics, linear least squares problems correspond to a particularly important type of statistical model called linear regression which arises as a particular form of regression analysis. One basic form of such a model is an ordinary least squares model. The present article concentrates on the mathematical aspects of linear least squares problems, with discussion of the formulation and interpretation of statistical regression models and statistical inferences related to these being dealt with in the articles just mentioned. See outline of regression analysis for an outline of the topic.

## Properties

If the experimental errors, ε, are uncorrelated, have a mean of zero and a constant variance, σ, the Gauss–Markov theorem states that the least-squares estimator, β^, has the minimum variance of all estimators that are linear combinations of the observations. In this sense it is the best, or optimal, estimator of the parameters. Note particularly that this property is independent of the statistical distribution function of the errors. In other words, the distribution function of the errors need not be a normal distribution. However, for some probability distributions, there is no guarantee that the least-squares solution is even possible given the observations; still, in such cases it is the best estimator that is both linear and unbiased.

For example, it is easy to show that the arithmetic mean of a set of measurements of a quantity is the least-squares estimator of the value of that quantity. If the conditions of the Gauss–Markov theorem apply, the arithmetic mean is optimal, whatever the distribution of errors of the measurements might be.

However, in the case that the experimental errors do belong to a normal distribution, the least-squares estimator is also a maximum likelihood estimator.[11]

These properties underpin the use of the method of least squares for all types of data fitting, even when the assumptions are not strictly valid.

### Limitations

An assumption underlying the treatment given above is that the independent variable, x, is free of error. In practice, the errors on the measurements of the independent variable are usually much smaller than the errors on the dependent variable and can therefore be ignored. When this is not the case, total least squares or more generally errors-in-variables models, or rigorous least squares, should be used. This can be done by adjusting the weighting scheme to take into account errors on both the dependent and independent variables and then following the standard procedure.[12][13]

In some cases the (weighted) normal equations matrix XTX is ill-conditioned. When fitting polynomials the normal equations matrix is a Vandermonde matrix. Vandermonde matrices become increasingly ill-conditioned as the order of the matrix increases.[citation needed] In these cases, the least squares estimate amplifies the measurement noise and may be grossly inaccurate.[citation needed] Various regularization techniques can be applied in such cases, the most common of which is called ridge regression. If further information about the parameters is known, for example, a range of possible values of β^, then various techniques can be used to increase the stability of the solution. For example, see constrained least squares.

Another drawback of the least squares estimator is the fact that the norm of the residuals, ‖𝐲−𝐗β^‖ is minimized, whereas in some cases one is truly interested in obtaining small error in the parameter β^, e.g., a small value of ‖β−β^‖.[citation needed] However, since the true parameter β is necessarily unknown, this quantity cannot be directly minimized. If a prior probability on β^ is known, then a Bayes estimator can be used to minimize the mean squared error, E{‖β−β^‖2}. The least squares method is often applied when no prior is known. When several parameters are being estimated jointly, better estimators can be constructed, an effect known as Stein's phenomenon. For example, if the measurement error is Gaussian, several estimators are known which dominate, or outperform, the least squares technique; the best known of these is the James–Stein estimator. This is an example of more general shrinkage estimators that have been applied to regression problems.

## Applications

Least square approximation with linear, quadratic and cubic polynomials.

* Polynomial fitting: models are polynomials in an independent variable, x:
* Straight line: f(x,β)=β1+β2x.[14]
* Quadratic: f(x,β)=β1+β2x+β3x2.
* Cubic, quartic and higher polynomials. For regression with high-order polynomials, the use of orthogonal polynomials is recommended.[15]
* Numerical smoothing and differentiation — this is an application of polynomial fitting.
* Multinomials in more than one independent variable, including surface fitting
* Curve fitting with B-splines[12]
* Chemometrics, Calibration curve, Standard addition, Gran plot, analysis of mixtures

### Uses in data fitting

The primary application of linear least squares is in data fitting. Given a set of m data points y1,y2,…,ym, consisting of experimentally measured values taken at m values x1,x2,…,xm of an independent variable (xi may be scalar or vector quantities), and given a model function y=f(x,β), with β=(β1,β2,…,βn), it is desired to find the parameters βj such that the model function "best" fits the data. In linear least squares, linearity is meant to be with respect to parameters βj, so f(x,β)=∑j=1nβjφj(x).

Here, the functions φj may be nonlinear with respect to the variable x.

Ideally, the model function fits the data exactly, so yi=f(xi,β) for all i=1,2,…,m. This is usually not possible in practice, as there are more data points than there are parameters to be determined. The approach chosen then is to find the minimal possible value of the sum of squares of the residuals ri(β)=yi−f(xi,β), (i=1,2,…,m) so to minimize the function S(β)=∑i=1mri2(β).

After substituting for ri and then for f, this minimization problem becomes the quadratic minimization problem above with Xij=φj(xi), and the best fit can be found by solving the normal equations.

## Example

A plot of the data points (in red), the least squares line of best fit (in blue), and the residuals (in green)

A hypothetical researcher conducts an experiment and obtains four (x,y) data points: (1,6), (2,5), (3,7), and (4,10) (shown in red in the diagram on the right). Because of exploratory data analysis or prior knowledge of the subject matter, the researcher suspects that the y-values depend on the x-values systematically. The x-values are assumed to be exact, but the y-values contain some uncertainty or "noise", because of the phenomenon being studied, imperfections in the measurements, etc.

### Fitting a line

One of the simplest possible relationships between x and y is a line y=β1+β2x. The intercept β1 and the slope β2 are initially unknown. The researcher would like to find values of β1 and β2 that cause the line to pass through the four data points. In other words, the researcher would like to solve the system of linear equations β1+1β2=6,β1+2β2=5,β1+3β2=7,β1+4β2=10. With four equations in two unknowns, this system is overdetermined. There is no exact solution. To consider approximate solutions, one introduces residuals r1, r2, r3, r4 into the equations: β1+1β2+r1=6,β1+2β2+r2=5,β1+3β2+r3=7,β1+4β2+r4=10. The ith residual ri is the misfit between the ith observation yi and the ith prediction β1+β2xi: r1=6−(β1+1β2),r2=5−(β1+2β2),r3=7−(β1+3β2),r4=10−(β1+4β2). Among all approximate solutions, the researcher would like to find the one that is "best" in some sense.

In least squares, one focuses on the sum S of the squared residuals: S(β1,β2)=r12+r22+r32+r42=[6−(β1+1β2)]2+[5−(β1+2β2)]2+[7−(β1+3β2)]2+[10−(β1+4β2)]2=4β12+30β22+20β1β2−56β1−154β2+210. The best solution is defined to be the one that minimizes S with respect to β1 and β2. The minimum can be calculated by setting the partial derivatives of S to zero: 0=∂S∂β1=8β1+20β2−56, 0=∂S∂β2=20β1+60β2−154. These normal equations constitute a system of two linear equations in two unknowns. The solution is β1=3.5 and β2=1.4, and the best-fit line is therefore y=3.5+1.4x. The residuals are 1.1, −1.3, −0.7, and 0.9 (see the diagram on the right). The minimum value of the sum of squared residuals is S(3.5,1.4)=1.12+(−1.3)2+(−0.7)2+0.92=4.2.

This calculation can be expressed in matrix notation as follows. The original system of equations is 𝐲=𝐗β, where 𝐲=[65710],𝐗=[11121314],β=[β1β2]. Intuitively, 𝐲=𝐗β⇒𝐗⊤𝐲=𝐗⊤𝐗β⇒β=(𝐗⊤𝐗)−1𝐗⊤𝐲=[3.51.4]. More rigorously, if 𝐗⊤𝐗 is invertible, then the matrix 𝐗(𝐗⊤𝐗)−1𝐗⊤ represents orthogonal projection onto the column space of 𝐗. Therefore, among all vectors of the form 𝐗β, the one closest to 𝐲 is 𝐗(𝐗⊤𝐗)−1𝐗⊤𝐲. Setting 𝐗(𝐗⊤𝐗)−1𝐗⊤𝐲=𝐗β, it is evident that β=(𝐗⊤𝐗)−1𝐗⊤𝐲 is a solution.

### Fitting a parabola

Further information: Polynomial regression

The result of fitting a quadratic function y=β1+β2x+β3x2 (in blue) through a set of data points (xi,yi) (in red). In linear least squares the function need not be linear in the argument x, but only in the parameters βj that are determined to give the best fit.

Suppose that the hypothetical researcher wishes to fit a parabola of the form y=β1x2. Importantly, this model is still linear in the unknown parameters (now just β1), so linear least squares still applies. The system of equations incorporating residuals is 6=β1(1)2+r15=β1(2)2+r27=β1(3)2+r310=β1(4)2+r4

The sum of squared residuals is S(β1)=(6−β1)2+(5−4β1)2+(7−9β1)2+(10−16β1)2. There is just one partial derivative to set to 0: 0=∂S∂β1=708β1−498. The solution is β1=0.703, and the fit model is y=0.703x2.

In matrix notation, the equations without residuals are again 𝐲=𝐗β, where now 𝐲=[65710],𝐗=[14916],β=[β1]. By the same logic as above, the solution is β=(𝐗⊤𝐗)−1𝐗⊤𝐲=[0.703].

The figure shows an extension to fitting the three parameter parabola using a design matrix 𝐗 with three columns (one for x0, x1, and x2), and one row for each of the red data points.

### Fitting other curves and surfaces

More generally, one can have n regressors xj, and a linear model y=β0+∑j=1nβjxj.

## See also

* Line-line intersection#Nearest point to non-intersecting lines, an application
* Line fitting
* Nonlinear least squares
* Regularized least squares
* Simple linear regression
* Partial least squares regression
* Linear function

## References

1. ↑ Weisstein, Eric W. "Normal Equation". Wolfram. https://mathworld.wolfram.com/NormalEquation.html.
2. ↑ Lai, T.L.; Robbins, H.; Wei, C.Z. (1978). "Strong consistency of least squares estimates in multiple regression". PNAS 75 (7): 3034–3036. doi:10.1073/pnas.75.7.3034. PMID 16592540. Bibcode: 1978PNAS...75.3034L.
3. ↑ del Pino, Guido (1989). "The Unifying Role of Iterative Generalized Least Squares in Statistical Algorithms". Statistical Science 4 (4): 394–403. doi:10.1214/ss/1177012408.
4. ↑ Carroll, Raymond J. (1982). "Adapting for Heteroscedasticity in Linear Models". The Annals of Statistics 10 (4): 1224–1233. doi:10.1214/aos/1176345987.
5. ↑ Cohen, Michael; Dalal, Siddhartha R.; Tukey, John W. (1993). "Robust, Smoothly Heterogeneous Variance Regression". Journal of the Royal Statistical Society, Series C 42 (2): 339–353.
6. ↑ Nievergelt, Yves (1994). "Total Least Squares: State-of-the-Art Regression in Numerical Analysis". SIAM Review 36 (2): 258–264. doi:10.1137/1036055.
7. ↑ Britzger, Daniel (2022). "The Linear Template Fit". Eur. Phys. J. C 82 (8): 731. doi:10.1140/epjc/s10052-022-10581-w. Bibcode: 2022EPJC...82..731B.
8. ↑ Tofallis, C (2009). "Least Squares Percentage Regression". Journal of Modern Applied Statistical Methods 7: 526–534. doi:10.2139/ssrn.1406472. https://digitalcommons.wayne.edu/cgi/viewcontent.cgi?article=1466&context=jmasm.
9. ↑ Hamilton, W. C. (1964). Statistics in Physical Science. New York: Ronald Press. https://archive.org/details/statisticsinphys0000hami.
10. ↑ Spiegel, Murray R. (1975). Schaum's outline of theory and problems of probability and statistics. New York: McGraw-Hill. ISBN 978-0-585-26739-5.
11. ↑ Margenau, Henry; Murphy, George Moseley (1956). The Mathematics of Physics and Chemistry. Princeton: Van Nostrand. https://archive.org/details/mathematicsofphy0002marg.
12. ↑ 12.0 12.1 Gans, Peter (1992). Data fitting in the Chemical Sciences. New York: Wiley. ISBN 978-0-471-93412-7.
13. ↑ Deming, W. E. (1943). Statistical adjustment of Data. New York: Wiley.
14. ↑ Acton, F. S. (1959). Analysis of Straight-Line Data. New York: Wiley.
15. ↑ Guest, P. G. (1961). Numerical Methods of Curve Fitting. Cambridge: Cambridge University Press. [page needed]

## Further reading

* Bevington, Philip R.; Robinson, Keith D. (2003). Data Reduction and Error Analysis for the Physical Sciences. McGraw-Hill. ISBN 978-0-07-247227-1.

## External links

* Least Squares Fitting - From MathWorld
* Least Squares Fitting-Polynomial - From MathWorld

* v
* t
* e

Least squares and regression analysis

Computational statistics|

* Least squares
* Linear least squares
* Non-linear least squares
* Iteratively reweighted least squares

Correlation and dependence|

* Pearson product-moment correlation
* Rank correlation (Spearman's rho
* Kendall's tau)
* Partial correlation
* Confounding variable

Regression analysis|

* Ordinary least squares
* Partial least squares
* Total least squares
* Ridge regression

Regression as a
statistical model|

| Linear regression|

* Simple linear regression
* Ordinary least squares
* Generalized least squares
* Weighted least squares
* General linear model

|

Predictor structure|

* Polynomial regression
* Growth curve (statistics)
* Segmented regression
* Local regression

Non-standard|

* Nonlinear regression
* Nonparametric
* Semiparametric
* Robust
* Quantile
* Isotonic

Non-normal errors|

* Generalized linear model
* Binomial
* Poisson
* Logistic

Decomposition of variance|

* Analysis of variance
* Analysis of covariance
* Multivariate AOV

Model exploration|

* Stepwise regression
* Model selection
* Mallows's Cp
* AIC
* BIC
* Model specification
* Regression validation

Background|

* Mean and predicted response
* Gauss–Markov theorem
* Errors and residuals
* Goodness of fit
* Studentized residual
* Minimum mean-square error

Design of experiments|

* Response surface methodology
* Optimal design
* Bayesian design

Numerical approximation|

* Numerical analysis
* Approximation theory
* Numerical integration
* Gaussian quadrature
* Orthogonal polynomials
* Chebyshev polynomials
* Chebyshev nodes

Applications|

* Curve fitting
* Calibration curve
* Numerical smoothing and differentiation
* System identification
* Moving least squares

* Regression analysis category
* Statistics category
*   * Statistics outline
* Statistics topics

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Linear least squares. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Linear_least_squares&oldid=206559"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template