Why Near Collinearity Is a Geometric Problem
When two predictors move together across the observations, the data contain abundant information about their shared direction but little information about how their separate effects differ. Regression can still produce fitted values, yet small changes in the data may lead to large changes in the two estimated coefficients. The geometry makes this distinction precise: a long, narrow confidence region for the coefficients can coexist with much shorter uncertainty in directions that the observed predictors actually cover well.
The discussion below uses a two-predictor linear regression with an intercept. The predictors are centered, and each predictor column is scaled to have Euclidean length one. Centering makes the predictor columns orthogonal to the intercept, and scaling makes their relative angle the focus rather than their measurement units. These conventions simplify the formulas; the same geometric idea applies to unscaled predictors, though the numerical covariance matrix then depends on their lengths as well as their angle.
Write the two centered predictor columns as vectors \(x_1\) and \(x_2\), and define \(r=x_1^\mathsf{T}x_2\). Since each vector has length one, \(r\) is their inner product and also their sample correlation under this scaling. Values of \(r\) close to 1 mean the columns point in nearly the same direction; values close to -1 mean they point in nearly opposite directions. Either case means one predictor direction can be approximated by the other, although the formulas below use \(r\) close to 1 for illustration.
Projection Directions and Coefficient Uncertainty
The two predictor columns can be rewritten using orthogonal directions. For \(-1<r<1\), define
Both \(u\) and \(w\) have length one, and \(u^\mathsf{T}w=0\). For example, \((x_1+x_2)^\mathsf{T}(x_1-x_2)=\lVert x_1\rVert^2-\lVert x_2\rVert^2=0\). The model's predictor contribution can now be expressed as
This equation shows why the sum and difference of the coefficients play different roles. The common direction \(u\) is multiplied by \(\sqrt{(1+r)/2}\), which is close to one when \(r\) is near 1. The contrast direction \(w\) is multiplied by \(\sqrt{(1-r)/2}\), which is small. Consequently, a large change in \(\beta_1-\beta_2\) can make only a modest change in the fitted predictor contribution along \(w\).
Deriving the Coefficient Covariance
After the intercept is accounted for, the predictor part of the design matrix has Gram matrix
For ordinary least squares, under the fixed-design and error assumptions above, the covariance matrix of the two slope estimates is \(\sigma^2(X^\mathsf{T}X)^{-1}\). Inverting the matrix gives
The determinant \(1-r^2\) approaches zero as \(|r|\) approaches one, so the coefficient variances grow. The negative covariance when \(r>0\) has a useful interpretation: increasing one estimated slope can be offset by decreasing the other while preserving much of the fitted signal.
With fixed \(X\) and uncorrelated errors of variance \(\sigma^2\), \(\operatorname{Cov}(\hat\beta)=\sigma^2(X^\mathsf{T}X)^{-1}\).
The determinant is \(1-r^2\), so the inverse is \((1-r^2)^{-1}\begin{pmatrix}1&-r\\-r&1\end{pmatrix}\).
The covariance eigenvalues are \(\sigma^2/(1+r)\) for the sum direction and \(\sigma^2/(1-r)\) for the difference direction. For positive \(r\) near one, the latter is much larger.
Under normal errors with known \(\sigma^2\), the joint confidence region for \((\beta_1,\beta_2)\) is an ellipse: its centered quadratic form is bounded by the appropriate chi-square quantile. Its principal axes point along the coefficient sum and difference directions. The long axis is the difference direction for positive near-collinearity. The ratio of its semiaxis length to the short semiaxis length is \(\sqrt{(1+r)/(1-r)}\). If \(\sigma^2\) is estimated instead, an exact finite-sample region uses the corresponding \(F\)-based scaling; the orientation and relative elongation remain the same. These confidence-region statements require normal errors for their exact finite-sample interpretation.
Worked Example: Reading an Elongated Coefficient Region
Suppose two centered, unit-length predictor columns have inner product \(r=0.98\), and the error variance is known to be \(\sigma^2=4\). Find the variances and covariance of the slope estimates, their standard errors, and the ratio of the confidence ellipse's long to short semiaxis. State which coefficient combination is poorly determined.
Method. Use the inverse Gram matrix to calculate the coefficient covariance, then use its sum- and difference-direction eigenvalues to describe the ellipse.
First, \(1-r^2=1-(0.98)^2=1-0.9604=0.0396\). Thus
Each slope has variance \(101.0101\) and standard error \(\sqrt{101.0101}=10.0504\). Their covariance is \(-98.9899\). Along the sum direction, the covariance eigenvalue is \(4/(1+0.98)=4/1.98=2.0202\); along the difference direction, it is \(4/(1-0.98)=4/0.02=200\). The semiaxis ratio is \(\sqrt{200/2.0202}=\sqrt{99}=9.9499\), or about 9.95. The difference combination \(\beta_1-\beta_2\) is poorly determined. This calculation avoids the mistake of interpreting two large individual standard errors as evidence that every coefficient combination is equally uncertain.
Check. The ellipse's difference-direction eigenvalue is much larger than its sum-direction eigenvalue, as expected for two nearly parallel predictor columns.
Why Fitted Values May Be More Stable
Large uncertainty in separate slopes does not automatically imply equally large uncertainty in fitted values. A fitted value depends on a particular combination of the coefficients. If the prediction uses predictor values that follow the same common pattern as the observed columns, the unstable coefficient contrast may cancel. In contrast, predicting for a pattern that separates the two predictors can depend heavily on that uncertain contrast.
For a new predictor vector \(z=(z_1,z_2)^\mathsf{T}\), the estimated mean response from the slopes is \(z^\mathsf{T}\hat\beta\). Its variance, conditional on the fixed design, is \(z^\mathsf{T}\operatorname{Cov}(\hat\beta)z\). This is uncertainty in the estimated mean, not the additional observation error for a future individual response. For the latter, add \(\sigma^2\), provided the future error has the same variance and is independent of the fitted data.
Worked Example: Comparing Common-Pattern and Contrast Predictions
For the same two-column design, suppose \(r=0.90\) and \(\sigma^2=1\). Compare the variance of the estimated mean response for the predictor coordinates \(z=(1,1)^\mathsf{T}\) and \(z=(1,-1)^\mathsf{T}\). Then find the standard error for each estimated mean. Treat these coordinates as the specified prediction points on the same predictor scale.
Method. Calculate \(z^\mathsf{T}\operatorname{Cov}(\hat\beta)z\), equivalently using the covariance eigenvalues in the sum and difference directions.
Here \(1-r^2=1-0.81=0.19\), so the slope covariance matrix is
For \(z=(1,1)^\mathsf{T}\), the estimated mean uses \(\hat\beta_1+\hat\beta_2\). Its variance is
Its standard error is \(\sqrt{1.0526}=1.0260\). For \(z=(1,-1)^\mathsf{T}\), the estimated mean uses \(\hat\beta_1-\hat\beta_2\), giving
The contrast prediction has much greater uncertainty because it asks the model to separate effects in a direction weakly represented by the observed predictor columns. These are standard errors for estimated means; prediction intervals for future responses would also include the error variance \(1\). Check: the common-pattern point has the smaller variance, consistent with the observed columns' strong positive alignment.
Worked Example: Similar Fits From Different Coefficients
Suppose two unit-length centered predictor columns satisfy \(r=0.99\). Compare the fitted predictor contributions from slope pairs \((\hat\beta_1,\hat\beta_2)=(6,-4)\) and \((1,1)\). Find the Euclidean length of the difference between the resulting fitted contribution vectors. Explain what this says about coefficient interpretation.
Method. Subtract the coefficient pairs first. The difference in fitted contributions is \(5x_1-5x_2=5(x_1-x_2)\).
Its squared length is
Therefore the length is \(\sqrt{0.50}=0.7071\). The first coefficient pair differs substantially from the second, but the resulting fitted contributions are separated by only 0.7071 in Euclidean length on the observed design. That is the geometric reason separate coefficient interpretations can be fragile even when the fitted response pattern changes little. Check: if \(r\) moved closer to 1 while the coefficient difference remained fixed, \(\lVert x_1-x_2\rVert\) and hence this fitted-vector difference would shrink.
Common Trap: Confusing Coefficient Uncertainty With Prediction Uncertainty
A frequent error is to see large standard errors for individual slopes and conclude that the model's fitted values must all be unreliable. The conclusion does not follow. Each slope standard error describes uncertainty in one coordinate of the coefficient vector. Prediction uncertainty depends on the particular vector \(z\) at which the model is evaluated. Under the assumptions already stated, it is \(z^\mathsf{T}\operatorname{Cov}(\hat\beta)z\), not simply the sum of the two slope variances.
For example, in the \(r=0.90,\ \sigma^2=1\) calculation above, a mistaken approach might add the two slope variances and report \(2/0.19=10.5263\) as the prediction variance for \(z=(1,1)\). That omits the covariance term. The correct calculation includes it:
The omitted covariance is strongly negative, so ignoring it badly overstates uncertainty in the common-pattern prediction. For the contrast \(\hat\beta_1-\hat\beta_2\), the covariance enters with a minus sign and increases uncertainty instead. Always use the full covariance matrix for a linear combination.
When the Geometry Matters
The geometry is useful whenever model interpretation, prediction, or inference depends on separating effects of related predictors. For example, a hypothetical insurer might model claim cost using two exposure measures that tend to rise together. The regression could estimate their combined contribution reasonably while providing weak evidence about which measure has the larger conditional slope. The example is hypothetical: the point is that the design's geometry, not the application label, controls the distinction.
Near collinearity does not by itself bias ordinary least-squares estimates under the stated model assumptions. Instead, it increases sampling variability in certain coefficient directions. Nor does the geometric argument guarantee accurate prediction everywhere: predictions along poorly supported contrast patterns can be highly uncertain, especially outside the patterns represented in the observed design. A careful interpretation therefore asks both what coefficient combination is being discussed and whether the prediction point follows the data's shared pattern.
Check Your Understanding
For each problem, identify the relevant geometric direction and keep the covariance term when evaluating a linear combination.
- Two centered unit-length columns have \(r=0.95\) and \(\sigma^2=2\). Find the variance of each slope estimate and the covariance between them. (Answer: each variance is \(2/(1-0.95^2)=20.5128\); covariance is \(-0.95(2)/(1-0.95^2)=-19.4872\).)
- For \(r=0.80\) and \(\sigma^2=1\), find the variance of \(\hat\beta_1+\hat\beta_2\) and of \(\hat\beta_1-\hat\beta_2\). Which is less precisely estimated? (Answer: sum variance \(2/(1+0.80)=1.1111\); difference variance \(2/(1-0.80)=10\); the difference is less precise.)
- Two unit-length centered predictor columns have \(r=0.96\). Two coefficient pairs differ by \((3,-3)\). Find the length of the change in their fitted contribution vectors. (Answer: \(\lVert3(x_1-x_2)\rVert=3\sqrt{2(1-0.96)}=3\sqrt{0.08}=0.8485\).)
- For \(r=0.75\), \(\sigma^2=4\), and prediction coordinates \(z=(1,1)^\mathsf{T}\), find the variance of the estimated mean. State why it is not the sum of the two slope variances. (Answer: \(4\cdot2/(1+0.75)=4.5714\); the negative covariance between slopes must be included.)
- Suppose \(r=0.98\) and \(\sigma^2=1\). Find the long-to-short semiaxis ratio of the normal-theory coefficient confidence ellipse, and identify its long-axis direction. (Answer: \(\sqrt{(1+0.98)/(1-0.98)}=\sqrt{99}=9.9499\); the long axis is the coefficient-difference direction.)