Ordinary least squares
method for estimating the unknown parameters in a linear regression model

In statistics, ordinary least squares (OLS) is a type of linear least squares method for choosing the unknown parameters in a linear regression model by the principle of least squares: minimizing the sum of the squares of the differences between the observed dependent variable (values of the variable being observed) in the input dataset and the output of the (linear) function of the independent variable. Some sources consider OLS to be linear regression.
Geometrically, this is seen as the sum of the squared distances, parallel to the axis of the dependent variable, between each data point in the set and the corresponding point on the regression surface—the smaller the differences, the better the model fits the data. The resulting estimator can be expressed by a simple formula, especially in the case of a simple linear regression, in which there is a single regressor on the right side of the regression equation.
The OLS estimator is consistent for the level-one fixed effects when the regressors are exogenous and forms perfect colinearity (rank condition), consistent for the variance estimate of the residuals when regressors have finite fourth moments and—by the Gauss–Markov theorem—optimal in the class of linear unbiased estimators when the errors are homoscedastic and serially uncorrelated. Under these conditions, the method of OLS provides minimum-variance mean-unbiased estimation when the errors have finite variances. Under the additional assumption that the errors are normally distributed with zero mean, OLS is the maximum likelihood estimator that outperforms any non-linear unbiased estimator.
Linear model
Suppose the data consists of
n
{\displaystyle n}
observations
{
x
i
,
y
i
}
i
=
1
n
{\displaystyle \left\{\mathbf {x} _{i},y_{i}\right\}_{i=1}^{n}}
. Each observation
i
{\displaystyle i}
includes a scalar response
y
i
{\displaystyle y_{i}}
and a column vector
x
i
{\displaystyle \mathbf {x} _{i}}
of
p
{\displaystyle p}
parameters (regressors), i.e.,
x
i
=
[
x
i
1
,
x
i
2
,
…
,
x
i
p
]
T
{\displaystyle \mathbf {x} _{i}=\left[x_{i1},x_{i2},\dots ,x_{ip}\right]^{\operatorname {T} }}
. In a linear regression model, the response variable,
y
i
{\displaystyle y_{i}}
, is a linear function of the regressors:
y
i
=
β
1
x
i
1
+
β
2
x
i
2
+
⋯
+
β
p
x
i
p
+
ε
i
,
{\displaystyle y_{i}=\beta _{1}\ x_{i1}+\beta _{2}\ x_{i2}+\cdots +\beta _{p}\ x_{ip}+\varepsilon _{i},}
or in vector form,
y
i
=
x
i
T
β
+
ε
i
,
{\displaystyle y_{i}=\mathbf {x} _{i}^{\operatorname {T} }{\boldsymbol {\beta }}+\varepsilon _{i},\,}
where
x
i
{\displaystyle \mathbf {x} _{i}}
, as introduced previously, is a column vector of the
i
{\displaystyle i}
-th observation of all the explanatory variables;
β
{\displaystyle {\boldsymbol {\beta }}}
is a
p
×
1
{\displaystyle p\times 1}
vector of unknown parameters; and the scalar
ε
i
{\displaystyle \varepsilon _{i}}
represents unobserved random variables (errors) of the
i
{\displaystyle i}
-th observation.
“Ordinary least squares” enters the record as method for estimating the unknown parameters in a linear regression model. Crown Archives preserves that source wording while asking what Ordinary, least and squares can confirm, complicate or overturn.
Why this record matters
“Ordinary least squares” is worth following because a concise public description often conceals a longer documentary argument. Here, Ordinary, least and squares provides the most credible route into that argument.
Named sources, stable identifiers and responsible institutions provide the strongest route from overview to verifiable evidence. The source revision retrieved here is dated Sep 4, 2026. The linked authority identifier is Q2912993. None of the 0 selected statements returned an explicit reference.
The absence of detail may reflect summary conventions rather than a lack of surviving documentation. The lead is largely declarative, so disagreement and counter-evidence require a deliberate search beyond the opening account. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.
How to read it
Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.
- Subject orientation
- Search vocabulary
- Locating named sources
The closest primary source, responsible institution and strongest cited specialist reference.
Three-step research path
- Establish the record: confirm the title “Ordinary least squares”, its source revision and the description used here.
- Expand the search: follow Ordinary least squares primary sources, Ordinary least squares archive and Ordinary research across catalogues and specialist indexes.
- Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.
Questions for further research
- Which source most directly establishes the central claim about “Ordinary least squares”?
- Which institution is responsible for the underlying evidence?
- What terminology or title could unlock a more precise catalogue search?
Search terms from this dossier
This entry incorporates text from “Ordinary least squares” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.