betaFeedback

WorksMathematics

The Reach of Treatment Effects: Randomization Inference for Zero-Effect Regions

Abstract

A treatment may affect some individuals while leaving others unaffected. We study the reach of treatment effects by asking how large an unaffected covariate region could be. We develop efficient local randomization tests over nearest-neighbour regions to construct a finite-sample valid upper confidence bound for the size of the largest zero-effect region. A small bound provides evidence that treatment effects extend broadly across covariate values by ruling out large zero-effect regions. Under a general outcome model, we characterize how the size of the bound depends on the number of affected units, the size of their treatment effects, and the geometry of the true zero-effect set. We show that, when region size is measured as a sample fraction, the excess of the upper confidence bound over the true size decreases to zero at a minimax optimal rate up to a logarithmic factor. Numerical simulations assess the coverage, power and computational efficiency of our method. Applications to voter-turnout, HIV clinical-trial, and AI-assisted writing data illustrate how our method rules out large zero-effect regions across the covariates of interest.

Introduction

Randomized experiments are widely used to study whether a treatment changes outcomes. Treatment effects may vary with age, baseline risk, or prior behavior, and an average effect alone does not describe these differences across covariate values.

In a clinical trial, for example, a drug may change outcomes for patients in some age ranges but leave those in another range unaffected. A similar question arises in a voter-turnout experiment: an intervention may affect participation among people with some voting histories while having no effect among others. In both settings, an overall treatment effect can coexist with an unaffected covariate region.

Randomization inference methods provide valid inference on treatment effects based on the experimental design. Fisher’s randomization test [6] has finite-sample validity for the sharp null that treatment has a zero effect on all individual outcomes. Recent work extends randomization tests to detect a wider variety of treatment effects. Tests of weak nulls, such as a zero sample-average effect, can be asymptotically valid under suitable conditions [12, 14, 5]. Other methods give finite-sample inference for quantiles of individual treatment effects and for the proportion of effects above a specified threshold [3, 4]. Randomization methods also test sharp nulls within pre-specified or selected subgroups [13, 7]. A complementary question is how large a covariate region could be in which treatment leaves every unit unaffected. Even a statistically significant average treatment effect can coexist with a large unaffected covariate region. Bounding its size helps assess how broadly treatment effects extend across covariate values.

Contributions. In this work, we develop randomization inference for the reach of treatment effects across covariate values. Using efficient local randomization tests, we construct a finite-sample valid upper confidence bound for the size of the largest zero-effect region. We choose the pre-treatment covariates in advance and consider nearest-neighbour regions around observed points. A zero-effect region is one in which treatment leaves each unit’s outcome unchanged. Size is measured by the number of units in the region, or their proportion in the sample. A small upper bound provides evidence against large unaffected regions. A large bound leaves open the possibility that treatment has no effect on a large covariate region.

Figure 1 previews results from an experiment on AI-assisted writing [10]. College-educated professionals completed two occupation-specific writing tasks, with half randomly assigned access to ChatGPT before the second task. We order participants by their first-task grade. The 95% upper confidence bounds for the size of the largest zero-effect region are 25.6% of the sample for second-task writing quality and 18.4% for completion time.1 For writing quality, the non-rejected regions lie among participants with high first-task grades, leaving the possibility that ChatGPT does not improve writing quality for some participants who already write well.

Figure 1. Results from the AI-assisted writing experiment. The 95% upper confidence bounds L^n,0U\widehat{L}_{n,0}^{U} for the size of the largest zero-effect region are (a) 90 participants (25.6%) for second-task writing quality and (b) 65 participants (18.4%) for second-task completion time. The blue region is the union of blocks of the reported size L^n,0U\widehat{L}_{n,0}^{U} for which the zero-effect null hypotheses are not rejected.

Like randomization tests, our upper confidence bounds have finite-sample validity based on the experimental design. A 95% upper bound understates the true size of the largest zero-effect region with probability at most 5%. This validity requires no model assumptions about the covariates or outcomes. In Section 2, we construct these bounds by combining local randomization tests across locations and sizes and reporting the largest size at which at least one local null is not rejected. Because the regions overlap, computing each local test separately repeats many calculations.

In Section 3, we propose a solution that combines a linear statistic with shared randomization draws, allowing cumulative sums to be reused across tests. For a fixed number of draws, a full one-dimensional search has cubic cost in the sample size if each block-specific conditional test is computed from scratch. Our method reduces this cost to quadratic. Under a monotonicity assumption on the computed pp-values, bisection reduces the number of lengths tested. A Gaussian approximation can further reduce the number of Monte Carlo evaluations by providing a starting point for the search. In Section 4, we extend our method to two dimensions. An exhaustive search over rectangular regions is costly, and their boundaries may poorly describe groups on curved covariate supports. We therefore extend the nearest-neighbour formulation, which keeps the Monte Carlo cost quadratic in the sample size.

A small upper confidence bound requires rejecting the zero-effect null for every larger candidate region. In § 5, we study the tightness of the bound by analysing the power of the local tests across region sizes. The analysis uses a general outcome model and allows covariates of arbitrary dimension. A neighbourhood larger than the largest zero-effect region may contain only a few affected units near the zero-effect boundary, making its zero-effect null difficult to reject. We therefore give conditions on the number of affected units and the size of their treatment effects. Under these conditions, the excess of our upper confidence bound over the true size, divided by the sample size, decreases to zero at a minimax optimal rate up to a logarithmic factor.

Finally, in § 6, we use simulations to assess coverage and computational efficiency. We illustrate the method using data from the Gerber–Green–Larimer voter-turnout experiment and the ACTG 175 HIV clinical trial.

From randomization tests to zero-effect regions

Preliminary: randomization tests for the sharp null

Consider a completely randomized experiment with nn units, of which exactly n1n_1 receive treatment. Write [n]={1,…,n}[n] = \{1, \ldots, n\}. For unit ii, let XiX_i denote the covariates, Zi∈{0,1}Z_i \in\{0, 1\} the treatment indicator, and YiY_i the observed outcome. We write the observation for unit ii and the full data as

Oi=(Xi,Yi,Zi),O[n]=(X[n],Y[n],Z[n]).O_i = (X_i, Y_i, Z_i), \qquad O_{[n]} = (X_{[n]}, Y_{[n]}, Z_{[n]}).

Each unit has two potential outcomes, Yi(0)Y_i(0) and Yi(1)Y_i(1). The observed outcome is

Yi=Yi(Zi)=ZiYi(1)+(1−Zi)Yi(0),i∈[n].Y_i = Y_i(Z_i) = Z_iY_i(1) + (1 - Z_i)Y_i(0), \qquad i \in[n].

Fisher’s global sharp null [6] is defined as

H0:Yi(1)=Yi(0)for every i∈[n].(1)H_0 : \quad Y_i(1) = Y_i(0) \quad\text{for every } i \in[n]. \tag*{(1)}

The null is sharp because it determines every missing potential outcome: Yi(z)=YiY_i(z) = Y_i for z∈{0,1}z \in\{0, 1\}. Fix a test statistic T(x[n],y[n],z[n])T(x_{[n]}, y_{[n]}, z_{[n]}). Under H0H_0, the observed outcomes remain unchanged under every admissible assignment z[n]z_{[n]}. We write

T(O[n](z[n])):=T(X[n],Y[n],z[n]).T\bigl(O_{[n]}(z_{[n]})\bigr) := T(X_{[n]}, Y_{[n]}, z_{[n]}).

This gives the exact randomization pp-value

p(O[n])=PZ~[n]{T(O[n](Z~[n]))≥T(O[n])},p(O_{[n]}) = \mathbb{P}_{\widetilde{Z}_{[n]}}\left\{T\bigl(O_{[n]}(\widetilde{Z}_{[n]})\bigr) \ge T(O_{[n]})\right\},

where Z~[n]\widetilde{Z}_{[n]} is drawn from the known treatment assignment distribution.

In practice, we approximate p(O[n])p(O_{[n]}) using Monte Carlo simulation. Draw Z[n](1),…,Z[n](M)Z^{(1)}_{[n]},\ldots,Z^{(M)}_{[n]} independently from the known treatment assignment distribution, and define

pM(O[n])=1+∑m=1M1{T(O[n](Z[n](m)))≥T(O[n])}M+1.p_M(O_{[n]}) = \frac{1+\sum_{m=1}^{M}\mathbb{1}\{T(O_{[n]}(Z^{(m)}_{[n]})) \ge T(O_{[n]})\}}{M+1}.

Under H0H_0, the observed and Monte Carlo assignments are exchangeable. Therefore, the observed and simulated test statistics are also exchangeable, and pM(O[n])p_M(O_{[n]}) is valid:

P{pM(O[n])≤α∣X[n],Y[n](0),Y[n](1)}≤αfor all α∈[0,1].(2)\mathbb{P}\left\{p_M(O_{[n]}) \le\alpha\mid X_{[n]},Y_{[n]}(0),Y_{[n]}(1)\right\} \le\alpha\qquad\text{for all }\alpha\in[0,1]. \tag*{(2)}

Here, the probability is over both the observed and Monte Carlo assignments. Thus, rejecting the sharp null when pM(O[n])≤αp_M(O_{[n]}) \le\alpha controls the type I error at level α\alpha.

What rejection and non-rejection mean. The alternative to the sharp null is

H1:Yi(1)≠Yi(0)for at least one i∈[n].H_1:\quad Y_i(1) \ne Y_i(0) \quad\text{for at least one } i \in[n].

Rejection therefore provides evidence that treatment changes at least one outcome in the sample. This is a useful starting point for a more detailed analysis of treatment effects. With this evidence, we can move on to questions about which units are affected, whether effects differ across units, and how broadly they extend across covariate values. These questions require further inference: rejection of the global null alone does not answer them. In particular, it leaves open the possibility that a large covariate region is unaffected. If the null is not rejected, the chosen test does not provide enough evidence to conclude that a treatment effect is present. This does not establish that all effects are zero. Other methods can help study how average treatment effects vary across covariate values [1, 11]. Their confidence intervals, however, rely on large-sample approximations under additional assumptions. Our goal is to rule out large zero-effect regions when the data allow, while retaining the finite-sample design-based validity.

Bounding the length of zero-effect regions

We apply randomization tests locally to study how large an unaffected group could be. Each local sharp null states that treatment leaves every unit in the group unaffected. Suppose non-rejection occurs only for small groups, while the local sharp null is rejected for every larger candidate group. We use this idea to construct an upper confidence bound on the size of the largest zero-effect group.

We impose structure on the candidate groups. For simplicity, we consider contiguous regions after ordering the units by a covariate chosen in advance. Arbitrary groups may contain units scattered across covariate values, making them hard to interpret. They may also contain only weak treatment effects, making it harder to reject all local nulls at a given size. We study the power issues formally in § 5.

Let Wi∈RW_i \in\mathbb{R} denote the chosen covariate in XiX_i. Without loss of generality, index units so that W1≤W2≤⋯≤WnW_1 \le W_2 \le\cdots\le W_n, with ties broken by a rule chosen in advance. We measure a block’s length by its number of units. For r∈[n]r \in[n], denote the collection of contiguous blocks containing rr units by

Br:={Bs(r):s∈[n−r+1]}\mathcal{B}_r := \{B_s^{(r)} : s \in[n-r+1]\}

where Bs(r):={s,s+1,…,s+r−1}B_s^{(r)} := \{s,s+1,\ldots,s+r-1\}. For each contiguous block B⊆[n]B \subseteq[n], define

H0,B:Yi(1)=Yi(0)for all i∈B.(3)H_{0,B}: \quad Y_i(1)=Y_i(0)\quad\text{for all }i\in B. \tag*{(3)}

For a fixed rr, define the union of the local nulls over all blocks of length rr:

H0(r):∃B∈Br such that H0,B holds.(4)H_0^{(r)}:\quad\exists B\in\mathcal{B}_r\text{ such that }H_{0,B}\text{ holds.} \tag*{(4)}

That is, there exists a contiguous region of length rr in which every unit has zero treatment effect. We define the length of the longest zero-effect block by

L0:=max⁡{∣B∣:B is contiguous and Yi(1)=Yi(0) for every i∈B},(5)L_0 := \max\{|B| : B\text{ is contiguous and }Y_i(1)=Y_i(0)\text{ for every }i\in B\}, \tag*{(5)}

with L0=0L_0=0 if no nonempty zero-effect block exists. We write L0(W)L_0(W) when we want to emphasize the ordering covariate. Because every sub-block of a zero-effect block is also a zero-effect block, the nulls are nested:

H0(r′)⟹H0(r)whenever r′>r.H_0^{(r')} \Longrightarrow H_0^{(r)}\quad\text{whenever }r'>r.

By the definition of L0L_0, we have the equivalence:

H0(r)⟺L0≥r.H_0^{(r)} \Longleftrightarrow L_0\ge r.

For each block BB, let pBp_B be a valid pp-value for the local sharp null H0,BH_{0,B}. The null H0(r)H_0^{(r)} holds when the local sharp null holds for at least one block of length rr. Following the intersection–union principle [2], we reject H0(r)H_0^{(r)} only when every local null for a block of length rr is rejected. We therefore use the maximum pp-value

Pr:=max⁡B∈BrpB.(6)P_r := \max_{B\in\mathcal{B}_r}p_B. \tag*{(6)}

If H0(r)H_0^{(r)} holds, then H0,B0H_{0,B_0} holds for at least one block B0B_0 of length rr. Because PrP_r is the maximum of the block-level pp-values, it is at least as large as pB0p_{B_0}. Therefore, PrP_r can be at most α\alpha only if pB0p_{B_0} is also at most α\alpha. Since pB0p_{B_0} is valid under H0,B0H_{0,B_0}, this event has probability at most α\alpha. Thus, PrP_r is a valid pp-value for H0(r)H_0^{(r)}. No independence across overlapping blocks is required for this max-pp validity argument.

Inverting over block lengths. We invert the tests over rr. The pp-values need not decrease with length, so the first rejection does not immediately give a valid upper bound. We report the largest non-rejected length:

References

  1. [1]Susan Athey and Guido Imbens. Recursive partitioning for heterogeneous causal effects. Proceedings of the National Academy of Sciences, 113(27):7353–7360, 2016.
  2. [2]Roger L. Berger. Multiparameter hypothesis testing and acceptance sampling. Technometrics, 24(4):295–300, 1982.
  3. [3]Devin Caughey, Allan Dafoe, Xinran Li, and Luke Miratrix. Randomisation inference beyond the sharp null: Bounded null hypotheses and quantiles of individual treatment effects. Journal of the Royal Statistical Society Series B: Statistical Methodology, 85(5):1471–1491, 2023.DOI
  4. [4]Zhe Chen and Xinran Li. Enhanced inference for distributions and quantiles of individual treatment effects in various experiments. Journal of the American Statistical Association, 2026.DOI
  5. [5]Peter L. Cohen and Colin B. Fogarty. Gaussian prevoting for finite population causal inference. Journal of the Royal Statistical Society Series B: Statistical Methodology, 84(2):295–320, 2022.DOI
  6. [6]Ronald A. Fisher. The Design of Experiments. Oliver and Boyd, Edinburgh, 1935.
  7. [7]Zijun Gao. Selective randomization inference for subgroup effects with continuous biomarkers, 2025.arxiv.org/abs/2504.19380
  8. [8]Alan S. Gerber, Donald P. Green, and Christopher W. Larimer. Social pressure and voter turnout: Evidence from a large-scale field experiment. American Political Science Review, 102(1):33–48, 2008.
  9. [9]Scott M. Hammer, David A. Katzenstein, Michael D. Hughes, Holly Gundacker, Robert T. Schooley, Richard H. Haubrich, W. Keith Henry, Michael M. Lederman, John P. Phair, Manette Niu, Martin S. Hirsch, and Thomas C. Merigan. A trial comparing nucleoside monotherapy with combination therapy in HIV-infected adults with CD4 cell counts from 200 to 500 per cubic millimeter. New England Journal of Medicine, 335(15):1081–1090, 1996.pubmed.ncbi.nlm.nih.gov/8813038
  10. [10]Shakked Noy and Whitney Zhang. Experimental evidence on the productivity effects of generative artificial intelligence. Science, 381(6654):187–192, 2023.DOI
  11. [11]Stefan Wager and Susan Athey. Estimation and inference of heterogeneous treatment effects using random forests. Journal of the American Statistical Association, 113(523):1228–1242, 2018.arxiv.org/abs/1510.04342
  12. [12]Jason Wu and Peng Ding. Randomization tests for weak null hypotheses in randomized experiments. Journal of the American Statistical Association, 116(536):1898–1913, 2021.DOI
  13. [13]Yao Zhang and Zijun Gao. Adaptive sample splitting for randomization tests, 2025. Version 2.arxiv.org/abs/2504.21572
  14. [14]Anqi Zhao and Peng Ding. Covariate-adjusted Fisher randomization tests for the average treatment effect. Journal of Econometrics, 225(2):278–294, 2021.arxiv.org/abs/2010.14555

Paper details

vlnc:W_svm7pd4d
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents