Tutorials › Regression Analysis (Undergraduate) › How Collinearity Inflates Standard Errors

Collinearity and Estimate Stability · Tutorial 800 of 991

How Collinearity Inflates Standard Errors

Learn why collinearity makes individual regression coefficients less precise, how VIF quantifies the increase in standard error, and how that increase widens confidence intervals.

Intermediate 10 min read

What You'll Learn

  • Connect a predictor’s remaining variation after accounting for other predictors to its coefficient standard error.
  • Use the variance inflation factor to quantify the standard-error increase due to redundancy.
  • Calculate coefficient standard errors and confidence intervals with full precision in intermediate steps.
  • Explain why collinearity changes precision without changing the least-squares fitting objective.
  • Identify assumptions needed for standard errors and t-based confidence intervals.

Why Collinearity Affects Precision

In multiple regression, each coefficient describes the association between the outcome and one predictor while the other predictors are held fixed. If two predictors contain much of the same information, the data may provide little independent variation with which to distinguish their separate contributions. The least-squares calculation can still produce coefficient estimates, but those estimates are less precise: their standard errors are larger, and their confidence intervals are wider.

The key quantity is not simply whether two predictors are correlated. It is how much variation in a predictor remains after its linear relationship with the other predictors is accounted for. The variance inflation factor (VIF) expresses how this remaining variation affects the standard error of that predictor’s coefficient.

Model and assumptions: Consider the multiple linear regression model \(Y_i=\beta_0+\beta_1X_{i1}+\cdots+\beta_pX_{ip}+\varepsilon_i\), for \(i=1,\ldots,n\). For the standard coefficient variance formulas, assume the predictors are not exactly collinear, the errors have mean zero conditional on the predictors, and the errors have common variance \(\sigma^2\) and are independent across observations. For exact t-based confidence intervals, also assume normally distributed errors conditional on the predictors. Here \(p\) is the number of predictors, not including the intercept.

These assumptions describe the setting for the formulas; they do not say that the predictors themselves must be independent of one another. Indeed, the question here is what happens when predictors are strongly related. The assumptions also do not imply that every real data set satisfies the model. Residual diagnostics and knowledge of how the observations were collected remain important.

Remaining Predictor Variation and VIF

To measure redundancy for predictor \(X_j\), regress its observed values on the other \(p-1\) predictors, including an intercept. Let \(R_j^2\) denote the coefficient of determination from this auxiliary regression. When the values of \(X_j\) are centered, write \(S_{xx,j}=\sum_{i=1}^n(X_{ij}-\bar{X}_j)^2\). The portion of this centered variation not explained by the other predictors is \(S_{xx,j}(1-R_j^2)\).

Definition: The variance inflation factor for predictor \(X_j\) is \(\mathrm{VIF}_j=1/(1-R_j^2)\). Under the stated regression assumptions, the variance and standard error of its least-squares coefficient are $$ \mathrm{Var}(\hat{\beta}_j\mid X)=\frac{\sigma^2}{S_{xx,j}(1-R_j^2)} =\frac{\sigma^2}{S_{xx,j}}\mathrm{VIF}_j, \qquad SE(\hat{\beta}_j)=s\sqrt{\frac{\mathrm{VIF}_j}{S_{xx,j}}}. $$ Here \(s=\sqrt{\mathrm{SSE}/(n-p-1)}\) estimates the error standard deviation \(\sigma\). \(SE(\hat{\beta}_j)\) estimates the standard deviation of the coefficient estimator, conditional on the observed predictors.

This formula separates two influences on precision. The amount of spread in \(X_j\), represented by \(S_{xx,j}\), matters: more spread can make a slope easier to estimate. Redundancy with the other predictors matters through the VIF: for the same spread and residual standard deviation, a larger VIF increases the standard error by the square root of the VIF. A VIF of 4, for instance, multiplies the standard error by 2 relative to the comparison in which that predictor has the same spread but no linear predictability from the others.

Why the Formula Has This Form

A short derivation makes the role of redundancy explicit. First remove from \(X_j\) the part predicted by the other predictors, and call the remaining values \(r_{ij}\). In the auxiliary regression, these residuals are orthogonal to the other predictors and to the intercept. The least-squares coefficient for \(X_j\) can therefore be written as the sum of \(r_{ij}Y_i\), divided by the sum of \(r_{ij}^2\). Substituting the regression model for \(Y_i\), the contributions from the intercept and the other predictors cancel because of that orthogonality. What remains is $$ \hat{\beta}_j=\beta_j+\frac{\sum_{i=1}^n r_{ij}\varepsilon_i}{\sum_{i=1}^n r_{ij}^2}. $$

Conditional on the predictors, the \(r_{ij}\) values are fixed. The errors have variance \(\sigma^2\) and are independent, so the variance of the numerator is \(\sigma^2\sum_i r_{ij}^2\). Dividing by the squared denominator gives $$ \mathrm{Var}(\hat{\beta}_j\mid X) =\frac{\sigma^2\sum_i r_{ij}^2}{\left(\sum_i r_{ij}^2\right)^2} =\frac{\sigma^2}{\sum_i r_{ij}^2}. $$

The auxiliary regression explains a fraction \(R_j^2\) of the centered sum of squares of \(X_j\), so its residual sum of squares is \(\sum_i r_{ij}^2=S_{xx,j}(1-R_j^2)\). Substitution yields the variance formula above. Thus, as the other predictors explain more of \(X_j\), less residual variation is left to identify \(\beta_j\), and the coefficient variance increases.

Worked Examples

Worked Example: Comparing Standard Errors at Two VIF Values

Suppose a hypothetical model predicts clinic waiting time in minutes from two predictors. For one predictor, the centered sum of squares is \(S_{xx,j}=80\) predictor-unit squared, and the residual standard deviation is \(s=3\) minutes. Suppose its VIF is 1 in one design and 4 in a second design, with the same \(S_{xx,j}\) and \(s\). The auxiliary regression and residual checks are stipulated to be appropriate for this illustration; the observations are independent, and errors have a common variance. No confidence interval is calculated here, so normality is not needed for this standard-error comparison.

For VIF 1, $$ SE(\hat{\beta}_j)=3\sqrt{\frac{1}{80}}=\frac{3}{\sqrt{80}}\approx0.3354\ \text{minutes per predictor unit}. $$

For VIF 4, $$ SE(\hat{\beta}_j)=3\sqrt{\frac{4}{80}}=\frac{6}{\sqrt{80}}\approx0.6708\ \text{minutes per predictor unit}. $$

The second standard error is twice the first because \(\sqrt{4}=2\). With the same predictor spread and residual variability, the increased redundancy makes the coefficient less precise. The standard error describes sampling variability; it is not a measure of the size of the coefficient itself.

Worked Example: A VIF of 10 and a 95% Confidence Interval

Consider a hypothetical regression of laboratory processing time, in hours, on two predictors. For one predictor, suppose \(S_{xx,j}=50\) predictor-unit squared, \(s=2\) hours, and \(\mathrm{VIF}_j=10\). Let the estimated slope be \(\hat{\beta}_j=-0.300\) hours per predictor unit. Suppose there are 25 observations, so \(df=n-p-1=25-2-1=22\), and the 95% t critical value is 2.074. Assume the observations are independent, the error variance is constant, and the conditional errors are normal; suppose the model checks support using the t interval.

The standard error is $$ SE(\hat{\beta}_j)=2\sqrt{\frac{10}{50}}=2\sqrt{0.2}\approx0.894427\ \text{hours per predictor unit}. $$

Retain that precision when calculating the margin of error: $$ 2.074(0.894427)\approx1.8550416\ \text{hours per predictor unit}. $$

Therefore, the 95% confidence interval is $$ -0.300\pm1.8550416=[-2.1550416,\ 1.5550416], $$ or, to three decimal places, \([-2.155,\ 1.555]\) hours per predictor unit. In repeated samples under the model and procedure, 95% of intervals constructed this way would cover the true slope. This interval is wide relative to the estimate, reflecting limited precision; it does not mean there is a 95% probability that this fixed slope lies in this particular interval.

Worked Example: How the Same Estimate Can Have Different Precision

Suppose two hypothetical analyses of an outcome measured in points have the same estimated coefficient, \(\hat{\beta}_j=0.60\) points per predictor unit, the same \(s=1.5\) points, and \(S_{xx,j}=36\) predictor-unit squared. The first has VIF 1 and the second VIF 9. Each analysis has \(df=30\), and a 95% interval uses \(t^*=2.042\). Assume independent observations, constant error variance, normal conditional errors, and adequate model checks for both. Treating the coefficient estimate as the same isolates the effect of the VIF on precision.

At VIF 1, $$ SE_1=1.5\sqrt{\frac{1}{36}}=0.250\ \text{points per predictor unit}, \qquad \text{margin}_1=2.042(0.250)=0.5105. $$ The interval is \(0.60\pm0.5105=[0.0895,\ 1.1105]\) points per predictor unit.

At VIF 9, $$ SE_2=1.5\sqrt{\frac{9}{36}}=0.750\ \text{points per predictor unit}, \qquad \text{margin}_2=2.042(0.750)=1.5315. $$ The interval is \(0.60\pm1.5315=[-0.9315,\ 2.1315]\) points per predictor unit.

The second standard error and margin of error are three times as large because \(\sqrt{9}=3\). The larger interval includes zero, whereas the first does not. This comparison illustrates how redundancy can change the uncertainty conveyed by an interval even when the point estimate is held fixed; the interval alone does not establish why the estimates differ or what a model should include.

What Changes—and What Does Not

Collinearity does not alter the least-squares objective: ordinary least squares still chooses the coefficients that minimize the sum of squared residuals. The standard-error formula explains a different issue: how much the estimated coefficient would vary across repeated samples with the same predictor structure under the model assumptions. Greater redundancy leaves less independent predictor variation and increases that sampling variability.

For a t-based interval for one coefficient, the usual form is $$ \hat{\beta}_j\pm t^*SE(\hat{\beta}_j), $$ where \(t^*\) is the critical value for the chosen confidence level and \(df=n-p-1\). If the degrees of freedom, confidence level, and residual standard deviation are held fixed, increasing the VIF widens the interval in direct proportion to \(\sqrt{\mathrm{VIF}_j}\). In applications, those other quantities may differ as well, so the VIF is one important part of the uncertainty calculation, not a substitute for examining the full model and data.

Common Mistake

  • Wrong reasoning: “The VIF is 9, so the coefficient standard error is nine times larger.”
  • Correction: The VIF multiplies the coefficient variance. Since standard error is the square root of variance, it is multiplied by \(\sqrt{9}=3\), assuming the predictor spread and residual standard deviation are unchanged.
  • Wrong reasoning: “The least-squares fitting procedure must change when predictors are collinear.”
  • Correction: The least-squares objective stays the same. Redundancy changes how much information the predictor data provide for separating coefficient contributions, which is reflected in larger standard errors.
  • Wrong reasoning: “A wide confidence interval means the coefficient estimate itself is large.”
  • Correction: Width reflects uncertainty, which depends on the standard error and critical value. The point estimate and the interval width answer different questions.
Key takeaway: For predictor \(X_j\), coefficient variance is proportional to its VIF and its standard error is proportional to the square root of its VIF, when residual variability and predictor spread are fixed. Redundancy reduces the unique variation available to estimate that predictor’s coefficient, widening its confidence interval without changing the least-squares fitting rule.

Check Your Understanding

Use the formulas and distinctions in this tutorial to answer the following.

  1. If a predictor’s VIF rises from 1 to 16 while \(s\) and \(S_{xx,j}\) stay fixed, by what factor does its coefficient standard error change?
  2. In the standard error formula, what does \(S_{xx,j}(1-R_j^2)\) represent?
  3. For \(s=4\), \(S_{xx,j}=100\), and VIF \(=4\), calculate the coefficient standard error, including its units if the outcome is in seconds and the predictor is measured in meters.
  4. Why is a t-based confidence interval wider when the VIF increases, assuming the estimate, degrees of freedom, and residual standard deviation are held fixed?
  5. Does increased collinearity change the least-squares objective, or does it change the precision of coefficient estimates? Explain briefly.