Author-reviewedEvidence: highv1.0.1

Egger Test

The Egger test is a regression test of funnel plot asymmetry, used in meta-analysis to detect small-study effects that may signal publication bias.

Last reviewed byDr Darrin Baines

Concept Architecture

Egger Test for Funnel Plot Asymmetry in Meta-Analysis

The Egger test checks whether effect estimates in a meta-analysis shift with study precision, by regressing each study's standardised effect on its precision and testing whether the intercept differs from zero. Egger and colleagues proposed it in the BMJ in 1997, and the Cochrane Handbook calls it the first and best known of the tests for funnel plot asymmetry. In health technology assessment the question has a price attached, because the pooled effect is often a key input to a health economic model, and an effect inflated by small studies carries through into the estimated health gain and the ICER. A significant result shows an association between effect size and study size without identifying its cause, and publication bias is only one possible explanation. The test has low power when studies are few, and with odds ratios its false-positive rate can exceed the nominal level, which led to the Harbord and Peters tests.

The regression behind the test

In a funnel plot each study's effect is plotted against a measure of its size, and an unbiased set of studies forms a symmetrical inverted funnel. To measure asymmetry, Egger and colleagues regressed the standard normal deviate of each study, its effect divided by its standard error, on its precision, the inverse of the standard error.

θ^isi=a+b 1si+εi\frac{\hat{\theta}_i}{s_i} = a + b \, \frac{1}{s_i} + \varepsilon_i

where θ^i\hat{\theta}_i is the effect estimate from study ii on a scale where effects are roughly normal (a log odds ratio in the original paper, or a mean difference), sis_i is its standard error, aa is the intercept, bb is the slope and εi\varepsilon_i is the residual error. The test of no small-study effects is the test that aa equals zero.

Small trials sit near the origin on both axes whatever effect they report. Without small-study effects the points scatter around a line through the origin whose slope bb gives the effect, and Egger and colleagues explain that negative intercepts indicate more pronounced beneficial effects in smaller studies.

The Stata manual for meta bias shows that this regression is equivalent to a weighted regression of the effect estimates on their standard errors.

θ^i=b+a si+εi∗,wi=1si2\hat{\theta}_i = b + a \, s_i + \varepsilon_i^{*}, \qquad w_i = \frac{1}{s_i^2}

where wiw_i is the inverse-variance weight for study ii, εi∗\varepsilon_i^{*} is the residual in the weighted form, and aa and bb are the coefficients of the first equation with their roles swapped. The Egger intercept is therefore the slope of a line through the funnel plot of effect against standard error, and bb is the effect predicted for a study with a standard error of zero.

t=a^SE⁡^(a^)t = \frac{\hat{a}}{\widehat{\operatorname{SE}}(\hat{a})}

where a^\hat{a} is the estimated intercept, SE⁡^(a^)\widehat{\operatorname{SE}}(\hat{a}) is its standard error and tt is compared with a t distribution on K−2K-2 degrees of freedom, with KK the number of studies.

Versions and thresholds

The original paper ran weighted and unweighted versions of the first regression and reported whichever gave the intercept further from zero. It judged asymmetry at P < 0.1 with 90% confidence intervals, because the small number of trials in most meta-analyses limits statistical power. The Stata documentation records that Sterne and Egger later strongly recommended against the weighted version, as it lacks a theoretical justification. The Cochrane Handbook notes that none of the recommended tests is implemented in RevMan, so other software is needed.

When the test should be used

Sterne and colleagues published recommendations in the BMJ in 2011, which the Cochrane Handbook (version 6.5, chapter 13) summarises. As a rule of thumb, tests for funnel plot asymmetry should not be used with fewer than 10 studies, because power is then usually too low to distinguish chance from real asymmetry, and with substantial between-study heterogeneity the minimum may be substantially more. Tests should not be used when the studies have similar standard errors, results should be read alongside visual inspection of the funnel plot, and as far as possible the testing strategy should be specified in advance.

For mean differences, Sterne and colleagues state that the Egger test may be used and there is no reason to prefer newer tests. They expect power to be greater than with dichotomous outcomes, but judge use with substantially fewer than 10 studies unwise.

Odds ratios and the Harbord and Peters alternatives

Sterne and colleagues explain that the standard error of the log odds ratio is mathematically linked to the size of the odds ratio even without small-study effects, and the Cochrane Handbook states that the original Egger test is not recommended for odds ratios or standardised mean differences for this reason. Harbord, Egger and Sterne reported that existing tests can give false-positive rates above the nominal level with binary outcomes when treatment effects are large, events per trial are few or trials are of similar size.

Harbord's test replaces the effect and its variance with the efficient score and Fisher's information, and its authors found a false-positive rate close to the nominal level, with power similar to the Egger test, when heterogeneity was small. Peters and colleagues regress the log odds ratio on the inverse of the total sample size, which is independent of the effect by construction, and found appropriate type I error rates with comparable power under low heterogeneity. Sterne and colleagues add that when the heterogeneity variance of the log odds ratios exceeds 0.1, only the arcsine test with random effects of Rücker and colleagues had been shown to work reasonably well.

Worked example with ten trials of an enhanced recovery programme

All numbers in this example are illustrative. A cost analysis of an enhanced recovery programme after surgery needs the reduction in hospital stay. Ten trials report mean differences in days, negative values favouring the programme.

TrialMean difference (days)SEPrecisionStandard normal deviateWeight
1−0.70.156.667−4.66744.44
2−0.50.205.000−2.50025.00
3−0.90.254.000−3.60016.00
4−0.60.303.333−2.00011.11
5−1.20.402.500−3.0006.25
6−0.80.502.000−1.6004.00
7−1.30.601.667−2.1672.78
8−0.90.701.429−1.2862.04
9−1.90.801.250−2.3751.56
10−1.21.001.000−1.2001.00

1. Pool the trials. The weights sum to 114.19 and the weighted mean differences to −84.99.

θ^FE=−84.99114.19=−0.744\hat{\theta}_{FE} = \frac{-84.99}{114.19} = -0.744

where θ^FE\hat{\theta}_{FE} is the inverse-variance fixed-effect pooled mean difference, a reduction of 0.744 days.

2. Set up the regression. With precision as xx and the standard normal deviate as yy, the means are xˉ=28.845/10=2.8845\bar{x} = 28.845 / 10 = 2.8845 and yˉ=−24.394/10=−2.4394\bar{y} = -24.394 / 10 = -2.4394, the sum of squared deviations of xx is Sxx=30.982S_{xx} = 30.982 and the sum of cross-products is Sxy=−14.629S_{xy} = -14.629.

3. Estimate slope and intercept.

b^=SxySxx=−14.62930.982=−0.4722,a^=yˉ−b^ xˉ=−2.4394+0.4722×2.8845=−1.077\hat{b} = \frac{S_{xy}}{S_{xx}} = \frac{-14.629}{30.982} = -0.4722, \qquad \hat{a} = \bar{y}-\hat{b}\,\bar{x} = -2.4394 + 0.4722 \times 2.8845 = -1.077

where b^\hat{b} is the estimated slope and a^\hat{a} the estimated Egger intercept.

4. Test the intercept. The residual sum of squares is 3.561 on 8 degrees of freedom, giving a residual variance of 3.561 / 8 = 0.4452.

SE⁡^(a^)=0.4452×(110+2.8845230.982)=0.4051,t=−1.0770.4051=−2.66\widehat{\operatorname{SE}}(\hat{a}) = \sqrt{0.4452 \times \left( \frac{1}{10} + \frac{2.8845^2}{30.982} \right)} = 0.4051, \qquad t = \frac{-1.077}{0.4051} = -2.66

where the bracketed term is the variance factor for an intercept in simple linear regression. On 8 degrees of freedom the two-sided p-value is 0.029, and the 95% confidence interval is −1.077 plus or minus 2.306 × 0.4051, or −2.011 to −0.143. The smaller trials report larger reductions in stay.

5. Compare estimates. The slope of −0.472 days is the reduction predicted for a trial of unlimited size. Pooling only the four most precise trials, whose weights sum to 96.56 and whose weighted mean differences sum to −64.68, gives −64.68 / 96.56 = −0.670 days.

6. Carry them into the cost model. At an illustrative GBP 450 per bed day and a programme cost of GBP 250 per patient, the pooled estimate saves 0.744 × 450 = GBP 334.80 in bed days, a net saving of GBP 84.80 per patient. The large-trial estimate gives 0.670 × 450 = GBP 301.50, a net saving of GBP 51.50, and the extrapolated estimate gives 0.472 × 450 = GBP 212.40, a net cost of GBP 37.60.

7. Interpret. Cochran's Q is 6.71 on 9 degrees of freedom, so no heterogeneity is detected, yet the Egger test finds asymmetry, and the 1997 paper notes that the asymmetry test targets a specific type of heterogeneity. Whether the programme saves money depends on which estimate is believed. If the small trials delivered the programme more intensively, the asymmetry reflects true heterogeneity rather than missing studies, and the pooled effect overstates what wider adoption would achieve. The defensible presentation keeps the pooled result as the base case and reports the other two as scenario analyses.

Using the result in HTA evidence synthesis

The NICE manual (PMG36, section 3.3.4) expects a systematic review to a pre-defined protocol that minimises the risk of biased selection of studies, with potential biases identified, and section 3.2.2 asks that the impact of limitations in the evidence on bias and uncertainty be fully characterised and ideally quantified. An asymmetry test is one input to that judgement, alongside searches of trial registries.

Asymmetry also bears on the synthesis model. Sterne and colleagues note that a random-effects model weights studies more equally than a fixed-effect model, so its estimate is pulled towards the smaller studies when effects are related to standard errors. For intravenous magnesium after myocardial infarction, ISIS-4 took 90% of the weight in a fixed-effect analysis showing no benefit, while small studies dominated a random-effects analysis suggesting benefit, so they recommend comparing the two when asymmetry comes with between-study heterogeneity.

NICE DSU Technical Support Document 3 (section 5.3) describes taking the true effect as that of a study of infinite size, estimated as the intercept in a regression of treatment effect on study variance. Sterne and colleagues caution that the broad applicability of such extrapolation is uncertain, because bias is hard to separate from heterogeneity or chance. The Copas model offers a selection model sensitivity analysis, and meta-regression can test whether a study feature such as setting explains the pattern.

Egger test and the Begg test

The Begg test asks the same question through a rank correlation between standardised effects and their variances. Applied to the eight meta-analyses in the 1997 paper it found significant asymmetry in only one, and the Stata documentation describes it as no longer recommended in the literature.

Common misreadings

The commonest error is to equate a significant Egger test with publication bias. Sterne and colleagues list reporting biases, poor methodological quality in small studies, true heterogeneity, artefactual associations between effects and standard errors, and chance as sources of asymmetry, and state that publication bias can probably be excluded, even with a significant test, if small studies show smaller benefits than large ones or if no studies have significant results. The opposite error is to read a non-significant test as proof of an unbiased evidence base, when the tests typically have low power, so a non-significant result cannot exclude bias. Reporting only the most favourable of several tests breaches the 2011 recommendations, which ask that all results be reported.

Sources

Library

Publications

1
  • Book

    Introduction to Meta-Analysis — Borenstein, Hedges, Higgins & Rothstein, 2nd Edition ed., 2021 (John Wiley & Sons)

    A clear, applied introduction to meta-analysis — computing effect sizes, fixed- and random-effects models, heterogeneity, subgroup analysis, meta-regression, and publication bias — written for readers across disciplines.

Frequently Asked Questions (6)

  • What is the Egger test?

    The Egger test is a regression test of funnel plot asymmetry, used in meta-analysis to detect small-study effects that may signal publication bias.

    Source: Egger et al. 1997

  • What asymmetry does the Egger test measure?

    The Egger test measures asymmetry in a funnel plot, in which each study's effect is plotted against a measure of its size. Precision rises with sample size, so an unbiased set of studies resembles a symmetrical inverted funnel, while bias often leaves the plot skewed. The asymmetry targeted is an association between effect size and precision, with smaller studies reporting systematically different effects from larger ones. Egger and colleagues read its direction from the regression intercept, where a negative value indicates that smaller studies show more pronounced beneficial effects than larger studies.

    Source: Egger et al. 1997

  • How does the Egger test work?

    Egger and colleagues fitted a linear regression in which each study's standard normal deviate, its effect estimate divided by its standard error, is the outcome and its precision, the inverse of the standard error, is the predictor. Small trials sit close to zero on both axes, so without small-study effects the points scatter about a line through the origin whose slope gives the size and direction of the effect. The test asks whether the intercept differs from zero. The 1997 paper worked on the log odds ratio scale and, because most meta-analyses contain few trials, judged asymmetry at P < 0.1 with 90% confidence intervals.

    Source: Egger et al. 1997

  • What does the Egger test detect?

    The Egger test detects small-study effects, an association between estimated intervention effects and study size greater than chance would be expected to produce. A significant result does not identify the cause. Sterne and colleagues list reporting biases such as publication bias, poor methodological quality inflating effects in small studies, true heterogeneity, artefactual links between effects and their standard errors, and chance. They add that publication bias can probably be excluded, even with a significant test, if small studies show smaller benefits than large ones or if no study has a significant result.

    Source: Sterne et al. 2011

  • What are the limitations of the Egger test?

    Low power with few studies is the main constraint, and the Cochrane Handbook advises using tests for funnel plot asymmetry only when a meta-analysis includes at least 10 studies. Tests should not be used when the studies are of similar size, and results should be interpreted in the light of visual inspection of the funnel plot. The original Egger test is not recommended for odds ratios or standardised mean differences, because of artefactual correlations between an effect size and its standard error, and the Harbord and Peters tests overcome this problem for odds ratios. None of the recommended tests is implemented in RevMan, so other software is needed.

    Source: Page et al. 2024

  • How does the Egger test relate to the funnel plot?

    The funnel plot is the picture and the Egger test is a numerical measure of its shape. Egger and colleagues observed that funnel plot symmetry had generally been judged informally by visual examination, and that different observers interpreted the same plots differently. Their test replaced that judgement with the intercept from a regression of standard normal deviates on precision, so asymmetry could be reported with a P value. In the 1997 paper, funnel plots were asymmetrical in three of four pairs where a meta-analysis disagreed with a single large trial on the same intervention.

    Source: Egger et al. 1997

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 26 Oct 2026

Content version: 1.0.1

Canonical Identity

Term code
HE-ES-ESM-014

Stable URI · Machine-readable · Resolvable · CC BY 4.0