Why the Population Gram Matrix Matters
In random-design regression, each observation brings its own regressor vector. The population distribution of those vectors determines which coefficient directions the data can distinguish. A coefficient may be uniquely defined by the population regression problem only if no nonzero linear combination of regressors vanishes almost surely. The matrix that records these second moments makes that condition precise.
Its eigenvalues also describe how strongly the population criterion responds to coefficient changes. A small eigenvalue means that some direction in coefficient space is weakly represented in the regressors: moving the coefficient in that direction changes fitted values only a little on average. This is the geometric reason that near-collinearity or rare regressor variation can produce imprecise estimates.
The Gram matrix is a second-moment matrix, not necessarily a covariance matrix. In particular, if \(X\) includes an intercept, then its entries include regressor means as well as covariances. The intercept is part of the design vector and must be included when assessing identification of the full coefficient vector.
Identification Through the Population Criterion
Suppose the response satisfies \(Y=X'\beta_0+u\), where \(\beta_0\in\mathbb{R}^p\), \(E[\|X\|^2]<\infty\), \(E[u^2]<\infty\), and \(E[Xu]=0\). The last condition is the population moment condition for random-design least squares. These assumptions ensure that the relevant second moments exist. For a candidate coefficient \(b\), define the population squared-error risk \(R(b)=E[(Y-X'b)^2]\).
Proof. Put \(d=b-\beta_0\). Since \(Y=X'\beta_0+u\), the residual at \(b\) is \(Y-X'b=u-X'd\), while the residual at \(\beta_0\) is \(u\). Expanding their squared difference gives
The cross term is zero because \(E[Xu]=0\). Since \(Q\) is positive semidefinite, the difference is nonnegative, so \(\beta_0\) is a minimizer. If \(Q\succ0\), then \(d'Qd>0\) whenever \(d\ne0\), giving a unique minimizer. If \(Q\) is not positive definite, its positive semidefiniteness implies that some nonzero \(d\) has \(d'Qd=0\). Then \(R(\beta_0+d)=R(\beta_0)\), so the minimizer is not unique.
For the equivalent condition, \(a'Qa=E[(a'X)^2]\). A nonnegative random variable has expectation zero if and only if it equals zero almost surely. Thus \(a'Qa=0\) exactly when \(a'X=0\) almost surely. This proves both directions of the equivalence. \(\square\)
The same matrix appears in the population normal equations. Taking expectations in \(Y=X'\beta_0+u\) after multiplying by \(X\) gives
When \(Q\succ0\), it is invertible, and these moment equations have the unique solution \(\beta_0=Q^{-1}E[XY]\). When \(Q\) is singular, there is a nonzero \(a\) with \(a'X=0\) almost surely. Replacing \(\beta_0\) by \(\beta_0+ta\), for any scalar \(t\), leaves \(X'\beta_0\) unchanged almost surely. The data-generating conditional mean therefore cannot distinguish those coefficient vectors.
Worked Example: Identifying an Intercept and a Binary-Regressor Effect
Let \(X=(1,B)'\), where \(B\) is Bernoulli with \(P(B=1)=r\), with \(0<r<1\). The population Gram matrix is
The first leading principal minor is \(1>0\), and the determinant is positive, so this symmetric matrix is positive definite. Hence the intercept and the coefficient on \(B\) are uniquely identified. Directly, a vector \(a=(a_0,a_1)'\) satisfying \(a'X=0\) almost surely would have to satisfy \(a_0=0\) when \(B=0\) and \(a_0+a_1=0\) when \(B=1\). Both events have positive probability, so \(a_0=a_1=0\).
At the boundary \(r=0\), \(B=0\) almost surely and \(Q\) becomes \(\begin{bmatrix}1&0\\0&0\end{bmatrix}\). The slope on \(B\) is then not identified: changing it has no effect on any fitted value. This verifies why having both regressor values occur with positive probability matters.
The Smallest Eigenvalue and Weak Directions
Because \(Q\) is symmetric, its eigenvalues are real and nonnegative. Write the smallest and largest eigenvalues as \(\lambda_{\min}(Q)\) and \(\lambda_{\max}(Q)\). The Rayleigh quotient characterization gives, for every \(d\),
Thus \(Q\succ0\) exactly when \(\lambda_{\min}(Q)>0\). More than a yes-or-no identification condition, the smallest eigenvalue measures the weakest curvature of the population risk: it is the least increase in risk per squared unit of coefficient displacement, over all directions.
Proof. By the spectral theorem, the operator norm of the inverse of a positive-definite symmetric matrix is the largest absolute eigenvalue of its inverse. The eigenvalues of \(Q^{-1}\) are \(1/\lambda_j(Q)\), so \(\|Q^{-1}\|_{\mathrm{op}}=1/\lambda_{\min}(Q)\). Since \(b_1-b_2=Q^{-1}(m_1-m_2)\), the operator norm inequality yields
The bound is sharp: if \(m_1-m_2\) is a multiple of a unit eigenvector for \(\lambda_{\min}(Q)\), equality holds. \(\square\)
Worked Example: Nearly Collinear Regressors
Suppose two centered regressors have unit second moments and correlation \(\rho=0.99\). Then
The vectors \((1,1)'\) and \((1,-1)'\) are eigenvectors, with respective eigenvalues \(1.99\) and \(0.01\). The design is formally identified because both eigenvalues are positive, but its weakest direction is the difference between the two coefficients. A moment perturbation of norm \(0.001\) aligned with a unit eigenvector for \(0.01\) produces a coefficient perturbation of norm \(0.001/0.01=0.1\). The same moment perturbation in the strong direction produces a change of only \(0.001/1.99\), approximately \(0.000503\).
The ratio \(1.99/0.01=199\) shows how differently the two coefficient directions are supported. Positive definiteness guarantees uniqueness, not uniformly good precision.
How the Gram Matrix Enters First-Order Precision
The curvature calculation has a direct precision interpretation. Let the score for one observation at the true coefficient be \(Xu\), with covariance matrix \(\Omega=E[XX'u^2]\), assumed finite. If a first-order approximation to an estimator has the form \(Q^{-1}\) times an average score, and that average has limiting covariance \(\Omega\), the corresponding coefficient covariance is
This statement describes covariance propagation through the inverse population moment map; it does not assert a central limit theorem by itself. For example, if the errors are homoskedastic in the sense that \(E[u^2\mid X]=\sigma^2\), then \(\Omega=\sigma^2Q\), and consequently \(V=\sigma^2Q^{-1}\). Along a unit eigenvector \(v\) of \(Q\) with eigenvalue \(\lambda\), the variance in that direction is \(\sigma^2/\lambda\). The weakest eigenvalue therefore gives the largest directional variance in this homoskedastic case.
Under heteroskedasticity, the smallest eigenvalue still bounds sensitivity, but it does not alone determine the full covariance. For instance,
This follows from the operator norm product inequality and \(\|Q^{-1}\|_{\mathrm{op}}=1/\lambda_{\min}(Q)\). The bound also shows why the variability of the score matters: a design with a given \(Q\) can have different precision under different error distributions.
Worked Example: A Rare Regressor and Its Weak Direction
Let \(X=(1,B)'\) with \(B\) Bernoulli with success probability \(0.01\). Then
For a two-by-two matrix, the eigenvalues solve \(\lambda^2-\operatorname{tr}(Q)\lambda+\det(Q)=0\). Thus
Since \(\sqrt{0.9805}\approx0.990202\), the eigenvalues are approximately \(1.000101\) and \(0.009899\). Their sum is approximately \(1.010000\), and their product is approximately \(0.009900\), agreeing with the trace and determinant. The matrix is positive definite, but the smallest eigenvalue is small because the rare \(B=1\) observations provide limited information about the slope relative to the intercept.
With homoskedastic error variance \(\sigma^2\), the variance in the weakest unit-eigenvector direction is \(\sigma^2/0.009899\), approximately \(101.02\sigma^2\). The variance in the strongest direction is approximately \(\sigma^2/1.000101\), or \(0.9999\sigma^2\). This large contrast quantifies the loss of precision associated with the rare regressor.
Scaling, Interpretation, and a Common Pitfall
Eigenvalues depend on how regressors are measured. Replacing a regressor by one thousand times its original value changes the numerical entries and eigenvalues of \(Q\), and also changes the units of its coefficient. A small eigenvalue is therefore most informative when the regressor scales are meaningful or have been standardized deliberately. The underlying issue is weak variation in a coefficient direction relative to the chosen parameterization, not a universal numerical threshold.
A common mistake is to say, “The Gram matrix is invertible, so the coefficients are precisely estimated.” Invertibility establishes unique population identification, but a matrix can be invertible and still have a very small eigenvalue. As the nearly collinear example shows, inversion then magnifies perturbations in the weak direction. Conversely, a small eigenvalue does not mean nonidentification unless it is exactly zero. Precision also depends on the score variability \(\Omega\), especially when errors are heteroskedastic.
The population matrix describes the design distribution, not the realized sample matrix. Its properties explain the population identification target and the geometry relevant to first-order precision. Claims about how a sample matrix behaves as sample size grows require separate convergence arguments.
Check Your Understanding
Use the definitions and results above to answer the following questions.
- Why is \(Q=E[XX']\) positive semidefinite even when it is not positive definite?
- If a nonzero vector \(a\) satisfies \(a'X=0\) almost surely, explain why adding any multiple of \(a\) to a coefficient vector leaves fitted values unchanged.
- For a positive-definite \(Q\) with smallest eigenvalue \(0.2\), what upper bound does the sensitivity theorem give for a moment perturbation of norm \(0.01\)?
- In the nearly collinear example, which coefficient direction has eigenvalue \(0.01\), and why is that the weak direction?
- Why does a small but positive smallest eigenvalue indicate weak precision rather than failure of identification?
- Under heteroskedasticity, which additional matrix is needed alongside \(Q\) to describe the first-order covariance, and what does it represent?