GLOBAL KNOWLEDGE ARK

Mathematics · Article

Multiple comparisons and reproducible analysis

Define the scientific family and its error target before adjusting results. Derive Bonferroni, Holm, BH and BY procedures, separate realised false discovery from expected error, and connect selection, stopping, preregistration, computational reproducibility and new-data replication.

Back to Mathematics

After reading, you can

  • Define a hypothesis family, valid marginal p-values and the distinct FWER, FDP and FDR criteria.
  • Apply and justify Bonferroni, weighted allocation and Holm strong familywise control under arbitrary dependence.
  • Apply BH step-up and adjusted values while stating independence or the actual sufficient dependence condition.
  • Explain the BY harmonic correction, simultaneous confidence and the limits of selected or pooled families.
  • Account for repeated looks, prior analysis choices and the distinction between fixed-time and time-uniform validity.
  • Report reproducible analyses and replication evidence with scientific effects, uncertainty, design and transparent deviations.
01

Define the scientific family before counting discoveries

A study can compare many outcomes, subgroups, models or time points. Each opportunity to report a favorable result contributes to the interpretation of the final claim. Multiple-comparison methods specify how a collection of decisions is evaluated as one procedure. The first task is therefore to name the scientific questions and family, rather than adjust only the rows that happened to be significant.

Write H₁,…,Hₘ for a declared finite family with m≥1. Identify each hypothesis’s population, estimand, measurement scale, direction and null set. Include the sampling, selection and reporting rules that determine which conclusions can be made. A primary outcome and an exploratory collection can have different stated roles, but those roles should not be assigned after seeing which result is attractive.

The previous lessons supplied valid tests, power calculations, posterior probabilities and resampling reference experiments. Multiplicity combines decisions without changing what those ingredients mean. An adjusted p-value remains a frequentist testing quantity under its procedure. It does not become an effect size, a posterior probability or evidence that a measurement or causal model is correct.

All numerical families in this lesson are hypothetical. Small families first make the error criteria and algorithms visible; optional proofs explain their dependence assumptions. The later sections connect those mathematical guarantees to preregistration, reproducible computation and new-data replication. Each addresses a part of the research process, with its own evidence and limitations.

02

A correction needs valid inputs

For a true null Hᵢ, a valid marginal p-value Pᵢ satisfies Pθ(Pᵢ≤u)≤u for every u∈[0,1] and every allowed data-generating parameter θ in that null. This super-uniform condition is stronger than observing a plausible-looking number between zero and one. It refers to the repeated experiment and includes nuisance parameters, sampling assumptions and the definition of the statistic.

The family procedures below assume this validity for each true null under the actual joint model. Discrete p-values can be conservative and still satisfy it. False-null p-values need not be uniform. Their behavior influences power and the number of discoveries, while the specified true-null conditions support the relevant error bound.

A selected minimum, a fixed-time p-value evaluated after arbitrary stopping, or a misspecified variance calculation can fail the required marginal statement. Applying a multiple-testing formula to those numbers does not in general restore it. First describe the whole data-analysis experiment and obtain p-values appropriate to that experiment, or use a procedure with a theorem addressing the selection or stopping directly.

Dependence is a separate issue from marginal validity. Every Pᵢ can be exactly uniform while their joint rejection pattern ranges from independent to perfectly synchronized. Bonferroni and Holm need the valid marginals but permit arbitrary dependence. Ordinary BH needs additional sufficient joint conditions; BY pays a harmonic adjustment for a broader dependence guarantee.

03

Distinguish hidden truth from observed decisions

Under a fixed data-generating state let I₀ be the indices of the true nulls and m₀=|I₀|. A multiple-testing rule rejects some hypotheses. Let R be its total number of rejections and V the number among them whose nulls are true. Then R−V counts rejections of false nulls. Unrejected false nulls are missed alternatives; the complete error table keeps those outcomes distinct.

The truth configuration is not generally observed in a real study. One can count the reported R, but cannot ordinarily read V from the p-value table. A simulation or teaching example can stipulate which nulls are true to evaluate the procedure. Label that stipulated truth rather than presenting an estimated false-discovery count as something directly known from one set of results.

The rules are random because the data vary across experiments. Thus R and V have distributions, expectations and joint behavior. A procedure with V=1 in one realization is not characterized by that event alone, and an experiment with no false rejections does not establish a low long-run error rate. The mathematical criterion must say which aspect of the random procedure it controls.

Power remains part of the design question. Rejecting no hypotheses always avoids false rejections, but supplies no discoveries. The goal is an error criterion appropriate to the scientific consequences together with useful sensitivity under plausible alternatives. A more permissive criterion is a different guarantee, rather than an improvement that makes all other criteria irrelevant.

04

Familywise error is a probability of at least one false rejection

The familywise error rate is FWER=P(V≥1). It differs from E[V], the expected number of false rejections, and from the error probability of one isolated test. Strong control at level α requires FWER≤α throughout the allowed joint model and all permitted truth configurations. Weak global-null control establishes the bound only when every null is true.

If m tests of true nulls have independent rejection indicators, each with exact size α, the chance of no false rejection is (1−α)ᵐ. Therefore FWER=1−(1−α)ᵐ. For twenty independent size-0.05 tests, this is approximately 0.641514. Their expected false-rejection count is mα=1. The two quantities have different definitions and numerical values.

Linearity of expectation gives E[V]=Σ_(i∈I₀)P(reject Hᵢ), without requiring independence. By the union bound, FWER≤E[V]. The independent product formula does require a joint independence argument. If only marginal upper bounds α are known, replace exact equalities by the appropriate bounds rather than pretending every marginal test has exact size.

Strong error control protects a family even when some alternatives are real and many other tests are null. A rule calibrated only under the complete global null can behave differently in mixed configurations. State the scope of a theorem before using it to justify a collection of discoveries.

05

The same marginals can have very different family behavior

Consider twenty true-null p-values defined by P₁=…=P₂₀=U with U uniform on [0,1]. Every individual p-value is exactly calibrated. If each is rejected at 0.05, the family rejects all twenty together with probability 0.05 and none otherwise. Its FWER is 0.05 and E[V]=20·0.05=1.

The independent example had the same marginal sizes and expected number of false rejections, but FWER about 0.641514. Marginal calibration therefore cannot determine a product probability or the shape of the false-rejection count distribution. A joint model is needed for such equalities. Dependence can also be more complicated than either of these two illustrative extremes.

A joint law determines error countsThe complete declared joint model gives a probability-mass plot and exact outcome table. Marginal probabilities alone do not supply this joint count law.A joint law determines error countsFalse-rejection count V=R under the explicit joint law00.5105101520False-rejection count V (all toy nulls true)Probability mass; vertical scale0…1
FWER=≈0.6415; FDR=≈0.6415. E[V] is a count expectation,not a probability. pFDR is held undefined when its conditioning event has probability0.

P₁,…,P_m are mutually independent exact Uniform(0,1).

Every toy null is true; reject at P_i≤the declared cutoff. Equality has probability0 under these laws.

Specified joint law and distinct error criteria
QuantityExact value
FWER67267626542454041806644399/104857600000000000000000000
FDR67267626542454041806644399/104857600000000000000000000
E[V]1
E[R]1
E[V]/E[R]1
P(R>0)67267626542454041806644399/104857600000000000000000000
pFDR1
Full joint laws and exact values behind the figure
Every supported count outcome,including zero masses
RVJoint massFDP
0037589973457545958193355601/1048576000000000000000000000
111978419655660313589123979/52428800000000000000000001
221978419655660313589123979/104857600000000000000000001
33312382050893733724598523/52428800000000000000000001
44279499729747024911482889/209715200000000000000000001
5514710512091948679551731/65536000000000000000000001
66774237478523614713249/26214400000000000000000001
7740749340974927090171/13107200000000000000000001
8827881128035476430117/104857600000000000000000001
99489142597113621581/26214400000000000000000001
1010283187819381570389/262144000000000000000000001
11111354965642974021/26214400000000000000000001
1212213941943627477/104857600000000000000000001
1313866161715091/13107200000000000000000001
141445587458689/26214400000000000000000001
15152399339931/65536000000000000000000001
1616126281049/209715200000000000000000001
1717390963/52428800000000000000000001
18186859/104857600000000000000000001
191919/52428800000000000000000001
20201/1048576000000000000000000001

Exact rational inputs and expressions remain in the tables. Symbols marked ≈,normal tails and critical values are numerical approximations. A recorded p-vector does not verify its calibration or joint dependence; it does not determine which discoveries are false.

Shared observations, correlated outcomes, overlapping subgroups and common fitted parameters can create dependence. A positive sample correlation between two reported statistics is not a complete mathematical description of their joint null distribution. Likewise, a method allowing arbitrary dependence still needs its other assumptions, especially valid true-null marginal inputs and the declared family.

When a mathematical bound avoids an independence requirement, retain that advantage accurately. When an exact calculation uses independent uniforms, label the independence and exact-uniform conditions. A graph of one joint law does not establish the same geometry for another.

06

Allocate the family error with Bonferroni

For a finite family of m valid marginal p-values and 0<α<1, Bonferroni rejects Hᵢ when Pᵢ≤α/m. Let I₀ contain the true nulls. Then P(V≥1)≤Σ_(i∈I₀)P(Pᵢ≤α/m)≤m₀α/m≤α. The proof uses a union bound and marginal super-uniformity; independence is not needed.

This is strong FWER control because the same reasoning applies to every truth configuration allowed by the model. The bound can be conservative due to overlap among rejection events, conservative discrete inputs or fewer true nulls than m. Conservatism of a valid bound does not authorize choosing a different uncalibrated rule after seeing the results.

For five hypotheses at family level 0.05, the individual threshold is 0.01. Equivalently the Bonferroni adjusted p-value for each hypothesis is min(1,mPᵢ), compared with the family α. The adjusted number summarizes the procedure’s threshold behavior; it is not a posterior probability that this null is true.

Choose the family from the intended set of claims. Replacing m by only the number of favorable rows after inspection changes the correction. Distinct prespecified families can be scientifically appropriate, but their separate guarantees do not automatically become one pooled guarantee over every discovery subsequently combined.

07

Prespecify weights when the claims have different priorities

Weighted Bonferroni assigns fixed weights wᵢ≥0 with Σwᵢ≤1, then rejects when wᵢ>0 and Pᵢ≤αwᵢ. Under this explicitly stated rule, zero-weight hypotheses are not rejected. The probability of any true-null rejection is at most Σ_(i∈I₀)αwᵢ≤α. Different positive weights allocate different parts of the family error budget without requiring independence among the p-values.

For weights (1/2,3/10,1/5) and α=0.05, the individual thresholds are 0.025,0.015,0.01. Values (0.02,0.02,0.009) therefore reject the first and third hypotheses. The weights sum to one and their thresholds sum to α. Allocating more budget to one claim leaves less for the others; it does not create additional error budget.

For wᵢ>0, min(1,Pᵢ/wᵢ) is the corresponding weighted adjusted value compared with α. A zero-weight case should retain its excluded/no-rejection status rather than divide by zero. A proposed weight list summing to 1.1 supplies only the general union bound 1.1α, so it does not establish the advertised level-α guarantee through this proof.

The fixed-weight proof does not justify selecting large weights for favorable observed p-values. Data-dependent allocation can be legitimate under additional conditions, such as a properly specified independent information or conditional-validity scheme, but it needs that actual method’s theorem. Record the priorities and their rationale before interpreting a weighted result.

08

Holm continues only while every earlier comparison passes

Sort all m p-values as P_(1)≤…≤P_(m), retaining their hypothesis labels and a consistent tie ordering. Holm compares rank i with α/(m−i+1). Reject successively while each comparison passes and stop at the first failure. If no failure occurs, reject all m. The procedure is step-down; a later p-value below its own later threshold does not restart it.

The thresholds become less stringent as hypotheses are rejected, but the previous decisions are essential to the guarantee. For sorted p-values (0.01,0.03,0.031,0.032) at α=0.05, rank one passes 0.0125 and rank two fails 0.05/3. The procedure stops with only the first rejection, even though the final p-value is below the last threshold 0.05.

Fixed budgets and Holm’s first failureSorted p-value points and exact rank thresholds encode the actual complete comparison. Tables retain raw fractions,original labels and adjusted values. The graph does not infer truth,calibration,independence or PRDS.Fixed budgets and Holm’s first failure0≈0.02875≈0.0575≈0.08625≈0.115Circles: p-values; orange line: exact rank thresholdsFilled: rejected; open: not rejected.12345Sorted rank; p-value scale shown on vertical axisFirst failure: 4; no restart after stopping.
Holm uses the first failed comparison; Bonferroni uses fixed budgets. Zero allocated weight is explicitly never tested for rejection.

These are algorithm inputs,not evidence that null p-values are calibrated. No truth mask or complete joint sampling law is inferred from one p-vector.

Strong FWER control needs valid true-null marginal p-values and a fixed complete family; independence is unnecessary. Weights,when used,are fixed before outcomes; zero weights never reject.

Complete sorted family,restored labels and exact comparisons
Original hypothesisSorted rankRecorded pRank thresholdAdjusted valueDecision
H111/2501/1001/50Reject
H229/10001/809/250Reject
H333/2501/609/250Reject
H4413/5001/4013/250Do not reject
H552/251/202/25Do not reject

Exact rational inputs and expressions remain in the tables. Symbols marked ≈,normal tails and critical values are numerical approximations. A recorded p-vector does not verify its calibration or joint dependence; it does not determine which discoveries are false.

For the same family and α, Holm rejects every hypothesis rejected by ordinary Bonferroni and can reject more. Every Bonferroni-passing initial rank also passes Holm’s at-least-as-large threshold, so that initial block cannot be lost. This rejection-set comparison does not make different scientific error criteria interchangeable; both procedures here target strong FWER.

Use inclusive equality consistently when applying these formulas, and retain exact values in boundary comparisons before rounding them for display. Restore original labels after sorting. A sorted rejection rank without its associated scientific hypothesis is not an adequate reported result.

09

The first rejected true null proves the family bound

If m₀=0 there are no true nulls to reject and FWER is zero. Otherwise let k be the rank of the smallest true-null p-value in the sorted family. At least m₀ hypotheses remain at that rank, so m−k+1≥m₀. If Holm ever rejects a true null, it must reject this first true null after passing all preceding comparisons.

That event implies P_(k)≤α/(m−k+1)≤α/m₀. Hence any false rejection is contained in the event that at least one of the m₀ true-null p-values is at most α/m₀. The union bound and valid marginals give probability at most m₀(α/m₀)=α. No independence assumption entered the proof.

False-null p-values may occur before the first true null, after it or tied with it. They influence power and the observed path through the algorithm, but the first-true-null argument still retains at least all m₀ true nulls at risk. This explains why the result is strong control across mixed truth configurations, rather than a calculation only under the complete global null.

A different stopping rule must earn its own proof. Continuing after a failure because some later threshold is larger would remove the logic used above. An implementation check should therefore include a case in which a later comparison would pass after an earlier failure, rather than verifying only lists with all small p-values followed by one obviously large value.

10

Adjusted p-values encode complete-family threshold rules

An adjusted p-value summarizes the smallest procedure level at which the hypothesis would be rejected, with the declared comparison convention. For Bonferroni it is min(1,mPᵢ). For Holm, sorted adjusted values are min(1,max_(j≤i)[(m−j+1)P_(j)]). The cumulative maximum retains all preceding step-down requirements; using only (m−i+1)P_(i) can lose the stopping condition.

For sorted values (0.004,0.009,0.012,0.026,0.08), the untruncated Holm products are (0.02,0.036,0.036,0.052,0.08). Their cumulative maxima are the same list. At α=0.05, Holm rejects the first three while Bonferroni’s common 0.01 cutoff rejects only the first two. These numbers describe decisions on this declared five-hypothesis family.

Adjusted values can change when the family changes, even if a particular raw p-value does not. Preserve the full list, sorting labels, method and target level. Apply clipping and monotonicity in the specified order, then restore original hypothesis order. Ties should be handled consistently rather than assigned different conclusions through an arbitrary display order.

Neither a raw nor an adjusted p-value is the posterior probability that a particular null is true. Nor does a small adjusted value establish a scientifically large effect. Report the effect estimate, uncertainty, model and design alongside the decision, retaining the distinction between an error-controlled testing rule and a substantive scientific conclusion.

11

Simultaneous coverage is another union-bound construction

Suppose m confidence sets Cᵢ have marginal noncoverage probabilities at most αᵢ for their respective fixed targets, and Σαᵢ≤α. The event that any set misses its target is contained in the union of these m miss events. Therefore P(all m sets cover)≥1−α. This is simultaneous coverage over the declared family; independence is not required.

For equal allocation choose αᵢ=α/m. In this lesson’s normal estimation examples, explicitly assume θ̂ᵢ∼N(θᵢ,SEᵢ²), centered at its stated target θᵢ, with genuinely known SEᵢ>0. A two-sided interval then uses θ̂ᵢ±z_(1−α/(2m))SEᵢ. Normality and a known SE alone would not establish this centering if an estimator were biased. Independence is unnecessary for the simultaneous union bound; it is separately assumed for the direct two-study difference below. Estimated SEs or another sampling model require their own valid marginal confidence procedures.

At m=3 and α=0.05, the normal critical value is z_(119/120)≈2.39397980. For estimates (2,−0.5,1) and known SEs (0.5,0.25,0.4) on a common scale, the intervals are approximately [0.80301,3.19699], [−1.09849,0.09849] and [0.04241,1.95759]. Their joint coverage is at least 0.95 under the stated model, rather than a product equality supplied by their individual labels.

Simultaneous intervals and direct comparisonIntervals preserve their actual estimated centers and numerical half widths. The top axis uses exact rational offsets from a declared origin,so a large center cannot erase a tiny spread. The direct-study contrast,when defined,has its own labelled scale.Simultaneous intervals and direct comparisonBonferroni simultaneous intervals; known positive SEsEffect1Effect2Effect3≈-3.528≈-2.239≈-0.9508≈0.3379≈1.627Offset origin = 2 response unitsOffset (response units); orange marks the zero target.
Normal tails and critical values are numerical evaluations of stated analytic formulas. Closed interval endpoints have the same fixed-target coverage under continuous sampling; literal inclusive-test duality still requires its stated endpoint convention. Different significance labels do not prove different effects or practical equivalence.

The retained coverage model is θhat_i~Normal(θ_i,SE_i²),centered at its fixed target,with genuinely known positive SE_i.

Simultaneous Bonferroni coverage uses valid marginal normal intervals and a union bound; it does not assume independence. Direct-difference SE below requires the explicit independent-study model.

Raw estimates,known SEs and analytic normal quantities
EffectEstimateKnown positive SEInterval expressionZero-target normal formula (numerical)
Effect12 response units1/2 response units2 ± z*1/2 response units; z≈2.3939798002Φ(−|(2)/(1/2)|) ≈0.00006334248
Effect2-1/2 response units1/4 response units-1/2 ± z*1/4 response units; z≈2.3939798002Φ(−|(-1/2)/(1/4)|) ≈0.04550026
Effect31 response units2/5 response units1 ± z*2/5 response units; z≈2.3939798002Φ(−|(1)/(2/5)|) ≈0.01241933

Exact rational inputs and expressions remain in the tables. Symbols marked ≈,normal tails and critical values are numerical approximations. A recorded p-vector does not verify its calibration or joint dependence; it does not determine which discoveries are false.

Test inversion and set endpoints should use matching conventions. For continuous normal data an exact boundary has probability zero at any fixed true target, so open or closed endpoints do not alter the coverage probability; literal duality with an inclusive rejection rule can still require the appropriate endpoint choice. Rounded displays should not decide exact equality. FDR control of discoveries also does not automatically give these simultaneous FWER-style interval guarantees for a selected set.

12

Average the false-discovery proportion over experiments

Define the realised false-discovery proportion FDP=V/(R∨1), where R∨1 means max(R,1). It is zero when R=0 and avoids an undefined 0/0. The false discovery rate is FDR=E[FDP]. The expectation concerns repeated experiments under a fixed joint data-generating state, including the random number and identity of discoveries.

FDR is generally different from E[V]/E[R]. A hypothetical rule can yield (R,V)=(0,0) with probability 1/4, (1,1) with probability 1/4 and (9,0) with probability 1/2. Its FDP values are 0,1,0, giving FDR=1/4. But E[V]=1/4 and E[R]=19/4, so their ratio is 1/19. Taking an expectation and dividing do not commute.

A bound FDR≤q is not a guarantee that every realised discovery set has FDP≤q. An occasional set with a larger false fraction can be compatible with the bound. It is also not a posterior probability of error for each discovered hypothesis. In a real study, the hidden V cannot ordinarily be inferred by multiplying the observed R by q.

When P(R>0)>0, the conditional mean pFDR=E[V/R|R>0], called the positive false discovery rate, relates through FDR=P(R>0)pFDR. The two criteria are different. If P(R>0)=0, FDR is zero while this conditional pFDR is undefined. Keep the criterion attached to a theorem or software option rather than using every phrase containing false discovery as a synonym.

13

Different error criteria support different scientific choices

For every outcome, FDP≤1{V≥1}. Therefore FDR≤FWER. A strong familywise bound also bounds FDR, but a general FDR bound does not imply the same familywise bound. The criteria protect different aspects of the random decision set, so selecting between them requires the consequences and purpose of the scientific claims.

If every null is true, V=R and FDP is the indicator of any rejection. Thus FDR=FWER in that special configuration, regardless of the procedure. If every null is false, V=0 and both criteria are zero even for a rule that finds nothing. These identities help interpret an error criterion without confusing it with a power guarantee.

FDR methods can allow more discoveries in large exploratory families while controlling the expected false fraction under their assumptions. That guarantee should not be turned into a promise about each clinical, policy or mechanistic claim. Small families of consequential confirmatory claims may call for a different declared criterion. The scientific context, design and relevant losses belong in that choice.

Both kinds of control rely on the actual family and reporting procedure. Arbitrarily selecting a subset of discoveries or pooling separately controlled families can change the error criterion. In particular, two independent all-null singleton families each tested at 0.05 have pooled FDR=FWER=1−0.95²=0.0975. Separate labels do not establish a pooled level-0.05 guarantee.

14

BH uses the largest qualifying rank

For target 0<q<1 and a declared family of m p-values, sort them as P_(1)≤…≤P_(m). Benjamini–Hochberg, or BH, takes r=max{i:P_(i)≤iq/m}, with r=0 when no rank qualifies, and rejects the first r hypotheses. This is a step-up procedure. A failed comparison at a small rank does not terminate the search for a larger qualifying rank.

At q=0.04 with values (0.019,0.020,0.021,0.080), the rank thresholds are (0.01,0.02,0.03,0.04). Rank one fails its individual crossing, but ranks two and three pass. The largest qualifying rank is three, so BH rejects the first three hypotheses, including rank one. Applying Holm’s stop-at-first-failure logic here would implement another procedure.

Sorted BH adjusted values are min(1,min_(j≥i)[mP_(j)/j]). The reverse cumulative minimum makes the sorted adjusted values nondecreasing while retaining the step-up decisions. For the preceding list they are (0.028,0.028,0.028,0.080). Restore the original labels after this calculation and retain the complete family when interpreting them.

BH and BY select the last crossingSorted p-value points and exact rank thresholds encode the actual complete comparison. Tables retain raw fractions,original labels and adjusted values. The graph does not infer truth,calibration,independence or PRDS.BH and BY select the last crossing0≈0.02875≈0.0575≈0.08625≈0.115Circles: p-values; orange line: exact rank thresholdsFilled: rejected; open: not rejected.1234Sorted rank; p-value scale shown on vertical axisLast qualifying rank: 3; search every rank.
BH/BY use the largest qualifying rank and a reverse cumulative minimum. A displayed crossing is a decision calculation,not a proof of the required joint assumptions.

These are algorithm inputs,not evidence that null p-values are calibrated. No truth mask or complete joint sampling law is inferred from one p-vector.

BH requires its actual sufficient joint conditions: mutual independence with valid true-null marginals,or the stated PRDS extension.

These sufficient conditions are explicitly stipulated,not verified by the observed vector. PRDS is not established by positive sample correlation.

Complete sorted family,restored labels and exact comparisons
Original hypothesisSorted rankRecorded pRank thresholdAdjusted valueDecision
H1119/10001/1007/250Reject
H221/501/507/250Reject
H3321/10003/1007/250Reject
H442/251/252/25Do not reject

Exact rational inputs and expressions remain in the tables. Symbols marked ≈,normal tails and critical values are numerical approximations. A recorded p-vector does not verify its calibration or joint dependence; it does not determine which discoveries are false.

Under appropriate joint assumptions, BH controls FDR≤(m₀/m)q≤q. Mutual independence of all p-values with valid true-null marginals is a clean sufficient case. A vector of observed p-values alone does not establish that independence. Dependence extensions need their actual conditions, rather than an inference from a line crossing on a plot.

15

A leave-one-out argument explains the independence guarantee

Fix a true null i. Replace its p-value by zero, leave all others unchanged, and let Rᵢ⁰ be the BH rejection count in that modified list. Because q>0, Rᵢ⁰≥1. On rejection of i in the original list, lowering its already-rejected p-value to zero does not change the final rejection count: R=Rᵢ⁰. More generally, i is rejected exactly when Pᵢ≤qRᵢ⁰/m, with the same count on that event.

Assume this true-null Pᵢ is independent of the vector of the other p-values. Conditional on those others, Rᵢ⁰ is fixed and true-null super-uniformity gives P(Pᵢ≤qRᵢ⁰/m|others)≤qRᵢ⁰/m. Its contribution to FDR is therefore E[1{i rejected}/(R∨1)|others]≤(1/Rᵢ⁰)(qRᵢ⁰/m)=q/m.

Sum this contribution over the m₀ true nulls to obtain FDR≤m₀q/m. The sufficient condition can be stated as independence of each true-null p-value from the vector of all other p-values; mutual independence of the whole vector is a familiar stronger formulation. Arbitrary false-null marginal distributions are allowed under this independence condition.

Two uniform nulls: rejection areaBlue strips and the additional green square form the exact BH rejection set in the independent-uniform unit square. The labelled local inset is a magnified coordinate window,not a new probability measure.Two uniform nulls: rejection areaFull square: independent uniform density1000.50.511P₁ (full range0…1)P₂0≈0.025≈0.05Local inset [0,q]²Area is enlarged.No renormalization.
Full-square area equals probability only under the stipulated density1. Blue strip union plus the extra green square has areaq. The inset changes drawing scale,not probability weights. Opaque contours have fixed ink width; very small regions are resolved in the inset rather than measured from that ink.

Two independent exact Uniform(0,1) true-null p-values; joint density1 on the unit square.

Both toy nulls are true. Thus FDR=FWER=P(any rejection). Equality boundaries have probability0. q0/1 are explicitly included limiting boundaries.

Unit-density areas and exact null error probabilities
Region or criterionExact probability
Bonferroni strip union79/1600
Extra BH square(q/2,q]²1/1600
BH union and all-null FDR1/20

Exact rational inputs and expressions remain in the tables. Symbols marked ≈,normal tails and critical values are numerical approximations. A recorded p-vector does not verify its calibration or joint dependence; it does not determine which discoveries are false.

The argument identifies what a geometric BH-line picture alone cannot prove: the rejection count is data-dependent and includes information from the same p-values being tested. Conditional independence controls that dependence in the proof. Another joint law requires a valid extension or a different procedure, not the same calculation with its conditioning step omitted.

16

PRDS is a joint monotonicity condition

A dependence extension permits BH under positive regression dependence on the true-null subset, or PRDS. One standard formulation requires that, for every coordinatewise increasing measurable set D and each true-null coordinate i, an appropriate version of x↦P(P∈D|Pᵢ=x) is nondecreasing. Increasing here means that raising coordinates cannot move a point out of D. This is a condition on conditional joint probabilities.

Nonnegative pairwise correlations alone do not verify that condition for arbitrary p-values. Particular joint models can establish it, but the model and transformation of the original statistics matter. For example, a condition established for one-sided test statistics does not automatically transfer to every two-sided transformation. When the sufficient condition is unverified, retain that qualification rather than declaring BH’s theorem established from a correlation table.

A small counterexample makes the distinction concrete. Let U be uniform, set P₁=U, and form P₂ by swapping the middle two quarter-intervals: P₂=U+1/4 on [1/4,1/2), P₂=U−1/4 on [1/2,3/4), and P₂=U elsewhere. Both marginals are uniform. Their covariance is 13/192>0, since E[(P₁−P₂)²]=1/32 and each marginal variance is 1/12.

For the increasing set D={P₂>1/2}, the conditional probability given P₁=x drops from one to zero when x crosses 1/2 through the swapped intervals. Thus PRDS fails despite positive correlation. This example does not itself establish failure of BH’s error bound; PRDS is a sufficient condition, not a necessary one. It shows precisely why a correlation sign alone is not a proof of that sufficient condition.

17

BY permits arbitrary dependence with a harmonic correction

Let Hₘ=Σ_(j=1)ᵐ1/j. The Benjamini–Yekutieli, or BY, rule applies BH with q replaced by q/Hₘ, using thresholds iq/(mHₘ). With valid marginal true-null p-values, it controls FDR under arbitrary joint dependence. It can be conservative, and its FDR guarantee should remain distinct from the FWER target of Bonferroni or Holm.

For m=4, H₄=25/12. On p=(0.019,0.020,0.021,0.080) at q=0.04, the BY thresholds are i·3/625. No rank passes. Its adjusted values are the BH values multiplied by H₄ and capped at one, giving (7/120,7/120,7/120,1/6). The different decisions reflect a different dependence allowance on the same input list.

A dependence-free bound explains the harmonic factor. Put c=q/(mHₘ). If a true null is rejected, its p-value satisfies Pᵢ≤cR. On a slice c(k−1)<Pᵢ≤ck, rejection therefore implies R≥k, so its contribution 1{i rejected}/(R∨1) is bounded by 1/k. With Fᵢ(t)=P(Pᵢ≤t), expectation is at most Σ_(k=1)ᵐ[Fᵢ(ck)−Fᵢ(c(k−1))]/k. True-null super-uniformity also gives Fᵢ(0)=0.

Summation by parts rewrites this as Fᵢ(cm)/m+Σ_(k=1)^(m−1)Fᵢ(ck)/[k(k+1)], bounded by c+cΣ_(k=1)^(m−1)1/(k+1)=cHₘ=q/m. Summing over true nulls gives FDR≤m₀q/m. This uses cumulative super-uniform bounds; it does not assume that every small interval of a conservative p-value distribution has probability no greater than its length. No independence step was needed.

18

Selection changes the reported experiment

If ten independent exact null p-values are searched and only the smallest is reported, the selected minimum is not uniform. Its cumulative distribution is P(Pmin≤u)=1−(1−u)¹⁰. An observed minimum 0.01 has selection-adjusted tail approximately 0.0956179 under this specified all-null independent search. Bonferroni’s min(1,10Pmin)=0.1 supplies a dependence-robust bound for that declared ten-opportunity family.

Selection and complete fixed-look rulesA complete prespecified search or two-look experiment is computed under an explicit joint null law. The exact probability table and plotted CDF/path grid refer to that full protocol.Selection and complete fixed-look rules00≈0.25≈0.25≈0.5≈0.5≈0.75≈0.75≈1≈1Blue: minimum CDF; orange: Bonferroni boundCandidate minimum t; vertical scale is tail probability
The adjusted tail uses the full stipulated independent search. Independence is needed for the product formula; the Bonferroni bound uses only valid marginals.

Allm toy nulls are true; their exact Uniform(0,1) p-values are mutually independent.

The complete searched family and the minimum-selection rule are specified. The tail is a CDF,not mass at the exact observed minimum.

Exact scientific values
QuantityValue
Observed searched minimum1/100
Exact independent minimum tail9561792499119550999/100000000000000000000
Bonferroni bound1/10

Exact rational inputs and expressions remain in the tables. Symbols marked ≈,normal tails and critical values are numerical approximations. A recorded p-vector does not verify its calibration or joint dependence; it does not determine which discoveries are false.

A correction over one full family does not automatically transfer to an arbitrary selected subset of its discoveries. Selecting an especially favorable-looking subgroup can change the false-discovery proportion within that subgroup. Pooling independently analyzed families can also change the global criterion, as the two-singleton all-null example showed. The scientific claims and the final reporting rule must match the guarantee being cited.

Independent validation data can separate selection from testing. If a training record selects one of seven hypotheses and a fresh independent record supplies a valid conditional p-value for the chosen true null, conditioning on the training choice preserves its marginal bound. This argument does not apply when the same outcome-informed p-values drive both the selection and the test without a method addressing that reuse.

Exploration remains useful for finding patterns and proposing future studies. Record which analyses were outcome-informed, preserve the search and do not relabel selected outputs as untouched confirmatory tests. Selective-inference, independent-filtering or hierarchical procedures can address specific selection problems, but their conditions and targets require their own justification. A smaller reported table is not itself a smaller prespecified family.

19

Repeated looks add another index of possible error

A finite family can include a prespecified set of interim looks, outcomes or model variants, provided each input p-value has its required fixed-experiment validity. Bonferroni allocation over that complete family controls the union of false-rejection events without independence. Merely repeating a fixed-time 0.05 test until it is favorable defines another procedure and does not retain its one-look guarantee.

For six fair flips with upper-tail looks after three and six, using level 1/8 at each look rejects on the first-three-all-heads event A or the six-flip count-at-least-five event B. On 64 complete paths, A has 8, B has 7 and their intersection has 4, giving whole-rule size 11/64>1/8. Splitting the family level 1/8 equally gives cutoff 1/16 at each look; the three-flip look cannot reject and the six-flip look rejects only all heads, size 1/64.

A countable predetermined allocation can also be valid. With αₜ=α/[t(t+1)] for positive-integer fixed looks, Σₜαₜ=α by telescoping. Valid fixed-look p-values then give P(any Pₜ≤αₜ)≤α by the countable union bound, without independence. This argument needs the defined sequence of experiments and fixed allocated thresholds; it does not justify outcome-chosen weights through the same marginal proof.

A confidence sequence instead has a simultaneous-in-time property Pθ(θ∈Cₜ for every t)≥1−α under its stated stochastic assumptions. On that event it covers at any finite data-dependent stopping time. Ordinary pointwise intervals do not acquire this property by being inspected repeatedly. Specific sequential or anytime-valid methods must retain their actual sampling and process conditions.

20

Record the plan and what was known when it was made

Preregistration records a timestamped research plan before the relevant outcome-informed analysis. Useful fields include hypotheses, primary and secondary outcomes, estimands, sampling and stopping, exclusion and missingness rules, transformations, model choices, the multiplicity family and correction criterion. State what data or outcomes were already accessible when the plan was written, especially for analyses of existing records.

The record distinguishes planned tests from choices informed by the observed outcomes. A deviation can be scientifically justified; report its timing, rationale and consequence for interpretation. Preserving the original plan and the changes makes the analysis assessable. A registry entry does not make an invalid test valid or prove that every unrecorded analytical choice was absent.

Exploratory work can generate important hypotheses and diagnose a poor model. Its value is clearer when the search and uncertainty are visible and subsequent confirmation uses an appropriate design or method. Rewriting the original plan to resemble the successful final analysis removes information about the selection process. A complete account should also retain inconclusive analyses and relevant failures.

Preregistration, a registered analysis code version and a multiplicity correction address related but distinct concerns. The correction quantifies a stated mathematical error criterion. The plan records choices and intended claims. Scientific measurement, valid modelling and honest reporting remain necessary throughout.

21

A repeatable computation still needs scientific checks

Using the National Academies report’s terminology here, computational reproducibility concerns obtaining consistent computational results from the same input data, methods, code and conditions of analysis. Fields sometimes use these words differently, so state the intended meaning. A new-data study addressing the same scientific question is discussed separately as replication.

Retain data lineage, variable definitions and units, joins and exclusions, missingness policy, preprocessing and analysis code, relevant dependency versions, random seeds and reported outputs. A seed helps reproduce a random calculation; it does not add observations or validate a statistical model. Keep the relationship between raw records and the final analysis table understandable, including the independent unit and denominators.

A shared script can reproduce the same erroneous join, mislabeled units or incorrect variance every time. Independent data checks, mathematical reasoning, code inspection and appropriate computational checks examine different failure modes. Agreement of reruns is evidence of repeatability under those conditions, rather than proof that the scientific result is correct.

Provide enough materials and metadata for justified verification while respecting legitimate privacy, consent and access constraints. Controlled access, synthetic examples or documented restrictions can support assessment without pretending that unavailable raw data were openly inspected. Open-science guidelines offer graded practices; their historical publications should not be represented as a current universal journal requirement.

22

Compare new evidence on its scientific scale

Replication uses new data to investigate the same scientific question. Its interpretation depends on comparable estimands, populations, measurement, interventions and analysis conditions. Generalizability asks about transfer to other settings or populations. Computational reproducibility, replication and generalizability provide different evidence and can fail for different reasons.

Different significance labels do not establish different underlying effects. Under the declared centered normal model θ̂ⱼ∼N(θⱼ,SEⱼ²), suppose two independent estimators on a common scale are observed as 0.30 with known SE 0.10 and 0.25 with known SE 0.14. Their individual two-sided zero-target p-values are about 0.00270 and 0.07415, yet their estimated difference is only 0.05 with SE √(0.10²+0.14²)≈0.17205. The direct comparison is another uncertainty calculation, not a comparison of two threshold labels.

Conversely, failing to reject a study difference does not establish practical equivalence. Define a scientific tolerance and an appropriate uncertainty procedure if equivalence or close agreement is the target. Differences in exposure, measurement or target populations can also change what a direct numerical comparison means. Examine the scientific design before treating every numerical contrast as evidence for or against one common effect.

A replication that differs from an earlier report does not by itself identify the cause or establish misconduct. Sampling variability, limited precision, model differences, measurement problems, selection and genuine heterogeneity can contribute. Report the estimates and uncertainties, relevant design information and analysis choices so that the evidence can be evaluated beyond a binary replicated/not-replicated label.

23

Keep the family, effects and evidence visible together

A complete multiple-comparison report names the full family, raw and adjusted p-values, correction method, target criterion and level, dependencies assumed, rejection rule and endpoint conventions. It also reports scientific effect estimates and appropriate uncertainty. State which hypotheses and analyses were planned, explored, selected or modified, and preserve relevant failed or inconclusive checks.

In metascience, these records make it possible to study how research choices affect a body of evidence. In medical science and psychology, many outcomes, subgroups, participants or tasks can create related families and dependencies. The scientific unit and intended claim determine the relevant family and error target; multiplicity correction does not supply causal identification, repair a biased measure or establish practical importance.

The earlier testing and power lessons explain individual calibration and detection. Bayesian inference assigns probabilities within a declared joint model, and resampling needs its own reference experiment. Those distinctions remain intact after adjustment. An FDR method cannot be interpreted as a posterior statement without a separate Bayesian derivation, and a small adjusted p-value cannot replace an effect estimate.

For a short starting path, retain valid p-values, the declared family, Bonferroni/Holm and the distinction between FWER and FDR. The optional deeper path adds BH/BY proofs, conditional dependence, selection, simultaneous-in-time reasoning and positive FDR. Reproducible computation and new-data replication connect the calculations to a transparent scientific record. The following association lesson returns to the meaning and limits of relationships among measured variables.

Change the complete model,method or protocol. The selected state retains the actual assumptions and held results. An adjustment does not verify calibration or identify false discoveries from observed p-values.

A joint law determines error counts

Twenty independent exact null uniforms. Computed under the declared assumptions.

A joint law determines error countsThe complete declared joint model gives a probability-mass plot and exact outcome table. Marginal probabilities alone do not supply this joint count law.A joint law determines error countsFalse-rejection count V=R under the explicit joint law00.5105101520False-rejection count V (all toy nulls true)Probability mass; vertical scale0…1
FWER=≈0.6415; FDR=≈0.6415. E[V] is a count expectation,not a probability. pFDR is held undefined when its conditioning event has probability0.

P₁,…,P_m are mutually independent exact Uniform(0,1).

Every toy null is true; reject at P_i≤the declared cutoff. Equality has probability0 under these laws.

Specified joint law and distinct error criteria
QuantityExact value
FWER67267626542454041806644399/104857600000000000000000000
FDR67267626542454041806644399/104857600000000000000000000
E[V]1
E[R]1
E[V]/E[R]1
P(R>0)67267626542454041806644399/104857600000000000000000000
pFDR1
Full joint laws and exact values behind the figure
Every supported count outcome,including zero masses
RVJoint massFDP
0037589973457545958193355601/1048576000000000000000000000
111978419655660313589123979/52428800000000000000000001
221978419655660313589123979/104857600000000000000000001
33312382050893733724598523/52428800000000000000000001
44279499729747024911482889/209715200000000000000000001
5514710512091948679551731/65536000000000000000000001
66774237478523614713249/26214400000000000000000001
7740749340974927090171/13107200000000000000000001
8827881128035476430117/104857600000000000000000001
99489142597113621581/26214400000000000000000001
1010283187819381570389/262144000000000000000000001
11111354965642974021/26214400000000000000000001
1212213941943627477/104857600000000000000000001
1313866161715091/13107200000000000000000001
141445587458689/26214400000000000000000001
15152399339931/65536000000000000000000001
1616126281049/209715200000000000000000001
1717390963/52428800000000000000000001
18186859/104857600000000000000000001
191919/52428800000000000000000001
20201/1048576000000000000000000001

Exact rational inputs and expressions remain in the tables. Symbols marked ≈,normal tails and critical values are numerical approximations. A recorded p-vector does not verify its calibration or joint dependence; it does not determine which discoveries are false.

Fixed budgets and Holm’s first failure

Holm: five exact recorded p-values. Computed under the declared assumptions.

Fixed budgets and Holm’s first failureSorted p-value points and exact rank thresholds encode the actual complete comparison. Tables retain raw fractions,original labels and adjusted values. The graph does not infer truth,calibration,independence or PRDS.Fixed budgets and Holm’s first failure0≈0.02875≈0.0575≈0.08625≈0.115Circles: p-values; orange line: exact rank thresholdsFilled: rejected; open: not rejected.12345Sorted rank; p-value scale shown on vertical axisFirst failure: 4; no restart after stopping.
Holm uses the first failed comparison; Bonferroni uses fixed budgets. Zero allocated weight is explicitly never tested for rejection.

These are algorithm inputs,not evidence that null p-values are calibrated. No truth mask or complete joint sampling law is inferred from one p-vector.

Strong FWER control needs valid true-null marginal p-values and a fixed complete family; independence is unnecessary. Weights,when used,are fixed before outcomes; zero weights never reject.

Complete sorted family,restored labels and exact comparisons
Original hypothesisSorted rankRecorded pRank thresholdAdjusted valueDecision
H111/2501/1001/50Reject
H229/10001/809/250Reject
H333/2501/609/250Reject
H4413/5001/4013/250Do not reject
H552/251/202/25Do not reject

Exact rational inputs and expressions remain in the tables. Symbols marked ≈,normal tails and critical values are numerical approximations. A recorded p-vector does not verify its calibration or joint dependence; it does not determine which discoveries are false.

BH and BY select the last crossing

BH: a failed first crossing still belongs to the selected prefix. Computed under the declared assumptions.

BH and BY select the last crossingSorted p-value points and exact rank thresholds encode the actual complete comparison. Tables retain raw fractions,original labels and adjusted values. The graph does not infer truth,calibration,independence or PRDS.BH and BY select the last crossing0≈0.02875≈0.0575≈0.08625≈0.115Circles: p-values; orange line: exact rank thresholdsFilled: rejected; open: not rejected.1234Sorted rank; p-value scale shown on vertical axisLast qualifying rank: 3; search every rank.
BH/BY use the largest qualifying rank and a reverse cumulative minimum. A displayed crossing is a decision calculation,not a proof of the required joint assumptions.

These are algorithm inputs,not evidence that null p-values are calibrated. No truth mask or complete joint sampling law is inferred from one p-vector.

BH requires its actual sufficient joint conditions: mutual independence with valid true-null marginals,or the stated PRDS extension.

These sufficient conditions are explicitly stipulated,not verified by the observed vector. PRDS is not established by positive sample correlation.

Complete sorted family,restored labels and exact comparisons
Original hypothesisSorted rankRecorded pRank thresholdAdjusted valueDecision
H1119/10001/1007/250Reject
H221/501/507/250Reject
H3321/10003/1007/250Reject
H442/251/252/25Do not reject

Exact rational inputs and expressions remain in the tables. Symbols marked ≈,normal tails and critical values are numerical approximations. A recorded p-vector does not verify its calibration or joint dependence; it does not determine which discoveries are false.

Two uniform nulls: rejection area

Two independent exact uniforms at q=1/20. Computed under the declared assumptions.

Two uniform nulls: rejection areaBlue strips and the additional green square form the exact BH rejection set in the independent-uniform unit square. The labelled local inset is a magnified coordinate window,not a new probability measure.Two uniform nulls: rejection areaFull square: independent uniform density1000.50.511P₁ (full range0…1)P₂0≈0.025≈0.05Local inset [0,q]²Area is enlarged.No renormalization.
Full-square area equals probability only under the stipulated density1. Blue strip union plus the extra green square has areaq. The inset changes drawing scale,not probability weights. Opaque contours have fixed ink width; very small regions are resolved in the inset rather than measured from that ink.

Two independent exact Uniform(0,1) true-null p-values; joint density1 on the unit square.

Both toy nulls are true. Thus FDR=FWER=P(any rejection). Equality boundaries have probability0. q0/1 are explicitly included limiting boundaries.

Unit-density areas and exact null error probabilities
Region or criterionExact probability
Bonferroni strip union79/1600
Extra BH square(q/2,q]²1/1600
BH union and all-null FDR1/20

Exact rational inputs and expressions remain in the tables. Symbols marked ≈,normal tails and critical values are numerical approximations. A recorded p-vector does not verify its calibration or joint dependence; it does not determine which discoveries are false.

Selection and complete fixed-look rules

Ten searched independent null p-values; selected minimum0.01. Computed under the declared assumptions.

Selection and complete fixed-look rulesA complete prespecified search or two-look experiment is computed under an explicit joint null law. The exact probability table and plotted CDF/path grid refer to that full protocol.Selection and complete fixed-look rules00≈0.25≈0.25≈0.5≈0.5≈0.75≈0.75≈1≈1Blue: minimum CDF; orange: Bonferroni boundCandidate minimum t; vertical scale is tail probability
The adjusted tail uses the full stipulated independent search. Independence is needed for the product formula; the Bonferroni bound uses only valid marginals.

Allm toy nulls are true; their exact Uniform(0,1) p-values are mutually independent.

The complete searched family and the minimum-selection rule are specified. The tail is a CDF,not mass at the exact observed minimum.

Exact scientific values
QuantityValue
Observed searched minimum1/100
Exact independent minimum tail9561792499119550999/100000000000000000000
Bonferroni bound1/10

Exact rational inputs and expressions remain in the tables. Symbols marked ≈,normal tails and critical values are numerical approximations. A recorded p-vector does not verify its calibration or joint dependence; it does not determine which discoveries are false.

Simultaneous intervals and direct comparison

Three Bonferroni simultaneous normal intervals. Computed under the declared assumptions.

Simultaneous intervals and direct comparisonIntervals preserve their actual estimated centers and numerical half widths. The top axis uses exact rational offsets from a declared origin,so a large center cannot erase a tiny spread. The direct-study contrast,when defined,has its own labelled scale.Simultaneous intervals and direct comparisonBonferroni simultaneous intervals; known positive SEsEffect1Effect2Effect3≈-3.528≈-2.239≈-0.9508≈0.3379≈1.627Offset origin = 2 response unitsOffset (response units); orange marks the zero target.
Normal tails and critical values are numerical evaluations of stated analytic formulas. Closed interval endpoints have the same fixed-target coverage under continuous sampling; literal inclusive-test duality still requires its stated endpoint convention. Different significance labels do not prove different effects or practical equivalence.

The retained coverage model is θhat_i~Normal(θ_i,SE_i²),centered at its fixed target,with genuinely known positive SE_i.

Simultaneous Bonferroni coverage uses valid marginal normal intervals and a union bound; it does not assume independence. Direct-difference SE below requires the explicit independent-study model.

Raw estimates,known SEs and analytic normal quantities
EffectEstimateKnown positive SEInterval expressionZero-target normal formula (numerical)
Effect12 response units1/2 response units2 ± z*1/2 response units; z≈2.3939798002Φ(−|(2)/(1/2)|) ≈0.00006334248
Effect2-1/2 response units1/4 response units-1/2 ± z*1/4 response units; z≈2.3939798002Φ(−|(-1/2)/(1/4)|) ≈0.04550026
Effect31 response units2/5 response units1 ± z*2/5 response units; z≈2.3939798002Φ(−|(1)/(2/5)|) ≈0.01241933

Exact rational inputs and expressions remain in the tables. Symbols marked ≈,normal tails and critical values are numerical approximations. A recorded p-vector does not verify its calibration or joint dependence; it does not determine which discoveries are false.

Worked examples

Count an error event and an expected count

Twenty true-null tests have independent rejection indicators, each with exact size 1/20. Find FWER and E[V].

  1. The number V of false rejections has Binomial(20,1/20) law. Independence makes the all-clear probability (19/20)²⁰.
  2. Thus FWER=1−(19/20)²⁰≈0.6415140776. This is the probability of at least one false rejection across the family.
  3. Linearity gives E[V]=20·(1/20)=1. The expectation does not require independence, although the binomial law and product calculation do.
  4. The individual size 0.05, family probability about 0.642 and expected count one describe three different quantities. The example assumes all nulls true and exact marginal sizes.

FWER=1−(19/20)²⁰≈0.64151408; E[V]=1.

Preserve the joint law in the calculation

Instead let all twenty true-null p-values equal one uniform U. Each test still rejects at U≤1/20. Find FWER, E[V] and FDR.

  1. If U≤1/20, all twenty nulls are rejected, so V=R=20. Otherwise V=R=0. These outcomes have probabilities 1/20 and 19/20.
  2. The event V≥1 therefore has probability 1/20. Its expected count is 20·(1/20)=1.
  3. With all nulls true, the false-discovery proportion is one when any hypothesis is rejected and zero otherwise. Its expectation FDR is therefore also 1/20.
  4. The marginals and E[V] match the independent example, but the joint error event differs. Using the independent product formula for this synchronized family would change the experiment being calculated.

FWER=FDR=1/20 and E[V]=1 under the stated common-uniform model.

Follow every step-down gate

At family α=0.05, test five hypotheses with sorted p-values (0.004,0.009,0.012,0.026,0.08). Compare Bonferroni and Holm decisions and give Holm adjusted values.

  1. Bonferroni compares each value with 0.05/5=0.01, rejecting ranks one and two.
  2. Holm thresholds are 1/100,1/80,1/60,1/40,1/20. The first three values pass; 0.026 exceeds 1/40=0.025, so the procedure stops before the fourth rejection.
  3. The scaled sorted products are 5·0.004,4·0.009,3·0.012,2·0.026,0.08. Their cumulative maxima are (0.02,0.036,0.036,0.052,0.08).
  4. Restore the associated original hypothesis labels when reporting. The strong FWER guarantees require valid marginal true-null inputs in the declared family, with no independence requirement for these two procedures.

Bonferroni rejects the first two and Holm the first three. Holm adjusted values are (1/50,9/250,9/250,13/250,2/25).

An early failed crossing does not end a step-up rule

At q=0.04, apply BH to sorted p=(0.019,0.020,0.021,0.080) and compute adjusted values.

  1. The four BH thresholds iq/m are 0.01,0.02,0.03,0.04. Ranks two and three qualify, while ranks one and four do not.
  2. The largest qualifying rank is three. BH rejects the first three hypotheses, including the first whose own line crossing failed. The rule is not Holm-style stop-at-first-failure.
  3. Raw scaled products mp_(j)/j are 0.076,0.04,0.028,0.08. Taking reverse cumulative minima gives adjusted values 0.028,0.028,0.028,0.08.
  4. The arithmetic defines the rejection set. Its FDR guarantee additionally requires valid true-null inputs and an actual sufficient joint condition such as independence or PRDS. Those conditions cannot be established from this observed vector alone.

Reject the first three; adjusted values (7/250,7/250,7/250,2/25).

Keep the data fixed while changing the dependence guarantee

Apply BY at q=0.04 to the preceding four p-values. Find H₄, thresholds, adjusted values and decisions.

  1. H₄=1+1/2+1/3+1/4=25/12. Replace q by q/H₄ before applying the BH step-up rule.
  2. The thresholds are i(1/25)/[4(25/12)]=i·3/625, approximately 0.0048,0.0096,0.0144,0.0192. No rank crosses.
  3. Multiply the BH adjusted values by 25/12 and cap at one. This gives 7/120 for each of the first three and 1/6 for the fourth.
  4. All adjusted values exceed q=1/25, so none is rejected. BY permits arbitrary dependence with valid marginals. It is a dependence-robust FDR procedure, not a claim that every raw input was calibrated or that it has the same error target as a familywise method.

H₄=25/12; BY adjusted values (7/120,7/120,7/120,1/6); no rejection at q=0.04.

An expectation of ratios has its own value

A hypothetical rule yields (R,V)=(0,0) with probability 1/4, (1,1) with probability 1/4 and (9,0) with probability 1/2. Compute FDR, FWER and E[V]/E[R].

  1. The realised FDP=V/(R∨1) is respectively 0,1,0. Therefore FDR=(1/4)·1=1/4.
  2. A false rejection occurs only on the second outcome, so FWER=1/4 as well. This equality is a property of this particular table, not a general equivalence of the criteria.
  3. E[V]=(1/4)·1=1/4. E[R]=(1/4)·1+(1/2)·9=19/4. Their ratio is (1/4)/(19/4)=1/19.
  4. The table can stipulate at least one true null and nine false nulls. It illustrates definitions and does not advertise a BH-controlled procedure. The outcome-wise ratio must be formed before its expectation.

FDR=FWER=1/4, whereas E[V]/E[R]=1/19.

Calculate the complete rejection region

Two independent true-null p-values are exactly uniform. At BH target q=1/20, compute FDR geometrically and compare Bonferroni’s FWER at the same family level.

  1. For two tests BH rejects if either p-value is at most q/2, or if both are at most q. These events describe its full step-up rejection region in the unit square.
  2. The two strips p₁≤q/2 or p₂≤q/2 have union area q−q²/4. The additional square with both coordinates in (q/2,q] has area q²/4.
  3. The total area is q. All nulls are true, so FDP equals the indicator of any rejection and FDR=FWER=q=1/20.
  4. Bonferroni uses only the two strips, giving q−q²/4=79/1600=0.049375. Exact areas here rely on independent exact uniforms; they are not a proof for an arbitrary dependent family.

BH FDR=1/20. Bonferroni FWER=79/1600 under this specified independent all-null model.

Account for the search that selected the reported value

Ten independent exact true-null p-values are inspected and the minimum is 0.01. Find its selection-adjusted tail under this complete search and compare the Bonferroni bound.

  1. The chance that every p-value exceeds u is (1−u)¹⁰. Hence the minimum’s cumulative distribution is 1−(1−u)¹⁰.
  2. At u=1/100 this is 1−(99/100)¹⁰=9561792499119550999/100000000000000000000≈0.0956179250.
  3. Bonferroni gives min(1,10·0.01)=0.1 and remains a valid bound without independence, provided the ten marginal inputs are valid.
  4. The selected 0.01 is not an untouched uniform-null p-value for the reporting procedure. The exact minimum adjustment depends on the stated independent search; other selection rules or joint laws need their own treatment.

Independent-search adjusted tail about 0.095618; Bonferroni bound 0.1.

Allocate a fixed family budget

At α=1/20 use prespecified weights (1/2,3/10,1/5) with p-values (1/50,1/50,9/1000). Which hypotheses are rejected by weighted Bonferroni?

  1. The weights are nonnegative and sum to one, so their total allocated level is α.
  2. Their thresholds αwᵢ are 1/40,3/200,1/100, or 0.025,0.015,0.01.
  3. The first p-value 0.02 passes 0.025, the second 0.02 fails 0.015, and the third 0.009 passes 0.01.
  4. With valid true-null marginals and fixed weights, the union bound supplies strong FWER≤α under arbitrary dependence. Weights chosen to favor these observed outcomes would require a different justification.

Reject hypotheses one and three.

Use the family’s allocated tail probabilities

Assume θ̂ᵢ∼N(θᵢ,SEᵢ²), centered at its target, with known positive SEs (0.5,0.25,0.4). The three observed estimates are (2,−0.5,1) on a common measurement scale. Construct Bonferroni simultaneous intervals at family level 0.05 without assuming independence.

  1. Allocate marginal miss probability α/3=1/60 to each interval. Each of its two tails has probability α/6=1/120, so the critical value is z_(119/120)≈2.3939797998.
  2. Use θ̂ᵢ±z·SEᵢ. The first interval is approximately [0.80301010,3.19698990], the second [−1.09849495,0.09849495] and the third [0.04240808,1.95759192].
  3. The union bound gives probability at least 1−3(1/60)=19/20 that all three cover their fixed respective targets. No product or independence claim is needed.
  4. Zero is outside the first and third displayed intervals and inside the second. Exact test/set boundary conventions and unrounded endpoints should govern any literal inversion, although equality has probability zero in this continuous model.

The three intervals jointly cover with probability at least 0.95 under the stated normal-known-SE model.

Count the entire stopping-and-reporting rule

For six fair flips, inspect upper binomial tails after three and six flips and reject at either fixed-look p≤1/8. Compute the full rule’s null size and the result of splitting the family level equally between looks.

  1. At three flips, rejection requires all three heads. On 64 completed six-flip paths this event A has 8 paths, probability 1/8.
  2. At six flips, the upper tail at five heads is 7/64≤1/8, while the tail at four is larger. Thus event B is at least five heads, with 7 paths. Four paths have both the first three heads and at least five total.
  3. The union therefore has 8+7−4=11 paths and null probability 11/64, exceeding 1/8. The look events share paths and must be counted as one procedure.
  4. With cutoff (1/8)/2=1/16 at each look, the three-flip look cannot reject; the six-flip look rejects only six heads, probability 1/64. This is a valid but conservative finite-family allocation, not an unlimited optional-stopping guarantee.

Unadjusted either-look size 11/64; equally split Bonferroni two-look size 1/64.

Compare estimates and uncertainty rather than labels

Assume two independent centered normal estimators θ̂ⱼ∼N(θⱼ,SEⱼ²) of comparable effects on one scale, with genuinely known positive SEs. Their observed values are 0.30 with SE 0.10 and 0.25 with SE 0.14. Compare their two-sided zero-effect tests and the direct study difference.

  1. The individual normal statistics are 3 and 25/14≈1.785714. Their two-sided p-values are approximately 0.0026997961 and 0.0741455311.
  2. The estimated study difference is 0.30−0.25=0.05. Independence gives its variance 0.10²+0.14²=0.0296 and SE≈0.1720465053.
  3. The direct standardized difference is 0.05/0.1720465053≈0.2906190969. Different individual significance labels therefore do not establish a difference between the underlying effects.
  4. This comparison also does not establish practical equivalence. Replication assessment needs comparable estimands and designs, uncertainty and a prespecified scientific tolerance if close agreement is the claim.

The individual p-values differ in threshold label, while the direct difference is 0.05 with SE about 0.17205. Assess replication through the scientific design and uncertainty.

Try it yourself

  1. Eight independent true-null tests each have exact size 1/20. Find FWER and E[V].

    Show the answer and reasoning

    FWER=1−(19/20)⁸=8616436959/25600000000≈0.3365795687; E[V]=2/5.

    Independence gives the all-clear probability (19/20)⁸. The expected count is 8/20 by linearity, which would not itself require independence. Exact marginal sizes are needed for these equalities.

  2. All five true-null p-values equal one uniform U, and each is tested at 0.02. Find FWER.

    Show the answer and reasoning

    1/50.

    All rejections occur together exactly when U≤0.02. The family event therefore has the same probability as that one shared event, rather than the independent product formula.

  3. A prespecified family of 25 hypotheses uses Bonferroni at family level 0.05. Find its individual threshold and dependence requirement.

    Show the answer and reasoning

    Threshold 1/500=0.002; arbitrary dependence is permitted with valid true-null marginals.

    Divide α by m. The sum of all 25 allocated marginal error bounds is 0.05, and the union bound over the true subset is no larger. This is strong FWER control under the stated validity conditions.

  4. Apply Holm at α=0.05 to sorted p=(0.006,0.014,0.018,0.4).

    Show the answer and reasoning

    Reject the first three.

    The thresholds are 0.0125,1/60,0.025,0.05. The first three comparisons pass and the fourth fails. Holm stops at its first failure; a later comparison would not restart the rule.

  5. Apply BH at q=0.05 to sorted p=(0.011,0.019,0.028,0.039,0.2).

    Show the answer and reasoning

    Reject the first four.

    The line thresholds are 0.01,0.02,0.03,0.04,0.05. Rank four is the largest qualifying rank. The rank-one comparison fails, but that does not stop this step-up rule. The error guarantee still needs sufficient joint assumptions.

  6. Find BH adjusted values for p=(0.01,0.04,0.03), reported in that original order.

    Show the answer and reasoning

    (3/100,1/25,1/25).

    Sort to (0.01,0.03,0.04), form products (0.03,0.045,0.04), then take reverse cumulative minima (0.03,0.04,0.04). Restore original labels. Using each raw scaled product alone would lose step-up monotonicity.

  7. For m=3 and q=0.05, find H₃ and the first BY threshold.

    Show the answer and reasoning

    H₃=11/6 and first threshold 1/110.

    Compute q/(mH₃)=(1/20)/(11/2)=1/110. Rank i multiplies that threshold by i, so the last is 3/110=q/H₃. Valid marginals, rather than independence, are the essential input condition for BY’s arbitrary-dependence guarantee.

  8. If R=0 and V=0, what is the realised FDP?

    Show the answer and reasoning

    Zero.

    The definition V/(R∨1) uses denominator one when R=0. This convention avoids 0/0. It does not establish that the rule had adequate power or that the scientific nulls were all true.

  9. If every null is true, compare FDR and FWER for any procedure.

    Show the answer and reasoning

    They are equal.

    Then V=R, so FDP equals 1{R>0}. Its expectation is exactly the probability of any false rejection. This special identity does not imply the criteria agree in mixed truth configurations.

  10. If every null is false, what are V, FWER and FDR? Does this prove a rule has high power?

    Show the answer and reasoning

    All three are zero; power is not established.

    There are no true nulls to reject. A rule that rejects nothing still has these error values, while missing every real alternative. Error control and power describe different properties.

  11. An outcome has R=10 and V=2. Does FDR control at 0.05 forbid it?

    Show the answer and reasoning

    No. Its realised FDP is 1/5.

    FDR bounds E[V/(R∨1)] over repeated experiments, not every realised proportion. The theorem also does not identify which discoveries are false in an actual study, where V is hidden.

  12. Proposed fixed weights for weighted Bonferroni are (0.6,0.5) at α=0.05. Does the stated budget proof establish level 0.05?

    Show the answer and reasoning

    No; the weights sum to 1.1 and give only the nominal union bound 0.055.

    The allocation requirement is Σwᵢ≤1. A specific joint model might be more conservative, but this fixed-budget proof alone does not establish the promised level. Outcome-informed rescaling would need its own justification.

  13. Allocate αₜ=0.05/[t(t+1)] at every predetermined positive-integer look. Find the total through look ten and over all looks.

    Show the answer and reasoning

    Through ten: 1/22. Forever: 1/20.

    Since 1/[t(t+1)]=1/t−1/(t+1), the first ten weights sum to 10/11 and the full series to one. Valid fixed-look p-values then give the countable union bound without an independence requirement.

  14. Training data choose one of seven candidates. Independent fresh all-null data supply an exactly uniform conditional p-value for the chosen candidate. What is its probability of being at most 0.05?

    Show the answer and reasoning

    1/20.

    Condition on the training choice, apply the fresh conditional validity, then average over that choice. Only the selected fresh hypothesis is being tested here. Reusing a training p-value or searching again among seven fresh p-values would change the argument.

  15. Ten independent exact null p-values are inspected and only their minimum 0.004 is reported. Find its independent-search adjusted tail.

    Show the answer and reasoning

    1−(249/250)¹⁰=37467600342931559689999/953674316406250000000000≈0.0392876265.

    The minimum has cumulative distribution 1−(1−u)¹⁰ under this declared all-null independent search. The raw selected 0.004 does not retain an untouched uniform-null interpretation for the complete reporting procedure.

  16. Is nonnegative pairwise correlation enough to declare arbitrary p-values PRDS?

    Show the answer and reasoning

    No.

    PRDS concerns conditional probabilities of all coordinatewise increasing sets. Pairwise covariance signs alone do not specify those joint conditional probabilities. A particular joint model or transformed-test construction must establish the required sufficient condition.

  17. A shared script reproduces the same wrong data join and the same estimates. What has the rerun established?

    Show the answer and reasoning

    Repeatability under those inputs and code, rather than scientific correctness.

    A reproducible computation can preserve a defect. Independent data-lineage, assumption, mathematical and code checks address other evidence; new-data replication is another question again.

  18. Two independent all-null singleton families each use a size-0.05 test. If their discoveries are pooled, find pooled FDR.

    Show the answer and reasoning

    39/400=0.0975.

    Every null is true, so pooled FDR=FWER. Independence gives the union probability 1−0.95². Separate family guarantees do not automatically become one pooled level-0.05 guarantee.

What to carry forward

  • Define the scientific family and valid p-value experiment before adjustment. Hidden truth counts belong to a model or simulation, not an observed p-value table.
  • FWER controls the chance of any false rejection. FDP is a realised ratio and FDR its expectation; these criteria and positive FDR remain distinct.
  • Bonferroni, weighted allocation and Holm provide strong familywise control under their valid-input conditions without independence.
  • BH is step-up and requires sufficient joint conditions for its FDR guarantee. PRDS is a conditional joint property; BY permits arbitrary dependence through its harmonic correction.
  • Adjustment over the declared family does not automatically cover arbitrary selected subsets, pooled families or unbounded repeated fixed-time testing.
  • Preregistration, computational reproducibility and new-data replication supply different evidence. Preserve plans, deviations, data lineage, code and scientific measurement assumptions.
  • Report full-family decisions with effect estimates, uncertainty and the actual design. Threshold labels and adjusted p-values do not establish practical importance, equivalence or causal identification.

References

Sources for the concepts and teaching approaches in this article.

  1. Bonferroni’s methodNIST/SEMATECHOfficial handbookitl.nist.govRead source
  2. A Simple Sequentially Rejective Multiple Test ProcedureSture Holm; Scandinavian Journal of Statistics; university-hosted originalOriginal paper · PDFime.usp.brRead source
  3. Controlling the False Discovery Rate: a Practical and Powerful Approach to Multiple TestingYoav Benjamini and Yosef Hochberg; university-hosted originalOriginal paper · PDFstat.purdue.eduRead source
  4. The control of the false discovery rate in multiple testing under dependencyYoav Benjamini and Daniel Yekutieli; author/university copyOriginal paper · PDFmath.tau.ac.ilRead source
  5. Adjust P-values for Multiple ComparisonsR Core Team; official stats documentationOfficial software documentationstat.ethz.chRead source
  6. Statement on Statistical Significance and P-ValuesAmerican Statistical AssociationOfficial statement · PDFamstat.orgRead source
  7. The preregistration revolutionBrian A. Nosek, Charles R. Ebersole, Alexander C. DeHaven, David T. MellorOriginal methodological paperpmc.ncbi.nlm.nih.govRead source
  8. Reproducibility and Replicability in Science: SummaryNational Academies of Sciences, Engineering, and MedicineOfficial consensus reportnationalacademies.orgRead source
  9. Time-uniform, nonparametric, nonasymptotic confidence sequencesSteven R. Howard, Aaditya Ramdas, Jon McAuliffe, Jasjeet SekhonAuthor research paperarxiv.orgRead source
  10. Promoting an open research cultureBrian A. Nosek and TOP Guidelines collaboratorsOriginal methodological paperpmc.ncbi.nlm.nih.govRead source
  11. A direct approach to false discovery ratesJohn D. Storey; author-laboratory copy at Princeton UniversityPrimary methodological paper · PDFgenomics.princeton.eduRead source