Tutorials › High-Dimensional Genomic Data Analysis › Sensitivity to Null-Model Misspecification

Empirical Bayes and Local FDR · Tutorial 191 of 795

Sensitivity to Null-Model Misspecification

You will learn to measure the effect of null-model misspecification on local FDR estimates and to distinguish direct sensitivity from full model refitting.

Advanced 12 min read

What You'll Learn

  • Express local FDR as posterior null risk under a two-group mixture model.
  • Derive how a change in the null density alters local FDR when other model components are held fixed.
  • Compare local FDR estimates under shifted and rescaled normal nulls.
  • Quantify how heavier null tails affect local FDR in a controlled example.
  • Recognize diagnostics and limitations of pointwise sensitivity comparisons.
  • Report a useful sensitivity analysis without treating a misspecified-model estimate as calibrated.

Why Null-Model Sensitivity Matters

A local false discovery rate (local FDR) is a model-based estimate of the probability that a tested feature is null, conditional on its observed statistic. In genomic applications, a large collection of statistics may have a central distribution that differs from the theoretical null because of unmodeled variation or other features of the analysis. The empirical-null material and Q-Q diagnostics for empirical null models address how such departures can be detected and estimated. Here the focus is what happens to local FDR when the null model used in the calculation is wrong.

The practical issue is that local FDR depends directly on the null density at the observed statistic. A small change to the center, scale, or tail behavior can therefore matter substantially for statistics near a decision threshold. The numerical comparisons below isolate each change: they hold the null proportion and alternative density fixed while changing only the candidate null density. This makes the direct effect interpretable, though it is not a substitute for refitting a complete model to data.

Model and Definition

Definition: Let \(Z\) be a test statistic with a two-group mixture density \(f(z)=\pi_0 f_0(z)+(1-\pi_0)f_1(z)\), where \(\pi_0\) is the proportion of null features, \(f_0\) is the null density, and \(f_1\) is the alternative density. The local FDR at \(z\) is \(\operatorname{lfdr}(z)=P(\text{null}\mid Z=z)=\pi_0 f_0(z)/f(z)\).

This is a posterior probability under the specified mixture model. It has that interpretation when the model and its parameters adequately describe the distribution of statistics and null status. A local FDR calculated from a misspecified null density is still a number between zero and one, but it need not be a calibrated posterior probability under the actual data-generating process.

For controlled comparisons, write \(\pi_1=1-\pi_0\) and hold \(\pi_0\) and \(f_1\) fixed. If the assumed null density is \(g_0\), the resulting calculation is

$$ L_g(z)=\frac{\pi_0 g_0(z)} {\pi_0 g_0(z)+\pi_1 f_1(z)}. $$

The comparison is pointwise: it asks how the local FDR at the same observed statistic changes when the null density changes. It does not assert that the marginal density remains the same after changing a component of the mixture. In an actual analysis, fitting the null, alternative, and null proportion together can change all three estimates.

A Direct Sensitivity Identity

Let \(L(z)\) be the local FDR calculated under a reference null density \(f_0\), and suppose a candidate null density is \(g_0(z)=r(z)f_0(z)\), with \(r(z)>0\). Holding \(\pi_0\) and \(f_1\) fixed, the null-to-alternative posterior odds under the reference model are \(L/(1-L)\). Under the candidate null, the null contribution is multiplied by \(r\), while the alternative contribution is unchanged. Thus the odds become \(rL/(1-L)\), which gives the following identity:

$$ L_g(z)=\frac{r(z)L(z)}{1-L(z)+r(z)L(z)}. $$

Equivalently, the log posterior odds change by \(\log r(z)\). This shows why the density ratio, not merely a parameter difference such as a change of 0.1 in the null mean, determines the local effect at a particular statistic. For a small change in the null density,

$$ dL(z)=L(z)\{1-L(z)\}\,d\log f_0(z). $$

To justify this differential expression, take the derivative of \(L=A/(A+B)\), where \(A=\pi_0 f_0(z)\) and \(B=\pi_1 f_1(z)\) are fixed except for \(A\). Then \(dL=B\,dA/(A+B)^2\). Since \(dA=A\,d\log f_0(z)\), and \(AB/(A+B)^2=L(1-L)\), the expression follows. The factor \(L(1-L)\) is largest at \(L=0.5\), so small relative changes in the null density can have their largest absolute effect on local FDR around intermediate posterior risks.

Worked Comparisons

Worked Example: A Shifted Normal Null

Suppose the reference null is \(N(0,1)\), the alternative density is \(N(2,1)\), and \(\pi_0=0.90\). Compare the local FDR at \(z=2\) with the value under a candidate null \(N(0.2,1)\). These normal models assume continuous statistics with the stated densities; the comparison holds the alternative and \(\pi_0\) fixed by design.

Under the reference null, the null density at \(z=2\) is \(\phi(2)\approx0.05399\). The alternative density is \(\phi(0)\approx0.3989\). The weighted null and alternative contributions are \(0.90(0.05399)=0.04859\) and \(0.10(0.3989)=0.03989\). Therefore

$$ L(2)=\frac{0.04859}{0.04859+0.03989}\approx0.5491. $$

Under the shifted null, the density at \(z=2\) is \(\phi(2-0.2)=\phi(1.8)\approx0.07895\). Its weighted contribution is \(0.90(0.07895)=0.07106\), while the alternative contribution remains \(0.03989\). Hence

$$ L_g(2)=\frac{0.07106}{0.07106+0.03989}\approx0.6404. $$

The candidate null raises the local FDR by about \(0.0913\), or 9.13 percentage points, at this statistic. The shift moves the null density closer to \(z=2\), increasing the null contribution. This result is a model comparison, not evidence that the shifted model is the correct one.

Worked Example: A Narrower Normal Null

Use \(\pi_0=0.90\), an alternative density \(N(2,1)\), and the observed statistic \(z=2\). Compare a standard normal null with a candidate null \(N(0,0.8^2)\). Both candidate normal densities integrate to one, and the same alternative and null proportion are used for this controlled calculation.

For the standard normal null, the weighted null contribution is \(0.90\phi(2)=0.90(0.05399)=0.04859\). The weighted alternative contribution is \(0.10\phi(0)=0.03989\), giving \(L(2)\approx0.5491\), as in the reference calculation above.

For the narrower null, its density at \(z=2\) is

$$ g_0(2)=\frac{1}{0.8}\phi\left(\frac{2}{0.8}\right) =\frac{\phi(2.5)}{0.8} \approx\frac{0.01753}{0.8} \approx0.02191. $$

The weighted null contribution is \(0.90(0.02191)=0.01972\); the weighted alternative contribution remains \(0.10(0.3989)=0.03989\). Thus

$$ L_g(2)=\frac{0.01972}{0.01972+0.03989}\approx0.3308. $$

The narrower null gives a lower local FDR at \(z=2\) because its density there is lower. A scale change can therefore reverse the direction of the effect seen with a shifted null; there is no universal rule that a misspecified null always increases local FDR.

Worked Example: A Heavier-Tailed Null

Consider \(z=3\), \(\pi_0=0.90\), and an alternative density \(N(3,1)\). Compare a standard normal null with a null having a standardized Student \(t\) distribution with 4 degrees of freedom. “Standardized” here means divided by \(\sqrt{2}\), so the null has variance one, matching the standard normal variance. Both are symmetric and centered at zero; only their tail shapes differ.

Under the standard normal null, \(f_0(3)=\phi(3)\approx0.004432\). The alternative density at 3 is \(\phi(0)\approx0.3989\). The weighted contributions are \(0.90(0.004432)=0.003989\) and \(0.10(0.3989)=0.03989\), so the local FDR is approximately \(0.003989/(0.003989+0.03989)=0.09091\).

For a \(t_4\) variable, the density is \(0.375(1+x^2/4)^{-5/2}\). Dividing that variable by \(\sqrt{2}\) gives the unit-variance density \(g_0(z)=\sqrt{2}\,0.375(1+z^2/2)^{-5/2}\). At \(z=3\),

$$ g_0(3)=\sqrt{2}(0.375)(1+9/2)^{-5/2} =\sqrt{2}(0.375)(5.5)^{-5/2} \approx0.00747. $$

The weighted null contribution is \(0.90(0.00747)=0.00672\). The weighted alternative contribution remains \(0.03989\), so

$$ L_g(3)=\frac{0.00672}{0.00672+0.03989}\approx0.1443. $$

The heavier-tailed null raises the local FDR from about \(0.0909\) to \(0.1443\) at \(z=3\), because it assigns more density to that tail observation. Equal variance does not imply equal tail probabilities or equal pointwise null densities.

Interpreting and Diagnosing Sensitivity

For a normal null \(N(\mu,\sigma^2)\), the log density at a fixed \(z\), apart from a constant, is \(-\log\sigma-(z-\mu)^2/(2\sigma^2)\). Its parameter sensitivities are

$$ \frac{\partial\log f_0(z)}{\partial\mu} =\frac{z-\mu}{\sigma^2}, \qquad \frac{\partial\log f_0(z)}{\partial\log\sigma} =-1+\frac{(z-\mu)^2}{\sigma^2}. $$

Combined with \(dL=L(1-L)d\log f_0(z)\), these expressions show that small center changes matter most directionally according to how far and on which side \(z\) lies from the null center. A scale increase lowers the density near the center but can raise it far into the tails. These are local statements about density at a fixed statistic, not claims that every statistic's local FDR moves in the same direction.

A useful sensitivity analysis evaluates a grid of plausible null centers, scales, or tail forms and reports the range of local FDR estimates for statistics relevant to the decision. It should state what was held fixed and what changed. A broad range signals that conclusions depend on null specification. A narrow range is reassuring about this particular source of uncertainty, but does not establish that the model is otherwise correct.

Diagnostics include checking whether the candidate nulls plausibly represent the central statistics, examining whether sensitivity is concentrated in extreme tails or near a decision cutoff, and comparing estimates across a deliberately stated range of null parameters. Q-Q diagnostics for empirical null models can help reveal distributional departures, but visual agreement in the center does not guarantee correct tail behavior. In particular, tails may be poorly informed when few observations fall there.

A common mistake is to say, “The null standard deviation fell from 1 to 0.8, so its density at \(z=2\) must be about 20% lower,” and then use that rough change in a local FDR calculation. The density includes both the rescaling factor \(1/\sigma\) and the changed standardized distance \((z-\mu)/\sigma\). Here the correct value is \(\phi(2.5)/0.8\approx0.02191\), not \(0.0439\). Always calculate the full density before forming the mixture ratio.

Other approaches answer related but different questions. Refitting an empirical null and alternative uses the data to estimate model components rather than holding them fixed; that can reveal joint changes but introduces estimation variability and possible instability. A sensitivity grid is transparent about assumed alternatives for the null, but it does not select a uniquely correct model. A single theoretical null is simpler, but can give misleading posterior risks if its location, scale, or tails are inadequate. No pointwise comparison alone resolves model uncertainty.

Key takeaway: With the alternative density and null proportion fixed, local FDR changes according to the candidate-to-reference null density ratio at the observed statistic. Center, scale, and tail-shape misspecification can push estimates in different directions, so report the range across defensible null models rather than assuming one direction of bias.

Check Your Understanding

Work through each question, then compare with the solutions below.

  1. At a statistic \(z\), a reference local FDR is \(0.40\). A candidate null density is twice the reference null density there. With the alternative and null proportion fixed, what is the candidate local FDR?
  2. In the shifted-normal example, why did shifting the null mean from 0 to 0.2 increase the local FDR at \(z=2\)?
  3. Why can two null distributions with variance one produce different local FDRs at \(z=3\)?
  4. What must be stated when reporting a sensitivity comparison that holds the alternative density fixed?

Solutions. 1. Use \(L_g=rL/(1-L+rL)\): \(L_g=2(0.40)/(0.60+2(0.40))=0.80/1.40\approx0.5714\). 2. The shifted null assigns more density at 2: \(\phi(1.8)\approx0.07895\), compared with \(\phi(2)\approx0.05399\). With the alternative contribution unchanged, the larger weighted null contribution raises the mixture posterior null probability. 3. Equal variance does not determine tail shape or pointwise density; the standardized \(t_4\) example assigns about \(0.00747\) density at 3, versus about \(0.004432\) for the standard normal. 4. State that the comparison changes the null density while holding the alternative and null proportion fixed, and explain that a full refit could change those other components too.

Clinical Biostats