Tutorials › Propensity Score Matching and Instrumental Variables › Anderson-Rubin Tests With Multiple Instruments

Weak-Instrument Diagnostics · Tutorial 533 of 699

Anderson-Rubin Tests With Multiple Instruments

You will learn to formulate and calculate a joint Anderson–Rubin test with multiple instruments, choose an appropriate covariance estimator, and interpret its result without confusing instrument validity with evidence about the causal effect.

Advanced 10 min read

What You'll Learn

  • Formulate the Anderson–Rubin null as a joint test of the excluded-instrument coefficients in a transformed-outcome regression.
  • State the exogeneity and rank conditions needed for those coefficients to represent the null restrictions.
  • Calculate the classical joint F statistic from restricted and unrestricted residual sums of squares.
  • Calculate a heteroskedasticity-robust Wald statistic for multiple instrument coefficients.
  • Diagnose rank deficiency, covariance misspecification, and inappropriate separate testing of instruments.
  • Interpret rejection in relation to the candidate treatment effect and maintained IV assumptions.

Why Multiple Instruments Require a Joint Test

With one excluded instrument, the Anderson–Rubin (AR) test asks whether that instrument predicts an outcome transformed using a candidate treatment effect. With several excluded instruments, the same logic applies, but the null is a joint restriction: every excluded-instrument coefficient in the transformed-outcome regression must be zero. Testing the coefficients one at a time does not, in general, give the same test or control the same overall error rate.

The joint form is especially useful when the first stage may be weak. Under a candidate value of the treatment effect, the test does not divide an IV estimate by its standard error. Instead, it tests whether the transformed outcome is related to the excluded instruments after controlling for included covariates. The validity of this inference still depends on the instrument and covariate assumptions, and the choice of covariance estimator must reflect the error structure.

Model and Null Restrictions

Consider one endogenous treatment \(D_i\), an outcome \(Y_i\), a vector of included covariates \(X_i\), and a vector of \(q\) excluded instruments \(Z_i\). Write the structural equation as

$$ Y_i = \beta D_i + X_i'\gamma + u_i, $$

where \(\beta\) is the treatment effect of interest. For a candidate value \(\beta_0\), define the transformed outcome \(Y_i(\beta_0)=Y_i-\beta_0D_i\). Under \(H_0:\beta=\beta_0\), the structural equation implies \(Y_i(\beta_0)=X_i'\gamma+u_i\). The AR test examines whether the excluded instruments have zero coefficients in a regression of this transformed outcome on \(X_i\) and \(Z_i\).

Definition: The multiple-instrument Anderson–Rubin test of \(H_0:\beta=\beta_0\) is a test of the joint restrictions \(\delta_1=\cdots=\delta_q=0\) in the regression \(Y_i-\beta_0D_i=X_i'\eta+Z_i'\delta+e_i\). Here \(\delta\) is the vector of coefficients on the excluded instruments. The test uses the full joint covariance of those coefficients, or an equivalent restricted-versus-unrestricted comparison.

The restriction follows from the null only under suitable assumptions. One sufficient condition is \(E[u_i\mid X_i,Z_i]=0\) under \(H_0\). This condition includes exogeneity of the included covariates as well as instrument orthogonality. A weaker formulation for the population linear regression is that, after linearly projecting \(Z_i\) on \(X_i\), the residualized instruments are orthogonal to \(u_i\), and that the residualized instruments have a nonsingular second-moment matrix. In particular, \(E[Z_i u_i]=0\) alone is not enough if included covariates may be correlated with \(u_i\).

The treatment \(D_i\) may be correlated with \(u_i\); that is the endogeneity the IV design is intended to address. Under the null, subtracting \(\beta_0D_i\) removes the treatment component from the outcome. The transformed regression can therefore test the candidate value without relying on the conventional IV Wald statistic. For the \(q\) restrictions to be separately estimable, the instruments must have full column rank after controlling for \(X_i\). If they do not, the effective number of testable restrictions is the rank of the residualized instrument matrix, not necessarily \(q\).

Classical Joint F Test

Let \(SSR_R\) be the residual sum of squares from the restricted regression of \(Y_i(\beta_0)\) on \(X_i\) alone, and \(SSR_U\) the residual sum of squares from the unrestricted regression on \(X_i\) and \(Z_i\). If there are \(p\) linearly independent columns in \(X\), including an intercept if used, and \(q\) full-rank excluded instruments, the classical statistic is

$$ F_{\mathrm{AR}} = \frac{(SSR_R-SSR_U)/q}{SSR_U/(n-p-q)}. $$

Under the null, this has an exact \(F_{q,n-p-q}\) distribution conditional on the regressors when the transformed-regression errors are independent, normally distributed, and homoskedastic with common variance. The numerator measures the reduction in residual variation from adding the \(q\) instruments, per restriction; the denominator estimates the error variance using the unrestricted residual degrees of freedom. Without the normal, homoskedastic error assumptions, this particular finite-sample reference distribution need not be valid.

The justification is the standard nested-regression decomposition. Under the null, the unrestricted model adds \(q\) coefficients whose true values are zero. With fixed regressors and normal errors of variance \(\sigma^2\), \((SSR_R-SSR_U)/\sigma^2\) has a chi-square distribution with \(q\) degrees of freedom, while \(SSR_U/\sigma^2\) has a chi-square distribution with \(n-p-q\) degrees of freedom; these two quantities are independent. Dividing each by its degrees of freedom cancels \(\sigma^2\), giving the stated F statistic. The null distribution does not require a strong first stage. Weak relevance can, however, make the test have low power against some alternatives.

Worked Example: Classical Joint Test With Three Instruments

Suppose a hypothetical study has \(n=80\) observations, two included-regressor columns (an intercept and one covariate), and three excluded instruments. For a candidate treatment effect, the restricted regression has \(SSR_R=120\), and the unrestricted regression has \(SSR_U=108\). Assume independent, normal, homoskedastic transformed-regression errors and full rank of all regressors. Test at \(\alpha=0.05\).

There are \(q=3\) restrictions and \(80-2-3=75\) unrestricted residual degrees of freedom. The observed statistic is

$$ F_{\mathrm{AR}} = \frac{(120-108)/3}{108/75} = \frac{4}{1.44} = 2.778. $$

The corresponding reference distribution is \(F_{3,75}\), with a p-value of approximately \(0.046\). Since \(0.046<0.05\), reject \(H_0\) at the 5% level. Under the maintained IV and regression assumptions, the transformed outcome provides evidence that the three excluded instruments are jointly related to it after controlling for the included covariate. This rejects the tested candidate \(\beta_0\); it does not establish that the instruments are valid or that a particular alternative treatment effect is true.

Heteroskedasticity-Robust Joint Wald Test

If the transformed-regression errors may be heteroskedastic, use a heteroskedasticity-robust covariance estimate for the unrestricted regression coefficients. Let \(\hat{\delta}\) be the estimated vector of the \(q\) instrument coefficients, and let \(\widehat V_{\delta}\) be its robust estimated covariance matrix. The joint Wald statistic is

$$ W_{\mathrm{AR}} = \hat{\delta}'\widehat V_{\delta}^{-1}\hat{\delta}. $$

When the restrictions are full rank and the usual large-sample conditions hold, \(W_{\mathrm{AR}}\) is compared with a chi-square distribution with \(q\) degrees of freedom. Equivalently, \(W_{\mathrm{AR}}/q\) is sometimes reported as a Wald statistic with an asymptotic chi-square reference after accounting for the scaling. The chi-square calibration is asymptotic, not an exact finite-sample F result. A suitable sandwich covariance estimate accounts for heteroskedasticity; if observations are clustered, the covariance estimate and inferential calibration must instead reflect clustering, including the number of independent clusters.

Worked Example: Robust Test With Two Instruments

In a hypothetical transformed-outcome regression, suppose the two estimated instrument coefficients are \(\hat{\delta}=(0.30,-0.10)'\). Suppose their heteroskedasticity-robust covariance estimate is

$$ \widehat V_{\delta} = \begin{pmatrix} 0.04 & 0.01\\ 0.01 & 0.01 \end{pmatrix}. $$

The determinant is \(0.04(0.01)-0.01^2=0.0003\), so the inverse is

$$ \widehat V_{\delta}^{-1} = \frac{1}{0.0003} \begin{pmatrix} 0.01 & -0.01\\ -0.01 & 0.04 \end{pmatrix} = \begin{pmatrix} 33.333 & -33.333\\ -33.333 & 133.333 \end{pmatrix}. $$

Thus

$$ W_{\mathrm{AR}} = (0.30,-0.10) \begin{pmatrix} 33.333 & -33.333\\ -33.333 & 133.333 \end{pmatrix} \begin{pmatrix} 0.30\\ -0.10 \end{pmatrix} = 3.000+2.000+1.333 = 6.333. $$

Against a chi-square distribution with 2 degrees of freedom, the asymptotic p-value is approximately \(0.042\). At the 5% level, reject the joint null. The off-diagonal covariance matters: treating the two estimates as independent would not reproduce this joint statistic. The conclusion is evidence against the candidate effect under the maintained assumptions, not evidence that either instrument is individually valid.

How the Joint Restrictions Work in a Small Example

A simple orthogonal design illustrates why the test combines all instrument coefficients and how the restricted and unrestricted regressions relate. Suppose eight hypothetical transformed-outcome observations satisfy \(Y_i(\beta_0)=2+0.5Z_{1i}-0.25Z_{2i}+e_i\), where the three vectors \(Z_1,Z_2,e\) are centered, mutually orthogonal, and each has sum of squares 8. Assume the classical regression conditions and that the intercept is the only included regressor.

Worked Example: Two Instrument Restrictions in an Orthogonal Design

Because the instrument vectors are centered and orthogonal, regressing \(Y(\beta_0)\) on an intercept, \(Z_1\), and \(Z_2\) gives the stated coefficients \(0.5\) and \(-0.25\), with residuals \(e\). Therefore \(SSR_U=\sum e_i^2=8\). The restricted regression fits only the intercept 2. Its residuals are \(0.5Z_1-0.25Z_2+e\). Orthogonality gives

$$ SSR_R = (0.5)^2(8)+(-0.25)^2(8)+8 = 2+0.5+8 = 10.5. $$

There are two restrictions and \(8-1-2=5\) residual degrees of freedom. Hence

$$ F_{\mathrm{AR}} = \frac{(10.5-8)/2}{8/5} = \frac{1.25}{1.6} = 0.7813. $$

The \(F_{2,5}\) p-value is approximately \(0.51\), so this example does not reject at the 5% level. This is not proof that the candidate effect is correct: it means the observed joint reduction in residual variation is not unusually large under the stated null model and calibration.

Diagnostics, Alternatives, and Limitations

Before interpreting a multiple-instrument AR result, check the actual reduced-form regression and its assumptions. Confirm that the transformed response is \(Y-\beta_0D\), that all intended included covariates are present in both restricted and unrestricted regressions, and that the excluded-instrument columns have full rank after controlling for those covariates. Collinearity can make the inverse covariance or the requested \(q\)-restriction test undefined. If the design is rank deficient, identify the estimable restrictions rather than reporting a statistic for a singular matrix.

  • Use a joint test. Separate t tests do not constitute the same test as the \(q\)-restriction AR test. Their results can be misleading about the joint null, particularly when coefficient estimates are correlated.
  • Match covariance estimation to the data. Heteroskedasticity or clustering can invalidate the classical F calibration. A robust covariance estimate addresses the specified variance structure, but it does not repair invalid instruments or dependence handled at the wrong level.
  • Inspect instrument variation and leverage. Near-collinearity, influential observations, or many instruments relative to the sample can make estimates and approximations unstable. A nominally robust statistic is not a substitute for checking the design and sample size.
  • Do not confuse this with a first-stage test. The AR test concerns the transformed outcome under a candidate \(\beta_0\); a first-stage diagnostic concerns prediction of the treatment by the instruments. Neither test establishes the exclusion restriction or other substantive validity assumptions.

A conventional IV Wald test tests a treatment-effect estimate using its estimated standard error and can have unreliable size when instruments are weak. The AR test instead uses a joint reduced-form restriction and remains valid under weak relevance when its error, exogeneity, and covariance assumptions are satisfied. Its limitation is that it can be conservative or have limited power, and a rejected candidate alone does not identify the correct effect. How a collection of accepted and rejected candidates forms a confidence set is a separate inference step.

Common mistake: “Each instrument coefficient has a p-value above 0.05, so the AR test cannot reject.” This reasoning replaces a joint test with separate tests and ignores covariance among estimates. The correction is to form the vector \(\hat{\delta}\), use its full covariance matrix, and test \(H_0:\delta=0\) jointly with the appropriate F or Wald statistic.

Key takeaway: With multiple excluded instruments, the AR test at \(\beta_0\) is a joint test that all excluded-instrument coefficients are zero in the regression of \(Y-\beta_0D\) on included covariates and instruments. The restrictions have that interpretation only under appropriate covariate exogeneity and instrument orthogonality conditions.

Check Your Understanding

Answer each question, then compare with the solutions below.

  1. There are four full-rank excluded instruments and five columns in the included-regressor matrix. What are the joint restrictions and the unrestricted residual degrees of freedom?
  2. Why does \(E[Z_i u_i]=0\) by itself not guarantee zero instrument coefficients in the regression controlling for \(X_i\)?
  3. A robust Wald statistic is 7.20 for three instrument restrictions. Using the 5% chi-square critical value of about 7.815, what is the decision?
  4. In an exact classical F test, \(SSR_R=50\), \(SSR_U=44\), \(q=2\), and the unrestricted residual degrees of freedom are 36. Calculate the statistic.

Solutions. (1) The null is that all four excluded-instrument coefficients equal zero; the unrestricted residual degrees of freedom are \(n-5-4=n-9\), provided the design has full rank. (2) The coefficients in a regression controlling for \(X_i\) depend on the instruments after partialling out \(X_i\). If \(X_i\) is correlated with \(u_i\), the required partialled-out orthogonality need not follow from \(E[Z_i u_i]=0\); exogeneity of the included covariates or the appropriate partialled-out moment condition is also needed. (3) Since \(7.20<7.815\), do not reject the joint null at 5%; this is not proof that it is true. (4) The statistic is \(\{(50-44)/2\}/(44/36)=3/(1.2222)=2.455\), with an \(F_{2,36}\) reference distribution under the stated classical assumptions.

Clinical Biostats