Tutorials › Propensity Score Matching and Instrumental Variables › The Asymptotic Distribution of 2SLS

Two-Stage Least Squares · Tutorial 490 of 699

The Asymptotic Distribution of 2SLS

Derive the large-sample distribution of 2SLS and identify how instrument relevance and the variability of instrument-weighted errors determine its asymptotic variance.

Advanced 11 min read

What You'll Learn

  • Express 2SLS as an instrument-moment estimator and track the dimensions of its population matrices.
  • State the sampling, moment, rank, and relevance conditions behind its large-sample result.
  • Derive the asymptotic linear representation and covariance matrix of 2SLS.
  • Calculate asymptotic variances from hypothetical scalar and matrix moments.
  • Diagnose rank failure and distinguish weak identification from ordinary sampling uncertainty.
  • Compare 2SLS with OLS and recognize what the asymptotic result does not guarantee.

Why the Large-Sample Distribution Matters

The 2SLS coefficient is computed from a sample, so it varies across samples even when the population relationship is fixed. Its large-sample distribution describes that variation when the sample grows under suitable assumptions. The derivation also reveals what controls uncertainty: not just the strength of the relationship between instruments and regressors, but also the variability of the instrument-weighted errors.

This result concerns the 2SLS estimator itself. It does not say that a particular finite sample is approximately normal, nor does it make an invalid or weak instrument reliable. The population conditions must be considered before interpreting the approximation.

Model, Notation, and Assumptions

For observation \(i\), let \(y_i\) be a scalar outcome, \(x_i\) a \(k\)-vector of regressors, \(z_i\) an \(l\)-vector of instruments, and \(u_i\) the structural error. The linear model is \(y_i=x_i'\beta_0+u_i\), where \(\beta_0\) is the population coefficient vector. The instrument vector may include exogenous regressors as well as excluded instruments. Assume \(l\geq k\).

Definition: The population moment matrices are \(Q_{zz}=E[z_i z_i']\), \(Q_{zx}=E[z_i x_i']\), and \(Q_{xz}=Q_{zx}'=E[x_i z_i']\). Define \(A=Q_{xz}Q_{zz}^{-1}Q_{zx}\) and \(\Omega=E[z_i z_i'u_i^2]\). Their dimensions are \(l\times l\), \(l\times k\), \(k\times l\), \(k\times k\), and \(l\times l\), respectively.

The asymptotic result below uses the following conditions. The observations \((y_i,x_i,z_i)\) are independent and identically distributed; \(E[z_i u_i]=0\); the entries of \(Q_{zz}\) and \(Q_{zx}\) are finite; and \(Q_{zz}\) is positive definite. The moment \(E[\|z_i u_i\|^2]\) is finite, so the instrument-weighted error has a finite covariance matrix. Finally, \(Q_{zx}\) has full column rank \(k\). This rank condition says that the instruments provide population variation in every regressor direction needed to identify \(\beta_0\).

These conditions imply that \(A\) is nonsingular: for every nonzero \(b\in\mathbb{R}^k\), \(Q_{zx}b\ne0\), and positive definiteness of \(Q_{zz}^{-1}\) gives \(b'A b=(Q_{zx}b)'Q_{zz}^{-1}(Q_{zx}b)>0\). In a sample, the corresponding matrices must be well-defined and invertible; under the population conditions, this occurs with probability approaching one.

From the Moment Representation to the Limit

Let \(X\) and \(Z\) be the \(n\times k\) and \(n\times l\) matrices with rows \(x_i'\) and \(z_i'\). The 2SLS estimator has the projection-matrix form \(\hat\beta_{2SLS}=(X'P_ZX)^{-1}X'P_Zy\), where \(P_Z=Z(Z'Z)^{-1}Z'\). Equivalently, using sample moment matrices, it is

$$ \hat\beta_{2SLS} = \left[ \left(\frac{X'Z}{n}\right) \left(\frac{Z'Z}{n}\right)^{-1} \left(\frac{Z'X}{n}\right) \right]^{-1} \left(\frac{X'Z}{n}\right) \left(\frac{Z'Z}{n}\right)^{-1} \left(\frac{Z'y}{n}\right). $$

Substitute \(y=X\beta_0+u\), with \(u\) the \(n\)-vector of errors. The part involving \(X\beta_0\) simplifies to \(\beta_0\). The remaining term yields the exact sample representation

$$ \sqrt{n}(\hat\beta_{2SLS}-\beta_0) = \hat A^{-1}\hat Q_{xz}\hat Q_{zz}^{-1} \left(\frac{1}{\sqrt{n}}\sum_{i=1}^{n}z_i u_i\right), $$

where \(\hat Q_{zz}=Z'Z/n\), \(\hat Q_{zx}=Z'X/n\), \(\hat Q_{xz}=X'Z/n\), and \(\hat A=\hat Q_{xz}\hat Q_{zz}^{-1}\hat Q_{zx}\). Notice that \(Q_{zx}\) is \(l\times k\), whereas \(Q_{xz}\) is \(k\times l\); their order in this expression is required both by the derivation and by matrix dimensions.

By the law of large numbers, the sample moment matrices converge to their population counterparts. By the multivariate central limit theorem, \(n^{-1/2}\sum z_i u_i\) converges in distribution to a mean-zero normal vector with covariance \(\Omega\). Applying Slutsky’s theorem to the exact representation gives the result.

Theorem: Under the stated sampling, moment, exogeneity, and rank assumptions,
$$ \sqrt{n}(\hat\beta_{2SLS}-\beta_0) \ \xrightarrow{d}\ N\!\left(0,\, A^{-1}Q_{xz}Q_{zz}^{-1}\Omega Q_{zz}^{-1}Q_{zx}A^{-1} \right), \qquad A=Q_{xz}Q_{zz}^{-1}Q_{zx}. $$

The matrix inside the normal distribution is the asymptotic covariance of the scaled estimation error. Consequently, the covariance of \(\hat\beta_{2SLS}\) is approximately that matrix divided by \(n\) for large \(n\). Its diagonal entries describe approximate variances for individual coefficients, and off-diagonal entries describe their joint sampling variation. The matrix is symmetric and positive semidefinite because it is a covariance matrix. No homoskedasticity assumption is needed for this form: \(\Omega\) retains the population variation in \(z_i u_i\).

Worked Calculations

Worked Example: A Just-Identified Scalar Case

Consider a hypothetical population with one regressor and one instrument, no intercept, and moment values \(Q_{zz}=4\), \(Q_{zx}=2\), and \(\Omega=12\). Suppose also that \(E[z_i u_i]=0\), the required second moments are finite, and the nonzero value \(Q_{zx}=2\) satisfies the scalar rank condition.

Here \(Q_{xz}=2\), and the identifying matrix is

$$ A=Q_{xz}Q_{zz}^{-1}Q_{zx} =2\left(\frac{1}{4}\right)2=1. $$

The asymptotic variance is therefore

$$ A^{-1}Q_{xz}Q_{zz}^{-1}\Omega Q_{zz}^{-1}Q_{zx}A^{-1} = 1(2)\left(\frac14\right)(12)\left(\frac14\right)(2)(1) =3. $$

Thus \(\sqrt{n}(\hat\beta_{2SLS}-\beta_0)\) is asymptotically normal with mean zero and variance \(3\). The coefficient estimator’s approximate variance is \(3/n\), and its approximate standard deviation is \(\sqrt{3/n}\) in the units of the coefficient. The calculation depends on the moment condition and nonzero instrument-regressor covariance; the numbers alone do not establish those assumptions.

Worked Example: Multiple Instruments and Regressors

For a hypothetical two-regressor, three-instrument population, let

$$ Q_{zx}= \begin{pmatrix} 1&0\\ 0&1\\ 1&1 \end{pmatrix}, \qquad Q_{xz}=Q_{zx}'= \begin{pmatrix} 1&0&1\\ 0&1&1 \end{pmatrix}, \qquad Q_{zz}=I_3, \qquad \Omega= \begin{pmatrix} 2&0&0\\ 0&4&0\\ 0&0&2 \end{pmatrix}. $$

Assume the instruments satisfy \(E[z_i u_i]=0\) and the required finite-moment and independent-sampling conditions. The matrix \(Q_{zx}\) has two independent columns, so the rank condition holds. First,

$$ A=Q_{xz}Q_{zz}^{-1}Q_{zx} = \begin{pmatrix}2&1\\1&2\end{pmatrix}, \qquad A^{-1}=\frac13 \begin{pmatrix}2&-1\\-1&2\end{pmatrix}. $$

The middle covariance contribution is

$$ Q_{xz}Q_{zz}^{-1}\Omega Q_{zz}^{-1}Q_{zx} =Q_{xz}\Omega Q_{zx} = \begin{pmatrix}4&2\\2&6\end{pmatrix}. $$

Premultiplying and postmultiplying by \(A^{-1}\) gives

$$ A^{-1} \begin{pmatrix}4&2\\2&6\end{pmatrix} A^{-1} = \begin{pmatrix} 14/9&-10/9\\ -10/9&20/9 \end{pmatrix} \approx \begin{pmatrix} 1.556&-1.111\\ -1.111&2.222 \end{pmatrix}. $$

This is the asymptotic covariance matrix of \(\sqrt{n}(\hat\beta_{2SLS}-\beta_0)\). For a sample size of \(n=100\), the corresponding large-sample approximation to the coefficient covariance matrix is the displayed matrix divided by 100. The negative off-diagonal entry indicates negatively correlated estimation errors under these population moments; it does not indicate a negative variance for either coefficient.

Worked Example: Detecting a Rank Failure

Suppose a hypothetical population has two regressors, two instruments, \(Q_{zz}=I_2\), and

$$ Q_{zx}= \begin{pmatrix} 1&2\\ 2&4 \end{pmatrix}. $$

The second column is twice the first, so \(Q_{zx}\) has rank one rather than the required rank two. The identifying matrix confirms the problem:

$$ A=Q_{xz}Q_{zx}=Q_{zx}'Q_{zx} = \begin{pmatrix}5&10\\10&20\end{pmatrix}, \qquad \det(A)=5(20)-10(10)=0. $$

Thus \(A^{-1}\) does not exist, and the stated 2SLS asymptotic distribution for both coefficients cannot be obtained. More observations do not repair this population rank failure: the instruments do not distinguish the two regressor directions. A sample matrix that is merely close to singular signals a different but related concern—weak identification can make the usual large-sample approximation unreliable even when the population rank is technically full.

Interpretation, Diagnostics, and Limitations

The formula separates two sources of precision. The matrices \(Q_{zx}\) and \(Q_{zz}\) describe how instrument variation relates to the regressors and how that variation is scaled. The matrix \(\Omega\) describes the covariance of the instrument-weighted structural errors. In general, changing either the instrument-regressor relationships or the error variation changes the asymptotic covariance.

In applications, inspect whether the sample analogue of the identifying matrix has full rank and whether it is poorly conditioned. First-stage relationships can help reveal whether the instruments provide little variation for some regressor direction. There is no universal sample diagnostic that verifies instrument validity: relevance can be assessed from observed data, while the exclusion and exogeneity assumptions require substantive justification. Weak instruments are especially consequential because the normal approximation can be poor even in samples that seem large.

The result assumes independent, identically distributed observations. Dependence across observations, such as clustering or serial correlation, changes the relevant limiting argument and covariance calculation. Those settings require methods tailored to their sampling structure. Also, asymptotic normality is a statement about behavior as \(n\) grows; it does not guarantee accurate finite-sample inference.

Compared with OLS, 2SLS uses instrument-driven variation to address endogeneity under valid-instrument assumptions. OLS can be more precise when its assumptions hold, but a difference in standard errors does not by itself establish which estimator is appropriate. 2SLS’s asymptotic distribution quantifies sampling variation conditional on its model and instrument assumptions; it cannot compensate for invalid instruments or identify a causal effect without the relevant assumptions.

A Short Derivation of the Covariance

The limiting random vector in the asymptotic linear representation is a fixed matrix multiplied by the limiting vector for \(n^{-1/2}\sum z_i u_i\). If a mean-zero vector has covariance \(\Omega\), then multiplying it by a matrix \(B\) gives covariance \(B\Omega B'\). Here \(B=A^{-1}Q_{xz}Q_{zz}^{-1}\). Since \(A\) and \(Q_{zz}\) are symmetric, \(B'=Q_{zz}^{-1}Q_{zx}A^{-1}\), which yields

$$ B\Omega B' = A^{-1}Q_{xz}Q_{zz}^{-1} \Omega Q_{zz}^{-1}Q_{zx}A^{-1}. $$

This also explains why reversing \(Q_{xz}\) and \(Q_{zx}\) is not a harmless notational change: their dimensions differ, and only the displayed ordering gives a \(k\times k\) covariance matrix.

Common Mistakes

  • Transposing the cross-moment matrix incorrectly. With \(z_i\) of dimension \(l\) and \(x_i\) of dimension \(k\), \(Q_{zx}=E[z_i x_i']\) is \(l\times k\), while \(Q_{xz}=Q_{zx}'\) is \(k\times l\). Check every product’s dimensions.
  • Using the theorem without its rank condition. If \(A\) is singular, the inverse in the estimator’s representation and the stated covariance do not exist.
  • Assuming the result makes weak instruments harmless. Full rank is a population identification condition; near-singularity can still undermine the normal approximation in realistic sample sizes.
  • Calling the covariance of the scaled error the estimator’s covariance. The theorem gives the limiting covariance for \(\sqrt{n}(\hat\beta_{2SLS}-\beta_0)\); the estimator’s large-sample covariance is approximately that matrix divided by \(n\).
Key takeaway: Under valid instrument moments, finite second moments, independent sampling, and full rank, 2SLS has an asymptotic normal distribution. Its covariance is determined by the instrument-regressor moment matrices and the covariance of \(z_i u_i\); correct dimensions and credible identification conditions are essential.

Check Your Understanding

Try each question, then compare your reasoning with the solutions below.

  1. If there are four instruments and two regressors, what are the dimensions of \(Q_{zx}\) and \(Q_{xz}\)?
  2. In a scalar model, suppose \(Q_{zz}=9\), \(Q_{zx}=3\), and \(\Omega=18\). Find \(A\) and the asymptotic variance of \(\sqrt{n}(\hat\beta_{2SLS}-\beta_0)\).
  3. What does full column rank of \(Q_{zx}\) ensure about \(A\), given that \(Q_{zz}\) is positive definite?
  4. Why does a large sample not by itself establish the validity of an instrument?

Solutions. (1) \(Q_{zx}\) is \(4\times2\), and \(Q_{xz}=Q_{zx}'\) is \(2\times4\). (2) \(A=3(1/9)3=1\). The asymptotic variance is \(1(3)(1/9)(18)(1/9)(3)(1)=2\). (3) For nonzero \(b\), full column rank gives \(Q_{zx}b\ne0\); positive definiteness gives \(b'Ab=(Q_{zx}b)'Q_{zz}^{-1}(Q_{zx}b)>0\), so \(A\) is positive definite and invertible. (4) A larger sample can improve estimation of observable relationships, but instrument validity includes substantive assumptions such as exogeneity and exclusion that sample size alone cannot verify.

Clinical Biostats