English

Fast Algorithms for Exact Confidence Intervals in Randomized Experiments with Binary Outcomes

Methodology 2026-02-25 v1

Abstract

We construct exact confidence intervals for the average treatment effect in randomized experiments with binary outcomes using sequences of randomization tests. Our approach does not rely on large-sample approximations and is valid for all sample sizes. Under a balanced Bernoulli design or a matched-pairs design, we show that exact confidence intervals can be computed using only O(logn)O(\log n) randomization tests, yielding an exponential reduction in the number of tests compared to brute-force. We further prove an information-theoretic lower bound showing that this rate is optimal. In contrast, under balanced complete randomization, the most efficient known procedures require O(nlogn)O(n\log n) randomization tests (Aronow et al., 2023), establishing a sharp separation between these designs. In addition, we extend our algorithm to general Bernoulli designs using O(n2)O(n^2) randomization tests.

Keywords

Cite

@article{arxiv.2602.20498,
  title  = {Fast Algorithms for Exact Confidence Intervals in Randomized Experiments with Binary Outcomes},
  author = {Peng Zhang},
  journal= {arXiv preprint arXiv:2602.20498},
  year   = {2026}
}
R2 v1 2026-07-01T10:49:08.005Z