Harmonic mean p-value


The harmonic mean p-value is a statistical technique for addressing the multiple comparisons problem that controls the strong-sense family-wise error rate. It improves on the power of Bonferroni correction by performing combined tests, i.e. by testing whether groups of p-values are statistically significant, like Fisher's method. However, it avoids the restrictive assumption that the p-values are independent, unlike Fisher's method. Consequently, it controls the false positive rate when tests are dependent, at the expense of less power when tests are independent. Besides providing an alternative to approaches such as Bonferroni correction that controls the stringent family-wise error rate, it also provides an alternative to the widely-used Benjamini-Hochberg procedure for controlling the less-stringent false discovery rate. This is because the power of the HMP to detect significant groups of hypotheses is greater than the power of BH to detect significant individual hypotheses.
There are two versions of the technique: [|direct interpretation of the HMP] as an approximate p-value and a procedure for transforming the HMP into an asymptotically exact p-value. The approach provides a [|multilevel test procedure] in which the smallest groups of p-values that are statistically significant may be sought.

Direct interpretation of the harmonic mean ''p''-value

The weighted harmonic mean of p-values is defined as where are weights that must sum to one, i.e.. Equal weights may be chosen, in which case.
In general, interpreting the HMP directly as a p-value is anti-conservative, meaning that the false positive rate is higher than expected. However, as the HMP becomes smaller, under certain assumptions, the discrepancy decreases, so that direct interpretation of significance achieves a false positive rate close to that implied for sufficiently small values.
The HMP is never anti-conservative by more than a factor of for small, or for large. However, these bounds represent worst case scenarios under arbitrary dependence that are likely to be conservative in practice. Rather than applying these bounds, asymptotically exact p-values can be produced by transforming the HMP.

Asymptotically exact harmonic mean ''p''-value procedure

shows that an asymptotically exact p-value,, can be computed from the HMP, , using the formula Subject to the assumptions of generalized central limit theorem, this transformed p-value becomes exact as the number of tests,, becomes large. The computation uses the Landau distribution, whose density function can be writtenThe test is implemented by the p.hmp command of the harmonicmeanp ; a is available online.
Equivalently, one can compare the HMP to a table of critical values. The table illustrates that the smaller the false positive rate, and the smaller the number of tests, the closer the critical value is to the false positive rate.
100.0400.00940.00099
1000.0360.00920.00099
1,0000.0340.00900.00099
10,0000.0310.00880.00098
100,0000.0290.00860.00098
1,000,0000.0270.00840.00098
10,000,0000.0260.00830.00098
100,000,0000.0240.00810.00098
1,000,000,0000.0230.00800.00097

Multiple testing via the multilevel test procedure

If the HMP is significant at some level for a group of p-values, one may search all subsets of the p-values for the smallest significant group, while maintaining the strong-sense family-wise error rate. Formally, this constitutes a closed-testing procedure.
When is small, the following multilevel test based on direct interpretation of the HMP controls the strong-sense family-wise error rate at level approximately
  1. Define the HMP of any subset of the p-values to be
  2. Reject the null hypothesis that none of the p-values in subset are significant if, where.
An asymptotically exact version of the above replaces in step 2 with where gives the number of p-values, not just those in subset.
Since direct interpretation of the HMP is faster, a two-pass procedure may be used to identify subsets of p-values that are likely to be significant using direct interpretation, subject to confirmation using the asymptotically exact formula.

Properties of the HMP

The HMP has a range of properties that arise from generalized central limit theorem. It is:
When the HMP is not significant, neither is any subset of the constituent tests. Conversely, when the multilevel test deems a subset of p-values to be significant, the HMP for all the p-values combined is likely to be significant; this is certain when the HMP is interpreted directly. When the goal is to assess the significance of individual p-values, so that combined tests concerning groups of p-values are of no interest, the HMP is equivalent to the Bonferroni procedure but subject to the more stringent significance threshold .
The HMP assumes the individual p-values have standard uniform distributions when their null hypotheses are true. Large numbers of underpowered tests can therefore harm the power of the HMP.
While the choice of weights is unimportant for the validity of the HMP under the null hypothesis, the weights influence the power of the procedure. Supplementary Methods §5C of and an online consider the issue in more detail.

Bayesian interpretations of the HMP

The HMP was conceived by analogy to Bayesian model averaging and can be interpreted as inversely proportional to a model-averaged Bayes factor when combining p-values from likelihood ratio tests.

The harmonic mean rule-of-thumb

reported an empirical relationship between the Bayes factor and the p-value from a likelihood ratio test. For a null hypothesis nested in a more general alternative hypothesis he observed that often,where denotes the Bayes factor in favour of versus Extrapolating, he proposed a rule of thumb in which the HMP is taken to be inversely proportional to the model-averaged Bayes factor for a collection of tests with common null hypothesis:For Good, his rule-of-thumb supported an interchangeability between Bayesian and classical approaches to hypothesis testing.

Bayesian calibration of ''p''-values

If the distributions of the p-values under the alternative hypotheses follow Beta distributions with parameters, a form considered by Sellke, Bayarri and Berger, then the inverse proportionality between the model-averaged Bayes factor and the HMP can be formalized aswhere
The approximation works best for well-powered tests.

The harmonic mean ''p''-value as a bound on the Bayes factor

For likelihood ratio tests with exactly two degrees of freedom, Wilks' theorem implies that, where is the maximized likelihood ratio in favour of alternative hypothesis and therefore, where is the weighted mean maximized likelihood ratio, using weights Since is an upper bound on the Bayes factor,, then is an upper bound on the model-averaged Bayes factor:While the equivalence holds only for two degrees of freedom, the relationship between and and therefore behaves similarly for other degrees of freedom.
Under the assumption that the distributions of the p-values under the alternative hypotheses follow Beta distributions with parameters and that the weights the HMP provides a tighter upper bound on the model-averaged Bayes factor:a result that again reproduces the inverse proportionality of Good's empirical relationship.