EconBase
← Back to paper

Under the null of valid specification, pre-tests cannot make post-test inference liberal

Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.

82,711 characters · 15 sections · 48 citation commands

Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.

Is Inference Conditional on Not Rejecting a Pre-test Less Reliable than Unconditional Inference?

abstractAssume that an estimator is asymptotically normal for a target parameter under some conditions. Suppose also that one can test these conditions, and one conducts inference for the target only if the pre-test is not rejected. Does such pre-testing undermine inference? We show that if the tested conditions and mild regularity restrictions hold, conditional inference is still valid, albeit typically conservative. Validity holds regardless of the asymptotic dependence between the estimator and the pre-test. If the tested conditions do not hold, we exhibit conditions under which confidence intervals have larger conditional than unconditional coverage.

Introduction

Specification tests are ubiquitous in applied research. To estimate the effect of a treatment, one has to rely on an identifying assumption to recover treated units' outcome without treatment, and researchers typically conduct pre-tests to assess the credibility of that assumption. For example, difference-in-difference (DID) estimation relies on a parallel-trends assumption. Then, researchers usually start by computing a pre-trend estimator, and they may report a DID estimator of, and a confidence interval (CI) for, the average treatment effect on the treated (ATT) only if treated and control units do not experience significantly different outcome trends before treatment. Similarly, in randomized controlled trials (RCTs), if there is attrition or one fears that the randomization may have been compromised, researchers may first conduct balancing tests comparing the average of some pre-determined covariates in the treated and control samples, and they may report the usual difference-in-means estimator and its CI only if covariates are balanced. Balancing tests are also common in instrumental variable (IV) and regression discontinuity design (RDD) studies. Beyond treatment-effect estimation, pre-tests also arise in generalized method of moments (GMM) estimation. There, researchers may only report the GMM estimator and its CI if a J-test is not rejected.

While pre-tests can help researchers assess if their identifying assumption is valid, they may also undermine inference. Let us explain this issue and our results in a particular case of our more general setup. Assume that a researcher uses an estimator $\widehat{\beta}$ (e.g. a DID) to learn a scalar parameter $\beta_0$ (e.g. the ATT). Under an assumption referred to as the null hypothesis of valid specification (e.g. parallel trends), $\widehat{\beta}$ is $\sqrt{n}-$consistent and asymptotically normal for $\beta_0$. Letting $q_{x}(\widehat{\beta})$ denote the $x$-th quantile of the asymptotic distribution of $\sqrt{n}(\widehat{\beta}-\beta_0)$, $$\text{CI}_{1-\alpha}:=\left[\widehat{\beta}-q_{1-\alpha/2}(\widehat{\beta})/\sqrt{n},\widehat{\beta}+q_{1-\alpha/2}(\widehat{\beta})/\sqrt{n}\right]$$ is the usual $1-\alpha$-level confidence interval for $\beta_0$. By construction, under the null $$\underset{n\to \infty}{\lim}P(\beta_0\in \text{CI}_{1-\alpha})=1-\alpha:$$ the unconditional coverage rate (UC) of $\text{CI}_{1-\alpha}$ is equal to its nominal coverage rate (NC).

Then, let us further assume that the null has a testable implication: if it holds, an estimator $\widehat{\theta}$ (e.g. a pre-trends estimator) should not be significantly different from zero. Then, the researcher only reports $\text{CI}_{1-\alpha}$ if $\widehat{\theta}$ is not significantly different from zero, namely if $||\sqrt{n}\widehat{\theta}||\leq q_{1-\alpha}(\widehat{\theta})$, where $q_{x}(\widehat{\theta})$ denotes the $x$-th quantile of the asymptotic distribution of $||\sqrt{n}\widehat{\theta}||$ under the null and $\|.\|$ is an appropriate norm. The issue is that while $\text{CI}_{1-\alpha}$ is only computed when the null is not rejected, we do not have any guarantee on its coverage conditional on not rejecting the null. Specifically, $$\underset{n\to \infty}{\lim}P(\beta_0\in \text{CI}_{1-\alpha}|~||\widehat{\theta}||\leq q_{1-\alpha}(\widehat{\theta})/\sqrt{n}),$$ the conditional coverage rate (CC) of $\text{CI}_{1-\alpha}$, could be strictly larger or strictly lower than $1-\alpha$, and the direction of the inequality could depend on the correlation between $\widehat{\theta}$ and $\widehat{\beta}$. Of course, one could modify $\text{CI}_{1-\alpha}$ to account for this selection; but our aim is precisely to study the CC of this naive confidence interval, following standard practice.

We first show that irrespective of the correlation between $\widehat{\beta}$ and $\widehat{\theta}$, under the null of valid specification the CC of $\text{CI}_{1-\alpha}$ is always larger than its NC:

equation[equation omitted — 178 chars of source]

Thus, if we are under the null (e.g. if we have parallel trends), pre-testing can lead $\text{CI}_{1-\alpha}$ to over-cover but cannot lead it to under-cover. (ref) readily follows from the Gaussian correlation inequality royen2014, which implies that for a centered normal vector $(Y,X')\sim \mathcal{N}(0,\Sigma)$,

equation[equation omitted — 130 chars of source]

We also show that the inequality in (ref) is strict only if the covariance between $Y$ and $X$ is equal to zero, a result that appears to be new. This allows us to show that under the null, $\text{CI}_{1-\alpha}$'s CC is equal to its NC if and only if $\widehat{\beta}$ and $\widehat{\theta}$ are asymptotically independent. We also extend (ref) by considering infinite-dimensional (e.g., Kolmogorov-Smirnov) tests, as well as one-sided inference for $\beta_0$.

Then, we consider results under the alternative, namely when the null hypothesis fails (e.g. we have differential trends). In that case, even without pre-testing, $\text{CI}_{1-\alpha}$ does not cover $\beta_0$ $(1-\alpha)$% of the time, because $\widehat{\beta}$ is biased (e.g. the DID estimator is biased for the ATT). Then, one may want to compare $\text{CI}_{1-\alpha}$'s CC both to its NC and to its UC. One could for instance have that $\text{CI}_{1-\alpha}$'s CC is below its NC but still larger than its UC. Then, pre-testing does not decrease the coverage rate of $\text{CI}_{1-\alpha}$.

We start by noting that if $\widehat{\beta}$ and $\widehat{\theta}$ are not asymptotically independent, then the inequality in (ref) is strict under the null, so that by a continuity argument, $\text{CI}_{1-\alpha}$'s CC is still larger than its NC and UC “locally”, namely for small departures from the null. Next, we show that if $\mu_1$, the standardized bias of $\widehat{\beta}$, is equal to $\mu_2$, the standardized bias of $\widehat{\theta}$, multiplied by their correlation $\Sigma_{12}$, then the CC of $\text{CI}_{1-\alpha}$ is larger than its UC “globally”, namely for any value of $\mu_2$. In RCT (resp. IV) studies, if $\widehat{\theta}$ is a vector of differences in means of covariates, then $\mu_1=\mu_2 \Sigma_{12}$ holds if the treatment (resp. instrument) is exogenous once the covariates in the balancing tests are controlled for, and if the treatment (resp. instrument) effect is independent of the covariates. On the other hand, in DID studies $\mu_1=\mu_2 \Sigma_{12}$ fails for instance if there is a differential linear trend and the error in the untreated outcome equation follows a stationary AR(1). Finally, we show numerically that our global result is robust to violations of the condition $\mu_1=\mu_2 \Sigma_{12}$: when $\widehat{\theta}$ is of dimension one, $\text{CI}_{1-\alpha}$'s CC is still larger than its UC if $\mu_1=\mu_2 \Sigma_{12}(1+R)$, for a wide range of values of $(\mu_2,\Sigma_{12},R)$. In RCT, IV, and RDD studies, $R$ represents the bias of $\widehat{\beta}$ coming from variables not considered in the balancing tests, divided by the bias coming from the variables considered in those tests. Then, our numerical result shows that in this type of studies, the CC of $\text{CI}_{1-\alpha}$ can be larger than its UC even with a substantial bias coming from other variables than those in the balancing tests.

Finally, as the condition under which the CC of $\text{CI}_{1-\alpha}$ is larger than its UC is unlikely to hold in DID studies, we compare the CC and UC of $\text{CI}_{0.95}$ in data generating processes (DGPs) calibrated to the twelve DID studies in the meta-analysis of roth2022pretest, assuming differential linear trends. On average, the CC and UC are respectively equal to 78.4 and 80.3%: while both are well below 95%, the CC is very close to the UC so pre-testing only slightly reduces coverage. Note that this comparison is not entirely fair, because it does not account for the power of the pre-test, which can lead the analyst to correctly reject the null of parallel trends.

Related literature and outline of the paper

Inference conditional on not rejecting a pre-test has received some attention in the DID literature. Propositions 1 and 4 in roth2022pretest show that under parallel trends, the DID estimator remains conditionally unbiased, and that its conditional variance is smaller than its unconditional variance. We complement these results by showing that under parallel trends, the CC of $\text{CI}_{1-\alpha}$ is weakly larger than its NC.

Our paper is related to, but different from, the vast literature on inference after model selection leeb2005model,leeb2006can,berk2013valid, lee2016exact,heller2019post,kuchibhotla2020valid, andrews2024inference. A simple example of the settings considered by that literature goes as follows. A researcher seeks to estimate $\beta_0$, the coefficient on $X$ in the regression of $Y$ on $X$, but they do not know whether they should control for another variable $W$. First, the researcher estimates the regression of $Y$ on $(X,W)$, and tests if $\beta_W$, the coefficient on $W$, is different from zero. If the test is not rejected, the researcher's CI for $\beta_0$ is based on $\widehat{\beta}^s$, the coefficient from the regression of $Y$ on $X$, while if the test is rejected their CI is based on $\widehat{\beta}^\ell$, the coefficient from the regression of $Y$ on $(X,W)$. The resulting sequential CI is defined irrespective of the outcome of the pre-test. This is an important difference with our setting, where we do not take a stance as to what happens if the pre-test is rejected. Another important difference is that most papers in this literature consider inference that accounts for selection, whereas we study “naive” inference that ignores such selection. For instance, while lee2016exact and andrews2024inference exploit properties of the normal distribution to characterize estimators' distributions conditional on selection, we exploit the Gaussian Correlation Inequality to show that naive inference can remain conditionally valid, albeit conservative.

Our paper still relates to some results in this literature. In particular, in the example of linear regressions above, Proposition 3.1 of leeb2003finite shows that under the null that $\beta_W=0$, $\widehat{\beta}^s$ is asymptotically independent of the pre-test, so that the CC of $\widehat{\beta}^s$'s naive CI is equal to its NC. angelini2024identification obtain a similar result in the context of proxy-SVARs.

Finally, this literature has also shown that under local alternatives (e.g., when $\beta_W$ differs from but converges to zero), the UC of sequential CIs can be well below their NC. We also consider results under local alternatives, but they apply to the CC of the CI based on $\widehat{\beta}^s$, which we mainly compare to the UC of the same CI. This is a relevant comparison to make in our setting, as there may be no estimation taking place when the pre-test is rejected, and we do not assume that we have access to an estimator like $\widehat{\beta}^\ell$ that is consistent even under the alternative.

The remainder of the paper is organized as follows. Section (ref) presents our results under the null of valid specification. Section (ref) presents our results under the alternative. Section (ref) concludes by highlighting what researchers should and should not take away from our paper.

Results under the null hypothesis

Set-up and examples

We are interested in $\beta_0\in \mathbb R^p$. We use an estimator $\widehat{\beta}$, which is consistent and asymptotically normal if $(\theta_0,\eta_0)=0$, where $\theta_0\in \mathbb R^q$ and $\eta_0\in \mathbb R^r$. We assume for now that $\theta_0$ is finite-dimensional, but we consider the infinite-dimensional case in Section (ref). Similarly, in all our examples $\eta_0$ is finite-dimensional, but our results would still hold with an infinite-dimensional $\eta_0$. We refer to $(\theta_0,\eta_0)=0$ as the null hypothesis of valid specification. We also have a consistent and asymptotically normal estimator of $\theta_0$, $\widehat{\theta}$. Therefore, $\theta_0=0$ is testable. Accordingly, the null has a testable implication, though it may not be fully testable, unless $\eta_0$ is by definition equal to zero. We review four examples where this set-up applies.

exi{DID: set-up.} We have a binary treatment $D$, an outcome $Y$, and a panel dataset with $T>2$ periods. Some units (the “treated”, denoted by $G=1$) receive the treatment at a period $t_0>2$, whereas other units (“the controls”, denoted by $G=0$) do not: $D=G\times 1\{t\geq t_0\}$. Letting $Y_t(0)$ and $Y_t(1)$ respectively denote units' potential outcomes at period $t$ without and with treatment, we seek to estimate $$\beta_0:=(E(Y_{t}(1)-Y_{t}(0)|G=1))_{t\in \{t_0,...,T\}},$$ the vector of average treatment effects on the treated (ATTs) at period $t_0$, $t_0+1$, ..., $T$.\footnote{Results also apply if one instead considers $1/(T-t_0+1)\sum_{t=t_0}^T E(Y_{t}(1)-Y_{t}(0)),$ the ATT across all treated units and time periods.} The null hypothesis of valid specification is a parallel-trends assumption: for all $t\geq 2$, \begin{equation} E(Y_t(0)-Y_{t-1}(0)|G=1)=E(Y_t(0)-Y_{t-1}(0)|G=0). \end{equation} (ref) is equivalent to $(\theta_0,\eta_0)=0$, with \begin{align*} \theta_0:=&(E(Y_{t}-Y_{t_0-1}|G=1)-E(Y_{t}-Y_{t_0-1}|G=0))_{t\in \{1,...,t_0-2\}},\\ \eta_0:=&(E(Y_{t}(0)-Y_{t_0-1}(0)|G=1)-E(Y_{t_0}(0)-Y_{t_0-1}(0)|G=0))_{t\in \{t_0,...,T\}}. \end{align*} $\theta_0=0$ is testable, but $\eta_0=0$ is not.
exi{AE: set-up.} We have a binary treatment $D$, an outcome $Y$, and a dataset where some units are treated while others are not. We seek to estimate the ATT, namely $$\beta_0:=E(Y(1)-Y(0)|D=1).$$ $D$ is “arguably exogenous” (AE): we assume that $D$ and $Y(0)$ are uncorrelated, i.e. \begin{equation} \eta_{0}:=E(Y(0)|D=1)-E(Y(0)|D=0)=0. \end{equation} Under (ref), the ATT is identified: $\beta_0=E(Y|D=1)-E(Y|D=0)$. However, (ref) does not hold by design, and needs to be argued for. A usual pre-test assesses if the treatment is uncorrelated with some pre-determined covariates $X_b$: \begin{equation} \theta_{0}:=E(X_b|D=1)-E(X_b|D=0)=0. \end{equation} Then, letting $U$ denote the residual from a linear regression of $Y(0)$ on $(1,X_b)$, the null of valid specification could for instance be (ref) and \begin{equation} E(U|D=0)-E(U|D=1)=0. \end{equation} Together, (ref) and (ref) imply $(\theta_0,\eta_0)=0$. Instances where a treatment's exogeneity has to be argued for via balancing tests arise in RCTs, when the randomization protocol may have been compromised or manipulated heckman2010analyzing, or when there is attrition and one wants to argue that treatment is still exogenous in the sample of non-attriters. A similar setup applies to instrumental variable studies, where researchers often use balancing tests to assess their instrument's exogeneity angrist1998children. Finally, a similar setup applies to matching studies, where researchers often use conditional balancing tests to test the conditional independence assumption imbens2001estimating.
exi{RDD: set-up.} We have a binary treatment $D$, an outcome $Y$, and a sharp regression discontinuity design (RDD): $D=1\{R\geq 0\}$, where $R$ is a continuous running variable.\footnote{To simplify the discussion, we focus on sharp RDDs.} We seek to estimate $\beta_0:=E[Y(1)-Y(0)|R=0]$, the average treatment effect (ATE) at the cut-off. If $r\mapsto E[Y(d)|R=r]$ is continuous at 0 for all $d$, $\beta_0=\lim_{r\downarrow 0} E[Y|R=r] - \lim_{r\uparrow 0} E[Y|R=r]$. Two usual pre-tests are a test of continuity of the density of $R$ at 0 mccrary2008manipulation and a test that the mean of some pre-determined covariates $X_b$ is continuous at the threshold. The corresponding estimands are \begin{align*} \theta_{0,1}:=&\lim_{r\downarrow 0} f_R(r) - \lim_{r\uparrow 0} f_R(r) \\ \theta_{0,2}:=& \lim_{r\downarrow 0} E[X'_b|R=r] - \lim_{r\uparrow 0} E[X'_b|R=r]. \end{align*} The null hypothesis of valid specification could for instance be Conditions 1b and 2b in lee2008randomized, which imply that $\theta_0:=(\theta_{0,1},\theta_{0,2})$ and $$\eta_0:=(\lim_{r\downarrow 0} E[Y(0)|R=r] - \lim_{r\uparrow 0} E[Y(0)|R=r],\; \lim_{r\downarrow 0} E[Y(1)|R=r] - \lim_{r\uparrow 0} E[Y(1)|R=r])$$ are both equal to zero.
exi{GMM: set-up.} We seek to estimate $\beta_0=E[h(U,\nu_0)]\in\mathbb R^p$ where $U$ is an observed random vector, $h$ is a known function and the parameter $\nu_0\in \mathbb R^s$ is unknown. The null hypothesis of valid specification is that $\theta_0:=E[g(U,\nu_0)]=0$, where $\theta_0\in\mathbb R^q$, $g$ is a known function and $q > s$. Thus, $\nu_0$ is overidentified, so $\theta_0=0$ is testable. Letting $\eta_0=0$, the null of valid specification is fully testable.

\newcounter{forreset} \setcounter{forreset}{\arabic{example}}

We now introduce the conditions underlying our main result below.

hyp\begin{enumerate} • $(\theta_0,\eta_0)=0$ and $$ \left(\widehat{\Sigma}_\beta^{-1/2}\left(\widehat{\beta}-\beta_0\right), \widehat{\Sigma}_\theta^{-1/2}\widehat{\theta} \right) \stackrel{d}{\longrightarrow} \mathcal{N}\left(0,\Sigma\right), \;\text{where } \Sigma:=\begin{pmatrix} I_p & \Sigma_{12} \\ \Sigma_{12}' & \Sigma_{22} \end{pmatrix},$$ $I_p$ is the identity matrix of size $p$, $\Sigma_{12}$ is a matrix of size $p\times q$ and $\widehat{\Sigma}_\beta$ (resp. $\widehat{\Sigma}_\theta$ and $\Sigma_{22}$) is positive definite of size $p\times p$ (resp. $q\times q$). • We consider $J$ tests of $\theta_0=0$, based on the statistics $(T_{1,n},...,T_{J,n}) \in\mathbb R^J$ that satisfy, if $\theta_0=0$, \begin{equation} T_{j,n} = T_j\left(\widehat{\Sigma}_\theta^{-1/2}\widehat{\theta}\right)+o_P(1). \end{equation} Moreover, $T_j$ is convex on $\mathbb R^q$ and satisfies $T_j(-x)=T_j(x)\ge 0$ for all $x\in \mathbb R^q$ and $T_j(0)=0$. The critical region of the $j$-th test is $\{T_{j,n}> q_{j,n}\}$, where $q_{j,n}$ is a random variable satisfying $q_{j,n}\stackrel{P}{\longrightarrow} q_j>0$. \end{enumerate}

Assumption (ref).(ref) requires that $(\theta_0,\eta_0)=0$ and $\widehat{\beta}$ is consistent and asymptotically normal for $\beta_0$. Note that $\widehat{\beta}$ could still be consistent for $\beta_0$ under a weaker condition. For instance, in the DID, AE, and RDD examples, it is sufficient to have $\eta_0=0$. Importantly, Assumption (ref).(ref) does not restrict the asymptotic dependence between $\widehat{\beta}$ and $\widehat{\theta}$. It also allows for estimators converging at rates lower than $n^{1/2}$, as is the case in the RDD example. The $J$ different tests in Assumption (ref).(ref) reflect the fact that one often considers different pre-tests. The functions $T_1,...,T_J$ in these pre-tests have to be convex and symmetric around zero: this condition is key to obtaining our main result. On the other hand, we do not require the pre-tests to be consistent or to reach their nominal level asymptotically. The condition $q_j>0$ in Assumption (ref).(ref) ensures that under the null, the probability to reject does not tend to one.

In our four leading examples, Assumption (ref) holds under regularity conditions.

exi{DID: conditions under which Assumption (ref) holds.} Suppose that we have a sample of $n$ i.i.d. vectors $U_i:=(G_i,Y_{i,1},...,Y_{i,T})'$ and $U_i$ admits second moment. For $d\in\{0,1\}$, let $n_d:=|\{i:G_i=d\}|$ (with $|A|$ denoting the cardinality of set $A$) and \begin{align*} \widehat{\beta}:=&\left(\frac{1}{n_1}\sum_{i:G_i=1}(Y_{i,t}-Y_{i,t_0-1})-\frac{1}{n_0}\sum_{i:G_i=0}(Y_{i,t}-Y_{i,t_0-1})\right)_{t\in \{t_0,...,T\}}\\ \widehat{\theta}:=&\left(\frac{1}{n_1}\sum_{i:G_i=1}(Y_{i,t}-Y_{i,t_0-1})-\frac{1}{n_0}\sum_{i:G_i=0}(Y_{i,t}-Y_{i,t_0-1})\right)_{t\in \{1,...,q\}}, \end{align*} where $q:=t_0-2$. Let also $\widehat{V}_d$ be the empirical variance of $(Y_{i,t_0}-Y_{i,t_0-1},...,Y_{i,T}-Y_{i,t_0-1})_{i:G_i=d}$ and define $\widehat{\Sigma}_{\beta}:=\widehat{V}_1/n_1 + \widehat{V}_0/n_0$; define $\widehat{\Sigma}^1_{\theta}$ similarly. Under (ref), it readily follows from the central limit theorem and Slutsky's theorem that Assumption (ref).(ref) holds. To test the null, one can use a so-called F-test for pre-trends. This corresponds to $J=1$, $\widehat{\Sigma}_{\theta}=\widehat{\Sigma}_{\theta}^1$, $T_1(x)=x'x$, $T_{1,n}=T_1(\widehat{\Sigma}_\theta^{-1/2}\widehat{\theta})$, and $q_{1,n}$ equal to a quantile of a chi-squared distribution with $q$ degrees of freedom. Assumption (ref).(ref) holds with these definitions. Alternatively, the so-called “Sup-t” test proposed by montiel2019simultaneous corresponds to $J=1$, $\widehat{\Sigma}_{\theta}$ equal to the diagonal matrix with diagonal equal to that of $\widehat{\Sigma}_{\theta}^1$, $T_1(x_1,...,x_{q})=\max(|x_1|,...,|x_q|)$, $T_{1,n}=T_1(\widehat{\Sigma}_\theta^{-1/2}\widehat{\theta})$, and $q_{1,n}$ equal to a quantile of $\max(|X_1|/\widehat{\Sigma}_{\theta,1,1},..., |X_q|/\widehat{\Sigma}_{\theta,q,q})$, where $(X_1,...,X_q)\sim \mathcal{N}(0,\widehat{\Sigma}^1_{\theta})$. Again, Assumption (ref).(ref) holds with these definitions.
exi{AE: conditions under which Assumption (ref) holds.} Suppose that we have a sample of $n$ i.i.d. vectors $U_i:=(D_i,Y_i,X_{b,i}')'$ and $U_i$ admits a second moment. For $d\in\{0,1\}$, let $n_d:=|\{i:D_i=d\}|$ and \begin{align*} \widehat{\beta}:=& \frac{1}{n_1}\sum_{i:D_i=1}Y_i-\frac{1}{n_0}\sum_{i:D_i=0}Y_i\\ \widehat{\theta}:=&\frac{1}{n_1}\sum_{i:D_i=1}X_{b,i}-\frac{1}{n_0}\sum_{i:D_i=0}X_{b,i}. \end{align*} Let also $\widehat{V}_d$ be the empirical variance of $(Y_i)_{i:D_i=d}$ and define $\widehat{\Sigma}_{\beta}:=\widehat{V}_1/n_1 + \widehat{V}_0/n_0$; define $\widehat{\Sigma}_{\theta}$ similarly. Then, under (ref)-(ref), the central limit theorem and Slutsky's theorem imply that Assumption (ref).(ref) holds. To test $\theta_0=0$, one can for instance use an F-test. This corresponds to $J=1$, $T_1(x)=x'x$, $T_{1,n}=T_1(\widehat{\Sigma}_\theta^{-1/2} \widehat{\theta})$, and $q_{1,n}$ equal to a quantile of a chi-squared distribution with $q$ degrees of freedom. Assumption (ref).(ref) holds with these definitions.
exi{RDD: conditions under which Assumption (ref) holds.} Suppose that we have a sample of $n$ i.i.d. vectors $U_i:=(R_i,Y_{i},X_{b,i}')'$. Let $\widehat{\beta}$ and $\widehat{\theta}_2$ be respectively the bias-corrected estimators of $\lim_{r\downarrow 0} E[Y|R=r] - \lim_{r\uparrow 0} E[Y|R=r]$ and $\lim_{r\downarrow 0} E[X'_b|R=r] - \lim_{r\uparrow 0} E[X'_b|R=r]$ proposed by calonico2014robust, and $\widehat{\theta}_1$ be the estimator of $\lim_{r\downarrow 0} f_R(r) - \lim_{r\uparrow 0} f_R(r)$ proposed by cattaneo2020simple. Then, under the null of valid specification and the technical conditions in these two papers, one can show that Assumption (ref).(ref) holds. Researchers often conduct the two pre-tests separately, without accounting for their covariances. Then, $J=2$, $\widehat{\Sigma}_{\theta}$ is diagonal with $j$-th diagonal term equal to $1/n^{4/5}$ times a consistent estimator of the asymptotic variance of $\widehat{\theta}_j$, $T_j(x)=x_j^2$, $T_{j,n}=T_j(\widehat{\Sigma}_\theta^{-1/2}\widehat{\theta})$ and $q_{j,n}$ is a quantile of a chi-squared distribution with one degree of freedom. Assumption (ref).(ref) holds with these definitions.
exi{GMM: conditions under which Assumption (ref) holds.} We observe a sample of $n$ i.i.d. vectors $U_i$. Assume that $V(g(U,\nu_0))$ is nonsingular, $J_h:=E[\partial h/\partial \nu(U,\nu_0)]$ and $J_g:=E[\partial g/\partial \nu(U,\nu_0)]$ exist, and $J_g$ has full rank. A first possibility to estimate $\nu_0$ is to use a GMM estimator $\widehat{\nu}_W$, obtained using a positive definite weighting matrix $W$.\footnote{There is no loss of generality to consider a fixed weighting matrix $W$: the GMM estimator with a stochastic matrix $W_n$ converging in probability towards $W$ is asymptotically equivalent to $\widehat{\nu}_W$.} Under regularity conditions, one has hansen1982large: \begin{equation} \sqrt{n}(\widehat{\nu}_W - \nu_0) = \frac{-1}{\sqrt{n}}\sum_{i=1}^n (J_g' W J_g)^{-1}J_g' W g(U_i,\nu_0) +o_P(1). \end{equation} Then, letting $\widehat{\beta}:=\sum_{i=1}^n h(U_i,\widehat{\nu}_W)/n$, we can show, still under regularity conditions, that \begin{equation} \sqrt{n}(\widehat{\beta} - \beta_0) = \frac{1}{\sqrt{n}}\sum_{i=1}^n\left[h(U_i,\nu_0)-\beta_0-J_h(J_g'WJ_g)^{-1}J_g'W g(U_i,\nu_0)\right] +o_P(1). \end{equation} Let $\widehat{\theta}:= W^{*1/2}\sum_{i=1}^ng(U_i,\widehat{\nu}_{W^*})/n$, where $W^*:=V(g(U,\nu_0))^{-1}$ is the optimal weighting matrix.\footnote{Again, considering the unfeasible optimal GMM estimator is without loss of generality, because the feasible two-step GMM estimator is asymptotically equivalent to $\widehat{\nu}_{W^*}$.} Under regularity conditions, one has \begin{equation} \sqrt{n}\,\widehat{\theta} = \frac{1}{\sqrt{n}}\sum_{i=1}^n \Pi\; W^{*1/2}g(U_i,\nu_0) + o_P(1), \end{equation} where $\Pi:=I_q - W^{*1/2}J_g(J_g'W^*J_g)^{-1} J_g'W^{*1/2}$. Assumption (ref).(ref) follows from (ref)-(ref) and the central limit theorem. Then, the J-statistic sargan1958estimation,hansen1982large for specification testing corresponds to $T_1(x)=x'x$, $T_{1,n}=T_1(\sqrt{n}\widehat{\theta})$ and $q_{1,n}$ equal to a quantile of a chi-squared distribution with $q-s$ degrees of freedom. A second possibility to estimate $\beta_0$ and do the test goes as follows. One uses $s$ of the $q$ moment conditions in $E[g(U,\nu_0)]=0$ to estimate $\nu_0$ and $\beta_0$, and one uses the remaining moments to test the null. Again, one can show that Assumption (ref) holds in that case, under regularity conditions.
counterexi{moment inequalities.} Instead of the standard GMM framework above, consider moment inequalities \begin{equation} \theta_0:=E[g(U,\nu_0)]\le 0, \end{equation} see, e.g., chernozhukov2007estimation. Then, the null hypothesis would be $\theta_0\le 0$, which does not correspond to our definition. We could redefine $\theta_0$ as $\theta_0=\max(E[g(U,\nu_0)], 0)$. With that definition, the null is $\theta_0=0$, but Assumption (ref).(ref) does not hold anymore, because of the maximum operator. An important special case of (ref) are models with a binary instrument and treatment. Then, balke1997bounds show that the assumptions of imbens1994identification have a testable implication, which can be cast as (ref). This pre-test does not fall in our setting. While in general, our results do not apply to moment inequality models, we can still handle the case of a single inequality ($q=1$), as explained in Section (ref) below.

Main results

Conservative inference

Our first result provides a lower bound on the asymptotic probability that $\widehat{\Sigma}_\beta^{-1/2}\left(\widehat{\beta}-\beta_0\right)$ belongs to a convex set, conditional on not rejecting the pre-tests.

thmIf Assumption (ref) holds, for any convex set $C$ that is centro-symmetric (namely, symmetric around the origin), \begin{equation} \lim_{n\to\infty} P\left[\widehat{\Sigma}_\beta^{-1/2}\left(\widehat{\beta}-\beta_0\right) \in C \big| T_{1,n} \le q_{1,n},...,T_{J,n}\le q_{J,n}\right] \ge P(Z_1 \in C), \end{equation} where $Z_1\sim\mathcal{N}(0,I_p)$.

Heuristically, the proof goes as follows. First, by convexity and symmetry of the $(T_j)_{j=1,...,J}$, the event $\{T_{1,n} \le q_{1,n},...,T_{J,n}\le q_{J,n}\}$ is asymptotically equivalent to $\widehat{\Sigma}_{\theta}^{-1/2}\widehat{\theta}\in C'$, for some centro-symmetric convex set $C'$. Second, under the null of valid specification, $\left(\widehat{\Sigma}_\beta^{-1/2}\left(\widehat{\beta}-\beta_0\right)\right.$, $\left.\widehat{\Sigma}_\theta^{-1/2}\widehat{\theta}\right)\stackrel{d}{\longrightarrow} (Z_1,Z_2)$, where $Z_2$ is such that $(Z_1, Z_2)\sim \mathcal{N}(0,\Sigma)$. Then,

align*[align* omitted — 219 chars of source]

where the inequality follows from the Gaussian correlation inequality royen2014. Finally, the result follows from dividing both sides of the previous display by $P\left(\widehat{\Sigma}_\theta^{-1/2}\widehat{\theta}\in C'\right)\approx P(Z_2 \in C')$, the probability that the pre-test is not rejected.

We now turn to the implications of Theorem (ref) for (conditional) inference on $\beta_0$. We consider the usual F-test of $\beta_0=b_0$ with test statistic $F_n(b_0):=(\widehat{\beta}-b_0)'\widehat{\Sigma}_{\beta}^{-1}(\widehat{\beta}-b_0)$ and critical region $\{F_n(b_0)>q_{1-\alpha}(p)\}$, with $q_{1-\alpha}(p)$ the quantile of order $1-\alpha$ of a chi-squared distribution with $p$ degrees of freedom. We also consider the standard confidence region (CR)

equation[equation omitted — 177 chars of source]
corIf Assumption (ref) holds, then: \begin{enumerate} • If $\beta_0=b_0$, $\lim_{n\to\infty} P\left(F_n(b_0)>q_{1-\alpha}(p)| T_{1,n} \le q_{1,n},...,T_{J,n}\le q_{J,n}\right)\le \alpha$. • $\lim_{n\to\infty} P\left(\beta_0\in\text{CR}_{1-\alpha}| T_{1,n} \le q_{1,n},...,T_{J,n}\le q_{J,n}\right)\ge 1-\alpha$. \end{enumerate}

Hence, under Assumption (ref), conditional on not rejecting the pre-tests, the usual F-tests and CRs are asymptotically conservative. When $\beta_0$ is a scalar ($p=1$), this implies that two-sided tests and CIs on $\beta_0$ are asymptotically conservative. We have focused for simplicity on F-tests and standard CRs but given that Theorem (ref) applies to any centro-symmetric convex set, the same result as Corollary (ref) also holds for sup-tests on $\beta_0$ and cartesian products of symmetric two-sided confidence intervals.

Necessary and sufficient condition for exact inference.

One may wonder when conditional inference is actually not conservative. An obvious sufficient condition is asymptotic independence between the estimator and the pre-test ($\Sigma_{12}=0$), but is this condition also necessary? The answer is affirmative when we focus on two important types of pre-tests, namely F-tests and sup-tests.

propSuppose that Assumption (ref) holds with $J=1$ and either (i) $T_1(x)=\max(|x_1|,$ $...,|x_q|)$ and $p=1$ or (ii) $T_1(x)=x'x$ and $\Sigma_{22}=I_q$. If (ref) holds with equality for some compact set $C$ such that $P(Z_1 \in C)>0$, or if Point 1 or 2 of Corollary (ref) hold with equality for some $\alpha\in(0,1)$, then $\Sigma_{12}=0$.

The result under (i) readily follows from royen2014. In case (ii), the result is new, to the best of our knowledge. To prove it, we show in particular that asymptotically, $$f\mapsto P\left[\widehat{\Sigma}_\beta^{-1/2}\left(\widehat{\beta}-\beta_0\right) \in C \big|T_{1,n}=f\right]$$ is non-increasing and non-constant when $\Sigma_{12}\ne 0$. This follows from a convenient representation of $(Z_1,T_1(Z_2))$, with $(Z_1,Z_2)\sim\mathcal{N}(0,\Sigma)$ (see Equation (ref) in the proof) and Anderson's theorem anderson1955integral. Note that we impose $\Sigma_{22}=I_q$ in (ii). This is a weak condition: it holds whenever a consistent estimator of the asymptotic variance of $\widehat{\theta}$ is available.

exi{DID: application of Proposition (ref).} Assume for simplicity that treatment effects are constant ($(Y_t(1)-Y_t(0))_{t\in\{t_0,...,T\}}=\beta_0$) and $Y_{i,t}(0)$ follows a two-way fixed effects models where the error follows a stationnary AR(1): \begin{align} &Y_{i,t}(0)=\alpha_i+\gamma_t +\varepsilon_{i,t}, \varepsilon_{i,t}=\rho \varepsilon_{i,t-1}+u_{i,t}, \end{align} where the $(\gamma_t)_{t\ge 1}$ are non-stochastic, $u_{i,t}$ is independent of $G_i$, mean zero, and i.i.d. across $i$ and $t$, and where $\rho< 1$. Then, some algebra shows that the asymptotic covariance $C_{\ell,t}$ between $\widehat{\beta}_\ell$ and $\widehat{\theta}_t$ is \begin{align*} C_{\ell,t} = & \sum_{g=0}^1 \frac{1}{P(G=g)}Cov(Y_{t_0+\ell-1}(0)-Y_{t_0-1}(0),Y_t(0)-Y_{t_0-1}(0)|G=g) \\ = & \left(\frac{1}{P(G=1)}+\frac{1}{P(G=0)}\right)V(\varepsilon_{t_0-1})(1-\rho^{\ell})(1-\rho^{t_0-1-t})>0. \end{align*} On the other hand, if $\rho=1$, we obtain $C_{\ell,t}=0$. Therefore, unless $\varepsilon_{i,t}$ is a random walk, $\Sigma_{12}\ne 0$, and inference can never be exact.
exi{GMM: application of Proposition (ref).} If $h(U_i,\nu_0)$ does not depend on $U_i$ (e.g., $\beta_0$ is a subvector of $\nu_0$) and $W=W^*$, it follows from (ref) and (ref) that $\Sigma_{12}=0$: using the optimal GMM estimator guarantees exact inference under the null. On the other hand, we have $\Sigma_{12}\ne 0$ in general if either (i) $h(U_i,\nu_0)$ does depend on $U_i$, as is for instance the case in demand estimation, see, e.g., berry1995automobile; or (ii) one does not use the optimal GMM estimator, for instance for fear that it exhibits poor finite-sample properties; or (iii) if instead of using GMM, one uses $s$ of the $q$ moment conditions in $E[g(U,\nu_0)]=0$ to estimate $\nu_0$ and the remaining $q-s$ moments to test the null. In all these cases, conditional inference on $\beta_0$ is conservative in general.

One-sided tests and CIs.

Assume that $p=1$. Then, one-sided tests and CIs are not covered by Corollary (ref). Yet it follows from Lemma (ref) below, a consequence of the Gaussian correlation inequality,\footnote{We thank Fedor Petrov for giving us the proof of this result.} that a similar result holds for such tests and CIs.

lemLet $\mu$ denote a mean zero Gaussian measure on $\mathbb R^{q+1}$, $K=(-\infty, a]\times \mathbb R^q$ with $a\ge 0$ and $L=\mathbb R\times C$ where $C\subset \mathbb R^q$ is a centro-symmetric convex set. Then $\mu(K\cap L)\ge \mu(K)\mu(L)$. The same result holds with $K=[-a,\infty)\times \mathbb R^q$.

We consider the test statistic $T_n(b_0):=(\widehat{\beta}-b_0)/\widehat{\Sigma}_{\beta}^{1/2}$. To test the null that $\beta_0\leq b_0$, we consider the critical region $\{T_n(b_0)>z_{1-\alpha}\}$, with $z_{1-\alpha}$ the quantile of order $1-\alpha$ of a standard normal distribution. Accordingly, we consider the unilateral CI $(-\infty, \widehat{\beta} + \widehat{\Sigma}_{\beta}^{1/2} z_{1-\alpha}]$. The result below still holds if one considers instead the critical region $\{T_n(b_0)<z_{\alpha}\}$, to test the null that $\beta_0\geq b_0$, or if we consider the unilateral CI $[\widehat{\beta}+\widehat{\Sigma}_{\beta}^{1/2} z_{\alpha},+\infty)$.

propIf $\alpha\in (0,1/2]$, $p=1$, Assumption (ref) holds, then: \begin{enumerate} • If $\beta_0=b_0$, $\lim_{n\to\infty} P\left(T_n(b_0)>z_{1-\alpha}(p)| T_{1,n} \le q_{1,n},...,T_{J,n}\le q_{J,n}\right)\le \alpha$. • $\lim_{n\to\infty} P\left(\beta_0\in(-\infty, \widehat{\beta} + \widehat{\Sigma}_{\beta}^{1/2} z_{1-\alpha}]| T_{1,n} \le q_{1,n},...,T_{J,n}\le q_{J,n}\right)\ge 1-\alpha$. \end{enumerate}

Similarly, if $q=1$, meaning that the pre-test estimator $\widehat{\theta}$ is of dimension one, one can apply Lemma (ref) again, but now swapping the roles of $\widehat{\beta}$ and $\widehat{\theta}$, to show that conditional on not rejecting a unilateral pre-test, bilateral tests or CRs on $\beta_0$ are asymptotically conservative. Hence, while Assumption (ref) does not apply to moment inequality models, the main take-away from Theorem (ref) still applies to moment inequality models with one inequality. On the other hand, unilateral tests or CRs on $\beta_0$ are not guaranteed to be conservative conditional on not rejecting a unilateral pre-test.\footnote{When $p=q=1$, the distortion does not seem large. For instance, if we consider a 5% level test of $\theta_0\le 0$, we find by numerical evaluation that across all possible values of $\Sigma_{12}$, the conditional coverage of the confidence interval $(-\infty,\widehat{\beta}+1.64\widehat{\sigma}_\beta]$ is (asymptotically) at least equal to 94.7%.}

Testing infinitely many constraints

The pre-tests in Assumption (ref) are based on a finite-dimensional estimand $\theta_0$. However, as the next example shows, some pre-tests are in fact based on infinite-dimensional estimands.

exi{AME: set-up.} We observe a variable $Y$ and a continuously distributed variable $D$ with support $\mathcal{D}$. For any $d\in \mathcal{D}$, let $m(d)=\partial E(Y|D=d)/\partial d$. Our target parameter is $$\beta_0:=E[m(D)],$$ the average marginal effect (AME) of $D$ on $Y$. To estimate $\beta_0$, we use $\widehat{\beta}$, the coefficient on $D$ in an OLS regression of $Y$ on $(1,D)'$. The null of valid specification is $E[Y|D]=\alpha_0+\beta_0D$, where $\alpha_0:=E[Y-\beta_0D]$. This is equivalent to the following, infinite-dimensional restriction: \begin{equation} \zeta_0(d):=E[(Y-\alpha_0-\beta_0 D)\mathds{1}\left\{D\le d\right\}]=0, \quad\forall d \in \mathcal{D}. \end{equation}

To cover pre-tests based on infinite-dimensional estimands, we introduce the following assumption.

hyp\begin{enumerate} • We observe a sample $(U_i)_{i=1,...,n}$ of i.i.d. random vectors with probability distribution $P_U(A):=P(U_1\in A)$ for all Borel set $A$. • $\theta_0$ satisfies $\theta_0(f):=E[f(U_1)]=0$, for all $f\in \mathcal{F}$, where $\mathcal{F}$ is a Donsker class of functions.\footnote{For the definition of a Donsker class, see, e.g., VdV_Wellner, p.130.} Similarly, $\widehat{\theta}(f)=\frac{1}{n}\sum_{i=1}^n f(U_i)$. Also, \begin{equation} \sqrt{n}\left(\widehat{\beta}-\beta_0\right) = n^{-1/2}\sum_{i=1}^n \psi(U_i) +o_P(1), \end{equation} where $E[\|\psi(U_1)\|^2]<\infty$, $E[\psi(U_1)]=0$ and $V(\psi(U_1))$ is nonsingular. • We consider $J$ pre-tests of $H_0: \theta_0=0$ based on the statistics $(T_{1,n},...,T_{J,n}) \in\mathbb R^J$ that satisfy, under $H_0$, \begin{equation} T_{j,n} = T_j(n^{1/2}\widehat{\theta})+o_P(1). \end{equation} Moreover, $T_j$ is convex, $T_j(-\theta)=T_j(\theta)\ge 0$ and $T_j(0)=0$.\footnote{Formally, $T_j$ is defined on $\ell^\infty(\mathcal{F})$, the set of bounded functions from $\mathcal{F}$ to $\mathbb R$, and in (ref), $n^{1/2}\widehat{\theta}$ is seen as an element of $\ell^\infty(\mathcal{F})$.} Also, $T_j$ is continuous with respect to the uniform norm $\|\theta\|_{\mathcal{F}}:=\sup_{f\in\mathcal{F}} |\theta(f)|$. The critical region of the $j$-th test is $\{T_{j,n}> q_{j,n}\}$, where $q_{j,n}$ is a random variable satisfying $q_{j,n}\stackrel{P}{\longrightarrow} q_j>0$. \end{enumerate}

Contrary to Assumption (ref), Assumption (ref) allows for pre-tests that rely on infinite-dimensional estimands: the class $\mathcal{F}$ in Assumption (ref).(ref) may be infinite and even uncountable. Then, the continuity condition in Assumption (ref).(ref) is important, to apply the continuous mapping theorem. Note also that Assumption (ref) does not allow for estimators converging at rates lower than $n^{1/2}$ or for non-independent variables. However, we conjecture that Theorem (ref) below still holds if we assume, instead of Assumption (ref).(ref) and (ref).(ref), the weak convergence of $(\widehat{\Sigma}_\beta^{-1/2}(\widehat{\beta} -\beta_0),\widehat{\Sigma}_\theta^{-1/2}(\widehat{\theta} -\theta_0))$ to a Gaussian process.

exi{AME: pre-test.} Condition (ref) can be tested using the Kolmogorov-Smirnov or Cram\'er-von Mises tests of linearity proposed in stute1997nonparametric and stute1998bootstrap.\footnote{ Contrary to, e.g., the test of horowitz2001adaptive, this test has not been shown to be (and may not be) minimax-optimal. However, it has the advantage of being free of tuning parameters. Moreover, the test of horowitz2001adaptive does not satisfy Assumption (ref).} Assume that we observe a sample of $n$ i.i.d. vectors $U_i:=(D_i,Y_{i})'$. Let $\gamma_0=(\alpha_0,\beta_0)'$ and $\widehat{\gamma}=(\widehat{\alpha},\widehat{\beta})$ be the OLS estimator in the regression of $Y$ on $(1,D)'$. Consider a Kolmogorov-Smirnov test statistic (the same reasoning applies to a Cram\'er-von Mises statistic): $T_{1,n}= n^{1/2} \sup_{d\in \mathcal{D}}|\widehat{\zeta}(d)|$, with $$\widehat{\zeta}(d):=\frac{1}{n}\sum_{i=1}^n \mathds{1}\left\{D_i\le d\right\}(Y_i - (\widehat{\alpha}+\widehat{\beta}D_i)).$$ By a uniform law of large numbers on $\sum_{i=1} \mathds{1}\left\{D_i\le d\right\} (1,D_i)'/n$ and standard results on regressions, we obtain \begin{align} \sqrt{n}\left(\widehat{\zeta}(d)-\zeta_0(d)\right) =&\frac{1}{\sqrt{n}}\sum_{i=1}^n \left[\mathds{1}\left\{D_i\le d\right\} + E[\mathds{1}\left\{D\le d\right\}(1,D)]E[(1,D)'(1,D)]^{-1}(1,D_i)'\right] \nonumber \\ & \; \times (Y_i - (1,D_i)\gamma_0) + o_P(1), \end{align} where the $o_P(1)$ is uniform over $d\in\mathcal{D}$. Let us define \begin{align*} \mathcal{F}:=& \bigg\{f_{d'}: (y,d)\mapsto \left[\mathds{1}\left\{d\le d'\right\}+ E[\mathds{1}\left\{D\le d'\right\}(1,D)]E[(1,D)'(1,D)]^{-1}(1,d)'\right] \\ & \;\,\times (y - (1,d)\gamma_0), d'\in\mathcal{D}\bigg\}. \end{align*} For all $f_d\in \mathcal{F}$, let $\theta_0(f_d):=E(f_d(U))$ and $\widehat{\theta}(f_d):=\frac{1}{n}\sum_{i=1}^n f_d(U_i)$. Then, if $E[Y|D]=\alpha_0 + \beta_0 D$, we have $\theta_0(f_d)=\zeta_0(d)=0$ for all $d\in\mathcal{D}$. Also, standard results imply that $\mathcal{F}$ is Donsker and by (ref), $$n^{1/2}\widehat{\zeta}(d)=n^{1/2}\widehat{\theta}(f_d)+o_P(1).$$ Moreover, by continuity of the supremum functional and the previous display, $T_{1,n}=T_1\left(n^{1/2}\widehat{\theta}\right)+o_P(1)$, with $T_1(\theta)=\sup_{f\in\mathcal{F}} |\theta(f)|$. Hence, Assumptions (ref).(ref) and (ref).(ref) hold.

Beyond Example AME, Assumption (ref) applies more generally to tests of functional form, where one wants to test if $E(Y|D)$ is equal to, say, a polynomial of known degree $K$ in $D$, or more generally to tests of conditional moment restrictions such as $E[g(U,\nu_0)|X]=0$.

thmIf Assumption (ref) holds, for any centro-symmetric convex set $C$, \begin{equation} \lim_{n\to\infty} P\left[\sqrt{n}\big(\widehat{\beta}-\beta_0\big) \in C \big| T_{1,n} \le q_{1,n},...,T_{J,n}\le q_{J,n}\right] \ge P(\widetilde{Z}_1\in C), \end{equation} where $\widetilde{Z}_1\sim\mathcal{N}(0,V(\psi))$.\footnote{Assumption (ref) does not guarantee that the statistics $T_{j,n}$ are measurable. If not, the result holds replacing $P$ on the left-hand side of (ref) by the outer probability $P^*$ VdV_Wellner.}

Theorem (ref) follows from the same steps as Theorem (ref), but also from the approximation of the limit distribution of $T_j\left(n^{1/2}\widehat{\theta}\right)$ by a convex function of a finite-dimensional Gaussian measure. Though we do not state them, Theorem (ref) readily implies results equivalent to those in Corollary (ref) if Assumption (ref) holds.

Results under the alternative

In this section, we consider results when $(\theta_0,\eta_0)\ne 0$. This requires modifying our modeling framework. With a fixed distribution such that $\theta_0\ne 0$, the power of the pre-tests converges to one when $n\to \infty$. Then, pre-testing can never lead to wrongly accept the null. In practice however, pre-tests may have limited power and may thus fail to reject under the alternative. To allow for this possibility, we consider local alternatives, where the probability distribution of the data can change with the sample size. Accordingly, we now index $(\beta_0, \theta_0,\eta_0)$ by $n$ and assume that $(\theta_{0n},\eta_{0n})\ne 0$ but

equation[equation omitted — 122 chars of source]

The term $r_n$ corresponds to the rate at which the estimators converge under the null. In our examples above, $r_n=n^{1/2}$ except in RDDs for which $r_n=n^{2/5}$. $\delta_n$ and $\delta$ can be interpreted as (properly normalized) distances between the distribution of the data and the null. Then, (ref) states that the distance between the distribution of the data and the null shrinks to zero at the same rate at which the estimators converge. In this framework, the power of the pre-tests does not converge to one, because as the sample size increases, deviations from the null become closer to zero and harder to detect.

Assumption (ref) below is the analogue of Assumption (ref) under local alternatives.

hyp\begin{enumerate} • The sequence of DGPs satisfies $\delta_n\to \delta$ and \begin{equation} \left(\widehat{\Sigma}_\beta^{-1/2}\left(\widehat{\beta}-\beta_{0n}\right), \widehat{\Sigma}_\theta^{-1/2}\widehat{\theta} \right) \stackrel{d}{\longrightarrow} \mathcal{N}\left(\begin{pmatrix} \mu_1(\delta) \\ \mu_2(\delta)\end{pmatrix},\begin{pmatrix}\Sigma_{11}(\delta) & \Sigma_{12}(\delta) \\ \Sigma_{12}(\delta)' & \Sigma_{22}(\delta)\end{pmatrix}\right), \end{equation} where all the functions of $\delta$ are continuous at $\delta=0$ and $\mu_1(0)=0$, $\mu_2(0)=0$, $\Sigma_{11}(0)=I_p$ and $\Sigma_{22}(0)$ is positive definite. • The same conditions as in Assumption (ref).(ref) hold (with $\theta_0$ replaced by $\theta_{0n}$). \end{enumerate}

Assumption (ref).(ref) requires that if the distance between the distribution of the data and the null of valid specification converges to zero at the same rate at which the estimators converge, then $\widehat{\beta}-\beta_{0n}$ and $\widehat{\theta}$ are asymptotically normal, potentially with first-order biases. If $\delta=0$, then the asymptotic biases are equal to zero, as would happen under the null. On the other hand, $\widehat{\beta}$ may have an asymptotic bias even if the testable part of the null hypothesis holds (i.e. $\delta_\theta=0$). Allowing for this generality is important: for instance, in the DID example, parallel trends before $t_0$ may not necessarily imply parallel trends after.\footnote{Similarly, under Assumption (ref), having $\delta_\theta=0$ is not sufficient to have $\mu_2(\delta)=0$. This generality may not be as important: in our four leading examples, $\delta_\theta=0$ does imply $\mu_2(\delta)=0$.} We now give conditions under which Assumption (ref).(ref) holds in three of our four examples.\footnote{We conjecture that it should be possible to exhibit conditions under which Assumption (ref).(ref) also holds in the RDD example.} Hereafter, we let $\Sigma_\beta$ and $\Sigma_\theta$ denote the probability limit of $r_n^2\widehat{\Sigma}_\beta$ and $r_n^2\widehat{\Sigma}_\theta$ (we show that these limits exist in all our examples).

exi{DID: conditions under which Assumption (ref).(ref) holds.} Suppose that for all $t\in\{1,...,T\}$, $G_n=G$, $Y_{n,t}(1)=\widetilde{Y}_t(1)$ and \begin{equation} Y_{n,t}(0)=\widetilde{Y}_t(0) + G\left(\theta_{0n,t}\mathds{1}\left\{t<t_0-1\right\}+ \eta_{0n,t-t_0+1}\mathds{1}\left\{t\ge t_0\right\}\right), \end{equation} where the distribution of $(G,\widetilde{Y}_1(0),\widetilde{Y}_1(1),...,\widetilde{Y}_T(0),\widetilde{Y}_T(1))$ does not vary with $n$, admits a second-order moment and for all $t\in\{1,...,T\}$, \begin{equation} E(\widetilde{Y}_{t}(0)-\widetilde{Y}_{t_0-1}(0)|G=1)=E(\widetilde{Y}_{t}(0)-\widetilde{Y}_{t_0-1}(0)|G=0). \end{equation} This DGP depends on $n$ only through the vanishing violations of parallel trends in (ref). While more general DGPs could be considered, it is easy to check that Assumption (ref).(ref) holds in this setup. Specifically, if $\delta_n\to \delta$, it follows from the law of large numbers and the central limit theorem that $\Sigma_\beta$ and $\Sigma_\theta$ exist and (ref) holds, with $\mu_1(\delta)=\Sigma_\beta^{-1/2}\delta_\eta$, $\mu_2(\delta)=\Sigma_\theta^{-1/2}\delta_\theta$, $\Sigma_{11}(\delta)=I_p$, $\Sigma_{22}(\delta)=I_q$ and $\Sigma_{12}(\delta)$ independent of $\delta$.
exi{AE: conditions under which Assumption (ref).(ref) holds.} Similarly, suppose that $D_n=D$, $Y_n(1)=\widetilde{Y}(1)$ and \begin{equation} Y_n(0) = \widetilde{Y}(0)+D\eta_{0n}, \; X_{b,n}=\widetilde{X}_b+D\theta_{0n}, \end{equation} where the distribution of $(D,\widetilde{Y}(0),\widetilde{Y}(1),\widetilde{X}_b)$ does not vary with $n$, admits a second-order moment and \begin{equation} E[\widetilde{Y}(0)|D=0]=E[\widetilde{Y}(0)|D=1], \; E[\widetilde{X}_b|D=0]=E[\widetilde{X}_b|D=1]. \end{equation} Then, if $\delta_n\to \delta$, $\Sigma_\beta$ and $\Sigma_\theta$ exist and (ref) holds, with again $\mu_1(\delta)=\Sigma_\beta^{-1/2}\delta_\eta$, $\mu_2(\delta)=\Sigma_\theta^{-1/2}\delta_\theta$, $\Sigma_{11}(\delta)=I_p$, $\Sigma_{22}(\delta)=I_q$ and $\Sigma_{12}(\delta)$ independent of $\delta$.
exi{GMM: conditions under which Assumption (ref).(ref) holds.} newey1985generalized considers a setup in which $U_n$ has a density $f(\cdot, c_n)$ with respect to a certain measure, for some vector $c_n$ satisfying $c_n=c_0 + \delta_c/\sqrt{n}$ and $E[g(U_n,\nu_0)]=0$ if $\delta_c=0$. As above, let $\widehat{\beta}:=\sum_{i=1}^n h(U_i,\widehat{\nu}_W)/n$ and $\widehat{\theta}:= W^{*1/2}\sum_{i=1}^ng(U_i,\widehat{\nu}_{W^*})/n$. Then, under Assumptions 1-7 in newey1985generalized, his Lemma 1 together with a law of large numbers and Slutsky's theorem imply that (i) $\delta_n\to \delta=(\delta_\theta,0)$, with $\delta_\theta:=\int g(u,\nu_0)\partial f/\partial c(u,c_0)du$ (recall that $\eta_{0n}=0$ here), and (ii) Eq. (ref) holds, with $\mu_1(\delta)= -\Sigma_\beta^{-1/2}J_h(J_g'WJ_g)^{-1}J_g' W\delta_\theta$, $\mu_2(\delta) = \Sigma_\theta^{-1/2}\Pi W^{* \,1/2}\delta_\theta$, $\Sigma_{11}(\delta)=I_p$, $\Sigma_{22}(\delta)=I_q$ and $\Sigma_{12}(\delta)$ independent of $\delta$.

Results in a neighborhood of the null

Theorem (ref) below shows that when the estimators used in the pre-tests $\widehat{\theta}$ and the estimators of interest $\widehat{\beta}$ are not asymptotically independent, and the pre-tests are either sup-tests or F-tests, then there exists neighborhoods around the null ($\delta=0$) such that if $\delta$ belongs to that neighborhood, CRs' conditional coverage (CC) is at least as large as their nominal coverage (NC) and their unconditional coverage (UC).

thmSuppose that Assumption (ref) holds with $J=1$ and either (i) $T_1(x)=\max(|x_1|,$ $...,|x_q|)$ and $p=1$ or (ii) $T_1(x)=x'x$ and $\Sigma_{22}(0)=I_q$. Then: \begin{enumerate} • If $\Sigma_{12}(0)\ne 0$, there exists a neighborhood $\mathcal{V}$ of $0\in\mathbb R^{q+r}$ such that if $\delta\in \mathcal{V}$, then: \begin{equation} \lim_{n\to\infty} P\left(\beta_0\inCR_{1-\alpha}| T_{1,n} \le q_{1,n}\right)\ge 1-\alpha. \end{equation} • There exists a neighborhood $\mathcal{V}'$ of $0\in\mathbb R^{q+r}$ such that if $\delta\in \mathcal{V}'$, then: \begin{equation} \lim_{n\to\infty} P\left(\beta_0\inCR_{1-\alpha}| T_{1,n} \le q_{1,n}\right)\ge \lim_{n\to\infty} P\left(\beta_0\inCR_{1-\alpha}\right). \end{equation} \end{enumerate}

The intuition of the proof of Theorem (ref) is as follows. First, by Proposition (ref), for sup-tests and F-tests, CRs' CC is greater than their NC under the null if $\widehat{\theta}$ and $\widehat{\beta}$ are not asymptotically independent. Then, by continuity, there must be a neighborhood where CRs' CC is still greater than their NC. By the same reasoning, there must also be a neighborhood around the null where CR's CC is greater than their UC, as the UC is equal to the NC under the null. Theorem (ref) focuses on CRs, but a similar result holds for tests.

exi{DID: remark on Theorem (ref).} Even if $\theta_{0n}=0$ and $\eta_{0n}\ne 0$ (parallel trends holds before but not after treatment), it follows from Theorem (ref) that tests of differential pre-trends can offer a benefit, by ensuring a CC at least as large as the NC and UC, in a neighborhood around the null. A similar remark applies to the AE example.
exi{GMM: remark on Theorem (ref).} Inasmuch as one favors some form of protection against misspecification over valid inference under the null, Theorem (ref) can motivate the use of a non-optimal GMM estimator: if $h(U_i,\nu_0)$ does not depend on $U_i$ and one uses the optimal GMM estimator $\widehat{\beta}_{W^*}$, then $\Sigma_{12}=0$, so Point 1 of Theorem (ref) does not apply.

Theorem (ref) raises the following question: in practice, how large are the neighborhoods around the null where CRs' CC is not lower than their NC (resp. UC)? The answer to that question depends heavily on $(\mu_1(\delta),\mu_2(\delta),\Sigma_{11}(\delta),\Sigma_{22}(\delta),\Sigma_{12}(\delta))$. Figure (ref) below considers the case where $p=q=1$: the pre-test is based on a scalar estimator, in which case the sup-test and the F-test are equivalent, and the parameter of interest is also scalar. Then, the figure shows the asymptotic CC and UC of $\text{CI}_{0.95}$, when $\mu_1(\delta)=\lambda \mu_2(\delta)$, $\Sigma_{11}(\delta)=\Sigma_{22}(\delta)=1$, and $\Sigma_{12}(\delta)=\Sigma_{12}$, as a function of $\mu_2:=\mu_2(\delta)$ and for four different values of $(\lambda,\Sigma_{12})$. $\mu_2$, the bias of the pre-test estimator divided by its standard deviation, can directly be mapped to the power of the pre-test. For instance, if $|\mu_2|=1.96$ (resp. $2.8$), the pre-test has a 50% (resp. 80%) chance of being rejected.

In the top-left panel, $\Sigma_{12}=0.5$ and $\lambda=-1$: $\widehat{\beta}$ and $\widehat{\theta}$ are positively correlated, and the standardized bias of $\widehat{\beta}$ is the negative of that of $\widehat{\theta}$. In that DGP, under the null (i.e. $\mu_2=0$), the CC of $\text{CI}_{0.95}$ is equal to 95.7%, barely above 95%. Accordingly, the neighborhood around $\mu_2=0$ where the CC is above 95% is small ($[-0.22,0.22]$), and the neighborhood where the CC is above the UC is also small ($[-0.51,0.51]$). At $|\mu_2|=1.96$, the CC is equal to $33\%$, which is much lower than 95%, and quite a bit lower than the UC (50%). At $|\mu_2|=2.8$, the CC is equal to $4.2\%$, which is orders of magnitude lower than 95%, and much below the UC (20%). In the top-right panel, $\Sigma_{12}=0.9$ and $\lambda=-1$. With very strongly positively correlated estimators, the neighborhoods where the CC is above 95% and above the UC become larger ($[-0.36,0.36]$ and $[-0.63,0.63]$, respectively). On the other hand, the CC declines more steeply when $|\mu_2|$ increases. For instance, at $|\mu_2|=1.96$, the CC is equal to $14.4\%$. In the bottom-left panel, $\Sigma_{12}=0.5$ and $\lambda=1$: the standardized bias of $\widehat{\beta}$ is equal to that of $\widehat{\theta}$. Then, while the neighborhood where the CC is above 95% remains small ($[-0.29,0.29]$), the CC is larger than the UC for all $\mu_2$. The bottom-right panel shows that results are similar when $\Sigma_{12}=0.9$, though the neighborhood where the CC is above 95% becomes larger ($[-0.91,0.91]$).\footnote{Considering only positive values of $\Sigma_{12}$ is without loss of generality: if $\Sigma_{12}<0$ one can let $\widetilde{\theta}=-\widehat{\theta}$.}

figure[figure omitted — 546 chars of source]

“Global” result

The bottom panels of Figure (ref) suggest that under some conditions, the CC is larger than the UC for all $\delta$. The following theorem confirms this idea.

thmSuppose that Assumption (ref) holds with $J=1$, $p=1$, $T_1(x)=x'x$ and for all $\delta\in\mathbb R^{q+r}$, $\Sigma_{11}(\delta)=1$ and $\Sigma_{22}(\delta)=I_q$. If also $\mu_1(\delta)=\Sigma_{12}(\delta) \mu_2(\delta)$ for all $\delta\in\mathbb R^{q+r}$, then (ref) holds for all $\delta\in\mathbb R^{q+r}$.

Our result relies on the same assumptions as Theorem (ref), and three additional conditions. First, we need to have $p=1$: the target parameter should be a scalar. Second, we should have $\Sigma_{11}(\delta)=1$ and $\Sigma_{22}(\delta)=I_q$. This essentially requires that once divided by the estimators' convergence rate squared, $\widehat{\Sigma}_\beta$ and $\widehat{\Sigma}_\theta$ are consistent for the estimators' asymptotic variances under the null and under local alternatives, a condition that often holds in practice. Third, we need to have $\mu_1(\delta)=\Sigma_{12}(\delta)\mu_2(\delta)$: the standardized bias of $\widehat{\beta}$ should be equal to the standardized bias of $\widehat{\theta}$ multiplied by their correlation. Under those additional conditions, (ref) holds uniformly: CRs' CC is always greater than their UC.

Theorem (ref) only applies to F-tests. Its proof shares some similarities with that of Proposition (ref), but with important differences. Let $(Z_1(\delta),Z_2(\delta))$ be such that $$\left[\widehat{\Sigma}_\beta^{-1/2}(\widehat{\beta}-\beta_0), \widehat{\Sigma}_\theta^{-1/2}\widehat{\theta}\right]\stackrel{d}{\longrightarrow} (Z_1(\delta),Z_2(\delta)).$$ We cannot apply Anderson's theorem to $Z_1(\delta)|Z_2(\delta)'Z_2(\delta)$, as in Proposition (ref), because its distribution is not centered. Instead, we apply it to $N(\delta):=Z_1(\delta) - \Sigma_{12}(\delta)Z_2(\delta)$: when $\mu_1(\delta)=\Sigma_{12}(\delta)\mu_2(\delta)$, $N(\delta)$ has mean zero. We also exploit $\mu_1(\delta)=\Sigma_{12}(\delta)\mu_2(\delta)$ to establish asymptotic independence between $Z_1(\delta)^2$ and $Z_2(\delta)'Z_2(\delta)$ conditional on $V:=[\Sigma_{12} Z_2(\delta)]^2$.

We now exhibit assumptions under which the additional conditions underlying Theorem (ref) hold in the AE example, before exhibiting assumptions under which $\mu_1(\delta)=\Sigma_{12}(\delta)\mu_2(\delta)$ cannot hold in the DID example.

exi{AE: application of Theorem (ref).} For any random variable $A$ and any random vector $B$, let $L(A|B)$ denote the linear regression of $A$ on $(1,B)$. Suppose, in addition to (ref)-(ref), that \begin{equation} L[Y_n(0)|X_{b,n},D,X_{b,n}D]=\alpha_{0}+\alpha_{1}'X_{b,n}. \end{equation} This states that when regressing $Y_n(0)$ on $(1,X_{b,n},D,X_{b,n}D)$, the coefficients on $D$ and $X_{b,n}D$ are equal to zero: $D$ is exogenous once the variables in the balancing tests are controlled for. Suppose also that treatment effects are uncorrelated with $X_{b,n}$ among the treated: \begin{equation} Cov(Y_n(1)-Y_n(0),X_{b,n}|D=1)=0, \end{equation} Then, we show in Appendix (ref) that the conditions of Theorem (ref) hold.
counterexi{DID with differential monotone trends and AR(1) errors.} Consider the following particular case of (ref)-(ref): \begin{align} Y_{i,t,n}(0)&=\alpha_{i}+\gamma_{t} + \mathds{1}\left\{G_{i,n}=1\right\}\lambda_{n,t}+\varepsilon_{i,t},\quad \varepsilon_{i,t}=\rho \varepsilon_{i,t-1}+u_{i,t},\\ \lambda_{n,t_0-1}=0 & and either \lambda_{n,1}<...<\lambda_{n,T} or \lambda_{n,1}>...>\lambda_{n,T}, \end{align} where the $(\gamma_t,\lambda_{n,t})_{t\ge 1}$ are non-stochastic, $u_{i,t}$ is independent of $G_i$, mean zero, and i.i.d. across $i$ and $t$, and where $\rho< 1$. Condition (ref) holds in particular with differential linear trends, for which $\lambda_{n,t}=\lambda_n(t-t_0+1)$. We focus here on $\beta_0:=E[Y_{t_0-1+\ell,n}(1)-Y_{t_0-1+\ell,n}(0)|G=1]$ and assume for simplicity that treatment effects are constant ($Y_{i,t_0-1+\ell,n}(1)-Y_{i,t_0-1+\ell,n}(0)=\beta_0$). Under these assumptions, we show in Appendix (ref) that $\mu_1(\delta)\ne \Sigma_{12}(\delta)\mu_2(\delta)$ for some $\delta$. Thus, we cannot apply Theorem (ref). When $T=t_0=3$, meaning that there is only one pre-trend and one event-study estimator, the intuition for the result is very simple: $\Sigma_{12}$ is strictly positive (this follows from the formula for $C_{\ell,t}$ below Proposition (ref)), whereas $\mu_1(\delta)$ and $\mu_2(\delta)$ are of opposite signs with differential monotone trends.

Numerical results

Theorem (ref) above shows that under weak conditions, the CC of $\text{CI}_{1-\alpha}$ is larger than its UC in a neighborhood of the null, but the result is not informative on the neighborhood itself. Theorem (ref) shows that under stronger conditions, notably $\mu_1(\delta)=\Sigma_{12}(\delta)\mu_2(\delta)$, the neighborhood is actually the full space. Point 1 of the following numerical result gives quantitative guarantees on the neighborhood when $p=q=1$, under a weaker restriction than $\mu_1(\delta)=\Sigma_{12}(\delta)\mu_2(\delta)$. Point 2 provides guarantees on the CC itself, when $\mu_1(\delta)=\Sigma_{12}(\delta)\mu_2(\delta)$.

numSuppose that Assumption (ref) holds with $J=1$, $p=q=1$, $\Sigma_{11}(\delta)=1$, $\Sigma_{22}(\delta)=1$, $\Sigma_{12}(\delta)=\Sigma_{12}$, $T_1(x)=x^2$, $\alpha =0.05$ and $q_1$ equal to the 95% quantile of a chi-squared distribution with $1$ degree of freedom. Finally, let $\zeta=10^{-5}$. \begin{enumerate} • If $\mu_1(\delta)=(1+R(\delta))\Sigma_{12}\mu_2(\delta)$, then (ref) holds: \begin{enumerate} • for all $(R(\delta),\mu_2(\delta),\Sigma_{12})\in [0,1]\times [-3.9,3.9]\times [-1+\zeta,1-\zeta]$; • for all $(R(\delta),\mu_2(\delta),\Sigma_{12})\in [-1,1]\times [-1.9,1.9]\times [-1+\zeta,1-\zeta]$; • for all $(R(\delta),\mu_2(\delta),\Sigma_{12})\in [-0.85,1]\times [-2.8,2.8]\times [-1+\zeta,1-\zeta]$. \end{enumerate} • If $\mu_1(\delta)=\Sigma_{12}\mu_2(\delta)$, then: \begin{enumerate} • for all $|\mu_2(\delta)| \le 0.84$, $P\left(\beta_0\in\text{CI}_{1-\alpha}| T_{1,n} \le q_{1,n}\right) \ge 0.95$; • for all $|\mu_2(\delta)| \le 2.8$, $P\left(\beta_0\in\text{CI}_{1-\alpha}| T_{1,n} \le q_{1,n}\right)\ge 0.88.$ \end{enumerate} \end{enumerate}

To establish, say, the first result in Point 1, we minimize $P(\beta_0\in\text{CI}_{0.95}| T_{1,n} \le q_{1,n})/P(\beta_0\in$ $\text{CI}_{0.95})$ across all $(R(\delta),\mu_2(\delta),\Sigma_{12})\in [0,1]\times [-3.9,3.9]\times [-1+\zeta,1-\zeta]$, using Matlab's fminunc function. For 500 randomly chosen starting values, the objective function is always greater than or equal to one at the minimum, so the result seems robust to the fact that the objective function exhibits local minima. We proceed similarly to establish all other numerical results.

Point 1.a) means that for essentially any value of $(\mu_2(\delta),\Sigma_{12})$,\footnote{The result is probably true for any value of $(\mu_2(\delta),\Sigma_{12})$, though up to Matlab's numerical precision we can only establish it numerically for $(\mu_2(\delta),\Sigma_{12})\in [-3.9,3.9]\times [-1+\zeta,1-\zeta]$.} the CC is larger than the UC if the standardized bias of $\widehat{\beta}$ belongs to $\Sigma_{12}\mu_2(\delta)\times[1,2]$.\footnote{If $\Sigma_{12}\mu_2(\delta)<0$, this interval should be understood as $[2\Sigma_{12}\mu_2(\delta),\Sigma_{12}\mu_2(\delta)]$.} Point 1.b) means that for essentially any value of $\Sigma_{12}$ and for small to moderately large values of $\mu_2(\delta)$, the CC is still larger than the UC if the standardized bias of $\widehat{\beta}$ belongs to $\Sigma_{12}\mu_2(\delta)\times[0,2]$. Finally, Point 1.c) means that for essentially any value of $\Sigma_{12}$ and any value of $\mu_2(\delta)$ for which the pre-test has less than 80% chances of being rejected, the CC is still larger than the UC if the standardized bias of $\widehat{\beta}$ belongs to $\Sigma_{12}\mu_2(\delta)\times[0.15,2]$. Thus, (ref) can still hold under fairly large departures from $\mu_1(\delta)=\Sigma_{12}\mu_2(\delta)$.

While (ref) holds uniformly when $\mu_1(\delta)=\Sigma_{12}\mu_2(\delta)$, (ref) does not: $\mu_1(\delta)=\Sigma_{12}\mu_2(\delta)$ is not sufficient to ensure that the CI's CC is least as large as its NC. Still, Point 2 of Numerical Result (ref) shows that if $p=q=1$ and $\alpha=0.05$, (ref) holds for all $|\mu_2(\delta)| \le 0.84$. Moreover, for all $|\mu_2(\delta)| \le 2.8$, the coverage rate of the 95%-level CI for $\beta_0$ cannot be lower than 88%. By contrast, the UC can be as low as 20% in such cases.

Point 1 of Numerical Result (ref) can be fruitfully applied to the AE example. There, rationalizing $\mu_1(\delta)=\Sigma_{12}\mu_2(\delta)$ requires in particular assuming that the treatment is uncorrelated to $Y_n(0)$ once the covariates in the balancing tests are controlled for. This is restrictive: controlling for $X_{b,n}$ may not be enough to ensure that the treatment is exogenous. We now allow for effects of omitted variables.

exi{AE: application of Point 1 of Numerical Result (ref).} Point 1 of Numerical Result (ref) requires that $q=1$. With an F-test based on $\widehat{\theta}$, this fails whenever $X_{b,n}$ is not scalar. Accordingly, assume one instead uses a t-test based on $\widehat{\alpha}_1'\widehat{\theta}$, where $\widehat{\alpha}_1$ is the coefficient of $X_{b,n}$ from a regression of $Y_{i,n}$ on $(1,X_{b,i,n}')$ in the untreated sample.\footnote{For this test, we can either consider a variance estimator accounting for variability of $\widehat{\alpha}_1$ or not: in our setup this will not matter asymptotically.} The rationale for that test is to assess if imbalances in $X_{b,n}$ can meaningfully bias $\widehat{\beta}$. Then, assume that (ref)-(ref) and (ref) hold, but (ref) does not. Instead, suppose that \begin{equation} L[Y_n(0)|X_{b,n},D_n,X_{b,n}D_n,W_n]=\alpha_{0}+\alpha_{1}'X_{b,n} + W_n, \end{equation} with $\alpha_1\ne 0$. Here $W_n$ is a (potentially unobserved) variable not included in the balancing tests. (ref) requires that in the regression of $Y_n(0)$ on $(1,X_{b,n},D_n,X_{b,n}D_n,W_n)$, the coefficients on $D_n$ and $X_{b,n}D_n$ are equal to zero: the treatment is exogenous once $X_{b,n}$ and the omitted variable are controlled for.\footnote{Assuming that $W_n$ is scalar is without loss of generality: with a vector of omitted variables $O_n$, if $L[Y_n(0)|X_{b,n},D_n,X_{b,n}D_n, O_n]=\alpha_{0}+\alpha_{1}'X_{b,n} + \alpha_{2}'O_n$, then (ref) holds with $W_n=\alpha_{2}'O_n$.} We also assume that $W_n=\widetilde{W}+D\tau_n$, where $\text{Cov}(\widetilde{W},D)=0$ and the distribution of $(\widetilde{Y}(1),\widetilde{Y}(0),\widetilde{X}_b,\widetilde{W})$ does not depend on $n$. By projecting $\widetilde{W}$ onto $\widetilde{X}_{b}$, we can assume without loss of generality that these variables are uncorrelated but we assume more here, namely that $\text{Cov}(\widetilde{W},\widetilde{X}_{b}|D=d)=0$ for $d=0,1$. We prove in Appendix (ref) that under these conditions, Point 1 of Numerical Result (ref) holds, with $R(\delta)=\delta_\tau/\alpha_1'\delta_\theta$, where $\delta_\tau:=\lim_{n\to \infty}n^{1/2}\tau_n$ (we also show that this limit exists and equals $\delta_\eta - \alpha_1'\delta_\theta$). Then, Point 1.a) of Numerical Result (ref) implies that if $\delta_\tau$, the bias coming from variables not included in the balancing tests, is of the same sign as, and smaller in absolute value than, $\alpha_1'\delta_\theta$, the bias induced by $X_b$, then the CI's CC is essentially always larger than its UC. Similarly, Point 1.b) implies that if $|\delta_\tau|\leq |\alpha_1'\delta_\theta|$, then the CC is larger than the UC for moderately large values of $\alpha_1'\delta_\theta$. Finally, Point 1.c) implies that if $\delta_\tau$ is included between $-0.85$ and $1$ times $\alpha_1'\delta_\theta$, then the CC is larger than the UC for any value of $\alpha_1'\delta_\theta$ with less than 80% chances of being detected.

Comparing the CC & UC, in DGPs calibrated to DID papers

\paragraph{Motivation and set-up.} In this section, we compare the CC and UC of $\text{CI}_{0.95}$, in DGPs calibrated to the 12 DID studies in the meta-analysis conducted by roth2022pretest.\footnote{Those are all the event-study DID papers published in the AER, AEJ:Policy, and AEJ:Applied between 2014 and 2018, with publicly available datasets.} We choose DID rather than cross-sectional examples (e.g. RCT, IV, matching, or RDD), because in the DID case $\Sigma_{12}$ is likely to be positive (this holds for ten of the 12 studies we consider, see Column (2) of Table (ref) below), while $\mu_1(\delta)$ and $\mu_2(\delta)$ are likely to be of opposite signs (this for instance holds with differential monotone trends). Then, Theorem (ref) and Numerical Result (ref) are unlikely to apply, thus making DID more adversarial than these other examples for the comparison of the CC and UC. For each paper, we consider the event-study graph revisited by roth2022pretest, and restrict attention to the first pre-trend estimate and to the first event-study estimate, so that $p=q=1$. Then, we calibrate $\mu_2(\delta)$ to the t-statistic of the pre-trend and $\Sigma_{12}$ to the correlation between the pre-trend and the event-study estimator. Finally, we let $\mu_1(\delta)=-(\Sigma_{\theta}/\Sigma_{\beta})^{1/2}\mu_2(\delta)$, which holds if we have differential linear trends. We compute the CC and UC for these 12 values of $(\mu_1(\delta),\mu_2(\delta),\Sigma_{12})$, for $\alpha=0.05$. Note that setting $\mu_2(\delta)$ at the realized t-stat of the pre-trend is an adversarial choice: even if trends were perfectly parallel in the twelve papers, the twelve $\mu_2(\delta)$ would correspond to realizations of twelve standard normals, with some of them being mechanically large, thus leading to a low CC and UC.

\paragraph{Results.} Results are shown in Columns (1) to (5) of Table (ref) below. The pre-trend is significant at the 5% level in only one paper. Yet, violations of parallel trends calibrated to mostly insignificant pre-trend estimates can lead to significant size distortions: on average, UC and CC are respectively equal to 81.0% and 79.2%, far below the 95% NC of $\text{CI}_{0.95}$. At the same time, there is only one value of $(\mu_1(\delta),\mu_2(\delta),\Sigma_{12})$ for which CC is more than 10 percentage points smaller than UC. Among the remaining values, there are four for which CC is larger than UC and three for which CC is less than 1 percentage point smaller than UC. Thus, for those 12 values of $(\mu_1(\delta),\mu_2(\delta),\Sigma_{12})$, pre-testing rarely decreases much the coverage of $\text{CI}_{0.95}$. In Table (ref) in the appendix, we keep the same values of $\Sigma_{12}$, but we calibrate $\mu_2(\delta)$ to the lower and upper bounds of the 95% CI of the first pre-trend estimate, while still letting $\mu_1(\delta)=-(\Sigma_{\theta}/\Sigma_{\beta})^{1/2}\mu_2(\delta)$. Unsurprisingly, larger differential trends worsen the coverage of $\text{CI}_{0.95}$: across these 24 values of $(\mu_1(\delta),\mu_2(\delta),\Sigma_{12})$, the UC and CC are respectively equal to 53.8% and 49.7% on average. Now, there are two values of $(\mu_1(\delta),\mu_2(\delta),\Sigma_{12})$ for which CC is more than 10 percentage points smaller than UC, but for those the UC is lower than 70%, thus implying that $\text{CI}_{0.95}$ is unreliable even without pre-testing.

table[table omitted — 1,718 chars of source]

Concluding remarks

The conventional rationale for specification tests is that they enable the rejection of misspecified models, thereby increasing the likelihood that researchers estimate correctly specified ones. Such tests have nonetheless been criticized on at least two grounds. First, they may lack power in practice, and second, they may distort post-test inference. While the first concern remains valid and important, this paper offers a more optimistic view of the second: not only does conditional inference remain valid under the null of correct specification, it may even be less distorted than unconditional inference under local alternatives. Overall, the “cost” of running specification tests —such as conservative inference under the null, the possibility of wrongly rejecting some true specifications, and potentially more distorted inference under certain local alternatives — may be relatively limited compared to their benefits, namely a higher likelihood of selecting correct specifications and, in some cases, less distorted inference under local alternatives.

This tentative conclusion should however be taken with a grain of salt, given a notable limitation of our current work. Specifically, we assume that researchers consider a single identifying assumption, and we do not take a stance as to what happens when that assumption is rejected. In such cases, researchers may pre-test another identifying assumption until they find one that is not rejected. For instance, if a pre-trend test is rejected in a DID study, one could add control variables and assess if those are sufficient to remove the pre-trend. The results in our paper do not apply to such sequential pre-testing procedures. Investigating the consequences of sequential pre-tests for inference is an important avenue for future research.

Finally, our results also have perhaps unexpected implications for practitioners. For instance, inasmuch as one favors some form of protection against misspecification over valid inference under the null, one may prefer using a non-optimal rather than optimal GMM estimator. Also, our “global” and numerical results under local alternatives highlight that pre-testing may be more contentious in some contexts (e.g., DIDs) than in others (e.g., randomized experiments, IV studies). As these results require specific relationships between the two asymptotic biases and the asymptotic correlation of the test statistic and the estimator, they also imply that some specification tests (e.g., a single test on a summary index of the potential bias generated by covariate imbalances in Example AE) may be more desirable than others (e.g., a joint test that all covariates are balanced). Again, we leave for future research the question of how to best choose the specification test from this perspective.