Optimal control of false discovery criteria in the two-group model
Ruth Heller, Saharon Rosset

TL;DR
This paper develops optimal multiple testing procedures for controlling FDR and pFDR in the two-group model, even with dependent test statistics, by thresholding the local false discovery rate with data-dependent thresholds.
Contribution
It derives the first optimal policies for FDR and pFDR control in the two-group model allowing dependence, with an efficient algorithm for large-scale problems.
Findings
Optimal policies threshold locFDR with data-dependent thresholds.
Algorithms efficiently handle thousands of hypotheses.
Procedures demonstrated on gene expression data.
Abstract
The highly influential two-group model in testing a large number of statistical hypotheses assumes that the test statistics are drawn independently from a mixture of a high probability null distribution and a low probability alternative. Optimal control of the marginal false discovery rate (mFDR), in the sense that it provides maximal power (expected true discoveries) subject to mFDR control, is known to be achieved by thresholding the local false discovery rate (locFDR), i.e., the probability of the hypothesis being null given the set of test statistics, with a fixed threshold. We address the challenge of controlling optimally the popular false discovery rate (FDR) or positive FDR (pFDR) rather than mFDR in the general two-group model, which also allows for dependence between the test statistics. These criteria are less conservative than the mFDR criterion, so they make more rejections…
| Procedure | TP | FDR | pFDR | mFDR | |||
|---|---|---|---|---|---|---|---|
| 0.1 | -1.5 | OMT-FDR | 29.763 | 0.050 | 0.841 | 0.843 | 0.940 |
| OMT-pFDR | 12.488 | 0.045 | 0.051 | 0.824 | 0.118 | ||
| OMT-mFDR | 4.062 | 0.049 | 0.050 | 0.050 | 0.013 | ||
| Oracle BH | 6.123 | 0.050 | 0.056 | 0.066 | 0.113 | ||
| 0.1 | -2 | OMT-FDR | 60.308 | 0.050 | 0.065 | 0.079 | 0.230 |
| OMT-pFDR | 59.755 | 0.050 | 0.050 | 0.073 | 0.000 | ||
| OMT-mFDR | 56.403 | 0.050 | 0.050 | 0.050 | 0.000 | ||
| Oracle BH | 57.277 | 0.050 | 0.050 | 0.052 | 0.000 | ||
| 0.1 | -2.5 | OMT-FDR | 179.468 | 0.050 | 0.050 | 0.051 | 0.000 |
| OMT-mFDR | 178.992 | 0.050 | 0.050 | 0.050 | 0.000 | ||
| Oracle BH | 179.346 | 0.050 | 0.050 | 0.050 | 0.000 | ||
| 0.3 | -1.5 | OMT-FDR | 167.662 | 0.050 | 0.181 | 0.184 | 0.723 |
| OMT-pFDR | 155.652 | 0.050 | 0.050 | 0.166 | 0.000 | ||
| OMT-mFDR | 117.088 | 0.050 | 0.050 | 0.050 | 0.000 | ||
| Oracle BH | 118.419 | 0.050 | 0.050 | 0.051 | 0.000 | ||
| 0.3 | -2 | OMT-FDR | 500.0330 | 0.0500 | 0.0500 | 0.0504 | 0.0000 |
| OMT-mFDR | 499.3813 | 0.0500 | 0.0500 | 0.0500 | 0.0000 | ||
| Oracle BH | 499.7893 | 0.0500 | 0.0500 | 0.0501 | 0.0000 | ||
| 0.3 | -2.5 | OMT-FDR | 927.8398 | 0.0500 | 0.0500 | 0.0501 | 0.0000 |
| OMT-mFDR | 927.7303 | 0.0500 | 0.0500 | 0.0500 | 0.0000 | ||
| Oracle BH | 927.8105 | 0.0500 | 0.0500 | 0.0501 | 0.0000 |
| FDR | pFDR | mFDR | TP | FDR | pFDR | mFDR | TP | FDR | pFDR | mFDR | TP | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OMT-FDR | .049 | .159 | .162 | 169 | .050 | .055 | .059 | 263 | .050 | .050 | .051 | 386 |
| marg-FDR | .050 | .176 | .179 | 167 | .051 | .178 | .181 | 169 | .051 | .181 | .185 | 169 |
| ind-FDR | .052 | .177 | .180 | 173 | .056 | .179 | .183 | 185 | .061 | .183 | .187 | 199 |
| OMT-pFDR | .051 | .051 | .147 | 166 | .050 | .050 | .058 | 263 | .050 | .050 | .051 | 386 |
| marg-pFDR | .050 | .050 | .163 | 158 | .049 | .049 | .164 | 154 | .051 | .051 | .168 | 159 |
| ind-pFDR | .052 | .052 | .163 | 163 | .053 | .053 | .166 | 168 | .059 | .059 | .171 | 183 |
| OMT-mFDR | .050 | .050 | .050 | 130 | .050 | .050 | .050 | 261 | .050 | .050 | .050 | 386 |
| marg-mFDR | .050 | .050 | .050 | 121 | .050 | .050 | .050 | 121 | .050 | .050 | .050 | 121 |
| ind-mFDR | .050 | .050 | .050 | 120 | .050 | .050 | .050 | 121 | .050 | .050 | .050 | 121 |
| est-mFDR | .050 | .050 | .050 | 120 | .050 | .050 | .050 | 120 | .050 | .050 | .050 | 120 |
| adaptive BH | .050 | .050 | .051 | 122 | .050 | .050 | .052 | 122 | .050 | .050 | .052 | 122 |
| BH | .035 | .035 | .037 | 73 | .035 | .035 | .037 | 72 | .035 | .035 | .037 | 72 |
| estimation method | Procedure | TP | FDR | pFDR | mFDR | ||
|---|---|---|---|---|---|---|---|
| 0.1 | non-conservative | est-OMT-FDR | 113.144 | 0.122 | 0.141 | 0.281 | 0.133 |
| est-OMT-pFDR | 103.826 | 0.108 | 0.108 | 0.253 | 0.000 | ||
| est-mFDR | 49.769 | 0.045 | 0.045 | 0.048 | 0.001 | ||
| Adaptive BH | 56.875 | 0.051 | 0.051 | 0.053 | 0.000 | ||
| 0.1 | conservative | est-OMT-FDR | 68.100 | 0.060 | 0.060 | 0.066 | 0.008 |
| est-OMT-pFDR | 67.740 | 0.059 | 0.059 | 0.066 | 0.000 | ||
| est-mFDR | 47.199 | 0.042 | 0.042 | 0.043 | 0.000 | ||
| Adaptive BH | 53.833 | 0.048 | 0.048 | 0.050 | 0.000 | ||
| 0.3 | non-conservative | est-OMT-FDR | 499.887 | 0.049 | 0.049 | 0.050 | 0.000 |
| est-mFDR | 491.689 | 0.048 | 0.048 | 0.048 | 0.000 | ||
| Adaptive BH | 495.706 | 0.049 | 0.049 | 0.049 | 0.000 | ||
| 0.3 | conservative | est-OMT-FDR | 496.375 | 0.049 | 0.049 | 0.049 | 0.000 |
| est-mFDR | 387.820 | 0.036 | 0.036 | 0.036 | 0.000 | ||
| Adaptive BH | 452.535 | 0.043 | 0.043 | 0.043 | 0.000 |
| est-OMT-FDR | est-mFDR | adaptive BH | BH | |
|---|---|---|---|---|
| # up regulated | 2409 | 2305 | 2264 | 2211 |
| # up regulated in “set of confirmed discoveries” | 2276 | 2219 | 2189 | 2145 |
| # down regulated | 2023 | 1897 | 1837 | 1775 |
| # down regulated in “set of confirmed discoveries” | 1815 | 1731 | 1699 | 1671 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
**Optimal control of false discovery criteria in the two-group model **
Ruth Heller, Department of Statistics and Operations Research, Tel-Aviv university, Tel-Aviv 6997801, Israel, E-mail: [email protected]
Saharon Rosset, Department of Statistics and Operations Research, Tel-Aviv university, Tel-Aviv 6997801, Israel, E-mail: [email protected]
Abstract. The highly influential two-group model in testing a large number of statistical hypotheses assumes that the test statistics are drawn independently from a mixture of a high probability null distribution and a low probability alternative. Optimal control of the marginal false discovery rate (mFDR), in the sense that it provides maximal power (expected true discoveries) subject to mFDR control, is known to be achieved by thresholding the local false discovery rate (locFDR), i.e., the probability of the hypothesis being null given the set of test statistics, with a fixed threshold. We address the challenge of controlling optimally the popular false discovery rate (FDR) or positive FDR (pFDR) rather than mFDR in the general two-group model, which also allows for dependence between the test statistics. These criteria are less conservative than the mFDR criterion, so they make more rejections in expectation. We derive their optimal multiple testing (OMT) policies, which turn out to be thresholding the locFDR with a threshold that is a function of the entire set of statistics. We develop an efficient algorithm for finding these policies, and use it for problems with thousands of hypotheses. We illustrate these procedures on gene expression studies.
Keywords: Multiple testing; False discovery rate; Positive FDR; Infinite linear programming; Large scale inference.
1 Introduction
In large scale inference problems, hundreds or thousands of hypotheses are tested in order to discover the set of non-null hypotheses. Such problems are ubiquitous in modern applications in medicine, genetics, particle physics, ecology, and psychology. Multiple testing procedures applied to these large scale problems should control for false discoveries, but they should not be over-conservative, since this limits the ability of scientists to make true discoveries. Thus it is natural to seek multiple testing procedures that control for false discoveries, while assuring as many discoveries as possible.
In order to guarantee that not too many false positives are among the discoveries, Benjamini and Hochberg, (1995) introduced the false discovery rate (FDR). This error measure gained tremendous popularity in large scale testing, as it was less stringent than traditional measures like the familywise error rate. Given a rejection policy, denote the (random) number of rejected null hypotheses by , and the number of falsely rejected hypotheses (true nulls) by . The FDR is
[TABLE]
The “two-group model”, first introduced by Efron et al., (2001), has been widely used in large scale inference problems (Efron et al.,, 2001; Genovese and Wasserman,, 2002; Storey,, 2003; Sun and Cai,, 2007; Efron,, 2008; Cai and Sun,, 2017). The model assumes that the observed test statistics are generated independently from the mixture model , where follows the Bernoulli() distribution, and indicates whether the null is true (h=0) or the alternative holds (h=1). Accordingly and represent the distribution of the test statistic under the null and alternative, respectively.
In this paper, we consider a more general setting, in which the test statistics can be dependent and differ in their marginal distributions. The more general setting has been used in Xie et al., (2011) for short range dependence. We denote this setting, for which the two-group model is a special case, as the “general two-group model”. As in the two-group model, the hypotheses states vector, , has entries sampled independently from the Bernoulli() distribution.But in our more general setting, the observed test statistics, , are sampled from the joint distribution given , so
Two measures that are similar to the FDR became popular within the framework of the two-group model. The pFDR was introduced in Storey, (2003). The marginal FDR (mFDR) was introduced in Genovese and Wasserman, (2002); Sun and Cai, (2007). Their formulas are:
[TABLE]
For the two-group model, if the rejection policy is a fixed subset of the real line, then the pFDR and mFDR have been shown to be equivalent (Storey,, 2003). Moreover, as , all three measures are equivalent (Benjamini,, 2008). Cai and Sun, (2017) claim that there is essentially no difference between the three measures in large-scale testing problems. They say the use of mFDR is mainly for technical considerations, since the ratio of two expectations is easier to handle. In this paper we show that for large values of there can still be important differences when aiming at FDR control , pFDR control, or mFDR control.
The test statistic that plays a central role for inference on which hypotheses are false is the locFDR, defined for the th hypothesis as , where is the joint density of given hypothesis state only, rather than the entire vector . The locFDR was originally introduced by Efron et al., (2001) for standard (i.i.d) two-group model, where it simplifies since . We denote it by and call it the marginal locFDR. Xie et al., (2011) showed that for the general two-group model, the policy which minimizes the marginal false non-discovery rate (mFNR), i.e., the expected number of non-null non-rejections divided by the expected number of non-rejections, with mFDR control, is to threshold the locFDR statistics with a fixed threshold under the general dependence setting, following the work of Sun and Cai, (2007) that showed this for the two-group model.
In this paper, we consider OMT with FDR or pFDR control in addition to mFDR control for the general two-group model. As Cai and Sun, (2017) have noted, since mFDR is the ratio of two expectations, it is easier to handle when seeking an optimal policy. However, is arguably the more fundamental quantity the investigator would like control over for finite . Therefore a rejection policy that guarantees control over in expectation, while maximizing the expected number of true rejections, can be very useful. We can write the problem of finding the OMT policy as an optimization problem. Briefly, for a family of hypotheses, let be the decision function when the vector of observed statistics is , so the th coordinate receives the value of one if the th null hypothesis is rejected, and zero otherwise. Let be the vector of ones. Then the number of rejected and falsely rejected hypotheses, respectively, are and We denote by the error rate for policy . We seek to maximize the expected number of true discoveries,
[TABLE]
subject to . The solutions to these problems we present in this paper can be extended to optimize other notions of power, e..g., to minimize the expectation of the loss functions considered in Sun and Cai, (2007) or the mFNR. Moreover, the mathematical and algorithmic developments can be easily adapted for developing the OMT policy for other error measures considered in the literature, such as (Storey,, 2007) and false discovery exceedance (FDX, where for , Lehmann and Romano, 2005). The chosen definition should capture the true “scientific” goal for inference and the type of discoveries we wish to make.
OMT problems in the general two-group model can be viewed as an infinite-dimensional optimization problem, seeking to maximize one integral (the power), subject to an integral constraint expressing the measure we want to control — FDR, mFDR, pFDR, or any other measure. In this paper we adopt this view and demonstrate that for the two-group model we can solve the resulting optimization problem and practically compute the optimal rejection policy for dimension in the thousands. Our main contributions are as follows.
We show (Theorem 2.1) that the OMT policy for FDR or pFDR control turns out to be thresholding the locFDR with a threshold that is a function of the entire set of statistics. This is true for any dependence structure, and is in contrast to the previously shown OMT policy for mFDR control (Sun and Cai,, 2007; Xie et al.,, 2011), where the threshold is fixed. 2. 2.
We provide efficient algorithms for finding the OMT policies (§ 3 and § 4), which are based on our formulation of the problem as an infinite integer optimization problem with a single constraint. For dependent test statistics, we address the additional computational challenge of computing the locFDR values. The infinite-dimensional formulation to finding OMT policies under frequentist strong control of measures like family-wise error rate (FWER) and FDR was applied recently in Rosset et al., (2018). In that setting, it was possible to solve only relatively small problems, and only under exchangeability assumptions, due to the complex constraint structure of strong control. In contrast, the structure of the two-group model, with a single constraint, and the computational shortcuts we introduce below, allow us to find OMT policies for practically any . 3. 3.
Via numerical investigations (§ 5), we show that: there is a huge potential power gain from incorporating known dependence into the OMT procedures; the power increase from controlling FDR and pFDR over mFDR can be non-negligible even for thousands of hypotheses; when the signal is weak, the OMT policy with pFDR control has a significantly lower probability of zero rejections than the OMT policy with FDR control, and the pFDR is (arguably) preferred over FDR to control optimally for the two-group model. We also demonstrate the potential usefulness of the methods to gene expression studies (§ 6).
2 Properties of OMT policies
For independent test statistics from the two-group model, Sun and Cai, (2007) showed that the OMT policy for mFDR control is to reject the hypotheses with , where
[TABLE]
Since and , it follows that
[TABLE]
Storey, (2003) used this observation to show that when the rejection policy is a fixed region of the real line, . Therefore, the optimal rule has a nice Bayesian interpretation: by reporting a hypothesis as non-null if , then the mFDR is the chance that a false discovery was made, since Since , and since the OMT policy with mFDR control is a fixed region of the real line, it follows that the OMT policy with mFDR control at level also controls the FDR and the pFDR at level . Therefore, the OMT policy with FDR or pFDR control will necessarily be at least as powerful as the OMT policy with mFDR control. Interestingly, for any number of hypotheses from the two-group model, the OMT policies with pFDR or FDR control necessarily differ from the OMT policy with mFDR control. This difference exists even if the probability of zero rejections is one, and will become clear from the algorithm for constructing the OMT policies with pFDR and FDR control in § 4. We formalize these interesting properties and few others in the following proposition.
Proposition 2.1**.**
For test statistics independently drawn from the two-group model, if the null and non-null distributions have positive densities with respect to the Lebesgue measure on their region of support, then:
, where is the expected number of true discoveries, for the OMT policy with level control of . 2. 2.
The OMT policy with mFDR control differs from the OMT policy with pFDR control. 3. 3.
* for the OMT policy with pFDR control.* 4. 4.
If the OMT policy with FDR control has probability zero of no rejections, then it coincides with the OMT policy with pFDR control.
See Appendix A for the proof.
Interestingly, the mFDR controlling procedure described above controls the mFDR at the nominal level even if the test statistics are dependent or differ in their marginal distributions, as expressed in the following simple result.
Proposition 2.2**.**
For test statistics drawn from the general two-group model, the procedure that rejects the hypotheses with , , satisfies .
Proof.
For a single coordinate in the vector of test statistics from the general two-group model,
[TABLE]
So all the expectations in (2.1) depend only on the marginal distributions of the test statistics, and therefore depends only on the marginal distributions of . The of the suggested procedure for test statistics drawn from the general two-group model is , so it follows directly from the definition of that this mFDR is bounded above by . ∎
If the test statistics from the general two-group model are dependent, thresholding the marginal locFDRs is not optimal for mFDR control. However, Xie et al., (2011) showed that the OMT policy for mFDR control is of the form for the true locFDR. We provide an alternative proof in § C. Our first key theoretical result is that the optimal FDR and pFDR controlling procedures also reject the hypotheses by thresholding the locFDRs.
Theorem 2.1**.**
Let be a vector of test statistics coming from the general two-group model. Then for , the OMT decision policy which satisfies and , is almost surely weakly monotone in the locFDR values:
[TABLE]
The proof of this theorem is also given in Appendix A.
In the next section we shall show that the threshold for rejection with optimal FDR or pFDR control depends on all the realized statistics. This is in contrast to the threshold for optimal mFDR control, which is fixed. More specifically, we shall show that the OMT policies with FDR or pFDR control are step-down procedures , in contrast with the single step procedure for controlling the mFDR optimally (see, e.g., Lehmann and Romano, 2005, for the distinction between step-down, step-up, and single step procedures).
3 Optimal procedures for FDR or pFDR control in the general two-group model
Given the selected power measure, the expected number of true positive findings, and false discovery measure to control , we can write the OMT problem as an infinite dimensional integer program,
[TABLE]
Let denote the joint distribution of the test statistics.
The objective is linear in :
[TABLE]
where the last inequality follows since and from the locFDR definition.
The constraint can also be expressed in terms of the locFDR values and :
[TABLE]
To simplify the notation, we employ in our FDR calculations the convention .
Denote by an optimal solution of this problem. As written, this is an infinite integer program, with an objective that is linear in but a constraint which is a non-linear function of . In this section, we prove that:
The optimal solution has a structure which allows us to write the constraint as a linear functional of (using Thm. 2.1 above). 2. 2.
Once the problem is written in this linear fashion, the infinite linear program relaxation of the infinite integer problem is guaranteed to have a solution that is integer almost everywhere (Lemma 3.1). 3. 3.
This infinite linear program is guaranteed to have zero duality gap, and hence its solution can be found by solving the Euler-Lagrange conditions, and a solution to these can be found via one-dimensional search (Lemma 3.2).
Taken together, these results establish a practical methodology to solve the general two-group FDR or pFDR control problem. In the next section, we discuss the algorithmic and computational aspects, establishing that this problem can be practically solved for high dimensional settings for the i.i.d two-group model, and in some important cases also for general two-group settings with dependence, yielding the optimal FDR or pFDR controlling policy.
We note that Lemmas 3.1 and 3.2 are similar in nature, and employ similar techniques, to results in our previous work on multiple testing under strong control (Rosset et al.,, 2018), although some of the important details differ. A major difference in details is the fact our decision rule is not necessarily symmetric in when the data is dependent. Another important distinction is that the infinite linear program in this work has only a single error constraint and can be solved practically for large , whereas in Rosset et al., (2018) it has error constraints and can be solved only for a very low dimension .
Theorem 2.1 demonstrates that for every the optimal policy rejects the set of hypotheses with the smallest locFDR, up to a threshold:
With this characterization of the optimal solution, we can rewrite the constraint in Problem (3.1,3.2) so it is linear in . To simplify notation, we replace with a version which operates on the sorted locFDR in increasing order. Explicitly, given let be the sorting permutation, so then we define Given the characterization of above, then for every we can find such that
We can therefore write:
[TABLE]
where , and denotes order statistic, i.e. the th smallest locFDR value. See Appendix B for details of the derivation of the formulation (3.5). Using this representation, the pFDR constraint in (3.4) also has a linear representation:
[TABLE]
To emphasize the linearity of the objective and constraints, and simplify the followup, we rewrite our formulation in a generic form:
[TABLE]
where are functions of the locFDR order statistics, and is a fixed constant. Specifically, for : ; ; ; . For , the only differences are that and .
We now consider the relaxed linear program without the integer requirement on , by writing the same problem, except optimizing over :
[TABLE]
To analyze this problem, we consider its Euler-Lagrange (EL) necessary optimality conditions (Korn and Korn,, 2000). We derive the EL conditions for this problem in Appendix A, and also show there that they can be rephrased as requiring the following to hold almost everywhere for optimality, in addition to the (primal feasibility) constraints of Problem (3.8):
[TABLE]
where and are non-negative Lagrange multiplies. In analogy to the Karush-Kuhn-Tucker (KKT) conditions in finite convex optimization, we can term condition (3.9) the stationarity condition, and conditions (3.10–3.13) the complementary slackness conditions.
The following result clarifies that for this problem, we can solve the linear program relaxation instead of the integer program, and get an integer solution:
Lemma 3.1**.**
For test statistics drawn from the general two-group model, assume the following non-redundancy condition:
[TABLE]
Then any solution to the EL conditions (3.9)–(3.13) is integer almost everywhere on .
Note that the non-redundancy condition Eq. (3.14) is very mild, as it is satisfied whenever the distribution of is continuous and are non-linear functions, which is the case in all standard applications.
Our next result shows that for our problem, the EL conditions are in fact not only necessary, but also sufficient (like the KKT conditions in finite linear programs), and we can thus find the infinite linear program solution by finding any solution that complies with these conditions.
Lemma 3.2**.**
The infinite linear program (3.8) has zero duality gap, and therefore the conditions (3.9)–(3.13) together with primal feasibility are also sufficient, and a solution complying with these conditions is optimal.
For brevity, we defer explicit derivation of the dual together with the proof to Appendix A.
Putting our results together, we obtain our an explicit characterization of the OMT solution to our problems of interest:
Theorem 3.1**.**
For test statistics drawn from the general two-group model, an optimal solution to Problem (3.1,3.2) can be found by solving the EL conditions (3.9)–(3.13) together with primal feasibility of the infinite linear program (3.8).
We next show how this can be used to efficiently solve high-dimensional multiple testing problem with FDR or pFDR control for the two-group model.
4 Algorithm
We first characterize a generic algorithm to solve the OMT problem with FDR or pFDR control. We then show how to efficiently implement this approach for high dimensional instances of the problem.
Given a candidate Lagrange multiplier , and an efficient method for calculating locFDR values , for , define: . For and defined for the FDR and pFDR constraints, is as follows:
[TABLE]
Denote by a solution which complies with (3.9) and (3.11)–(3.13) for this value of . It is easy to confirm that this dictates that almost surely:
[TABLE]
Now we have to ensure that primal feasibility and complementary slackness for hold, in other words find such that the following holds:
[TABLE]
It is easy to confirm that if we find such a solution, then it is feasible, it complies with conditions (3.9)–(3.13), and it is obviously binary. Thus, finding the optimal solution amounts to searching the one-dimensional space of values for a solution of Eq. (4.3), using the characterization in Eqs. (4.1), (4.2).
When naively implemented, the calculation in Eqs. (4.1),(4.2) requires operations to calculate all partial sums. However we can rephrase it using a recursive representation to require only calculations. We first calculate, in decreasing order:
[TABLE]
and then, in increasing order:
[TABLE]
We see from the algorithm that the OMT procedure with FDR control starts by determining whether the hypothesis with the smallest locFDR can be rejected, and proceeds to decide whether to reject the hypothesis with the second smallest locFDR only if the decision at the first step was to reject (i.e., ). Proceeding similarly, only if the hypothesis with the th smallest locFDR is rejected, the hypothesis with the th smallest locFDR is tested, for . Thus, it is a step-down procedure (Lehmann and Romano,, 2005). In contrast, the OMT procedure with mFDR control is a single step procedure since each hypothesis is rejected if its locFDR is less than a common cut-off value.
Implementing the algorithm allows us to find optimal solutions to two-group FDR problems with many thousands of hypotheses in minutes of CPU, as illustrated in § 5 and § 6.
4.1 Calculating locFDR values under dependence
We first note that under the standard two-group model with i.i.d assumptions, calculating requires calculations, and thus does not increase the complexity of the algorithm above.
Under general (known) dependence, the calculation of the locFDR involves calculating the terms and (or simply ). A naive calculation requires integrating over all possible allocations of the vector for example:
[TABLE]
where is the known joint distribution of the test statistics under the configuration Even assuming the calculation of itself is easy, the summation makes this impossible for large
We discuss two dependence structures where it is possible to design more efficient algorithms:
- •
Block dependence: In this setting, the hypotheses are partitioned into blocks, with if do not belong to the same block. As we show below, in the setting we can calculate the set of locFDRs in complexity that depends exponentially on the size of the biggest block, and only linearly on This block structure is often assumed in various applications (REFs), and is the example we study in detail in § 5.2 below.
- •
Equi-correlated setting: This refers to the specific setting where the distributions under both the null and alternative are normal with the same variance, and all hypotheses are dependent with an equal correlation for all pairs. In this setting we can design a highly efficient specialized algorithm that requires only operations to calculate all locFDRs. We present it in § E.
For the block dependence setting, assume we have a partition into blocks such that and denote the size of block by Then it is easy to see that the joint distributions we are interested in factor due to independence, for example, assume WLOG then we have
[TABLE]
The same product as in the above display also appears in and so we can combine them to show that the calculation of the locFDR depends only on its dependence block (still assuming ):
[TABLE]
The denominator can clearly be calculated via evaluations of and is fixed for all A naive calculation of the numerator for all requires evaluations. We note that the evaluations can be done only once for each and stored with memory.
Overall, assuming the evaluation of for a block of size is of complexity (as for a multivariate Gaussian with known covariance structure), the total complexity of calculating all locFDRs in a block design with blocks, each of size is
5 Numerical Examples
We compare the performance of the OMT procedure with FDR control (henceforth, OMT-FDR) and the OMT procedure with positive FDR control (henceforth, OMT-pFDR), against two natural competitors: the OMT procedure with mFDR control (henceforth, OMT-mFDR, Xie et al., 2011), and the oracle BH procedure, which applies the BH procedure assuming the probability of a null hypothesis is known (so the threshold for significance of the th largest -value is instead of the BH threshold , Benjamini et al., 2006). In § 5.1 we examine the case that the test statistics are independent; in § 5.2 we examine dependence settings, in which case we also compare the OMT procedures with the misspecified procedures that find the OMT policies assuming the test statistics are independent (termed ind-Err when aimed at Err control, where Err is FDR, pFDR, or mFDR); in § 5.3 we examine the effect of estimating the mixture parameters from the data. In § 5.2 and § 5.3 we also compare with the BH procedure and with the adaptive procedure suggested in Sun and Cai, (2007), which is computationally simpler and more intuitive than OMT-mFDR, and therefore quite popular for large scale inference. This procedure, termed here est-mFDR, first orders the estimated marginal locFDRs, , and then rejects the hypotheses with smallest estimated marginal locFDRs, where . All simulations are carried out at the nominal level for the chosen criterion (mFDR, FDR or pFDR).
5.1 The independent setting
We generate test statistics from the following mixture model: with probability , is ; with probability , is with . We fix hypotheses, and experiment with a range of values for .
Our results are summarized in Table 1. As expected, . The gain in power with the novel procedures (OMT-FDR, OMT-pFDR) is small when the mFDR of the novel procedures is only slightly above the nominal level. However, when the gain is large, the mFDR of the novel procedures can be large. The mFDR of the OMT-FDR and OMT-pFDR procedures is above 0.16 for , and the power gain over OMT-mFDR is more than 30%. It is above 0.07 for , and the gain in power is at least 4%. It is close to the nominal level in the three other settings and the power gain is negligible. The power gain is due to the tendency of FDR and pFDR controlling policies to make very few or very many rejections with nonnegligible probability when the signal is weak or rare, and this erratic behaviour results in high and mFDR. Interestingly, when the power gain is large, the FDR of the OMT-mFDR procedure is not much smaller than the nominal level. So the OMT-mFDR has lower power, but approximately the same FDR level, as OMT-FDR. The Oracle BH procedure has FDR level identical to the nominal level, as expected, and its mFDR is only slightly above the nominal level except in the weakest setting with , where it is inflated to be 0.066.
The last column in Table 1 demonstrates clearly where OMT-FDR and OMT-pFDR differ. In order to control the FDR, the OMT-FDR procedure either makes no rejections, or makes many rejections, when the signal is weak. As a consequence, the false discovery proportion (FDP) is either zero or much higher than the nominal level. This is perhaps an unattractive behavior of the OMT-FDR procedure. As the signal strengthens, the probability of no rejections decreases for OMT-FDR, and its policy approaches that of OMT-pFDR. Since (arguably) pFDR is a more appropriate error measure to control than FDR for the two-group model, the more attractive OMT-pFDR policy may be preferred over OMT-FDR.
5.2 The dependent setting
We generate the test statistics from the two-group model, with a multivariate normal distribution with mean and a block diagonal covariance matrix. Within each block we experiment with a range of values for , the symmetric correlation.
Our results are summarized in Table 2. As correlation increases the advantage of incorporating dependence into the rule increases, and the power gain can be vary large. In the two settings where at least in half the blocks the correlation is 0.5, the power increases of OMT-FDR, OMT-pFDR, and OMT-mFDR over ind-FDR, ind-pFDR, and ind-mFDR, respectively, is at least 40%. As expected from Proposition 2.2, ind-mFDR maintains the nominal mFDR level of 5%. The procedures in the last three rows are also robust to deviations from independence. However, the misspecified policies that ignore dependence for FDR and pFDR control (ind-FDR and ind-pFDR) have an inflated error, which is at most 6.1% in our settings. A comparison of FDR, pFDR and mFDR policies reveals that the power gain of FDR and pFDR policies over the respective mFDR policy is large when FDP is variable, which is manifested in the high mFDR levels (15%–19%). As in the set of simulations with independent test statistics, we find that the variation in FDP is greater with FDR control than with pFDR control policies.
5.3 The effect of estimation of the mixture components in the two-group model
In practice, the distributions , and the mixture proportion are typically unknown. The estimation of the marginal density of the -scores and of can be difficult, and there are many different approaches. We shall limit our investigation to fitting a bivariate mixture of normals using the R package mixfdr available from CRAN (Muralidharan,, 2010). The estimation is done using the EM algorithm with a penalization via a Dirichlet prior on . Estimation of the fraction of nulls is most conservative if the Dirichlet prior parameters are (1,0). In addition to this prior, we also examined the results with the Dirichlet prior parameters , where is estimated by the method of Jin and Cai, (2007), recommended in Sun and Cai, (2007).
Our results are summarized in Table 3. As in the known distribution case, est-OMT-FDR has the most power, with est-OMT-pFDR a close second, even though it is no longer a necessary guarantee since the rejection region is computed using the estimated parameters from the data. For example, with the procedure est-OMT-FDR (which coincides with est-OMT-pFDR) has an FDR (which coincides with pFDR) below the nominal level, and compared with est-mFDR, it rejects few more hypotheses on average if the non-conservative method is used for estimating the fraction of nulls, and many more hypotheses if the conservative method is used. However, the est-OMT-FDR can have an inflated FDR level when the fraction of nulls is fairly small (making the estimation problem more difficult). This problem is present to a lesser degree with est-OMT-pFDR. With : the procedure est-OMT-FDR has an FDR level of 0.12 if the non-conservative method is used for estimating the fraction of nulls, and 0.06 if the conservative method is used; the procedure est-OMT-pFDR has a pFDR level of 0.11 if the non-conservative method is used for estimating the fraction of nulls, and 0.06 if the conservative method is used.
6 Gene expression data analysis
We illustrate the utility of the novel procedures in the context of an application to gene expression studies. The goal of gene expression studies is to identify the genes that are associated with a trait of interest. For this purpose, the gene expression and the traits of individuals are collected.
In this section, we provide our re-analysis of a meta-analysis of gene expression studies described in Shah et al., (2016), using our novel est-OMT-FDR procedure (which coincides with est-OMT-pFDR) and the competitors est-mFDR, adaptive BH, and BH. In § D we analyzed 20 additional gene-expression studies using the same procedures. Our analyses demonstrate clearly that the novel procedure tends to make the largest number of rejections. Of course, having a larger number of rejections does not guarantee having a larger number of true rejections. We chose the example from Shah et al., (2016) since it contained both a discovery and a validation meta-analysis study, so we could combine these to form a set of “confirmed discoveries”. A comparison of the rejections by each method with the confirmed discoveries suggests that est-OMT-FDR has more true discoveries while still maintaining a low false discovery proportion. All analyses can be reproduced using our code available from https://github.com/ruheller/OMT2GroupModel. Specifics follow.
Shah et al., (2016) carried out a primary meta-analysis of four studies of ulcerative colitis, and they reported the primary meta-analysis -values for up-regulation, and separately, down-regulation, of genes. Using the BH procedure on the meta-analysis -values, 2211 and 1775 genes with higher or lower expression, respectively, in ulcerative colitis compared with healthy controls, were detected. Shah et al., (2016) also carried out a follow-up meta-analysis of four additional studies of ulcerative colitis. Finally, they carried out a replication analysis that showed a high concordance of the average fold-change and a significant overlap in genes with increased or decreased expression.
We first transformed the primary meta-analysis -values (based on four studies) aimed at discovering up-regulation, and separately the down-regulation, to -scores. In order to avoid unbounded values, -scores with a one-sided -value of zero (or very nearly zero) were sampled from , and -scores with a one-sided -value of one (or very nearly one) were sampled from . We note that although up-regulation and down-regulation are opposite in terms of effect sizes, the primary meta-analysis -values are directional and therefore the discoveries of interest are those that correspond to the small primary meta-analysis -values for up-regulation, and separately for down-regulation. Similarly, after conversion to -scores the discoveries of interest are those that correspond to small (negative) -scores for up-regulation, and separately for down regulation. We term these -scores the discovery -scores, since they are based only on the primary meta-analyses (i.e., excluding the follow-up meta-analyses).
We assume the discovery scores are independently generated from a mixture of five normal densities, including one standard normal density (corresponding to genes with no up or down regulation). We estimated the mixture components using the R package mixfdr by Muralidharan, (2010). The estimation carried out uses the EM algorithm with a penalization via a Dirichlet prior with a parameter value of one for standard normal component and of zero for the remaining four mixture components. We denote by the estimated mean and standard deviation for normal component, and by the estimated probability the -score is sampled from , for . For each of the two analyses we carried out (for discovering up-regulation, and separately, down regulation), the estimated mixture density had two negative means, ), and two positive means, ().
In this example, the null hypothesis is a compound null, that the -score has expectation at least zero. Since , the probability of the discovery -scores coming from a nonnull hypothesis is estimated to be . The estimated null and alternative distributions are therefore and respectively, where is the density of the standard normal distribution. The estimated marginal locFDR value for a -score is therefore .
The confirmed discoveries were identified using the discovery -vector and the validation -vector, combined by Fisher’s combining method. So the -value for a gene with values for the -scores in the discovery study and the validation study, respectively, is the probability that a chi-square distribution with four degrees of freedom is larger than . We expect the power to be greater when basing the inference on the pooled evidence from both the primary and follow-up meta-analyses, if the genes differentially expressed in the primary meta-analyses are also differentially expressed in the follow-up meta-analyses. Applying a multiple testing procedure, which is supposed to yield a negligible amount of false positives, on these Fisher combined -values, we receive trustworthy discoveries which we label as the confirmed discoveries.
In Table 4 we see that for both up-regulation, and separately down-regulation, est-OMT-FDR has the most rejections, followed in decreasing order by est-mFDR, adaptive BH, and lastly the BH procedure. Moreover, this order of the number of rejections is retained also when restricted to the genes in the “set of confirmed discoveries” using the BH procedure at the 0.05 level on the Fisher combined -values. A more conservative definition of “set of confirmed discoveries” for which no false positives are expected, by the discoveries using the Bonferroni-Holm procedure at the 0.05 level, also retains this order of the number of rejections (not shown).
7 Discussion
In this paper, we provide the first practical approach to the problem of maximizing an objective which is linear in the decision functions, subject to FDR or pFDR control in the general two-group model. With the generic form of our formulation for finding the OMT policies in (3.7), it is also possible to consider other error criteria, e.g., FWER (), or false discovery exceedance (). As with FDR control, the optimal solution will be to threshold the locFDR at a value that depends on the realized locFDR statistics. The error measures and mFDR result in a much simpler solution (see derivation in § C for mFDR control), where the threshold for rejection depends only on the mixture distribution. It is also possible to consider novel criteria, such as the probability of false discovery exceedance given that at least one rejections occurred, . Moreover, the formulation can be extended in a straightforward manner to control more than one error rate. For example, seek the OMT policy which controls for the FDR as well as for , thus potentially creating a powerful policy with meaningful control over the false discovery proportion in expectation without allowing for an unattractive policy which tends to reject many or very few hypotheses.
We provide efficient algorithms for computing the optimal policy for independent test statistics, as well as if the test statistics are equi-correlated or have a block dependence covariance structure. We demonstrate the large potential power gain from incorporating the dependence into the OMT policies. We expect the OMT policies to be useful in genomic applications where the dependence is known. For example, in Genome-Wide association studies (GWAS), the covariance matrix is a known banded matrix, due to linkage disequilibrium. We plan to provide efficient computational tools for the general two-group model with this type of local dependence.
Our general two-group model assumes that the hypotheses states are independently sampled. Sun and Cai, (2009) considered the setting where the underlying latent indicator variable of being null follows a homogeneous irreducible hidden markov (HMM) chain. In their setting, the test statistics conditional on the hypotheses states are independent. Deriving solutions with an HMM structure in our framework is also an interesting direction for future work.
In the two-group model, the potential gain in power from applying optimal policies with FDR or pFDR control rather than mFDR control is maintained when the parameters are estimated in our numerical experiments, but care has to be taken in proper estimation of the mixture parameters in order to avoid an unacceptable inflation of the FDR or pFDR level. In particular, it appears that the estimation of the fraction of nulls has to be conservative when the actual fraction is fairly small. Further research into estimation methods tailored towards estimated optimal policies for FDR and pFDR control is needed. In our real data examples, the most discoveries (as well as the most validated discoveries, confirmed using a validation set) were made with the estimated optimal marginal policy for FDR control. In these examples, the test statistics are not independent but the dependence is unknown and expected to be limited in range and magnitude. Further research is needed to understand when local dependence can be ignored, as well as towards the development of robust estimation methods for the mixture components.
Appendix A Proofs and additional mathematical details
Proof of Proposion 2.1
Item 1 follows straightforwardly from the explanation in the paragraph leading to the proposition.
Item 2 follows from the fact that OMT-mFDR is a single step procedure, yet OMT-pFDR is by construction the step-down procedure described in § 4. Put another way, the necessary conditions for the OMT-mFDR policy lead to the single step procedure, and the OMT-pFDR policy does not satisfy these necessary conditions. For example, for , let and be the OMT-mFDR and OMT-pFDR policies, respectively. Then for a constant which guarantees , but for a constant which guarantees . Clearly, the symmetric difference between the sets and has positive Lebesgue measure.
For item 3, suppose by contradiction that for the OMT-pFDR policy. The OMT-pFDR policy is necessarily at least as powerful as the OMT-mFDR policy since the OMT-mFDR policy controls the pFDR. So the OMT-pFDR policy is optimal for mFDR control if it satisfies . But to achieve optimal mFDR control, a policy has to satisfy necessary conditions which lead to the single step procedure. This contradicts the fact that the OMT-pFDR policy is necessarily not a single step procedure, as shown for item 2 above.
Item 4 follows by the same reasoning as that of item 1. The OMT-FDR policy is necessarily at least as powerful as the OMT-pFDR policy since the OMT-pFDR policy controls the FDR (which is bounded above by the pFDR). Therefore, if the OMT-FDR policy controls the pFDR (since the probability of no rejections is zero), this must be the OMT-pFDR policy as well. Indeed, it is easy to see that the step-down procedures for optimal pFDR and optimal FDR control in § 4 coincide when the hypothesis with minimal locFDR is rejected with probability one.
Proof of Theorem 2.1
Given a candidate solution , we prove the lemma by constructing an alternative solution that complies with the condition and has no lower objective and no higher constraint than .
For every pair of indexes , define:
[TABLE]
We will now examine the solution which is equal to everywhere, except on the set , where it switches the value of coordinates :
[TABLE]
We now show the following:
For the integrated power in Eq. (3.1), . 2. 2.
For the Error constraint in Eq. (3.2), .
Therefore is an improved solution compared to . This can be done for all pairs repeatedly until , and we end up with which has the desired monotonicity property and is superior to . Since the optimal solution cannot be improved, it must have this monotonicity property.
It remains to prove properties 1 and 2 above. For the power, we write the expression in Eq. (3.1) for and and subtract them:
[TABLE]
where the second equality uses the definition of , and the inequality follows since for .
The same idea applies to the FDR constraint:
[TABLE]
where the second and third equalities follow since the difference between the two ratios is nonzero only in the numerator and only on .
It remains to show that . This clearly follows since for , , so
[TABLE]
So the denominators in and are the same, and hence
[TABLE]
Derivation of Euler-Lagrange conditions for Problem (3.8)
Our optimization problem is:
[TABLE]
We eliminate the inequality constraints, by introducing non-negative auxiliary variables, and then square those variables to also eliminate non-negativity constraints:
[TABLE]
The Euler-Lagrange (EL) necessary conditions for a solution to this optimization problem may be obtained through calculus of variations (Korn and Korn,, 2000). Let be a set of functions and
[TABLE]
be a definite integral over fixed boundaries . Every set of which maximize or minimize (A.2) must satisfy a set of equations
[TABLE]
In addition, let
[TABLE]
be a set of point-wise equality constraints on and
[TABLE]
be a set of integral equality constraints on . Then, every set of functions which maximize (A.2), subject to the constraints (A.4, A.5) must satisfy the EL equations,
[TABLE]
where
[TABLE]
The unknown functions and constants are called the Lagrange multipliers. The differential equations in (A.6) are necessary conditions for a maximum, provided that all the quantities on the left hand side of (A.6) exist and are continuous.
Hence, the set of which maximize (A.2) subject to the constraints (A.4,A.5), is to be determined, together with unknown Lagrange multipliers, from (A.4,A.5,A.6).
This derivation may also be extended to a higher dimensional case, , as appears in Korn and Korn, (2000). In this case the EL equations are
[TABLE]
where and follows the same definition as in (A.7), with
[TABLE]
Therefore, the Lagrangian for our optimization problem (A.1) is
[TABLE]
The necessary conditions for the minimizers of (A.1) are that the original constraints are met with equality, and additionally
2. 2.
3. 3.
It is interesting to notice that these condition are exactly the KKT conditions for the discrete optimization case, where is over a finite grid. Specifically, the first condition corresponds to the derivatives of the Lagrangian, while conditions (2), (3), are equivalent to the complementary slackness property.
Note also the multiplication by in the first condition, which plays no role (since the scale of is arbitrary) and is eliminated in the main text for simplicity.
Proof of Lemma 3.1
Assume that for some and index we have that . Then it is easy to see that out of the constraints implied by conditions (3.11)–(3.13), at least two will require to hold: for example, if and , we will have that to maintain complementary slackness.
Assume wlog that for some . Now we can sum the equations between and in the stationarity condition (3.9):
[TABLE]
where all the terms have cancelled out due to the telescopic nature of the sum, and .
Hence we have concluded that having any non-binary value in the optimal solution implies
[TABLE]
which has probability zero since, by our assumption for the two-group model, is a continuous random variable.
Derivation of dual to Problem (3.8) and proof of Lemma 3.2
The result in Lemma 3.2 relies on explicit derivation of the dual to the infinite linear program (3.8) (see Anderson and Nash, (1987) for details on derivation of dual to infinite linear programs):
[TABLE]
Proof of Lemma 3.2: Feasibility of dual solution holds by construction: are non-negative Largange multipliers by definition, and the EL conditions require that
[TABLE]
To calculate the dual objective, we explicitly derive the value of as a function of the other variables. If , then and it is easy to see from (3.9)–(3.13) that is equal to
[TABLE]
Similarly, if for , then and is equal to
[TABLE]
It thus follows that
[TABLE]
Therefore,
[TABLE]
Therefore the dual objective is equal to the primal objective:
[TABLE]
where we have used the complementary slackness condition for the in the last equality.
Appendix B Derivation of the expression for in (3.5)
By Theorem 2.1, on Q, if and only if and , i.e., if and only if . Therefore:
[TABLE]
For the general two-group model, from (3.3) it thus follows that
[TABLE]
where the second equality follows from expression (B.1) derived for that is weakly monotone in the locFDRs.
Appendix C An alternative proof of the rejection policy for OMT with mFDR control
We shall show that the solution to the optimization problem of finding the optimal decision rule with the expected number of true rejections as the objective and the mFDR at most level as the constraint, coincides with the rule of Xie et al., (2011) for the two-group model.
The constraint is equivalent to , where
[TABLE]
Therefore, the linear program for maximizing the objective subject to mFDR control is (3.7) where and .
As in the FDR proof, the EL necessary optimality conditions are:
[TABLE]
where are non-negative Lagrange multiplies. The solution that satisfies (C.1),(C.3), and (C.4) is guaranteed to be an integer solution, since if it follows that and therefore that . Moreover, following steps similar to the ones in the FDR proof of Lemma 3.2, it can be shown that conditions (C.1)-(C.4) together with primal feasibility are sufficient.
Clearly, given , almost surely the rejection policy that satisfies (C.1),(C.3), and (C.4) is
[TABLE]
Therefore, all that remains is to find that satisfies , i.e.,
Appendix D Gene expression data analysis in the ADEPTUS database
A recently compiled high-quality curated database spanning more than 38000 gene expression profiles and more than 100 phenotypes (mainly a disease or a control label) is the ADEPTUS database Amar et al., (2018). We shall use a subset of the gene expression studies in the database to illustrate our suggested methods.
Our starting point is the one-sided -values as computed in the ADEPTUS database for the 149 gene expression studies (so down-regulation will tend to have a -value close to zero, and up-regulation will tend to have a -value close to one). We estimated the fraction of differentially expressed genes using Storey’s plug-in method with parameter , as suggested in Blanchard and Roquain, (2009). We selected the studies which had an estimated proportion of signal of at least 15%. This crude selection of studies is convenient, since we expect for the vast majority of the selected studies that the procedures est-OMT-FDR and est-OMT-pFDR coincide, and therefore we only used est-OMT-FDR in our re-analysis of these datasets. Moreover, we wanted to avoid having a fraction of nulls that is too small for proper evaluation of the mixture parameters. In addition, we restricted our attention to studies that had well behaved -values, i.e. that the -score corresponding to the -values where all between -10 and 10. We were left with 20 studies to analyze, and each study had genes.
We assume the scores are independently generated from a mixture of three normal densities, for up-regulation (positive expected value for the -score), down regulation (negative expected value for the -score), and for the null component which is assumed to have a standard normal distribution. As in § 6, we estimated the mixture components using the R package mixfdr by Muralidharan, (2010).
Figure 1 shows that est-OMT-FDR tends to make the most rejections, followed by adaptive BH, then est-mFDR, and finally BH. Thus, at least in terms of number of discoveries, the novel procedure with estimated mixture components by mixFDR has an advantage over the others.
Appendix E Calculating locFDR under equi-correlation
As we have seen, under any type of dependence, the problem of controlling FDR, pFDR, mFDR in the two-group model boils down to calculating the localFDRs in a manner which takes in the depdendence structure:
[TABLE]
The sum in the denominator contains terms, and the one in the numerator a subset of of them. For large this is not practical in the general case.
As shown in the main text (§#), when the test statistics are independent, we have a simple calculation that uses only to calculate . In the main text we also discuss the case where the dependence is in relatively small blocks, in which case the complexity becomes exponential in block size rather than in and linear in the number of blocks.
Here we discuss a case where all entries in are dependent, but the calculations can still be done efficiently with careful analysis.
Consider the equi-correlated case where
[TABLE]
where and its inverse are both equi-correlation matrices:
[TABLE]
and is the mean for the alternative hypothesis. It is easy to see that the inverse also has similar simple structure:
We show how to calculate the denominator of Eq. (E.1) for this case in complexity. Writing explicitly, we get:
[TABLE]
Examining the three terms in the exponents we observe that the first one is independent of and the second one depends only on the number of non-zeroes in . Assume this number is , then we get:
[TABLE]
where as defined above:
[TABLE]
Using these facts we can rewrite the denominator of Eq. (E.1) as:
[TABLE]
Thus, the key is being able to calculate the sums in the last term efficiently.
Using our notation we can write (assuming ):
[TABLE]
and we can take advantage of this representation to design a simple recursive algorithm to calculate the needed sums. Denote:
[TABLE]
where is the matrix formed by taking the first rows of , and denotes the first elements of . Thus, is the sum in the needed calculation. Using this representation, it is easy to observe:
[TABLE]
Each calculation of given and precalculated requires operations, hence calculating requires calculations.
Taking all of this together, we conclude that the complete calculation of:
[TABLE]
can be done in as all other calculations and summations except computing are
For the calculation of the numerator of Eq. (E.1), we can employ similar methodology, noting:
[TABLE]
Hence we can follow the same steps as above to define which evolves as except when :
[TABLE]
since we do not have to handle the case
Consequently, with a naive calculation of each numerator separately, we can calculate all locFDR values in complexity for this case. It seems plausible that an approach for simultaneously generating could reduce the complexity to but we do not currently have such an algorithm.
In our experiments we were easily able to use this approach to calculate OMT policies for this setting with With the naive exponential calculation, any already becomes untenable.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Amar et al., (2018) Amar, D., Vizel, A., Levy, C., and Shamir, R. (2018). Adeptus: a discovery tool for disease prediction, enrichment and network analysis based on profiles from many diseases. Bioinformatics , 34(11):1959–1961.
- 2Anderson and Nash, (1987) Anderson, E. and Nash, P. (1987). Linear programming in infinite-dimensional spaces: theory and applications . Wiley-Interscience series in discrete mathematics and optimization. Wiley.
- 3Benjamini, (2008) Benjamini, Y. (2008). Comment: Microarrays, empirical bayes and the two-groups model. Statistical Science , 23(1):23–28.
- 4Benjamini and Hochberg, (1995) Benjamini, Y. and Hochberg, Y. (1995). Controlling the false discovery rate - a practical and powerful approach to multiple testing. Journal of the Royal Statisical Society series B - statistical methodology , 57(1).
- 5Benjamini et al., (2006) Benjamini, Y., Krieger, A., and Yekutieli, D. (2006). Adaptive linear step-up procedures that control the false discovery rate. Biometrika , 93(3):491–507.
- 6Blanchard and Roquain, (2009) Blanchard, G. and Roquain, E. (2009). Adaptive false discovery rate control under independence and dependence. Journal of machine learning research , 10(8):2837–2871.
- 7Cai and Sun, (2017) Cai, T. T. and Sun, W. (2017). Optimal screening and discovery of sparse signals with applications to multistage high throughput studies. Journal of the Royal Statistical Society, Series b , 79(1):197–223.
- 8Efron, (2008) Efron, B. (2008). Microarrays, empirical Bayes and the two-groups model. Statistical Science , 23(1):1–22.
