Safe Testing

Peter Grünwald, Rianne de Heide, Wouter M. Koolen

TL;DR

This paper introduces "Safe Testing" using $e$-values, a measure of evidence that remains valid even when researchers stop or extend experiments based on interim results. Unlike traditional $p$-values, $e$-values provide a robust framework for meta-analysis and sequential testing while bridging the gap between Fisherian, Neyman-Pearsonian, and Bayesian statistical schools.

What Problem Does This Paper Address?

The "replication crisis" in science is partly fueled by the misuse of $p$-values. Traditional Null Hypothesis Significance Testing (NHST) is rigid: you must pre-specify your sample size and never "peek" at the data to decide whether to continue. If a researcher sees a "near-significant" result and decides to collect more data (optional continuation), the Type-I error rate (false positive rate) is no longer guaranteed, leading to biased results.

Furthermore, combining results from different studies (meta-analysis) is difficult because $p$-values don't "compose" easily. The authors address this by developing a theory of hypothesis testing based on $e$-values, which are designed to be "safe" under these common, yet technically "illegal," research practices.

Methods

The core of the paper is the $e$-variable. An $e$-variable $E$ is a non-negative random variable such that, under the null hypothesis $H_0$, its expected value is at most 1 ($E_P[E] \le 1$ for all $P \in H_0$).

Key technical contributions include:

  • Growth-Rate Optimality (GRO): The authors define GRO as the $e$-value analogue to "power." A GRO $e$-variable is designed to grow as fast as possible (in the logarithmic sense) when the alternative hypothesis $H_1$ is true.
  • Theorem 1 (The RIPr): The authors provide a general method to construct GRO $e$-variables for composite hypotheses using the Reverse Information Projection (RIPr). This involves finding a specific distribution in the null hypothesis that is "closest" to the alternative in terms of Kullback-Leibler divergence.
  • Unification: They show that GRO $e$-values often take the form of Bayes factors, but with "matched" priors on the null and alternative that ensure frequentist safety.

Datasets

As a theoretical statistics paper, it does not use external "big data" sets. Instead, it evaluates the proposed methods using classic statistical models and scenarios:

  • One-dimensional exponential families: Basic models like Bernoulli or Gaussian distributions.
  • $2 \times 2$ Contingency Tables: Testing for independence between two categorical variables.
  • The $t$-test: The workhorse of experimental science, here adapted into a "Safe $t$-test" that handles nuisance parameters (unknown variance) via group invariance and Haar priors.

Key Insights and Ideas

  • The Gambling Metaphor: The authors interpret $e$-values through the lens of Kelly betting. If you bet on the alternative hypothesis, the $e$-value represents your capital. If the null is true, the game is "fair" or "unfavorable," and you don't expect to make money. If you "get rich" (high $e$-value), it's strong evidence the null is false.
  • Safety by Multiplication: Because of the expectation property ($E[E] \le 1$), you can multiply $e$-values from independent studies. The product remains a valid $e$-value. This allows for "just-in-time" meta-analysis where the decision to start a new study can depend on the results of the last one.
  • Bridging the Schools: $e$-values satisfy the needs of three major statistical camps:
  • Fisherians: They provide a measure of evidence.
  • Neyman-Pearsonians: They provide a threshold test ($E \ge 1/\alpha$) that strictly controls Type-I error.
  • Bayesians: They are often equivalent to Bayes factors with objective priors.

Key Results

  • Power vs. Safety: For a fixed sample size, $e$-values are more conservative than $p$-values. To achieve the same power as a standard $z$-test at $\alpha=0.05$, an $e$-value test typically requires about 2.2 times more data.
  • The "Tragedy of the Commons": While $e$-values require more data in the worst case, they allow for optional stopping. If the effect is strong, you can stop early. On average, across many studies, the total amount of data needed to reach robust conclusions might actually be lower than with traditional fixed-sample tests.
  • The Safe $t$-test: The authors successfully derive a version of the $t$-test that is GRO and remains valid under optional stopping, a result that has eluded frequentist statistics for decades.

Limitations and Future Work

  • Incentive Structures: The authors acknowledge that the "Tragedy of the Commons" is a hurdle. Individual researchers might be reluctant to use $e$-values because they require larger planned sample sizes, even if the scientific community as a whole would benefit from the increased reliability.
  • High Variance: If the variance of the log $e$-value is high, there can be long periods of "draw-downs" where evidence seems to disappear before eventually growing.
  • Complex Models: While they solved the $t$-test and $2 \times 2$ tables, extending GRO $e$-values to more complex high-dimensional models or non-parametric settings remains an active area of research.
  • Sequential Decomposability: For some models (like $2 \times 2$ tables), finding $e$-variables that are both optimal and easy to calculate sequentially (the "seqdec" property) is still an open challenge.

Summary updated

BibTeX
@inproceedings{grunwald2020safe,
  author = {Peter Grünwald and Rianne de Heide and Wouter M. Koolen},
  title = {{Safe Testing}},
  booktitle = {ITA},
  year = {2020},
  doi = {10.1109/ita50056.2020.9244948},
}
Figure