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.
Glossary
MR-Egger Regression

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.
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.
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.
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
| Feature | MR-Egger | Weighted Median | MR-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+ |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
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.
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.
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.
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.
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.
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.
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.

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us