Home Statistical Dictionary Span (Linear Algebra)
Span (Linear Algebra)
The set of every vector reachable by combining a given set of vectors -- the concept that defines a regression model's column space as the span of its predictor columns, i.e. every fitted value the model could possibly produce.
In Plain English
The span of a set of vectors is everywhere you can get to by scaling and adding them together, the full territory those vectors can reach. In regression, this idea is exactly what defines which fitted values a model is even capable of producing: the span of the predictor columns is the entire set of possible fitted-value vectors, and least squares picks the single point in that span closest to the actual observed outcomes.
Definition
The span of a set of vectors is the set of all possible linear combinations of them, , itself always a vector space (a subspace of whatever larger space the vectors live in). If the vectors are linearly independent, the span has dimension exactly ; if not, the span still exists but has a smaller dimension than , since some vectors are redundant. In regression, the column space of a design matrix is, by definition, the span of its predictor columns -- the set of every fitted-value vector the model could possibly produce for some choice of coefficients -- and ordinary least squares finds the specific point in that span closest, in Euclidean distance, to the observed response vector.
Formula
Notation
Properties
- The span of a set of vectors depends only on the directions those vectors point in, not on how many redundant vectors are included -- adding a vector that is already a combination of the others to the set never enlarges the span, which is exactly the linear-algebra description of a redundant predictor adding no new modeling capability.
- A basis is precisely a minimal spanning set, one that spans a space using the fewest possible vectors (achieved when the spanning vectors are also linearly independent) -- span describes the reachable territory, while a basis describes the most efficient way to describe that territory.
- The regression column space (the span of a design matrix's predictor columns) is the geometric object the hat matrix projects onto -- understanding column space as a span makes concrete why adding a new, genuinely independent predictor always enlarges the set of fitted values a model can produce, while adding a redundant one does not.
At a Glance