arXiv:2611.16242stat.MENov 2026

Manuscript Offprint

arXiv:2611.16242

A Sensitivity Framework for Assessing External Validity

Ariel Boyarsky, Naoki Egami, Hongseok Namkoong

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Assessing the external validity of experimental results is a pervasive challenge in causal inference as internally valid findings need not generalize beyond sites in which the experiments were conducted. Since the number of sites is often smaller than the number of site-level variables that moderate causal effects, we develop a partial identification framework that lets practitioners assess external validity under a wide range of assumptions that allow extrapolation across site-level variables. Our optimization-driven approach can accommodate any affine family of parameter restrictions, such as interaction terms being dominated by direct effects (the “effect hierarchy principle”). Since standard estimating-equation arguments do not apply in our setting—underspecified parameter directions responsible for partial identification make the covariance matrix singular—we develop a novel debiasing approach for estimands given by constrained optimization problems, giving rise to semiparametrically efficient estimators for our flexible partial identification bounds. We illustrate our approach on multi-site microcredit experiments harmonized by Meager [26], whose lending environments differ widely in interest rates, loan sizes, and promotion. Holding out one country at a time, we construct external-validity intervals for the held-out country from the remaining source sites and show how our framework connects different extrapolation assumptions to concrete partial identification bounds.

1 Introduction

Randomized experiments are conducted in particular places and times, under particular implementations. The settings in which their evidence is used rarely match the settings in which it was produced: institutions, program terms, and local economic conditions all change when an intervention moves [8, 13]. When treatment effects vary with these site-level variables, internally valid findings lose external validity outside their source sites [1, 41, 26]. A mature set of methods addresses compositional differences between sites, i.e., differences in characteristics of individuals in each (X-validity in Egami and Hartman [16]’s taxonomy), by holding the conditional treatment effect fixed and adjusting for population compositions [36, 37, 10, 14]. In this paper, our focus is on differences in causal effects inherent to site-level variables (C-validity in Egami and Hartman [16]’s taxonomy).

Consider a policymaker using microcredit experiments in six countries to predict the effect on household revenues in Bosnia and Herzegovina, our main application in Section 6. Interest rates, loan sizes, and promotion differ across countries in the data of Meager [26]. To what extent can the source trials predict the effect in Bosnia when its lending environment differs from those in which the trials were conducted?

We propose a sensitivity framework in which site-level variables directly affect causal effects beyond individual-level variables. The fundamental problem is that there are often fewer source sites than site-level variables to estimate and thus the effects of site-level variables are only partially identified. In the example above, there are only six sites but scholars have pointed out more than six site-level variables that can moderate causal effects across sites. In such cases, even if the average treatment effect in each source site were known exactly, the average treatment effect in a new site is often not point-identified.

To address this fundamental identification problem, we consider a partially linear model of the potential outcomes, which we formally introduce in the subsequent sections. For a∈{0,1}a\in\{0,1\}, we have

EP[Y(a)∣X,C]=ga(X)+C⊤βa,\mathbb{E}_{P}[Y(a)\mid X,C]=g_{a}(X)+C^{\top}\beta_{a},

where Y(a)Y(a) is the potential outcome, XX are the unit-level variables, CC are the site-level variables, and EP\mathbb{E}_{P} denotes the expectation over the source population distribution. gag_{a} is an unrestricted function that captures complex unit-level heterogeneity, and βa∈Rp\beta_{a}\in\mathbb{R}^{p} is a fixed vector of coefficients for site-level variables. Note that unit-level variables XX, such as age and gender, can vary within each site, but site-level variables CC, such as local economic and political conditions, can differ only across sites. Given this model, we can express the average treatment effect in a new target site as ψT=EX∼QT[g1(X)−g0(X)]+cT⊤(β1−β0)\psi_{T}=\mathbb{E}_{X\sim Q_{T}}[g_{1}(X)-g_{0}(X)]+c_{T}^{\top}(\beta_{1}-\beta_{0}) where QTQ_{T} denotes the target population distribution of XX and cTc_{T} is a vector of site-level variables in the particular target site.

Even though this partially linear model is simple, when the number of sites is smaller than the number of site-level variables CC, as is often the case, the coefficients βa\beta_{a} are typically not identified, which often implies that the average treatment effect in the target site ψT\psi_{T} is also not identified. For partial identification, we retain all coefficient vectors consistent with the source evidence and impose explicit restrictions on their magnitudes, signs, or the size of higher-order terms relative to direct effects of site-level variables (Section 2). Minimizing and maximizing the target effect over these vectors gives partial identification bounds. Varying the restrictions shows how different assumptions affect partial identification bounds. Wide partial identification bounds indicate that substantial uncertainty remains even under the stated restrictions; an unbounded endpoint means that some extrapolations remain unrestricted. An empty feasible set means that the restrictions contradict the source evidence.

The unit-lvel heterogeneity component ga(X)g_{a}(X) introduces a further challenge because differences in population composition can confound comparisons across sites. We allow outcomes to depend arbitrarily on unit-level covariates XX, provided this dependence remains unchanged across sites within each treatment arm, and adjust for the target distribution of XX. Partialling out XX using the approach of Robinson [32] reduces the source model to a linear system for each arm (Section 3). The resulting matrix is singular when the source sites do not identify all the effects of site-level variables βa\beta_{a}. Errors from regressing site-level variables CC on unit-level covariates XX can nevertheless make the estimated matrix full rank and collapse the feasible set to a point. We develop an estimator that preserves the unidentified coefficient combinations, so regression error cannot create spurious point identification (Section 4).

We develop a debiasing procedure for inference on these partial identification bounds. The theoretical challenge is that each partial identification bound solves a constrained optimization problem whose objective and equality constraints must both be estimated. Estimation error changes the feasible set itself, and because the constraint matrix is singular, arbitrarily small perturbations can make the equalities infeasible. The usual smoothness argument behind debiasing therefore does not apply directly. We overcome this obstacle by proving a first-order expansion for the optimized partial identification bound under our estimator (Section 5). This result establishes that correcting bias in the objective and constraints before optimization removes the first-order effect of nuisance estimation error on the partial identification bounds. Under our regularity conditions, we obtain valid confidence intervals while allowing flexible estimation of unit-level heterogeneity.

We use the microcredit experiments to examine how modeling choices affect conclusions about a new lending environment (Section 6). Comparing alternative restrictions shows which assumptions are needed to determine the sign or magnitude of the target effect. The same restriction can substantially narrow the partial identification bounds for one target while leaving another largely unresolved, depending on the contexts represented in the source experiments. Varying the target’s lending terms and removing source sites then distinguishes sensitivity to the target setting from dependence on particular source experiments.

References (40)