Supplementary Material for “Valid t-ratio Inference for IV,” American Economic Review, 112 (10): 3260-90.DOI: 10.1257/aer.20211063

Lee, David S., Justin McCrary, Marcelo J. Moreira, and Jack Porter. 2022. "Valid t-Ratio Inference for IV." American Economic Review, 112 (10): 3260-90.DOI: 10.1257/aer.20211063.

NBER. BibTex.

STATA code to add tF critical values and standard errors to ivreg2 output

To install from STATA:

. ssc install ranktest, replace
. ssc install ivreg2, replace
. net install tf, force from(http://www.princeton.edu/~davidlee/wp/)
. help tf

Frequently Asked Questions about “Valid t-ratio Inference for IV”

Why using $\hat{\beta}\pm1.96\times(std.error)$ as a 95 percent confidence interval for (just-identified) IV is incorrect$-$and what to do about it.

What do you mean by “${\hat{\beta}}$ ± 1.96 x (std.err.)” for (just-identified) IV”?

In the discussion below, $\hat{\beta}$ is the 2SLS coefficient estimate on X (the endogenous regressor of interest) when one, for example, uses the STATA command “ivregress 2sls Y W (X=Z W), robust” or “ivreg2 Y W (X=Z), cluster(id)” (where W are additional controls). “(std.err.)”, which we will equivalently refer to as $\sqrt{\hat{V}_{N}\left(\hat{\beta}\right)}$ is the reported standard error for $\hat{\beta}$ . By “just-identified”, we are referring the case where there is a single excluded instrument Z.

More formally, the usual textbook treatment of the just-identified instrumental variable (IV) model would look something like this:

\[ Y = X\beta+u \tag{1} \\ COV(Z,u)=0 \\ COV(X,Z) \ne 0 \]

where $X$ is the endogenous regressor of interest, and $Z$ is the single excluded instrument.

When $(Y, X, Z)$ are random variables that represent the observations of those variables from a randomly drawn unit from the population, the typical textbook recommendation is to use the “sandwich” or “robust” formula for the standard error of the 2SLS estimator $\hat{\beta}$, which is given by

\[
\sqrt{\hat{V}_{N}\left(\hat{\beta}\right)}\equiv(``\text{robust" IV standard error)}\equiv\sqrt{\frac{\hat{V}\left(Z\hat{u}\right)}{\left(\mathbf{Z^{\prime}X}\right)^{2}}}
\]

where $\hat{u} ≡ Y − X \hat{\beta}$, and the bold indicates a random vector with each element being a different unit of observation. $\hat{V}\left(Z\hat{u}\right)=\sum_{i}Z_{i}^{2}\hat{u}_{i}^{2}$ in the case of heteroskedasticity-robust standard errors.

All the results we discuss in the paper and below generalize to cases where external controls/covariates are included, but we focus on the case of no covariates for exposition here.

Download Appendices

Online Appendix to “Valid t-ratio Inference for IV”, Lee, McCrary, Moreira, and Porter (2020), (2021), (2022)

References

Anderson, T. W., and Herman Rubin. 1949. “Estimation of the Parameters of a Single Equation in a Complete System of Stochastic Equations.” Annals of Mathematical Statistics, 20: 46–63. 

Andrews, Isaiah, James H. Stock, and Liyang Sun. 2019. “Weak Instruments in Instrumental Variables Regression: Theory and Practice.” Annual Review of Economics, 11: 727–753.

Angrist, Joshua, and Jorn-Steffen Pischke. 2009. Mostly Harmless Econometrics: An Empiricist’s Companion. Princeton, NJ: Princeton University Press.

Angrist, Joshua, and Michal Kolesár. 2021. “One Instrument to Rule Them All: The Bias and Coverage of Just-ID IV.” NBER Working Paper 29417.

Dufour, Jean-Marie. 1997. “Some Impossibility Theorems in Econometrics with Applications to Structural and Dynamic Models.” Econometrica, 65: 1365–1388.

Lee, David S., Justin McCrary, Marcelo J. Moreira, and Jack Porter. 2020. “Valid t-ratio Inference for IV.” arXiv working paper.

Lee, David S., Justin McCrary, Marcelo J. Moreira, and Jack Porter. 2022. “Valid t-ratio Inference for IV.” American Economic Review, 112.

Lee, David S., Justin McCrary, Marcelo J. Moreira, Jack Porter, and Luther Yap. 2023. “What to do when you can't use '1.96' Confidence Intervals for IV". NBER Working Paper #31893.

Staiger, Douglas, and James H. Stock. 1997. “Instrumental Variables Regression with Weak Instruments.” Econometrica, 65: 557–586.

Stock, James H., and Motohiro Yogo. 2005. “Testing for Weak Instruments in Linear IV Regression.” In Identification and Inference in Econometric Models: Essays in Honor of Thomas J. Rothenberg, ed. Donald W.K. Andrews and James H. Stock, Chapter 5, 80–108. Cambridge University Press.