Algorithm Search⌘K

Definitionadvanced

Local false discovery rate

Also called local FDR, lfdr.

Efron's posterior probability that a hypothesis is null given its z-value, from a two-group mixture of null and non-null densities estimated from all the tests.

The local false discovery rate is the probability that a hypothesis is null given the exact value of its test statistic. It comes from the two-groups model of Efron and his coauthors (2001): each of many cases is null with probability π0\pi_0 and non-null otherwise, and its z-value has density f0f_0 in the first case and f1f_1 in the second. Then, by Bayes' theorem, the local fdr at zz is fdr(z)=π0f0(z)/f(z)\text{fdr}(z) = \pi_0f_0(z)/f(z), where f=π0f0+(1−π0)f1f = \pi_0f_0 + (1 - \pi_0)f_1 is the density of all the z-values. Unlike the false discovery rate, which is an average over all rejected cases, the local fdr is a statement about one case. The tail-area Fdr is the average of the local fdr over a tail. With thousands of cases, ff can be estimated from the data, which makes the local fdr an empirical Bayes quantity.

Definition

Two-groups model. There are NN cases, for example genes, each with a z-value ziz_i. Each case is null with prior probability π0\pi_0 and non-null with probability π1=1−π0\pi_1 = 1 - \pi_0. A null z-value has density f0f_0, often the theoretical null N(0,1)N(0, 1), and a non-null z-value has density f1f_1. So every z-value has the mixture density and distribution function

f(z)=π0f0(z)+π1f1(z),F(z)=π0F0(z)+π1F1(z).f(z) = \pi_0f_0(z) + \pi_1f_1(z), \qquad F(z) = \pi_0F_0(z) + \pi_1F_1(z).

Local false discovery rate. For zz with f(z)>0f(z) > 0,

fdr(z)=π0f0(z)f(z)=P(case is null∣zi=z).\text{fdr}(z) = \frac{\pi_0f_0(z)}{f(z)} = P(\text{case is null} \mid z_i = z).

The second equality is Bayes' theorem for a density: the joint density of "null" and zz is π0f0(z)\pi_0f_0(z), and the marginal density of zz is f(z)f(z). So fdr(z)∈[0,1]\text{fdr}(z) \in [0, 1], and 1−fdr(z)=π1f1(z)/f(z)1 - \text{fdr}(z) = \pi_1f_1(z)/f(z) is the posterior probability of a real effect.

Tail-area Fdr. For a left tail, Fdr(z)=π0F0(z)/F(z)=P(null∣zi≤z)\text{Fdr}(z) = \pi_0F_0(z)/F(z) = P(\text{null} \mid z_i \le z), and for a right tail the same with survival functions, π0(1−F0(z))/(1−F(z))\pi_0(1 - F_0(z))/(1 - F(z)).

Proposition (the Fdr averages the fdr). For every zz with F(z)>0F(z) > 0, Fdr(z)=E[fdr(Z)∣Z≤z]\text{Fdr}(z) = E[\text{fdr}(Z) \mid Z \le z], where ZZ has density ff. The same holds for right tails.

Proof. E[fdr(Z)1{Z≤z}]=∫−∞zπ0f0(t)f(t)f(t) dt=π0F0(z)E[\text{fdr}(Z)\mathbf 1\{Z \le z\}] = \int_{-\infty}^z \frac{\pi_0f_0(t)}{f(t)}f(t)\,dt = \pi_0F_0(z). Dividing by P(Z≤z)=F(z)P(Z \le z) = F(z) gives the claim. □\square

If f1/f0f_1/f_0 increases in zz, so that large z-values favour the non-null group, then fdr\text{fdr} decreases in zz, and for a right tail Fdr(z)=E[fdr(Z)∣Z≥z]≤fdr(z)\text{Fdr}(z) = E[\text{fdr}(Z) \mid Z \ge z] \le \text{fdr}(z): the cases on the boundary of a rejection region are more likely to be null than the average rejected case.

Reporting rule. Efron suggests reporting the cases with fdr(zi)≤0.2\text{fdr}(z_i) \le 0.2 as interesting. Since fdr(z)≤0.2\text{fdr}(z) \le 0.2 means 0.8π0f0(z)≤0.2π1f1(z)0.8\pi_0f_0(z) \le 0.2\pi_1f_1(z), the rule asks for a Bayes factor f1(z)/f0(z)≥4π0/π1f_1(z)/f_0(z) \ge 4\pi_0/\pi_1. With π0=0.9\pi_0 = 0.9 this is f1/f0≥36f_1/f_0 \ge 36.

Examples and non-examples

A normal example by hand. Let π0=0.9\pi_0 = 0.9, f0=N(0,1)f_0 = N(0, 1) and f1=N(2.5,1)f_1 = N(2.5, 1). Then f1(z)/f0(z)=e2.5z−3.125f_1(z)/f_0(z) = e^{2.5z - 3.125} and fdr(z)=1/(1+(π1/π0)e2.5z−3.125)\text{fdr}(z) = 1/(1 + (\pi_1/\pi_0)e^{2.5z - 3.125}), with π1/π0=1/9\pi_1/\pi_0 = 1/9. The right-tail Fdr uses the normal survival function Φˉ\bar\Phi: Fdr(z)=0.9Φˉ(z)/(0.9Φˉ(z)+0.1Φˉ(z−2.5))\text{Fdr}(z) = 0.9\bar\Phi(z)/(0.9\bar\Phi(z) + 0.1\bar\Phi(z - 2.5)).

zz f1(z)/f0(z)f_1(z)/f_0(z) fdr(z)\text{fdr}(z) right-tail Fdr(z)\text{Fdr}(z)
1 0.535 0.9439 0.6048
2 6.521 0.5799 0.2285
2.5 22.76 0.2834 0.1005
3 79.44 0.1018 0.0379
4 967.8 0.0092 0.0042

The rule fdr≤0.2\text{fdr} \le 0.2 holds for z≥(ln⁡36+3.125)/2.5=2.683z \ge (\ln 36 + 3.125)/2.5 = 2.683, and the region z≥2.683z \ge 2.683 has Fdr=0.0713\text{Fdr} = 0.0713. A tail-area rule at Fdr≤0.1\text{Fdr} \le 0.1 starts at about z=2.503z = 2.503, where the local fdr is 0.28: the last case let in by the tail rule is null with probability 0.28, although the rejected cases are null with probability 0.1 on average. In this model the non-null cases above 2.683 are 42.7% of all non-null cases.

Estimated from data. In practice ff is estimated from all NN z-values, by a smooth fit to their histogram (Efron uses a Poisson regression on the bin counts, Lindsey's method) or by kernel density estimation. f0f_0 is taken as N(0,1)N(0, 1) or, when the center of the histogram is wider or shifted, as the empirical null of Efron (2004), a normal density fitted to the central z-values. π0\pi_0 is estimated from the center, under the assumption that almost all cases near 0 are null. The estimated fdr^(z)=π^0f^0(z)/f^(z)\widehat{\text{fdr}}(z) = \hat\pi_0\hat f_0(z)/\hat f(z) is the empirical Bayes estimate, and its accuracy depends on NN being in the hundreds or thousands.

Link to Benjamini-Hochberg. With π0=1\pi_0 = 1 and the theoretical null, the natural estimate of the right-tail Fdr at zz is NΦˉ(z)/#{i:zi≥z}N\bar\Phi(z)/\#\{i : z_i \ge z\}. Rejecting where it is at most qq is the Benjamini-Hochberg procedure at level qq on the one-sided p-values. Estimating π0\pi_0 as well gives Storey's method.

Non-example: a p-value. The p-value Φˉ(z)\bar\Phi(z) uses only f0f_0 and does not change with π0\pi_0 or f1f_1. At z=3z = 3 in the example it is 0.00135, while the local fdr is 0.10. A small p-value does not mean a small probability that the null is true.

Non-example: the FDR of a procedure. The FDR is the expected false discovery proportion of a rejection rule, an average over repetitions of the experiment and over the rejected cases. The local fdr is a posterior probability for one case, under a model with a prior. They agree only in the sense of the proposition: the Bayesian Fdr of a tail is the average local fdr in it.

Identifiability. From ff alone, π0\pi_0 and f1f_1 are not identified: part of f0f_0 can always be moved into f1f_1. The usual fix is the zero assumption that f1f_1 is close to 0 near z=0z = 0. Then π^0\hat\pi_0 is an upper bound for π0\pi_0, and the estimated fdr is conservative.

  • False discovery rate. The frequentist rate E[V/max⁡(R,1)]E[V/\max(R, 1)] of a procedure. See false discovery rate.
  • Tail-area Fdr and the positive FDR. Under the two-groups model with independent cases, the positive FDR of the region {zi≥z}\{z_i \ge z\} equals the right-tail Fdr at zz (Storey 2003). The q-value of a case is the smallest such Fdr over the regions that contain it.
  • Posterior probability in a mixture. The local fdr is the responsibility of the null component in a two-component mixture, as in a Gaussian mixture model fitted by EM, with the difference that the null component is fixed or fitted only to the center.
  • Empirical Bayes. Estimating the prior quantities π0\pi_0 and ff from many parallel cases is the setting of empirical Bayes inference.
  • Bayes factor. f1(z)/f0(z)f_1(z)/f_0(z) is the Bayes factor of the non-null group against the null group at zz, and fdr(z)=1/(1+(π1/π0)f1(z)/f0(z))\text{fdr}(z) = 1/(1 + (\pi_1/\pi_0)f_1(z)/f_0(z)).

References

  1. Bradley Efron, Robert Tibshirani, John D. Storey and Virginia Tusher, Empirical Bayes analysis of a microarray experiment, Journal of the American Statistical Association 96(456) (2001), pages 1151 to 1160, the two-groups mixture f = p_0 f_0 + p_1 f_1 and the posterior probability p_0 f_0(z) / f(z) that a gene is not differentially expressed
  2. Bradley Efron, Large-scale simultaneous hypothesis testing, the choice of a null hypothesis, Journal of the American Statistical Association 99(465) (2004), pages 96 to 104, the empirical null, a normal density fitted to the center of the z-values, and its effect on the local fdr
  3. Bradley Efron, Large-Scale Inference, Empirical Bayes Methods for Estimation, Testing, and Prediction, Cambridge University Press, 2010, Chapter 2, Section 2.2 (the two-groups model and the Bayesian Fdr), Chapter 5 (local false discovery rates) and Chapter 6 (theoretical, permutation and empirical null distributions)

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/TK7BPM/text.yaml