Skip to main content

The Error-Reversal Heuristic

How science behaves
Principle or heuristic
Introductory
How would you have reacted if the mistake had gone in the opposite direction?
Published

November 9, 2026

Modified

November 13, 2026

Entry #144 in Andrew Gelman’s Handy Statistical Lexicon. Original discussion: How a simple math error sparked a panic about black plastic kitchen utensils.

Filed under How science behaves · Principle or heuristic · Introductory.

Source check: ✓ The explanation was checked against the source. The story came from Dean Eckles, credited in Gelman’s post.

What it is

When an error is found in a study, people often say it doesn’t change the conclusion. The error-reversal heuristic asks you to imagine the mistake had gone the other way. Suppose it made the risk look smaller rather than larger, or weakened the authors’ preferred finding instead of strengthening it. Would it have been caught sooner? Would you shrug it off as easily? The context was a widely reported study on black plastic kitchen utensils. Its authors turned out to be off by a factor of 10 in a risk comparison and responded that “this does not impact our results and our recommendations remain the same.” Dean Eckles sent Gelman the story, under the subject line “order-of-magnitude errors that don’t affect the conclusions”, and the lexicon entry links to Eckles’s comment on the post.

Why it matters

Errors aren’t caught at random. Results that match what researchers, reviewers and readers expect or want get less scrutiny, so errors in the “convenient” direction survive and errors in the inconvenient direction get fixed. Over a literature, that asymmetry produces systematic bias even if each error, taken alone, was an honest mistake. Mentally reversing the error tests whether your reaction depends on the direction.

How it works

A toy model. Each study has an error of random sign. Errors that push toward the desired conclusion are caught with probability \(p_{\text{conv}}\), and errors that push against it with \(p_{\text{inconv}} > p_{\text{conv}}\). Surviving errors are mostly in the convenient direction, so the published average is biased by roughly \(\mathrm{E}|\text{error}| \cdot (p_{\text{inconv}} - p_{\text{conv}}) / 2\), even though the errors themselves are unbiased.

Simulated example

There are 3,000 studies of an effect whose true value is zero, each with a possible error of random sign. Set how much harder people check inconvenient errors than convenient ones.

Show simulation code

The R version uses base R, and the Python version uses NumPy and Matplotlib. Where the simulation draws random numbers, each language draws its own, so exact numbers differ slightly but show the same pattern. The numbered markers in the R code are explained under it.

import {rng, range, mean, fmt} from "../js/stats.js"

viewof pConv = Inputs.range([0, 1], {value: 0.2, step: 0.05, label: "Pr(catch an error that helps the story)"})
viewof pInconv = Inputs.range([0, 1], {value: 0.8, step: 0.05, label: "Pr(catch an error that hurts the story)"})
viewof seed = Inputs.range([1, 500], {value: 144, step: 1, label: "Random seed"})

reversal = {
  const r = rng(seed);
  return range(3000).map(() => {
    const est = r.normal(0, 0.2);
    const hasErr = r() < 0.3, err = hasErr ? r.normal(0, 0.6) : 0;
    const caught = hasErr && r() < (err > 0 ? pConv : pInconv);
    return {honest: est, published: est + (caught ? 0 : err)};
  });
}

Plot.plot({
  ariaLabel: "The Error-Reversal Heuristic: simulation chart",
  ariaDescription: "Horizontal axis: Published estimate (true effect = 0). Vertical axis: Studies. The chart updates with the controls above it, and the summary below the charts states the result in words.",
  height: 260,
  x: {label: "Published estimate (true effect = 0)", grid: true},
  y: {label: "Studies"},
  marks: [
    Plot.rectY(reversal, Plot.binX({y: "count"}, {x: "published", fill: "#d6604d", fillOpacity: 0.6, thresholds: 60})),
    Plot.ruleX([0], {stroke: "currentColor"}),
    Plot.ruleX([mean(reversal.map(d => d.published))], {stroke: "#d6604d", strokeWidth: 2, strokeDasharray: "4 3"}),
    Plot.ruleY([0])
  ]
})
# The Error-Reversal Heuristic: checking harder when errors hurt the story.
1p_conv <- 0.2 # chance of catching an error that helps the story
p_inconv <- 0.8 # chance of catching an error that hurts the story
2set.seed(144)

est <- rnorm(3000, 0, 0.2) # the true effect is zero
has_err <- runif(3000) < 0.3
3err <- ifelse(has_err, rnorm(3000, 0, 0.6), 0)
4caught <- has_err & runif(3000) < ifelse(err > 0, p_conv, p_inconv)
5published <- est + ifelse(caught, 0, err)

cat(
  "Average published estimate:", round(mean(published), 3),
  "(true effect: 0)\n"
)

breaks <- seq(min(est, published) - 0.1, max(est, published) + 0.1,
  length.out = 60
)
6hist(est,
  breaks = breaks, col = adjustcolor("#2166ac", 0.5),
  border = "white", main = "", xlab = "Estimate", ylab = "Studies"
)
hist(published,
  breaks = breaks, col = adjustcolor("#d6604d", 0.5),
  border = "white", add = TRUE
)
abline(v = 0, lwd = 2)
legend("topright", c("Honest estimates", "Published"),
  fill = adjustcolor(c("#2166ac", "#d6604d"), 0.5), bty = "n"
)
1
The page’s controls: how likely an error is to be caught when it helps the story, and when it hurts it.
2
Fixes the random numbers so the run is reproducible.
3
Three thousand honest estimates of a zero effect; 30% of them contain an error that pushes either way.
4
Errors that hurt the story get caught; errors that help it mostly don’t. That asymmetry is the whole mechanism.
5
What gets published: the honest estimate plus any error that survived.
6
Honest estimates against published ones. The published distribution has drifted away from zero without anyone intending it.
# The Error-Reversal Heuristic: checking harder when errors hurt the story.
import numpy as np
import matplotlib.pyplot as plt

p_conv = 0.2    # chance of catching an error that helps the story
p_inconv = 0.8  # chance of catching an error that hurts the story
rng = np.random.default_rng(144)

est = rng.normal(0, 0.2, 3000)  # the true effect is zero
has_err = rng.uniform(size=3000) < 0.3
err = np.where(has_err, rng.normal(0, 0.6, 3000), 0)
caught = has_err & (rng.uniform(size=3000) < np.where(err > 0, p_conv,
                                                       p_inconv))
published = est + np.where(caught, 0, err)

print(f"Average published estimate: {published.mean():.3f} "
      "(true effect: 0)")

bins = np.linspace(min(est.min(), published.min()) - 0.1,
                   max(est.max(), published.max()) + 0.1, 60)
plt.hist(est, bins, color="#2166ac", alpha=0.5, label="Honest estimates")
plt.hist(published, bins, color="#d6604d", alpha=0.5, label="Published")
plt.axvline(0, color="black", linewidth=2)
plt.xlabel("Estimate")
plt.ylabel("Studies")
plt.legend()
plt.show()

Key takeaways

  • Imagine the error going the other way. Would you react the same?
  • Uneven checking turns unbiased errors into a biased literature.
  • Check convenient results at least as hard as inconvenient ones.

Source

Back to top