Tutorials › High-Dimensional Genomic Data Analysis › LD Score Regression as an Inflation Diagnostic

Mixed-Model GWAS, Relatedness and Inflation Diagnostics · Tutorial 270 of 795

LD Score Regression as an Inflation Diagnostic

Learn to read the slope and intercept of an LD Score Regression fit as diagnostic summaries, while recognizing what they can—and cannot—say about inflation.

Advanced 10 min read

What You'll Learn

  • Define the per-variant chi-square statistic and LD score used in the regression.
  • State the working regression model and the conditions needed for diagnostic interpretation.
  • Calculate an unweighted slope and intercept from a small hypothetical data set.
  • Explain why a positive slope can reflect polygenic signal associated with LD score.
  • Interpret an elevated intercept cautiously as evidence of inflation not explained by the LD-score trend.
  • Recognize warning signs, including a negative slope, outliers, and an unrepresentative reference panel.

Why Regress Association Statistics on LD Scores?

A genome-wide association scan can show an excess of large test statistics for more than one reason. A widespread polygenic effect can raise statistics across many variants, while confounding or technical problems can also inflate them. The earlier material on distinguishing confounding from polygenic signal motivates the central diagnostic question: does the inflation track the amount of linkage disequilibrium surrounding a variant, or does it appear more like a common upward shift?

LD Score Regression (LDSC) addresses this question by relating each variant’s association chi-square statistic to its LD score. The basic diagnostic is a fitted line across variants: its slope summarizes the increase in association statistics with LD score, and its intercept summarizes the fitted level at LD score zero. These are diagnostic summaries, not a definitive separation of every possible source of inflation.

Definition: For variant \(j\), let \(\chi_j^2\) denote its association test statistic on a chi-square scale. Its LD score, written \(\ell_j\), summarizes how strongly that variant is correlated with other variants in a reference set; conventionally it is a sum of squared correlations, \(\ell_j=\sum_k r_{jk}^2\). LD Score Regression fits a regression of \(\chi_j^2\) on \(\ell_j\) across variants. In the working linear form, \(\chi_j^2=a+b\ell_j+\epsilon_j\), \(a\) is the intercept, \(b\) is the slope, and \(\epsilon_j\) is the residual for variant \(j\).

In an analysis, the fit is generally weighted rather than an unweighted line through every point. The weights affect how much each variant contributes to the estimated line; uncertainty is also important when judging whether a fitted slope or intercept differs meaningfully from a reference value. Small examples below use ordinary least squares so that the arithmetic is visible. The regression’s diagnostic interpretation requires more than calculating a line.

What the Slope and Intercept Summarize

Under the usual diagnostic interpretation, polygenic effects tend to contribute more to the expected association statistic at variants with larger LD scores: such variants tag, on average, more genetic variation through correlation with other variants. This creates a positive trend of chi-square statistics with LD score. Thus, a positive slope is consistent with polygenic signal. Its numerical value is not, by itself, a portable measure of genetic effect: it depends on such features as sample size, trait architecture, and the scale and construction of the LD scores.

The intercept describes the fitted chi-square level at \(\ell_j=0\), rather than the average statistic among the variants actually observed. In a well-calibrated setting with no excess inflation, the null reference level is approximately 1. An intercept above 1 can indicate inflation that does not follow the LD-score trend, such as effects of population structure, technical artifacts, or residual relatedness. But an intercept is not a direct measurement of all confounding, and its interpretation depends on the model and data quality.

Diagnostic interpretation: A positive slope indicates that chi-square statistics tend to increase with LD score, a pattern consistent with polygenic signal. An intercept above 1 indicates that the fitted line remains elevated at zero LD score, which can be consistent with LD-independent inflation. Neither pattern alone proves a particular cause. Interpret both estimates alongside their uncertainty, the study design, and other diagnostics.

Fitting the Line: A Short Justification

For an unweighted fit to \(m\) variant-level pairs \((\ell_j,\chi_j^2)\), ordinary least squares chooses \(a\) and \(b\) to minimize the sum of squared residuals. Write \(\bar{\ell}\) for the mean LD score and \(\overline{\chi^2}\) for the mean chi-square statistic in this set of pairs. Differentiating the sum of squares with respect to \(a\) and setting the result to zero gives \(a=\overline{\chi^2}-b\bar{\ell}\). Substituting this expression into the derivative with respect to \(b\) gives the slope formula:

$$ b=\frac{\sum_{j=1}^{m}(\ell_j-\bar{\ell})(\chi_j^2-\overline{\chi^2})} {\sum_{j=1}^{m}(\ell_j-\bar{\ell})^2}, \qquad a=\overline{\chi^2}-b\bar{\ell}. $$

The numerator measures how much the two quantities vary together; the denominator measures variation in LD score. If the LD scores barely vary, the denominator is small and the slope is unstable. In practice, a weighted fit changes the estimating equations, but the diagnostic idea remains the same: estimate the trend with LD score and examine the fitted level at zero.

Worked Example: A Positive Slope with a Modest Intercept

Suppose three hypothetical variants have the following LD scores and chi-square statistics. These values are invented for illustration, not drawn from a real study.

VariantLD score \(\ell_j\)Chi-square statistic \(\chi_j^2\)
A51.40
B101.65
C151.90

The means are \(\bar{\ell}=(5+10+15)/3=10\) and \(\overline{\chi^2}=(1.40+1.65+1.90)/3=1.65\). The slope is

$$ b=\frac{(-5)(-0.25)+(0)(0)+(5)(0.25)} {(-5)^2+0^2+5^2} =\frac{2.50}{50} =0.0500. $$

The intercept is \(a=1.65-(0.0500)(10)=1.15\). The fitted line is therefore \(\widehat{\chi_j^2}=1.15+0.0500\ell_j\), which predicts 1.40, 1.65, and 1.90 at LD scores 5, 10, and 15. The positive slope is consistent with statistics increasing with LD score. The intercept is 0.15 above the approximate null reference of 1, but three points are far too little evidence to attribute that difference to a specific source of inflation.

Worked Example: An Elevated Intercept with a Shallow Trend

Consider a second hypothetical data set with LD scores 5, 10, and 15 and chi-square statistics 1.80, 1.90, and 2.00. The means are \(\bar{\ell}=10\) and \(\overline{\chi^2}=1.90\). The slope is

$$ b=\frac{(-5)(-0.10)+(0)(0)+(5)(0.10)}{50} =\frac{1.00}{50} =0.0200. $$

Then \(a=1.90-(0.0200)(10)=1.70\), so the fitted line is \(\widehat{\chi_j^2}=1.70+0.0200\ell_j\). This line has a shallow positive trend but a substantially elevated intercept. The pattern is consistent with an upward shift not accounted for by the LD-score trend. It does not establish that confounding caused the shift: for example, problems with calibration or the LD-score reference could also undermine the interpretation.

Worked Example: A Negative Slope as a Warning Sign

In a third hypothetical data set, the chi-square statistics at LD scores 5, 10, and 15 are 2.00, 1.80, and 1.60. Their mean is 1.80, while the mean LD score remains 10. The fitted slope and intercept are

$$ b=\frac{(-5)(0.20)+(0)(0)+(5)(-0.20)}{50} =\frac{-2.00}{50} =-0.0400, \qquad a=1.80-(-0.0400)(10)=2.20. $$

The line declines as LD score increases. This is not the usual pattern used to diagnose polygenic signal. It should prompt checks for unusual variants, outliers, poor LD-score matching, or other violations of the working model. It would be a mistake to interpret a negative slope as evidence that polygenic effects are protective or absent; the diagnostic fit alone does not warrant that conclusion.

Assumptions, Diagnostics, and Alternatives

The regression is most informative when its central working relationship is a reasonable summary of the data: expected chi-square statistics change approximately linearly with LD score over the analyzed variants. The association statistics should be on a comparable, adequately calibrated scale, and the LD scores should represent the study variants and population well enough for that comparison. The variants included and the weighting scheme should not allow a small number of extreme or high-leverage points to dictate the result. These conditions are not guaranteed by drawing a line.

Inspect the data and fit for warning signs. A scatterplot can reveal curvature, clusters, or individual points far from the trend. A small range of LD scores weakens slope estimation. A negative slope or a large discrepancy between the fitted line and the bulk of the points deserves investigation, not an automatic biological explanation. Compare the intercept and slope with their uncertainty: a point estimate alone does not show how precisely either quantity has been estimated. Also ask whether the reference panel and the association analysis are sufficiently comparable for LD-score differences to be meaningful.

LD Score Regression complements, rather than replaces, other inflation diagnostics. The genomic inflation factor \(\lambda\) summarizes a genome-wide shift in test statistics, while a QQ plot displays the distribution of observed statistics against a null reference. Neither directly models inflation as a function of LD score. LDSC adds that relationship, which can help distinguish an LD-associated trend from a broadly elevated baseline. The diagnostics can disagree because they summarize different features and rely on different assumptions.

A common mistake is to read an intercept above 1 as the exact amount of confounding, or a positive slope as proof that all inflation is polygenic. The correction is to treat both as conditional diagnostics: the slope describes association between chi-square statistics and LD score under the fitted model, while the intercept describes the model’s extrapolated level at zero LD score. Reference mismatch, model misspecification, residual confounding, or other complications can make those summaries misleading. Report them with uncertainty and context, and do not turn association patterns into causal claims.

Key takeaway: LDSC uses the relationship between variant-level chi-square statistics and LD scores to add structure to an inflation diagnosis. A positive slope is consistent with polygenic signal; an elevated intercept can flag inflation not explained by that trend. Neither estimate identifies a cause on its own.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions.

  1. In the working regression, what do the slope and intercept summarize?
  2. A fit has slope \(0.03\) and intercept \(1.02\). What diagnostic pattern does this suggest, and what conclusion would be too strong?
  3. For LD scores 4, 8, and 12, the fitted chi-square values are 1.3, 1.5, and 1.7. Find the ordinary least-squares slope and intercept.
  4. Why is an intercept of 1.6 not, by itself, a definitive estimate of confounding?
  5. What should be investigated if the fitted slope is negative?

Solutions. (1) The slope summarizes how chi-square statistics change with LD score; the intercept is the fitted level at LD score zero. (2) The positive slope is consistent with an LD-associated trend and the intercept is close to the null reference. It would be too strong to claim that all inflation is polygenic or that confounding is absent. (3) The means are 8 and 1.5. Thus \(b=[(-4)(-0.2)+(4)(0.2)]/[(-4)^2+4^2]=1.6/32=0.0500\), and \(a=1.5-(0.0500)(8)=1.10\). (4) The intercept is conditional on the regression and its assumptions; calibration problems, reference mismatch, or model misspecification can affect it. (5) Check the data for outliers, restricted LD-score range, reference mismatch, or other failures of the working model before assigning a biological interpretation.

Clinical Biostats