Tutorials › Statistical Theory III - Theories of Inference, Multivariate Methods, and Contingency Tables › Studentized OLS Contrasts and Limiting t Laws

Random-Design Regression Asymptotics · Tutorial 575 of 972

Studentized OLS Contrasts and Limiting t Laws

Learn how consistent covariance estimation turns an OLS contrast into an asymptotically standard-normal statistic, and why this does not generally give an exact finite-sample t distribution.

Advanced 12 min read

What You'll Learn

  • State conditions for asymptotic studentization of a scalar OLS contrast.
  • Express the contrast’s asymptotic variance using the population Gram matrix and score covariance.
  • Use a consistent covariance estimator to obtain a standard-normal limit.
  • Distinguish heteroskedasticity-robust asymptotic inference from exact finite-sample t inference.
  • Derive the exact t law under Gaussian homoskedastic errors and a full-rank design.

From an OLS Limit to a Studentized Contrast

An asymptotic distribution for an estimator is useful only if its scale can also be estimated. For a scalar contrast of OLS coefficients, the central question is whether the estimated standard error tracks the contrast’s sampling variability closely enough that dividing by it produces a standard normal limit. The answer is yes under regularity conditions and consistent covariance estimation. It does not, in general, mean that the resulting statistic has an exact Student t distribution at a finite sample size.

Consider observations \((Y_i,X_i)\), \(i=1,\ldots,n\), where \(X_i\) is a \(k\)-dimensional regressor vector and \(Y_i=X_i'\beta+u_i\). Assume the observations are IID, \(E[X_i u_i]=0\), \(Q=E[X_iX_i']\) is finite and positive definite, and the score \(X_i u_i\) has finite second moments. Write \(\Omega=E[u_i^2X_iX_i']\), and assume it is finite. These conditions give the usual asymptotic linear representation and normal limit for OLS; the contrast-specific variance must also be positive.

Definition: For a fixed nonzero \(k\)-vector \(c\), a scalar OLS contrast is \(c'\hat{\beta}\). Its asymptotic variance, on the \(\sqrt{n}\) scale, is \(V_c=c'Q^{-1}\Omega Q^{-1}c\). An estimated standard error \(\widehat{\operatorname{se}}(c'\hat{\beta})\) consistently studentizes the contrast if \(\widehat{\operatorname{se}}(c'\hat{\beta})/\sqrt{V_c/n}\xrightarrow{p}1\).

The matrix \(\Omega\) allows the conditional variance of \(u_i\) to depend on \(X_i\). Under homoskedasticity, \(E[u_i^2\mid X_i]=\sigma^2\), it simplifies to \(\Omega=\sigma^2Q\), so \(V_c=\sigma^2c'Q^{-1}c\). In general, the contrast’s variance depends on both the regressor distribution and the way error variability changes with the regressors.

Studentization Gives a Standard Normal Limit

Let \(\hat V_n\) estimate the covariance matrix of \(\hat\beta\), so its entries are on the \(1/n\) scale. For example, the heteroskedasticity-robust sandwich estimator is

$$ \hat V_n=(X'X)^{-1}\left(\sum_{i=1}^n X_iX_i'\hat u_i^2\right)(X'X)^{-1}, $$

where \(X\) is the matrix with rows \(X_i'\), and \(\hat u_i=Y_i-X_i'\hat\beta\). Suppose the OLS limit holds and \(n\hat V_n\xrightarrow{p}Q^{-1}\Omega Q^{-1}\). This covariance consistency is the key requirement: it ensures that the estimated variance for the particular contrast converges to its correct value.

Theorem: Under the preceding conditions, suppose \(\sqrt{n}(\hat\beta-\beta)\xrightarrow{d}N(0,Q^{-1}\Omega Q^{-1})\), \(n\hat V_n\xrightarrow{p}Q^{-1}\Omega Q^{-1}\), and \(V_c>0\). Then \[ \frac{c'\hat\beta-c'\beta}{\sqrt{c'\hat V_nc}}\xrightarrow{d}N(0,1). \] More generally, for a fixed null value \(\theta_0=c'\beta\), replace \(c'\beta\) in the numerator by \(\theta_0\).

Proof. Apply the continuous linear transformation \(c'\) to the assumed OLS limit. This gives \(\sqrt{n}(c'\hat\beta-c'\beta)\xrightarrow{d}N(0,V_c)\). Covariance consistency and continuity of the scalar map \(A\mapsto c'Ac\) imply \(nc'\hat V_nc\xrightarrow{p}V_c\). Since \(V_c>0\), taking square roots and reciprocals gives \(\sqrt{nc'\hat V_nc}\xrightarrow{p}\sqrt{V_c}\). Therefore, \[ \frac{c'\hat\beta-c'\beta}{\sqrt{c'\hat V_nc}} = \frac{\sqrt{n}(c'\hat\beta-c'\beta)}{\sqrt{nc'\hat V_nc}} \xrightarrow{d}\frac{Z}{\sqrt{V_c}}, \] where \(Z\sim N(0,V_c)\). The final ratio has distribution \(N(0,1)\), by Slutsky’s theorem. \(\square\)

Worked Example: Studentizing a Scalar Regression Estimate

Consider a regression through the origin, \(Y_i=\beta X_i+u_i\), where \(X_i\) takes values \(1\) and \(-1\) with equal probability. Let \(E[u_i\mid X_i]=0\), with conditional variance \(1\) when \(X_i=1\) and \(4\) when \(X_i=-1\). The contrast is the slope itself, so \(c=1\).

Here \(Q=E[X_i^2]=1\). Since \(X_i^2=1\), \(\Omega=E[u_i^2X_i^2]=E[u_i^2]=(1+4)/2=5/2\). Thus \(V_c=5/2\), and the slope has asymptotic variance \(5/(2n)\). If, in a sample of size \(400\), a consistent sandwich estimator gives \(\hat V_n=0.006\), the estimated standard error is \(\sqrt{0.006}\approx0.07746\). For an estimated slope of \(0.15\) tested against zero, the studentized value is \(0.15/0.07746\approx1.9365\). Its large-sample reference distribution is standard normal, not an exact finite-sample t distribution. The population standard error is \(\sqrt{2.5/400}\approx0.07906\), close to the illustrative estimated value.

Worked Example: Computing a Contrast’s Asymptotic Variance

Let \(X_i=(1,Z_i)'\), where \(Z_i\) is equally likely to be \(1,-1,3,\) or \(-3\). Set \(E[u_i\mid X_i]=0\), and let \(E[u_i^2\mid X_i]=6/5\) when \(|Z_i|=1\), and \(10/3\) when \(|Z_i|=3\). The signs are symmetric, so the off-diagonal entries of both \(Q\) and \(\Omega\) are zero.

The probability that \(|Z_i|=1\) is \(1/2\), as is the probability that \(|Z_i|=3\). Therefore, \(E[Z_i^2]=(1+9)/2=5\), and \(Q=\operatorname{diag}(1,5)\). Also, \[ \Omega_{11}=E[u_i^2]=\frac12\left(\frac65+\frac{10}{3}\right)=\frac{34}{15}, \qquad \Omega_{22}=E[u_i^2Z_i^2] =\frac12\left(\frac65+9\frac{10}{3}\right)=\frac{78}{5}. \] For \(c=(1,1)'\), \(Q^{-1}=\operatorname{diag}(1,1/5)\), so \[ V_c=c'Q^{-1}\Omega Q^{-1}c =\frac{34}{15}+\frac{78}{125} =\frac{512}{187.5}\approx2.7307. \] Thus the contrast of the intercept and slope has asymptotic variance approximately \(2.7307/n\). A consistent estimated sandwich covariance gives an estimated standard error whose ratio to \(\sqrt{2.7307/n}\) converges in probability to one.

When the Statistic Has an Exact t Distribution

The standard-normal limit just derived is an asymptotic statement. A different, stronger set of assumptions gives an exact finite-sample Student t law. Conditional on a fixed design matrix \(X\) of full column rank \(k\), assume \(u\mid X\sim N(0,\sigma^2 I_n)\), with \(\sigma^2>0\), and \(n>k\). Define the residual variance estimate \(s^2=\hat u'\hat u/(n-k)\), and use the conventional covariance estimate \(s^2(X'X)^{-1}\).

Theorem: Under the conditional Gaussian homoskedastic model above, if \(\theta_0=c'\beta\), then \[ \frac{c'\hat\beta-\theta_0}{s\sqrt{c'(X'X)^{-1}c}}\sim t_{n-k} \] conditional on \(X\). If \(X\) is random and these assumptions hold conditional on \(X\) almost surely, the same conditional law applies for almost every realized design.

Proof. Given \(X\), the OLS estimation error is \((X'X)^{-1}X'u\). Consequently, \[ \frac{c'(\hat\beta-\beta)}{\sigma\sqrt{c'(X'X)^{-1}c}}\sim N(0,1). \] Let \(P_X=X(X'X)^{-1}X'\) be the projection onto the column space of \(X\), and let \(M_X=I_n-P_X\). The residual vector is \(M_Xu\). Because \(M_X\) is a symmetric idempotent matrix of rank \(n-k\), normality gives \(\hat u'\hat u/\sigma^2=u'M_Xu/\sigma^2\sim\chi^2_{n-k}\). The numerator is a linear function of the projection \(P_Xu\), while the residual sum of squares depends on \(M_Xu\). These projections are independent: their covariance is proportional to \(P_XM_X=0\), and jointly normal uncorrelated vectors are independent. Hence the standardized numerator is independent of the chi-square denominator. Dividing a standard normal by the square root of an independent \(\chi^2_{n-k}/(n-k)\) variable gives \(t_{n-k}\), as claimed. \(\square\)

Worked Example: An Exact Slope t Statistic

Take \(n=6\), an intercept and slope, and fixed regressor values \(x=(-3,-2,-1,1,2,3)'\). Their sum is zero and their sum of squares is \(28\). Consider the observed response vector generated by \(y_i=2+0.5x_i+e_i\), with \(e=(1,-2,1,1,-2,1)'\).

The residual vector is orthogonal to the intercept since its entries sum to zero. It is also orthogonal to \(x\), since \((-3)(1)+(-2)(-2)+(-1)(1)+(1)(1)+(2)(-2)+(3)(1)=0\). Thus the fitted intercept and slope are \(2\) and \(0.5\), and the residual sum of squares is \(1+4+1+1+4+1=12\). With \(k=2\), \(s^2=12/(6-2)=3\). The slope’s conventional standard error is \(\sqrt{3/28}\), so its statistic against a zero slope is \[ \frac{0.5}{\sqrt{3/28}}=\sqrt{\frac73}\approx1.5275. \] Under the stated Gaussian homoskedastic model, this statistic has an exact \(t_4\) sampling distribution conditional on this design. The calculated value is a realization of that statistic; it does not by itself establish that the model assumptions hold.

Asymptotic t Statistics and Common Pitfalls

In applications, a studentized contrast is often called a t statistic because it is an estimate divided by an estimated standard error. That name alone does not determine its distribution. With a consistent heteroskedasticity-robust standard error, the statistic above converges to \(N(0,1)\), but it need not have any exact Student t distribution in finite samples. Even under homoskedasticity, exact finite-sample t inference relies on Gaussian errors and the conventional residual variance estimate; asymptotic normality requires less.

The distinction matters when selecting reference quantiles. Under the asymptotic result, a two-sided large-sample procedure uses standard-normal quantiles. Under the exact conditional result, the reference distribution is \(t_{n-k}\). As \(n-k\) increases, the \(t_{n-k}\) distribution approaches the standard normal, but that approximation does not make the finite-sample robust statistic exactly t-distributed.

  • Pitfall: treating every estimate-over-standard-error ratio as exactly t. The incorrect reasoning is that estimating a standard error automatically creates a Student t distribution. The correction is that the exact t result requires the Gaussian homoskedastic projection argument; consistent standard-error estimation alone yields an asymptotic normal limit.
  • Pitfall: using a covariance estimate with the wrong scale. The matrix \(\hat V_n\) estimates the covariance of \(\hat\beta\), which is order \(1/n\). The limit covariance is instead \(n\operatorname{Var}(\hat\beta)\), estimated by \(n\hat V_n\). Keeping these scales distinct prevents an erroneous factor of \(\sqrt n\).
  • Pitfall: ignoring a zero contrast variance. If \(V_c=0\), the stated standardization is not justified. The theorem explicitly requires \(V_c>0\).

The practical point is precise: a scalar contrast needs both a valid OLS limit and a covariance estimate consistent for its variance. Once those conditions hold, studentization supplies a standard-normal asymptotic reference. Exact finite-sample t inference is a separate conclusion supported by stronger distributional assumptions.

Check Your Understanding

Use the conditions and distinctions developed above to answer these questions.

  1. What population matrix determines the asymptotic variance of a scalar OLS contrast when errors may be heteroskedastic?
  2. Why does covariance consistency for \(\hat V_n\) imply consistency of the estimated standard error for a fixed contrast?
  3. Which assumptions justify the exact conditional \(t_{n-k}\) law, and which part of the proof gives independence from the residual variance estimate?
  4. Does a heteroskedasticity-robust standard error generally make a finite-sample statistic exactly Student t distributed? Explain.
  5. In the exact t result, why must \(X\) have full column rank and \(n>k\)?
Clinical Biostats