Inferensys

Glossary

MR-Egger Regression

A pleiotropy-robust Mendelian randomization method that allows for directional horizontal pleiotropy by fitting a weighted linear regression with an unconstrained intercept term.
Stylish WeWork-like workspace with hot desks and document wall, professional searching through enterprise knowledge base on a mounted ultrawide display, warm industrial pendants overhead.
PLEIOTROPY-ROBUST CAUSAL INFERENCE

What is MR-Egger Regression?

A statistical method in Mendelian randomization that relaxes the strict exclusion restriction assumption to provide valid causal estimates even when genetic instruments exhibit directional horizontal pleiotropy.

MR-Egger regression is a sensitivity analysis method in Mendelian randomization (MR) that fits a weighted linear regression of the genetic variant-outcome associations on the genetic variant-exposure associations, with an unconstrained intercept term. Unlike the standard inverse-variance weighted (IVW) method, which forces the regression line through the origin, MR-Egger allows the intercept to deviate from zero. This intercept provides a formal statistical test for directional horizontal pleiotropy, where the pleiotropic effects of genetic instruments systematically bias the causal estimate in a consistent direction across all variants.

The method operates under the InSIDE (Instrument Strength Independent of Direct Effect) assumption, which requires that the pleiotropic effects of the instruments are independent of the instrument-exposure associations. When this assumption holds, the slope coefficient from MR-Egger regression yields a bias-corrected causal effect estimate. However, MR-Egger estimates typically have wider confidence intervals than IVW due to reduced statistical power, making it a conservative test best suited for scenarios with many genetic instruments and suspected widespread pleiotropy.

MR-EGGER REGRESSION

Frequently Asked Questions

Explore the mechanics, assumptions, and interpretation of MR-Egger regression, a pleiotropy-robust Mendelian randomization method that detects and corrects for directional horizontal pleiotropy through an unconstrained intercept term.

MR-Egger regression is a pleiotropy-robust Mendelian randomization method that extends the standard inverse-variance weighted (IVW) approach by fitting a weighted linear regression with an unconstrained intercept term. Unlike IVW, which forces the regression line through the origin, MR-Egger allows the intercept to be freely estimated. This intercept represents the average pleiotropic effect across all genetic variants used as instruments. The method works by regressing the genetic variant-outcome associations on the genetic variant-exposure associations, weighted by the inverse variance of the outcome associations. The slope of this regression provides a causal effect estimate corrected for directional pleiotropy, while a non-zero intercept indicates the presence of unbalanced horizontal pleiotropy. The key innovation is the InSIDE assumption (Instrument Strength Independent of Direct Effect), which requires that the pleiotropic effects of the instruments are independent of the instrument-exposure associations. When this assumption holds, MR-Egger yields a consistent causal estimate even when all instruments violate the exclusion restriction, provided the pleiotropy is directional rather than balanced around zero.

PLEIOTROPY CORRECTION COMPARISON

MR-Egger vs. Other Pleiotropy-Robust Methods

Comparison of MR-Egger regression against alternative Mendelian randomization methods designed to detect and correct for horizontal pleiotropy

FeatureMR-EggerWeighted MedianMR-PRESSO

Core approach

Unconstrained intercept regression

Median of instrument-specific estimates

Outlier detection and removal

Allows directional pleiotropy

Allows balanced pleiotropy

Requires InSIDE assumption

Requires majority valid instruments

Statistical power

Lowest

Moderate

Highest

Type I error rate under null

Appropriate

Appropriate

Slightly inflated

Minimum instrument count

10+ recommended

3+

3+

MR-EGGER REGRESSION

Key Assumptions and Properties

MR-Egger extends the standard inverse-variance weighted (IVW) model by relaxing the strict exclusion restriction. It provides a causal estimate that is robust to directional horizontal pleiotropy, but this robustness comes at the cost of specific, testable assumptions.

01

The InSIDE Assumption

The defining assumption of MR-Egger is the Instrument Strength Independent of Direct Effect (InSIDE) condition. This requires that the pleiotropic effects of the genetic variants on the outcome are independent of the variant-exposure associations. In other words, the magnitude of a variant's confounding pathway must not be correlated with how strongly it predicts the exposure. This is fundamentally different from the standard IV assumption and is the mechanism that allows the intercept to capture directional bias.

02

The Unconstrained Intercept

Unlike IVW regression, which forces the regression line through the origin, MR-Egger fits an unconstrained intercept term. This intercept provides a formal statistical test for directional pleiotropy:

  • Non-zero intercept: Indicates the presence of directional pleiotropy, meaning the average pleiotropic effect across all variants is not zero.
  • Zero intercept: Suggests no evidence of directional pleiotropy, and the MR-Egger causal estimate should converge toward the IVW estimate.
03

The NO Measurement Error (NOME) Assumption

MR-Egger is particularly vulnerable to regression dilution bias caused by imprecise variant-exposure associations. The NOME assumption states that the genetic associations with the exposure are measured without error. Violations of NOME lead to attenuation of the causal effect estimate toward the null. This is quantified by the I²_GX statistic:

  • I²_GX > 90%: NOME violation is negligible.
  • I²_GX < 90%: Requires the SIMEX (Simulation Extrapolation) correction to adjust the causal estimate for measurement error.
04

Power and Precision Trade-off

The robustness of MR-Egger to pleiotropy comes at a significant cost in statistical power. By estimating an additional intercept parameter, the standard error of the causal effect is typically much larger than that of an IVW analysis. This means MR-Egger requires a larger sample size and a greater number of genetic instruments to detect a true causal effect. It is generally used as a sensitivity analysis rather than the primary discovery method, with wide confidence intervals expected.

05

Handling Binary Outcomes

Applying MR-Egger to binary outcomes requires careful methodological consideration. The standard linear MR-Egger model assumes a continuous outcome with constant variance. For case-control studies, the MR-Egger method must be adapted using a multiplicative random-effects model or a generalized MR-Egger framework that accounts for the binary nature of the data. Failure to do so can lead to biased intercept estimates and inflated Type I error rates for the pleiotropy test.

06

Instrument Selection Strategy

The validity of MR-Egger depends heavily on instrument selection. Best practices include:

  • Genome-wide significance: Use variants reaching p < 5×10⁻⁸.
  • LD clumping: Ensure instruments are independent (r² < 0.001) to avoid correlated pleiotropy.
  • F-statistic filtering: Exclude weak instruments (F < 10) to mitigate weak instrument bias.
  • Steiger filtering: Confirm the direction of effect is from exposure to outcome, not reverse causation. A robust instrument set strengthens the InSIDE assumption and improves the reliability of the causal estimate.
Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.