Skip to content

BCompare groups · Guide test 274

Simes global test

Tests the intersection null using ordered p values; validity requires independence or suitable positive dependence conditions.

Runs in CodeSplashPython example validatedR example validated

Do it in CodeSplash

In the app, set it up in Analyze with this method:

In Combine p-values (global test across studies), choose Combination method = Simes.

Do it in CodeSplash Run this test on your own data, in Python or R.

Bench

Change the design, drag the data, move α. The statistic, its reference distribution and the verdict follow.

Bench · Simes global test

10
1.20
0.50
0.050

Your data

Drag a point or use ↑/↓ to change it
p-values · n = 10 · mean 0.41

If H₀ were true

p_S = 0.09
  1. The reference: how p_S varies across samples when H₀ is true, Uniform(0, 1): Simes' p is itself uniform.
  2. Your statistic, from the data above.
  3. The p-value: the area at least as extreme as yours (p = .095).
  4. The hatched rejection region at α = .050: statistics landing here reject H₀.

How the studies combine

The Simes line α·i/k: the global null is rejected when any sorted p falls below it (the marked point is the closest call). Dashed gray: what k uniform p-values would look like.

The formula

pS=min⁡{1, min⁡i=1kk p(i)i}p_S=\min\left\{1,\ \min_{i=1}^{k}\frac{k\,p_{(i)}}{i}\right\}

With your numbers

pS=0.09 at i=1,k=10p_S = 0.09\ \text{at } i = 1,\quad k = 10
p(i)p_{(i)}
the i-th smallest p-value
pSp_S
the Simes p-value; uniform when every null is true, as drawn

The verdict

p_S = 0.095, p = .095

p > α = .050: compatible with H₀

More powerful than Bonferroni when several p-values are small, and valid under independence or positive dependence, not under arbitrary dependence.

Statistic
0.095
p-value
0.0945
Simes global test on p-values: n = 10: p_S = 0.095, p = .095. The p-value is above α = .050, so the data are compatible with H0.

Simes global test on p-values: n = 10: p_S = 0.095, p = .095. The p-value is above α = .050, so the data are compatible with H₀.

Question and hypotheses

H0: all component null hypotheses hold; H1: at least one fails.

Assumptions

Valid component p values; independence or an appropriate positive dependence condition for Simes validity.

Formula

pSimes=min⁡{1,min⁡i=1kkp(i)i}p_{Simes}=\min\left\{1,\min_{i=1}^{k}\frac{k p_{(i)}}i\right\}

Parameters and notation

p(i) are sorted p values; k number of tests.

Structure of the method

Sort k component p values and form the minimum of k p_(i)/i, capped at one. The resulting global p value tests an intersection null under independence or suitable positive dependence. It is related to the step-up thresholds used by Benjamini–Hochberg, but the global conclusion is different from selecting discoveries.

Estimated and nuisance parameters

There are no learned weights or nuisance parameters in the Simes calculation. Ordered p values and the minimizing rank are data-derived summaries; k is the size of the prespecified family. Dependence assumptions concern the joint component test statistics and their null p values.

Settings and design choices

Fix the hypothesis family, component directions and alpha. Do not remove large p values or choose a favorable subset after observing results. The minimizing index is informative descriptively but does not alone identify a validated set of nonnull hypotheses.

Fitting and adaptation

Adaptation means checking that the dependence and component-validity conditions match the application. A dependence-robust alternative or explicitly calibrated joint-null procedure is needed when those conditions fail; no parameter fitting can repair arbitrary invalid inputs. Preserve the same family definition in replication.

Sensitivity and robustness

Arbitrary negative or complex dependence can invalidate the basic Simes calibration. Conservative discrete p values can change exactness and power. A significant global result says at least one null is incompatible with the data; it does not assign effect magnitudes or authorize unadjusted follow-up tests.

How to use and calibrate

Compare the Simes p value with α as a global test.

Example application

Assess whether any signal exists among a set of related hypotheses.

Interpretation and pitfalls

Watch out

Arbitrary dependence can invalidate the basic Simes bound. It is distinct from applying the full Benjamini–Hochberg discovery procedure.

What changed in edition 2

  • New sections: structure of the method, estimated and nuisance parameters, settings and design choices, fitting and adaptation, sensitivity and robustness.

Python and R

Simes global p-value is valid under independence and certain positive dependence conditions, not arbitrary dependence.

Python · native

Validated — Executed successfully in the validation environment · needs numpy, scipy

import numpy as np
from scipy import stats
rng = np.random.default_rng(2026)
p=np.array([.01,.04,.2,.5,.1])
print(min(1,np.min(len(p)*np.sort(p)/np.arange(1,len(p)+1))))
Output
0.05
R

Validated — Executed successfully in the validation environment · needs Base/standard library

p<-c(.01,.04,.2,.5,.1)
k<-length(p);print(min(1,min(k*sort(p)/seq_len(k))))
Output
[1] 0.05

Sources

  • Simes (1986) — Simes (1986) · An improved Bonferroni procedure for multiple tests of significancedoi.org
  • 73.3.751doi.org
Statistics guide v4 (historical):
R: Executed successfully in the validation environment
Reference's record:
Edition 2 review: Python: executed · R: not executed (Rscript unavailable). Python: Ran in the reference's review, on this exact code. R: Reviewed but not run: R wasn't available to the reference's authors.

From the CodeSplash statistics guide (v4), entry 274, updated from the reference's edition 2 (reviewed 14 November 2026) as STAT274.