Papers
Topics
Authors
Recent
Search
2000 character limit reached

Post-Hoc Hypothesis Testing

Updated 4 July 2026
  • Post-hoc hypothesis testing is the practice of selecting significance thresholds, rejection sets, or variable pathways after data inspection, challenging the classical fixed-alpha framework.
  • Modern approaches employ simultaneous guarantees and e-value-based risk control to maintain valid Type I error rates despite data-driven adaptations.
  • Recent advances incorporate decision-theoretic and multiple testing frameworks to deliver robust, adaptable inference with precise error control mechanisms.

Post-hoc hypothesis testing denotes inferential settings in which some component that is classically fixed before analysis—most prominently the significance level α\alpha, but also a rejection set, a variable set, a pathway collection, or a local region of interest—is chosen after inspection of the data. In classical Neyman–Pearson testing this is ordinarily invalid, because size control relies on choosing α\alpha independently of the data. Contemporary work therefore treats post-hoc testing in two main ways: by deriving simultaneous guarantees that hold for all admissible post-data choices, or by replacing fixed-α\alpha tail-probability control with e-value-based risk control that remains valid under data-dependent choices of α\alpha (Hemerik et al., 2024, Goeman et al., 2012, Grünwald, 2022).

1. Meanings and problem formulations

In the cited literature, the expression post-hoc hypothesis testing refers to several distinct but related inferential problems. One concerns choosing α\alpha after observing the data, which violates the standard assumption that α\alpha is fixed independently of the realized pp-value. A second concerns choosing the rejected subset RR or SS after seeing the data, while still wanting a valid statement about the number of false rejections. A third, older usage refers to pairwise or localized follow-up procedures applied after rejection of a global null. These uses are not identical, and much of the modern literature is concerned with separating them conceptually while restoring formal guarantees in each setting (Blanchard et al., 2017, Benavoli et al., 2015, Fryer et al., 2023).

Formulation Object chosen after seeing data Guarantee
Data-dependent α\alpha Significance level Type-I risk control via e-values or post-hoc α\alpha0-values
User-agnostic multiple testing Rejection set α\alpha1 or α\alpha2 Simultaneous bound on false rejections or false positives
Classical post-hoc comparison Pairwise contrasts after omnibus rejection Family-wise control under a model-specific procedure

The first formulation is central to "Choosing alpha post hoc: the danger of multiple standard significance thresholds" (Hemerik et al., 2024). The second is central to the “reversed roles” approach of Goeman and Solari, the JER framework of Blanchard et al., the forest-structured spatial bounds of Durand et al., and exact closed testing for Globaltest pathway analysis (Goeman et al., 2012, Blanchard et al., 2017, Durand et al., 2018, Xu et al., 2020). The third includes both critiques of invalid follow-up procedures and construction of valid ones, as in mean-ranks comparisons after Friedman’s test and Tukey-style post-hoc comparison of Sharpe ratios (Benavoli et al., 2015, Pav, 2019).

2. Data-dependent significance levels and size inflation

In classical Neyman–Pearson testing, one specifies before seeing the data a significance level α\alpha3. A test α\alpha4 rejects the null α\alpha5 exactly when the data α\alpha6 fall into a pre-defined rejection region of size α\alpha7, so that under α\alpha8,

α\alpha9

The same pre-specification requirement underlies the nominal coverage of confidence intervals obtained by inverting such tests. If α\alpha0 is allowed to depend on the observed data, written α\alpha1, the guarantee no longer has its usual interpretation (Hemerik et al., 2024).

The 2024 analysis of multiple standard thresholds formalizes this distortion by considering a set α\alpha2 of possible significance levels and defining, for each α\alpha3, the conditional discrepancy

α\alpha4

and the relative discrepancy

α\alpha5

If α\alpha6, then conditional on α\alpha7 the test rejects too often. The overall expected discrepancy ratio is

α\alpha8

This quantity can exceed α\alpha9 even when each fixed-α\alpha0 test is valid (Hemerik et al., 2024).

Two examples make the point explicit. With two candidate thresholds α\alpha1, suppose the rule is to set α\alpha2 if α\alpha3 and α\alpha4 if α\alpha5. Then conditional on α\alpha6 one must have α\alpha7, hence

α\alpha8

so α\alpha9. By contrast, conditional on α\alpha0 the procedure is conservative, yet the overall expected ratio is

α\alpha1

For α\alpha2 and α\alpha3, this gives α\alpha4, so on average one rejects α\alpha5 more often than intended. In a second example, if one sets α\alpha6 over infinitely many candidate thresholds, then the expected ratio is infinite, and the test is “disastrously invalid” (Hemerik et al., 2024).

This analysis is directly relevant to proposals to replace a single field-wide threshold by multiple “accepted” thresholds such as α\alpha7 and α\alpha8. If different journals or venues accept different thresholds, researchers with α\alpha9 may “shop” for venues accepting α\alpha0, whereas those with α\alpha1 may prefer venues demanding α\alpha2. The underlying problem is not merely sociological: the post-hoc choice of α\alpha3 violates the independence assumption, inflates Type I error, and breaks the nominal interpretation of both tests and confidence intervals (Hemerik et al., 2024).

3. E-values, post-hoc α\alpha4-values, and decision-theoretic admissibility

The modern solution to post-hoc α\alpha5 choice is based on e-values. An e-value is a nonnegative statistic α\alpha6 such that under every null distribution,

α\alpha7

By Markov’s inequality, the rule “reject if α\alpha8” has Type I error at most α\alpha9 for every fixed pp0. More importantly, e-values support a generalized Neyman–Pearson formulation in which the downstream decision task, or loss function, may itself be chosen after observation of the data. In that setting, sufficiently rich decision problems have only e-value-based admissible rules (Grünwald, 2022).

This perspective yields a precise characterization of post-hoc pp1-values. A statistic pp2 is a post-hoc pp3-value if and only if

pp4

that is, if and only if pp5 is an e-value. Unlike regular pp6-values, such post-hoc pp7-values allow one to “reject at level pp8” while retaining the relevant expectation guarantee. They also combine multiplicatively under independence: if pp9 and RR0 are independent post-hoc RR1-values, then RR2 is again a post-hoc RR3-value because

RR4

This equivalence also clarifies the role of e-values as the reciprocal evidence measure underlying post-hoc testing (Koning, 2023).

The decision-theoretic formulation goes further. For a loss budget RR5, a rule RR6 is Type I-risk safe if

RR7

The generalized Neyman–Pearson theorem states that if RR8 is admissible, then there exists an e-variable RR9 such that

SS0

Conversely, maximally compatible rules based on sharp e-variables are admissible. In this sense, e-value-based rules form a complete class for post-hoc decision tasks (Grünwald, 2022).

The 2025 theory of SS1-admissibility sharpens this by modeling an adversary that maps the data to a significance level. If SS2 contains all constant mappings and SS3 is SS4-admissible, then

SS5

almost surely for every SS6. In the binary setting this reduces to

SS7

When SS8 contains only constant adversaries and the loss span collapses to a singleton, this recovers the classical Neyman–Pearson likelihood-ratio test; when SS9 allows arbitrary data-dependent adversaries, admissible tests are exactly the canonical tests arising from sharp e-variables (Chugg et al., 1 Aug 2025).

4. Simultaneous post-hoc inference in multiple testing

A second major strand does not try to salvage ordinary fixed-α\alpha0 tests under data-driven threshold choice; instead, it returns a statement that is valid simultaneously for every post-hoc chosen rejection set. In “Multiple Testing for Exploratory Research,” the conventional roles are reversed: the analyst chooses any candidate rejection set α\alpha1 after seeing the data, and the procedure returns an integer α\alpha2 such that, with confidence at least α\alpha3,

α\alpha4

where α\alpha5 is the number of false rejections in α\alpha6. Equivalently, if α\alpha7 is the number of correct discoveries, then

α\alpha8

simultaneously for all α\alpha9. The machinery is classical closed testing, but the crucial insight is that non-consonant rejections, often treated as a nuisance in ordinary FWER theory, are informative because they shrink the upper bound on the number of false rejections (Goeman et al., 2012).

Blanchard et al. generalized this idea in large-scale multiple testing via the joint-family-wise-error rate (JER). For a sequence of thresholds α\alpha00, JER is

α\alpha01

If JER is controlled at level α\alpha02, then

α\alpha03

is a simultaneous post-hoc upper bound on the number of false positives in any user-chosen set α\alpha04, and α\alpha05 is a lower-confidence bound on the number of true discoveries. The framework accommodates both known dependence and permutation-based calibration, and step-down calibration adapts to the unknown quantity of signal (Blanchard et al., 2017).

Durand et al. specialized this perspective to spatially structured hypotheses. For a reference family α\alpha06 satisfying a joint error-rate control and a forest-structure condition, they construct a data-dependent upper bound α\alpha07 such that

α\alpha08

The coverage is simultaneous over all α\alpha09 subsets α\alpha10, so the subset may be chosen arbitrarily, even after repeated inspection of the data. The forest structure yields an explicit interpolation formula and a low-complexity dynamic-programming algorithm; the implementation is available in the R package sansSouci (Durand et al., 2018).

Exact post-hoc multiple testing has also been developed for metabolomics pathway analysis. In pathway testing with Globaltest, the family α\alpha11 is closed under unions, and closed testing therefore controls FWER simultaneously over all possible feature sets. Xu et al. derive a shortcut, based on convex-hull envelopes for the minimum test statistic and majorization envelopes for the maximum critical value, that makes exact closed testing computationally feasible at metabolomics scale. The result is that one may choose the pathway database after seeing the data without jeopardizing error control; the implementation is provided in the R package ctgt (Xu et al., 2020).

5. Pairwise post-hoc procedures after omnibus tests

In a narrower and older usage, post-hoc tests are follow-up comparisons performed after a global null has been rejected. This usage is common in algorithm comparison, medicine, psychology, finance, and other applied fields. The modern literature emphasizes that such procedures are not automatically valid merely because they are labeled “post-hoc”: the validity depends on whether the pairwise decision for a given pair depends only on that pair, and whether the multiplicity correction matches the inferential target (Benavoli et al., 2015, Pav, 2019).

Benavoli et al. show that the mean-ranks post-hoc test used after Friedman’s test is inconsistent because the outcome of the comparison between algorithms α\alpha12 and α\alpha13 depends on the performance of the other algorithms included in the original experiment. In their example with α\alpha14 data sets, algorithms α\alpha15 and α\alpha16 are tied in every direct comparison, so when considered alone they have α\alpha17 and α\alpha18. After adding three auxiliary algorithms α\alpha19, the same pair yields α\alpha20, α\alpha21, α\alpha22, and

α\alpha23

so α\alpha24 versus α\alpha25 is declared significant at α\alpha26 with Bonferroni correction for α\alpha27. By choosing a different triple of auxiliary algorithms, one can reverse the conclusion again. The recommended alternatives are tests whose outcome depends only on the paired differences, such as the sign test or the Wilcoxon signed-rank test, combined with multiplicity correction (Benavoli et al., 2015).

A contrasting example is Pav’s post hoc test on the Sharpe ratio. After rejection of the global null

α\alpha28

under a Gaussian equi-correlation model for contemporaneous returns, the pairwise difference in sample Sharpe ratios can be compared using a Tukey-style studentized-range cutoff. The honest significant difference is

α\alpha29

where α\alpha30 with α\alpha31 and α\alpha32 or α\alpha33. The family-wise guarantee follows from the range distribution, and simulation results indicate that the α\alpha34 variant achieves nearly correct α\alpha35 over a grid of α\alpha36 and α\alpha37, whereas the α\alpha38 rule can be anti-conservative when α\alpha39 is large and α\alpha40 is small (Pav, 2019).

These examples illustrate a persistent misconception. Rejection of a global null does not by itself justify arbitrary follow-up comparisons. Valid post-hoc pairwise inference requires either a pairwise test whose sampling law depends only on the two items being compared, or a joint reference distribution that genuinely controls family-wise error for the entire family of contrasts. The mean-ranks critique and the Sharpe-ratio construction occupy opposite sides of this distinction (Benavoli et al., 2015, Pav, 2019).

6. Confidence sets, asymptotic theory, and emerging extensions

Because ordinary confidence intervals are obtained by inverting fixed-level tests, post-hoc choice of α\alpha41 invalidates their nominal coverage. The same point appears in both the classical critique of choosing α\alpha42 after seeing the data and the decision-theoretic e-value literature: to ensure advertised α\alpha43 coverage, α\alpha44 must be fixed in advance, or one must use e-confidence sets, e-posteriors, or other constructions that remain valid under data-dependent α\alpha45 (Hemerik et al., 2024, Grünwald, 2022).

A 2026 extension develops post-hoc large-sample statistical inference through asymptotic e-values. For the mean, one example is the IWR e-variable

α\alpha46

which is an asymptotic e-value under only finite-second-moment or domain-of-attraction conditions. Inversion yields asymptotic post-hoc confidence intervals and asymptotic post-hoc α\alpha47-values. The framework also treats mixture constructions over α\alpha48, and extends to post-hoc confidence sequences via asymptotic e-processes (Chugg et al., 9 Mar 2026).

The same period has seen post-hoc validity imported into other inferential paradigms. “Doublethink” shows that Bayesian model-averaged hypothesis testing is a closed testing procedure that controls the frequentist familywise error rate in the strong sense. It computes simultaneous posterior odds and asymptotic α\alpha49-values, and permits post-hoc variable selection because the relevant intersection nulls are already tested; the paper also emphasizes finite-sample inflation and the need to mitigate highly correlated covariates, for example by testing groups of correlated variables (Fryer et al., 2023). In equivalence testing, post-hoc margin selection is handled by reporting a data-dependent bound α\alpha50 and, more generally, a uniformly valid curve α\alpha51 obtained by inverting a non-decreasing family of e-values (Koobs et al., 17 Mar 2026).

A further development is local post-hoc detection rather than global rejection. For dependence testing, Ćmiel and Gibas replace a single critical threshold by critical surfaces α\alpha52 and α\alpha53 for the quantile dependence function, so that one can identify where dependence occurs while preserving the overall significance level of the test. By Bonferroni, with local level α\alpha54 on a α\alpha55 grid and α\alpha56, the global probability of any false local detection is at most α\alpha57 (Ćmiel et al., 23 Dec 2025).

Taken together, these developments suggest that post-hoc hypothesis testing is no longer a single technical warning about “peeking” at α\alpha58-values. It has become a general theory of inference under analyst adaptivity, with at least two non-equivalent forms of validity: simultaneous setwise guarantees in multiple testing, and e-value-based control of post-hoc risk under data-dependent α\alpha59. The main unresolved point is not whether unrestricted post-hoc choice is harmless—it is not for ordinary α\alpha60-value testing—but which replacement guarantee is scientifically appropriate for a given inferential task (Hemerik et al., 2024, Grünwald, 2022, Chugg et al., 9 Mar 2026).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Post-Hoc Hypothesis Testing.