Tutorials › Statistical Genetics › Diagnosing QQ-Plot Inflation, Deflation, and Tail Excess

Multiple Testing and Association Calibration · Tutorial 371 of 989

Diagnosing QQ-Plot Inflation, Deflation, and Tail Excess

Read the overall shape and tail of an association QQ plot to identify possible calibration problems without treating a visual pattern as proof of its cause.

Intermediate 10 min read

What You'll Learn

  • Define broad inflation, deflation, and excess deviation confined to the extreme tail of a QQ plot.
  • Interpret QQ plots using a conventional null reference while accounting for dependence among genetic tests.
  • Calculate and interpret the genomic inflation factor as a median-based summary.
  • Connect plot patterns to plausible calibration problems and association signals without claiming a unique explanation.
  • Identify why a near-diagonal plot or a single inflation statistic cannot establish that an analysis is well calibrated.

Reading the Overall Shape and the Tail

A genome-wide association study may produce millions of association p-values. A quantile-quantile (QQ) plot compares their ordered values with a reference distribution expected under the null hypothesis. Its shape is a diagnostic: it can show whether the bulk of the results, the most extreme results, or both differ from that reference. It cannot, by itself, establish why they differ.

The most useful first distinction is between a broad departure across much of the plot and a departure limited to its extreme tail. A curve above the reference over a wide range suggests that test statistics or p-values are broadly shifted toward stronger evidence than expected. A curve below it suggests a broadly conservative pattern. If most points track the reference but the most extreme points rise above it, the departure is concentrated in the tail. These patterns raise different questions about calibration and association evidence.

Definition: In a QQ plot of association p-values, broad inflation means that observed p-values are generally smaller than the null reference across a substantial part of the distribution. Deflation means that they are generally larger. Tail excess means that the bulk is approximately consistent with the reference but the most extreme observed p-values are smaller than expected.

The Reference Distribution and Its Limits

Suppose a study tests \(M\) variants and let \(p_{(1)} \leq p_{(2)} \leq \cdots \leq p_{(M)}\) denote the p-values in ascending order. If all tests are valid null tests and their p-values are independent Uniform(0,1) variables, the expected value of the \(i\)th smallest p-value is \(i/(M+1)\). A conventional QQ plot compares the observed ordered p-values with these expected order-statistic positions. Often both axes display \(-\log_{10}(p)\), so smaller p-values appear farther from zero. The diagonal is the reference line: points above it correspond to more extreme observed p-values than the reference predicts.

Genetic tests are often correlated because nearby variants are in linkage disequilibrium. Consequently, independent-uniform order-statistic positions are a conventional reference, not a guarantee about the precise distribution of the ordered p-values in a particular study. Marginally valid uniform p-values do not, on their own, imply that correlated ordered p-values will follow the independent reference. Dependence affects the joint distribution and therefore can affect the plot’s variability and shape. Interpretation should take account of study design, test construction, and the extent of dependence.

For association tests with one degree of freedom, a related summary is the genomic inflation factor, \(\lambda\), defined as the median observed chi-square test statistic divided by the median expected under the null. Under a correctly calibrated one-degree-of-freedom chi-square null, the expected median is approximately 0.4549. Thus \(\lambda\) summarizes the middle of the test-statistic distribution. It does not describe the entire curve, identify a cause, or determine whether individual associations are genuine.

Definition: For one-degree-of-freedom chi-square association statistics \(X_1,\ldots,X_M\), the genomic inflation factor is $$ \lambda = \frac{\operatorname{median}(X_1,\ldots,X_M)}{0.4549}. $$ A value above 1 indicates that the observed median exceeds the null median; a value below 1 indicates that it falls below it. This comparison is a diagnostic summary, not a proof of a particular mechanism.

Why 0.4549 Is the Null Median

The reference value follows directly from the null distribution. If \(Z\sim N(0,1)\), then a one-degree-of-freedom chi-square statistic has the distribution of \(Z^2\). The median of \(|Z|\) is the value \(c\) satisfying \(P(|Z|\leq c)=0.5\). By symmetry of the standard normal distribution, this gives \(\Phi(c)=0.75\), so \(c=\Phi^{-1}(0.75)\approx0.67449\). Squaring gives the median of \(Z^2\):

$$ \operatorname{median}(Z^2) = \left[\Phi^{-1}(0.75)\right]^2 \approx (0.67449)^2 \approx 0.4549. $$

The ratio defining \(\lambda\) is therefore meaningful when the statistics being summarized are comparable one-degree-of-freedom chi-square statistics and the null reference is appropriate. If degrees of freedom differ, or the test statistics are not on this scale, 0.4549 is not the correct denominator. A median near the reference is useful information about the center, but says little by itself about the far tail.

Worked Example: Broad Inflation Across the Plot

In a hypothetical study, the QQ plot lies above the diagonal through much of its central range. The median of its one-degree-of-freedom chi-square statistics is 0.600. Calculate \(\lambda\) and interpret the combination of evidence.

Check the scale. The example specifies one-degree-of-freedom chi-square statistics, so the null median reference of 0.4549 applies.

Calculate.

$$ \lambda = \frac{0.600}{0.4549} \approx 1.319. $$

The median statistic is about 1.319 times the null median, and the broad upward departure agrees with a general shift toward smaller p-values. This is evidence of broad inflation in the results, not a diagnosis of its cause. Possible explanations to investigate include population structure not adequately controlled by the analysis, unmodeled relatedness, technical or batch effects, or widespread association signal. The plot and \(\lambda\) alone cannot distinguish these possibilities.

Three Patterns and What They Suggest

A visual diagnosis is strongest when it describes both the distributional region that departs and the direction of departure. The following table summarizes common patterns and plausible questions they raise. Each proposed explanation is a possibility to investigate, not a conclusion that follows automatically from the curve.

Observed patternWhat it describesQuestions to investigate
Broad upward departureSmaller observed p-values than the reference through much of the plotAre ancestry, relatedness, technical effects, or widespread signal affecting many tests?
Broad downward departureLarger observed p-values than the reference across much of the plotCould test statistics be conservative, for example through excessive adjustment or an overly large variance estimate?
Mostly diagonal, then upward at the extreme endThe bulk resembles the reference, while the smallest p-values are more extremeCould a small number of strong associations, or unusual behavior in a few tests, account for the tail?
Irregular or uneven departuresDifferent regions do not follow one consistent patternCould test subsets, data quality, or dependence structure differ across the analysis?

Broad deflation is not the same as having low statistical power. Low power reduces the ability to detect real effects; it does not, by itself, make valid null p-values systematically larger than their null reference. A downward pattern instead motivates checks of the test-statistic scale and analysis choices. For example, overly conservative variance estimates or an adjustment that removes too much variation may shrink statistics. In the opposite direction, a broad upward shift can reflect calibration problems, but it can also reflect association signal distributed across many tests. A plot alone cannot separate those explanations.

Worked Example: Broad Deflation

In a hypothetical analysis, most QQ-plot points lie below the diagonal, and the median one-degree-of-freedom chi-square statistic is 0.340. Calculate \(\lambda\), then state what the evidence supports and what it does not establish.

The test statistics have one degree of freedom, so the reference median is 0.4549. The ratio is

$$ \lambda = \frac{0.340}{0.4549} \approx 0.7474. $$

The median is below the null reference, and \(\lambda<1\) is consistent with the plot’s broad downward departure. The results show a conservative pattern relative to this reference. They do not prove that a particular adjustment caused it, nor do they establish that every test is conservative. The analyst should check that the reported statistics use the expected scale and review modeling and variance-estimation choices. It would be incorrect to attribute the pattern simply to low power without evidence that the null statistics themselves have been shifted.

When Only the Extreme Tail Departs

A plot may track the diagonal through most of its range but rise above it among the smallest p-values. This is tail excess: a limited set of tests is more extreme than the bulk reference suggests. It is compatible with a small number of strong associations, but it is not proof of association. Rare technical problems, outliers, or errors affecting a few tests can also create extreme values. Follow-up checks of those results and the data supporting them are needed.

A median-based summary may remain close to 1 in this situation, because a handful of extreme statistics has little effect on the median when \(M\) is large. This is not a contradiction: \(\lambda\) describes the center, while the tail describes the most extreme results. Conversely, an elevated \(\lambda\) does not say that every extreme result is false; it indicates a shifted median relative to the specified null reference. Neither summary replaces consideration of the design and the individual results.

Worked Example: Tail Excess With a Near-Reference Median

A hypothetical study tests \(M=100{,}000\) variants using one-degree-of-freedom statistics. Its QQ plot follows the reference through most of the distribution, but the smallest observed p-value is \(10^{-9}\). The median statistic is 0.460. Compare the strongest result with the rank-one reference position, and interpret the plot and \(\lambda\).

For the smallest p-value, the conventional independent-uniform rank-one position is \(1/(M+1)=1/100{,}001\), approximately \(10^{-5}\). On the \(-\log_{10}(p)\) scale, that reference position is approximately 5, whereas the observed p-value has \(-\log_{10}(10^{-9})=9\). Thus the most extreme observed p-value is substantially smaller than this rank-one reference position.

The median summary is

$$ \lambda = \frac{0.460}{0.4549} \approx 1.011. $$

This value is close to 1, consistent with the stated near-reference center, while the plot’s extreme tail departs upward. The pattern is tail excess rather than broad inflation. Because genetic tests may be dependent, the independent-uniform rank-one position is a conventional comparison, not a claim that the smallest p-value must equal \(10^{-5}\) under the study’s dependence structure. The example also does not establish that the \(10^{-9}\) result represents a true association; it identifies a result and a region of the plot that warrant careful review.

A Practical Diagnostic Sequence

A useful reading proceeds from the center of the distribution to the tail, then back to the design and analysis. This prevents a single statistic or striking point from being mistaken for a complete diagnosis.

1
Check what is plotted.
Confirm that the p-values and test statistics match the stated test and degrees of freedom, and identify the reference and axis scales.
2
Describe the bulk.
Ask whether points across the central range follow, rise above, or fall below the diagonal. Do not infer a cause from direction alone.
3
Inspect the tail separately.
Determine whether the most extreme results depart while the bulk remains near the reference, or whether the curve has already departed broadly.
4
Use summaries with the right scope.
Interpret \(\lambda\) as a median-based summary for suitable one-degree-of-freedom statistics; it does not summarize every feature of the QQ plot.
5
Investigate plausible explanations.
Review study design, test calibration, and the extreme results themselves. Treat each proposed explanation as a hypothesis to check, not as a conclusion from the plot.

Common Mistakes

  • Calling any upward tail broad inflation. If the bulk follows the reference and only the most extreme points rise, describe tail excess rather than broad inflation.
  • Treating \(\lambda\) as a complete calibration check. A near-one median can coexist with extreme-tail departure. A single median ratio cannot certify the whole distribution.
  • Assuming the curve identifies the cause. Inflation can have several explanations, including calibration problems and widespread association signal. The QQ plot does not distinguish them on its own.
  • Deriving independent order-statistic behavior from marginal uniformity. The expected positions \(i/(M+1)\) are exact for independent Uniform(0,1) p-values. With dependent tests, use them as a conventional reference unless the relevant dependence conditions justify more.
  • Equating low power with deflation. Low power alone does not shift valid null p-values upward. A deflated pattern calls for checks of the test-statistic distribution and analysis procedure.
  • Using 0.4549 for every statistic. That reference is for one-degree-of-freedom chi-square statistics. Check the test scale and degrees of freedom before calculating \(\lambda\).
Key takeaway: Read a QQ plot by distinguishing broad movement from tail-only departure. Use \(\lambda\) to summarize the median when its one-degree-of-freedom null reference applies, and treat both the plot and the summary as diagnostics—not as proof of a cause or of the validity of individual associations.

Check Your Understanding

Try these questions using the definitions and reasoning above.

  1. A QQ plot rises above the diagonal throughout most of its central range. What pattern does this indicate, and why does it not identify a unique cause?
  2. For one-degree-of-freedom statistics, the observed median is 0.500. Write the formula for \(\lambda\) and calculate it to four significant figures.
  3. Why can a QQ plot show marked tail excess while \(\lambda\) is close to 1?
  4. What independence condition supports the expected order-statistic position \(i/(M+1)\), and why should that position be treated cautiously for correlated genetic tests?
  5. A study has low power and a broadly downward QQ-plot departure. Is low power alone an adequate explanation? Give one reason for your answer.
Clinical Biostats