Skip to main content

Noem’s Razor

Thinking about statistics
Law or aphorism
Introductory
Never attribute to stupidity that which is adequately explained by malice.
Published

November 9, 2026

Modified

November 13, 2026

Entry #153 in Andrew Gelman’s Handy Statistical Lexicon. Original discussion: Noem’s Razor.

Filed under Thinking about statistics · Law or aphorism · Introductory.

Source check: ✓ The explanation was checked against the source.

What it is

This inverts Hanlon’s razor, “never attribute to malice that which is adequately explained by stupidity.” Hanlon’s razor is a good default: most errors are honest. But sometimes the pattern of “mistakes” is better explained by intent. When the errors all point the same way, and that way serves the person making them, charity stops being the best explanation. Noem’s Razor says not to cling to the stupidity story when malice explains the evidence.

In the source post, an economist called the bad outcomes of a government enforcement policy a “textbook amateur mistake” of incentive design. Gelman argues that the outcomes were better explained by what the policy’s backers actually wanted, and paraphrases a famous saying: “It was worse than a blunder; it was a crime.” His general lesson: “When there’s a policy that seems like it doesn’t make sense, think more carefully about the incentives.”

Why it matters

Charitable interpretation is a virtue until it becomes a blind spot. Treating every self-serving “error” as innocent, in data analyses, public statements or policy claims, lets deliberate distortion go unchallenged. Statistics provides a principled way to decide: honest mistakes should be roughly random in direction, while motivated distortion is systematically one-sided. The direction of the errors is evidence.

How it works

Compare two hypotheses about a source that has made \(n\) errors:

  • Stupidity: each error is equally likely to help or hurt the source’s interests, \(p = 0.5\).
  • Malice: errors favor the source with high probability, say \(p = 0.9\).

If \(k\) of the \(n\) errors favor the source, the likelihood ratio is \(\left(\frac{0.9}{0.5}\right)^k \left(\frac{0.1}{0.5}\right)^{n-k}\). A run of one-sided errors quickly overwhelms even a strong prior toward charity.

Simulated example

A toy model, our own. Start with a charitable prior, so malice is unlikely. Observe a run of errors, each of which either favors the source or doesn’t. Watch the posterior probability of malice.

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, pct} from "../js/stats.js"

viewof prior = Inputs.range([0.01, 0.5], {value: 0.05, step: 0.01, label: "Prior probability of malice (charitable)"})
viewof truth = Inputs.radio(["Honest mistakes", "Motivated distortion"], {value: "Motivated distortion", label: "What's really going on"})
viewof seed = Inputs.range([1, 500], {value: 153, step: 1, label: "Random seed"})

razor = {
  const r = rng(seed);
  const pFav = truth === "Honest mistakes" ? 0.5 : 0.9;
  let lo = Math.log(prior / (1 - prior)), fav = 0;
  const out = [{n: 0, p: prior, fav: 0}];
  for (let n = 1; n <= 15; n++) {
    const f = r() < pFav;
    fav += f;
    lo += f ? Math.log(0.9 / 0.5) : Math.log(0.1 / 0.5);
    out.push({n, p: 1 / (1 + Math.exp(-lo)), fav, f});
  }
  return out;
}

Plot.plot({
  ariaLabel: "Noem's Razor: simulation chart",
  ariaDescription: "Horizontal axis: Errors observed. Vertical axis: Posterior probability of malice. The chart updates with the controls above it, and the summary below the charts states the result in words.",
  height: 280,
  x: {label: "Errors observed"},
  y: {label: "Posterior probability of malice", domain: [0, 1], tickFormat: "%", grid: true},
  marks: [
    Plot.line(razor, {x: "n", y: "p", stroke: "#2166ac", strokeWidth: 2}),
    Plot.dot(razor.slice(1), {x: "n", y: "p", r: 5, fill: d => d.f ? "#d6604d" : "#1a9850"}),
    Plot.ruleY([0.5], {stroke: "#8a8a8a", strokeDasharray: "4 3"})
  ]
})
# Noem's Razor: when a pattern of convenient errors stops looking innocent.
1prior <- 0.05 # prior probability of malice (charitable)
truth <- "Motivated distortion" # or "Honest mistakes"
2set.seed(153)

# Each error either favors the person's side or not. Honest mistakes favor
# them half the time; motivated distortion 90% of the time.
3p_fav <- if (truth == "Honest mistakes") 0.5 else 0.9
fav <- runif(15) < p_fav
4log_odds <- qlogis(prior) +
  cumsum(ifelse(fav, log(0.9 / 0.5), log(0.1 / 0.5)))
belief <- c(prior, plogis(log_odds))
cat(sum(fav), " of 15 errors favored their side; belief in malice ",
  "rises from ", round(100 * prior), "% to ", round(100 * belief[16]),
  "%\n",
  sep = ""
)

5plot(0:15, belief,
  type = "b", pch = c(1, ifelse(fav, 19, 1)),
  col = "#d6604d", ylim = c(0, 1), xlab = "Errors observed",
  ylab = "Probability of malice"
)
abline(h = 0.5, lty = 2)
1
The page’s controls: a charitable prior probability of malice, and what is really going on.
2
Fixes the random numbers so the run is reproducible.
3
Honest mistakes favor the person’s side half the time; motivated distortion, nine times in ten.
4
Bayesian updating after each error, with a likelihood ratio of 0.9 to 0.5 for a convenient error and 0.1 to 0.5 for an inconvenient one.
5
The posterior probability of malice after each error (filled dots are errors that favored them). One-sided errors overwhelm charity.
# Noem's Razor: when a pattern of convenient errors stops looking innocent.
import numpy as np
import matplotlib.pyplot as plt

prior = 0.05  # prior probability of malice (charitable)
truth = "Motivated distortion"  # or "Honest mistakes"
rng = np.random.default_rng(150)

# Each error either favors the person's side or not. Honest mistakes favor
# them half the time; motivated distortion 90% of the time.
p_fav = 0.5 if truth == "Honest mistakes" else 0.9
fav = rng.uniform(size=15) < p_fav
steps = np.where(fav, np.log(0.9 / 0.5), np.log(0.1 / 0.5))
log_odds = np.log(prior / (1 - prior)) + np.cumsum(steps)
belief = np.concatenate([[prior], 1 / (1 + np.exp(-log_odds))])
print(f"{fav.sum()} of 15 errors favored their side; belief in malice "
      f"rises from {100 * prior:.0f}% to {100 * belief[-1]:.0f}%")

plt.plot(belief, "-", color="#d6604d")
plt.scatter(np.arange(1, 16)[fav], belief[1:][fav], color="#d6604d",
            label="Error favored their side")
plt.axhline(0.5, color="black", linestyle="--")
plt.ylim(0, 1)
plt.xlabel("Errors observed")
plt.ylabel("Probability of malice")
plt.legend()
plt.show()

Key takeaways

  • Honest mistakes are random in direction. Motivated ones aren’t.
  • The direction of a series of errors is evidence about intent.
  • Charity is a good prior, not a fixed conclusion. Update it when the pattern demands.

Source

Back to top