Tutorials › Statistical Genetics › NOME Violations and SIMEX Correction in MR-Egger

Robust Mendelian Randomization · Tutorial 856 of 989

NOME Violations and SIMEX Correction in MR-Egger

Learn to diagnose violations of the MR-Egger NOME assumption with \(I^2_{GX}\) and use SIMEX to estimate how measurement error may alter the causal slope.

Advanced 10 min read

What You'll Learn

  • Define the NOME assumption and explain how uncertainty in SNP–exposure estimates can attenuate the MR-Egger slope.
  • Calculate \(I^2_{GX}\) from exposure-association estimates and their standard errors.
  • Interpret low and high \(I^2_{GX}\) values as diagnostics of potential regression dilution.
  • Describe how SIMEX adds controlled measurement error and extrapolates to a zero-error setting.
  • Work through a quadratic SIMEX extrapolation and interpret the corrected slope in context.
  • Recognize what \(I^2_{GX}\) and SIMEX cannot establish or repair.

Why Exposure-Association Uncertainty Matters

MR-Egger regression relates each variant’s estimated outcome association to its estimated exposure association. Its slope is used to estimate a causal effect, while its intercept represents average directional pleiotropy under the model’s assumptions. But the horizontal coordinate in this regression, the estimated SNP–exposure association, is itself measured with uncertainty. If that uncertainty is appreciable, the fitted slope can be pulled toward zero: a form of regression dilution.

The MR-Egger NOME assumption means “NO Measurement Error”: for practical purposes, uncertainty in the SNP–exposure estimates is negligible relative to their spread across variants. NOME is not the same as the InSIDE assumption. InSIDE concerns the relationship between instrument strength and direct effects; it does not guarantee that exposure associations are estimated precisely. \(I^2_{GX}\) helps diagnose the extent of potential dilution, and SIMEX provides a way to examine and correct for it under additional modeling assumptions.

Definition: Let \(\hat{\gamma}_j\) and \(SE(\hat{\gamma}_j)\) denote the estimated association and standard error for variant \(j\) with the exposure, and let \(\hat{\Gamma}_j\) denote its estimated outcome association. The usual weighted MR-Egger regression is $$ \hat{\Gamma}_j = \alpha + \theta \hat{\gamma}_j + \varepsilon_j, $$ where the regression is weighted by \(1/SE(\hat{\Gamma}_j)^2\). The slope \(\theta\) estimates the causal effect under the MR-Egger assumptions, including InSIDE, and the intercept \(\alpha\) represents the average directional pleiotropic effect. NOME treats the \(\hat{\gamma}_j\) values as effectively measured without error for this regression.

The usual formulation also relies on appropriate instrument selection and harmonization, and commonly assumes independent variants and independent exposure- and outcome-association estimates. When variants are correlated or association estimates are dependent, covariance-aware methods are needed; the simple calculations below do not account for those dependencies. As in other MR analyses, satisfying NOME alone does not establish that the causal assumptions hold.

How Measurement Error Dilutes a Slope

Suppose, as a simple model, that an observed predictor \(X^*\) equals a true predictor \(X\) plus independent, mean-zero measurement error \(U\): \(X^*=X+U\). Suppose the outcome follows \(Y=\alpha+\theta X+\varepsilon\), with the outcome error independent of \(X\) and \(U\). The ordinary regression slope of \(Y\) on \(X^*\) is attenuated because the observed predictor’s variation includes noise that does not explain \(Y\).

$$ \begin{aligned} \frac{\operatorname{Cov}(X^*,Y)}{\operatorname{Var}(X^*)} &= \frac{\operatorname{Cov}(X+U,\alpha+\theta X+\varepsilon)} {\operatorname{Var}(X+U)}\\ &= \frac{\theta\operatorname{Var}(X)} {\operatorname{Var}(X)+\operatorname{Var}(U)}\\ &= \theta\left( \frac{\operatorname{Var}(X)} {\operatorname{Var}(X)+\operatorname{Var}(U)} \right). \end{aligned} $$

The factor in parentheses is the reliability ratio, between zero and one when both variances are nonnegative and the true-predictor variance is positive. Thus, in this simple model, the expected fitted slope is closer to zero than \(\theta\). MR-Egger is a weighted regression across variant associations rather than this single-predictor model, so the equation is an intuition for the mechanism, not a complete derivation of all MR-Egger bias. In particular, the weighted regression and the pattern of exposure-association errors affect the amount of dilution.

Worked Example: Seeing the Attenuation Mechanism

Consider a hypothetical simplified setting in which the true causal slope is \(0.50\) outcome units per exposure unit. Across the predictors, suppose the true exposure-association values have variance \(0.0400\), while independent measurement error contributes variance \(0.0100\).

The reliability ratio is $$ \frac{0.0400}{0.0400+0.0100} =\frac{0.0400}{0.0500}=0.800. $$

The expected slope using the noisy predictor is therefore $$ 0.50\times 0.800=0.400 $$ outcome units per exposure unit. The calculation illustrates why using uncertain exposure associations can make an MR-Egger slope smaller in magnitude. It does not imply that every MR-Egger estimate is attenuated by exactly this factor: the calculation is for a simplified classical-error model, not a universal correction formula.

Measuring Potential Dilution With \(I^2_{GX}\)

The \(I^2_{GX}\) statistic compares the observed dispersion of the SNP–exposure estimates with the dispersion expected from their sampling uncertainty. Here \(K\) is the number of variants, and the calculation uses their exposure-association standard errors. A value near one indicates that most of the observed spread is beyond sampling error; a low value indicates that sampling error may account for a substantial part of the spread.

Definition: Define the inverse-variance weighted mean of the exposure-association estimates as \(\bar{\gamma}_w\), and calculate $$ Q_{GX}=\sum_{j=1}^{K} \frac{(\hat{\gamma}_j-\bar{\gamma}_w)^2}{SE(\hat{\gamma}_j)^2}, \qquad \bar{\gamma}_w= \frac{\sum_{j=1}^{K}\hat{\gamma}_j/SE(\hat{\gamma}_j)^2} {\sum_{j=1}^{K}1/SE(\hat{\gamma}_j)^2}. $$ Then $$ I^2_{GX}=\max\left\{0,\frac{Q_{GX}-(K-1)}{Q_{GX}}\right\}, $$ when \(Q_{GX}>0\). If \(Q_{GX}=0\), define \(I^2_{GX}=0\). The statistic is conventionally reported on a zero-to-one scale, or multiplied by 100 to report a percentage.

The subtraction of \(K-1\) reflects the expected degrees of freedom for dispersion around an estimated weighted mean under a common-effect sampling model. The maximum with zero prevents a negative value when \(Q_{GX}\) is no greater than its degrees of freedom. \(I^2_{GX}\) is a diagnostic, not a test that establishes NOME, and it does not indicate whether InSIDE or the other MR assumptions are satisfied.

Worked Example: Calculating \(I^2_{GX}\)

Suppose five independent variants have hypothetical exposure-association estimates \(0.04,\ 0.06,\ 0.08,\ 0.10,\ 0.12\), each with standard error \(0.01\), in the same exposure-association units. Since the standard errors are equal, their weighted mean is the ordinary mean: $$ \bar{\gamma}_w=\frac{0.04+0.06+0.08+0.10+0.12}{5}=0.08. $$

Each inverse-variance weight is \(1/0.01^2=10{,}000\). Therefore, $$ Q_{GX}=10{,}000\left[(-0.04)^2+(-0.02)^2+0^2+(0.02)^2+(0.04)^2\right] =10{,}000(0.0040)=40.0. $$

Here \(K-1=4\), so $$ I^2_{GX}=\frac{40.0-4}{40.0}=0.900. $$ The value is \(0.900\), or \(90.0\%\). In this hypothetical example, relatively little of the observed spread in exposure associations is attributed to their sampling error, so substantial regression dilution from this source is less indicated. This value does not prove NOME or validate the causal interpretation.

Worked Example: When the Observed Spread Is Small

Now suppose five hypothetical variants have exposure-association estimates \(0.04,\ 0.05,\ 0.06,\ 0.07,\ 0.08\), each with standard error \(0.02\). Their weighted mean is \(0.06\). Each weight is \(1/0.02^2=2{,}500\), giving $$ Q_{GX}=2{,}500\left[(-0.02)^2+(-0.01)^2+0^2+(0.01)^2+(0.02)^2\right] =2{,}500(0.0010)=2.50. $$

Since \(K-1=4\), the untruncated expression is \((2.50-4)/2.50=-0.600\). The definition truncates this at zero, so \(I^2_{GX}=0\). This indicates that these data do not show exposure-association dispersion beyond what might be expected from sampling uncertainty under the calculation. It is a warning that MR-Egger’s slope could be vulnerable to dilution, not proof that the slope is zero or that measurement error is the only concern.

SIMEX: Add Error, Then Extrapolate It Away

SIMEX (simulation extrapolation) examines how an estimator changes as additional measurement error is introduced. For MR-Egger, the added error is applied to the estimated exposure associations, using their standard errors to set its scale. At each added-error level, the MR-Egger regression is refitted. The resulting average estimates are then modeled as a function of the added error and extrapolated to the level that would remove the original measurement error.

1
Choose added-error levels.
Use levels \(\lambda\geq 0\), such as \(0,\ 0.5,\ 1,\ 1.5\). At \(\lambda=0\), no extra error is added; larger values add more.
2
Generate perturbed exposure associations.
For each variant, level, and simulation replicate, form \(\hat{\gamma}^{(\lambda)}_j=\hat{\gamma}_j+\sqrt{\lambda}\,SE(\hat{\gamma}_j)Z_j\), where \(Z_j\) is a standard normal draw. Under this construction, the added error variance is \(\lambda SE(\hat{\gamma}_j)^2\).
3
Refit MR-Egger and average.
At each \(\lambda\), regress the outcome associations on the perturbed exposure associations using the chosen MR-Egger weighting. Repeat the perturbation and fitting many times, then average the slope estimates at that level.
4
Fit an extrapolation curve.
Model the average slope as a function of \(\lambda\), often using a quadratic curve. The curve at \(\lambda=0\) corresponds to the original-data estimate; the correction is obtained by evaluating the fitted curve at \(\lambda=-1\).

The extrapolation target is \(-1\) because the observed exposure-association estimates already contain their original sampling-error variance, corresponding to \(\lambda=0\). Adding error at level \(\lambda\) gives total variance proportional to \((1+\lambda)SE(\hat{\gamma}_j)^2\). Setting \(1+\lambda=0\) yields \(\lambda=-1\), the formal zero-measurement-error target. This target lies outside the simulated range, so the correction depends on extrapolation rather than direct observation.

Worked Example: A Quadratic SIMEX Correction

Suppose a hypothetical MR-Egger analysis has an observed slope of \(0.400\) outcome units per exposure unit. After SIMEX perturbations and refitting, assume the average slopes at the selected levels are summarized exactly by the fitted quadratic $$ g(\lambda)=0.400-0.0800\lambda+0.0200\lambda^2. $$ For example, this curve gives \(g(0.5)=0.365\), \(g(1)=0.340\), and \(g(1.5)=0.325\). The declining estimates as added error increases are consistent with attenuation in this hypothetical output.

To extrapolate to zero measurement error, evaluate the curve at \(-1\): $$ g(-1)=0.400-0.0800(-1)+0.0200(-1)^2 =0.400+0.0800+0.0200=0.500. $$

The SIMEX-corrected point estimate is therefore \(0.500\) outcome units per exposure unit, compared with the uncorrected estimate of \(0.400\). The difference is \(0.100\) outcome units per exposure unit. This is a point-estimate illustration only; it does not provide a confidence interval, and the correction is conditional on the perturbation and extrapolation models.

Interpreting the Diagnostic and the Correction

\(I^2_{GX}\) and SIMEX address related but distinct questions. The statistic summarizes how much exposure-association spread appears to exceed sampling error. SIMEX uses the stated standard errors to simulate additional error and assess how the fitted MR-Egger coefficients respond. A low \(I^2_{GX}\) is a reason to examine dilution carefully; SIMEX is one sensitivity analysis for that concern. Neither replaces evaluation of InSIDE, instrument validity, population structure, sample overlap, or other sources of bias.

SIMEX results can be sensitive to the chosen extrapolation function and to simulation variability. Because the target \(\lambda=-1\) is outside the added-error levels, a curve that fits the simulated range well may still extrapolate poorly. A full analysis should report the uncorrected and corrected estimates, the simulation and curve-fitting choices, and uncertainty calculated with a method that accounts for the SIMEX procedure. Simply attaching the ordinary MR-Egger standard error to the corrected point estimate does not generally account for that uncertainty.

Common Pitfall

Wrong reasoning: “\(I^2_{GX}=0.90\), so NOME is proven, and the MR-Egger estimate is unbiased.” Correction: \(I^2_{GX}\) is a diagnostic for the relative contribution of exposure-association sampling error to observed dispersion. A high value suggests less dilution from this source; it does not prove NOME, InSIDE, or any other causal assumption. Similarly, a SIMEX-corrected slope is conditional on its error and extrapolation models. It is a sensitivity analysis, not a guarantee that all bias has been removed.

Key takeaway: Uncertainty in SNP–exposure associations can attenuate the MR-Egger slope. Calculate \(I^2_{GX}\) to assess the potential for this regression dilution, and use SIMEX—when its assumptions and extrapolation are defensible—to examine how much the slope might change after correction.

Check Your Understanding

Try these questions before reviewing the worked examples.

  1. In the simplified classical-error model, why does adding independent measurement error to a predictor reduce the magnitude of the expected regression slope?
  2. For \(K=6\) variants with \(Q_{GX}=10\), calculate \(I^2_{GX}\) using the stated definition.
  3. What does a low \(I^2_{GX}\) suggest, and what does it not establish about the MR-Egger assumptions?
  4. In SIMEX, why is the fitted curve evaluated at \(\lambda=-1\), even though simulations use nonnegative \(\lambda\) values?
  5. A SIMEX-corrected slope is larger than its uncorrected counterpart. Does this alone show that the corrected estimate is causal? Explain.
Clinical Biostats