← Wiki Index / Public Health & Global Health / Harbord's Regression Test
🏥 Public Health & Global Health

Harbord's Regression Test

Harbord's regression test is a modified score-based linear regression test for small-study effects in meta-analyses of binary outcomes that avoids false-positive inflation affecting Egger's test with odds ratios.

Harbord's regression test—introduced by Roger M. Harbord, Matthias Egger, and Jonathan A. C. Sterne in 2006—is a statistical test for small-study effects and funnel plot asymmetry tailored specifically to meta-analyses of controlled trials with binary endpoints summarized by odds ratios (OR). It modifies the widely used Egger's regression test by regressing the score statistic (Zi) of each trial's 2 × 2 contingency table against its Fisher information (Vi), eliminating the mathematical correlation between log odds ratios and their standard errors that causes Egger's test to produce excessive false positives when treatment effects are large or event rates are unbalanced.

Why Egger's Test Fails for Binary Odds Ratios

In standard Egger's test, analysts regress the standardized effect ti / sei against precision 1 / sei. For continuous outcomes with normally distributed errors, the sample mean and its estimated standard error are statistically independent under the null hypothesis. However, for binary 2 × 2 tables (ai, bi, ci, di), the estimated log odds ratio (ln ORi) and its asymptotic variance (sei2 = 1/ai + 1/bi + 1/ci + 1/di) are computed from the same cell counts. When the true odds ratio differs from 1 (a genuine treatment benefit or harm) or when event counts are sparse, ln ORi and sei become inherently correlated even when there is zero publication bias—inflating Type I error rates in Egger's test well above the nominal 5% level.

Score-Statistic Formulation

Harbord et al. (2006) resolved this mathematical coupling by replacing ln OR and 1/se with two statistics derived from the hypergeometric score function of each 2 × 2 table:

  • Score Statistic (Zi): Zi = ai − E(ai), the difference between observed events in the treatment arm and the expected events under the null marginals, which approximates Vi · ln ORi.
  • Score Variance / Information (Vi): Vi = n1i n2i m1i m2i / [Ni2 (Ni − 1)], where n1i, n2i are arm sizes, m1i, m2i are event/non-event totals, and Ni is total trial size.

Harbord's test fits a weighted linear regression of Zi / √Vi on √Vi, testing whether the regression intercept differs significantly from zero. Because Zi and Vi are asymptotically uncorrelated under constant odds ratios—and because Zi / Vi matches Peto's log-odds-ratio estimator—Type I error remains tightly calibrated near 5% across moderate odds ratios without sacrificing power to detect genuine small-study asymmetry.

Practical Scope, Rare Events, and Alternatives

Binary Asymmetry TestRegressed QuantityPredictorRecommended Regime
Harbord's testZi / √Vi√ViBinary ORs with balanced arms and non-rare events
Peters' testln ORi1 / Ni (inverse sample size)Binary ORs, especially with high heterogeneity or imbalanced arms
Rücker's arcsine testArcsine risk differenceVariance-stabilized SEVery sparse events or zero-cell tables

When trials exhibit substantial arm-size imbalance (e.g., 2:1 or 3:1 randomization) or very low event rates (< 1%), Harbord's score variance approximation can still experience slight distortion; in those settings, Peters' test (weighted by inverse total sample size) or Rücker's arcsine-transformed test provides complementary robustness. As with all funnel-plot asymmetry tests, Cochrane recommendations advise applying Harbord's test only when at least 10 trials are included and no extreme statistical heterogeneity (I2) obscures small-study patterns.

Simulation Benchmarks and Applied Meta-Analysis Examples

Large-scale simulation benchmarks comparing Harbord's test, Egger's test, Peters' test, and Begg's test across binary trial meta-analyses confirm that Harbord's score-based regression maintains near-nominal Type I error rates (~5%) even when the true pooled odds ratio departs substantially from 1.0 (for example, OR = 0.25 or 4.0), where standard Egger regression suffers marked false-positive inflation.

In applied clinical epidemiology—such as evaluating cardiovascular drug trials, vaccine efficacy studies, or surgical complication meta-analyses—Harbord's test serves as a standard default check for small-study effects whenever effect sizes are pooled as log odds ratios across 10 or more balanced randomized trials. When zero-event cells occur in rare-outcome datasets, continuity-free exact or arcsine sensitivity tests are run alongside Harbord's test to verify robustness.

In network meta-analysis and living systematic reviews, extensions of Harbord's score-based regression help researchers monitor whether newly published small trials systematically exaggerate treatment efficacy relative to earlier, larger pivotal studies—supporting timely updates to clinical practice guidelines.

Frequently Asked Questions

When should Harbord's test be used instead of Egger's test?

Harbord's test should replace Egger's test whenever a meta-analysis pools binary outcomes using odds ratios, because Egger's test suffers from artifactual correlation between log OR and its standard error.

Does Harbord's test work for risk ratios or continuous mean differences?

No. Harbord's test is derived specifically from the 2 × 2 hypergeometric score for odds ratios; continuous outcomes should use Egger's test, while rare-event risk differences or imbalanced ORs often use Peters' or arcsine tests.

References

  1. Harbord, R. M., Egger, M., & Sterne, J. A. C. (Oct 30, 2006). "A modified test for small-study effects in meta-analyses of controlled trials with binary endpoints." Statistics in Medicine, 25(20), 3443–3457. https://doi.org/10.1002/sim.2380
  2. Sterne, J. A. C., et al. (Jul 22, 2011). Recommendations for examining and interpreting funnel plot asymmetry in meta-analyses of randomised controlled trials. BMJ. https://doi.org/10.1136/bmj.d4002
  3. Jansen, K., & Holling, H. (2022). Random-effects meta-analysis models for the odds ratio in the case of rare events under different data-generating models: A simulation study. Biometrical Journal. https://doi.org/10.1002/bimj.202200132
🧬 Support Open Science
Explore interactive science games on LowKey Games or browse scientific apparel & accessories in the CRV Science Shop.
💡 Spot an inaccuracy or have primary literature to expand this article?
Submit a citation or revision note using your shared CRV Science / LowKey Games profile ID.
Suggest Revision