Skip to main content

The Speed Racer Principle

Thinking about statistics
Principle or heuristic
Intermediate
Sometimes the most interesting aspect of a scientific or cultural product is not its overt content but rather its unexamined assumptions.
Published

November 9, 2026

Modified

November 13, 2026

Entry #53 in Andrew Gelman’s Handy Statistical Lexicon. Original discussion: Thomas Hobbes would be spinning in his grave.

Filed under Thinking about statistics · Principle or heuristic · Intermediate.

Related terms: interaction on the log scale, unexamined assumptions.

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

What it is

Gelman rewatched the 1960s Speed Racer cartoons as an adult and found that the best parts were not the plots. They were the long drives, with Japanese industrial scenes in the background. “Similarly, sometimes the most interesting aspect of a book or article is not its overt content but rather its unexamined assumptions.” His example was a newspaper column on happiness research. The same is true of scientific work. The headline claim often matters less than the unexamined assumptions it rests on: the choice of scale, what counts as a unit, which variables are “controls,” what the comparison group is.

Why it matters

Unexamined assumptions are where conclusions are most fragile and readers are least alert. A paper may debate its estimator at length while silently assuming that effects are additive on the raw scale. That assumption alone can create or erase the main finding. Reading for assumptions, not just for claims, is a core skill for evaluating research.

How it works

A classic example is interaction and scale. Two groups grow at the same percentage rate. On the raw scale, their gap widens over time, which shows up as an interaction. On the log scale, the lines are parallel and there is no interaction. Whether the treatment works better for group A is a finding or an artifact depends on an assumption about scale that is rarely stated or defended.

Simulated example

Two groups, one starting higher, both growing by the same percentage per period. Fit the “interaction” model on the raw scale and on the log scale. The headline finding comes from the unexamined assumption.

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

viewof growth = Inputs.range([0, 0.3], {value: 0.15, step: 0.01, label: "Common growth rate per period"})
viewof ratio = Inputs.range([1, 4], {value: 2.5, step: 0.1, label: "Group A starts this many times higher"})
viewof scale = Inputs.radio(["Raw scale", "Log scale"], {value: "Raw scale", label: "Analysis scale"})
viewof seed = Inputs.range([1, 500], {value: 53, step: 1, label: "Random seed"})

racer = {
  const r = rng(seed);
  return range(400).map(() => {
    const t = r.int(0, 6), a = r.bernoulli(0.5);
    const y = 10 * (a ? ratio : 1) * Math.exp(growth * t + r.normal(0, 0.1));
    return {t, a, group: a ? "Group A" : "Group B", y, ly: Math.log(y)};
  });
}
inter = {
  const yv = racer.map(d => scale === "Raw scale" ? d.y : d.ly);
  const f = ols(racer.map(d => [d.t, d.a, d.t * d.a]), yv);
  return {coef: f.coef[3], se: f.se[3]};
}

Plot.plot({
  ariaLabel: "The Speed Racer Principle: simulation chart",
  ariaDescription: "Horizontal axis: Time period. The chart updates with the controls above it, and the summary below the charts states the result in words.",
  height: 300,
  x: {label: "Time period"},
  y: {label: scale === "Raw scale" ? "Outcome" : "log(Outcome)", grid: true, type: scale === "Raw scale" ? "linear" : "log"},
  color: {legend: true, range: ["#d6604d", "#2166ac"]},
  marks: [
    Plot.dot(racer, {x: d => d.t + (d.a ? 0.1 : -0.1), y: "y", fill: "group", r: 1.5, fillOpacity: 0.4}),
    Plot.line(racer, Plot.groupX({y: "mean"}, {x: "t", y: "y", stroke: "group", strokeWidth: 2}))
  ]
})
# The Speed Racer Principle: an interaction on one scale vanishes on another.
1growth <- 0.15 # common growth rate per period
ratio <- 2.5 # group A starts this many times higher
2set.seed(54)

t <- sample(0:6, 400, replace = TRUE)
a <- rbinom(400, 1, 0.5)
3y <- 10 * ifelse(a == 1, ratio, 1) * exp(growth * t + rnorm(400, 0, 0.1))
4raw <- summary(lm(y ~ t * a))$coefficients["t:a", 1:2]
5logs <- summary(lm(log(y) ~ t * a))$coefficients["t:a", 1:2]
cat("Interaction (time x group), estimate and se:\n",
  "raw scale ", round(raw[1], 2), " (", round(raw[2], 2), "), ",
  "log scale ", round(logs[1], 3), " (", round(logs[2], 3), ")\n",
  sep = ""
)

6par(mfrow = c(1, 2))
plot(jitter(t), y,
  pch = 19, cex = 0.5, main = "Raw scale",
  col = ifelse(a == 1, "#d6604d", "#2166ac"), xlab = "Time", ylab = "y"
)
plot(jitter(t), log(y),
  pch = 19, cex = 0.5, main = "Log scale",
  col = ifelse(a == 1, "#d6604d", "#2166ac"), xlab = "Time",
  ylab = "log y"
)
1
The page’s controls: the common growth rate and how much higher group A starts.
2
Fixes the random numbers so the run is reproducible.
3
Both groups grow at the same percentage rate; one starts higher.
4
On the raw scale the time-by-group interaction is large and significant: the headline finding.
5
On the log scale it vanishes. The finding came from the unexamined assumption about scale.
6
The same data on both scales.
# The Speed Racer Principle: an interaction on one scale vanishes on another.
import numpy as np
import matplotlib.pyplot as plt

growth = 0.15  # common growth rate per period
ratio = 2.5    # group A starts this many times higher
rng = np.random.default_rng(53)

t = rng.integers(0, 7, 400)
a = rng.binomial(1, 0.5, 400)
y = 10 * np.where(a == 1, ratio, 1) * np.exp(growth * t
                                             + rng.normal(0, 0.1, 400))
X = np.column_stack([np.ones(400), t, a, t * a])


def interaction(v):  # coefficient and se of time x group
    beta, *_ = np.linalg.lstsq(X, v, rcond=None)
    s2 = np.sum((v - X @ beta) ** 2) / (400 - 4)
    return beta[3], np.sqrt(s2 * np.linalg.inv(X.T @ X)[3, 3])


print("Interaction (time x group), estimate and se:")
print("raw scale {:.2f} ({:.2f}), ".format(*interaction(y))
      + "log scale {:.3f} ({:.3f})".format(*interaction(np.log(y))))

cols = np.where(a == 1, "#d6604d", "#2166ac")
jit = t + rng.uniform(-0.2, 0.2, 400)
fig, ax = plt.subplots(1, 2, figsize=(9, 4))
ax[0].scatter(jit, y, s=6, c=cols)
ax[0].set_title("Raw scale")
ax[1].scatter(jit, np.log(y), s=6, c=cols)
ax[1].set_title("Log scale")
plt.show()

Key takeaways

  • Read research for its assumptions, not just its claims.
  • Choices of scale, comparison group and “control” variables are often the real drivers of a result.
  • Make your own assumptions explicit, and check whether the conclusion survives reasonable alternatives.

Source

Back to top