Estimate the signal by one-dimensional total variation denoising, which penalizes adjacent differences rather than the constant level:
This is a fused Lasso objective. Its L1 norm penalty makes many adjacent differences exactly zero, producing a piecewise-constant fit. For change-point detection, estimate the locations by . The tuning parameter controls the strength of the penalty; it can be chosen, for example, using a validation criterion appropriate to the noise model.
For a general family of elementary nulls , the closed testing procedure forms every nonempty intersection and gives it a local test of level . Reject precisely when all intersections with are locally rejected. This gives strong control of the familywise error rate: let be the indices of the true elementary nulls. If is empty there is no false rejection. Otherwise, rejecting any with requires rejection of the true intersection . Its local test has rejection probability at most , hence
This proof of closed-testing control of the familywise error rate needs no independence of the tests.
For the interval procedure, a true tested interval is contained in one maximal constant block . If , the intervals over which takes its maximum are a subset of those used for , so . Therefore rejection of a true forces rejection of its containing block. Conversely, a rejected block is itself a rejected true null.
There is a small indexing issue in the PDF: its testing family excludes singleton intervals, while may contain singleton blocks. Put . Every true tested interval lies in one of these blocks, so the exact statement, using only hypotheses defined in the paper, is
Singleton blocks contain no eligible tested interval and can be ignored. Equivalently, one may define their nulls as never rejected.
For each , the term occurs in the maximum defining , giving . A valid p-value is a super-uniform random variable under its null, so for ,
The union bound and disjointness of the constant blocks now give
This establishes weighted interval testing for a piecewise-constant mean even when the interval p-values are dependent. Values do not affect rejection at levels at most one.
The familywise error rate is
The Bonferroni correction rejects when . Since a valid p-value is super-uniform under its null, the union bound gives
No independence assumption is needed.
For the closed testing procedure, form the intersection hypothesis for every nonempty and choose a level- local test for each . Reject exactly when every with is rejected by its local test. If any true is rejected, then the intersection of all true nulls is rejected. Since its local test has significance level ,
This is the closed-testing control of the familywise error rate.
Write . Procedure (A) is the Weighted Bonferroni correction: it rejects when . Therefore
Procedure (B) is the Weighted Holm step-down procedure. Let be the first rank in the ordering whose hypothesis is a true null, and put . If any true null is rejected, the procedure reaches step and
because every true null remains among ranks . Hence
and another union bound gives FWER at most .
At step , procedure (B) divides by the total weight still under consideration, which is no larger than . Its critical values therefore increase as hypotheses are rejected. Moreover, if procedure (A) would reject a hypothesis, every earlier ordered also passes the initial threshold, so procedure (B) reaches and rejects it. Thus (B) contains every rejection of (A) and can make strictly more rejections while retaining the same strong FWER control.
For a two-by-two contingency table, Fisher's exact test conditions on both row totals and both column totals. Under the null of no association, the upper-left count then has the hypergeometric distribution
where and are the first row and column totals. A one-sided p-value sums the appropriate hypergeometric tail; a common two-sided p-value sums the probabilities of all feasible tables no more likely under the null than the observed table. Because the conditional distribution is discrete, the p-value is super-uniform random variable rather than generally exactly uniform.