Skip to main content

The Australia principle

Building and checking models
Principle or heuristic
Advanced
Build the parts of the model you need, as you need them.
Published

November 9, 2026

Modified

November 13, 2026

Entry #75 in Andrew Gelman’s Handy Statistical Lexicon. Original discussion: Prior distributions and the Australia principle.

Filed under Building and checking models · Principle or heuristic · Advanced.

Related terms: informative prior, sex ratio, small effects.

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

What it is

The name comes from a philosophical joke. Australia doesn’t really exist. “They” just build the parts you need when you visit: a mock-up of the airport, the Sydney Opera House in the background, some kangaroos. Gelman applies this to prior distributions. Where the likelihood is strong relative to the question you’re asking, you don’t need to worry much about the prior, and something vague will do. Where the likelihood is weak, you need to build more of the prior yourself, because “you need to supply the relevant scenery yourself, as it’s not coming from the likelihood.”

Why it matters

Two consequences follow, as Gelman puts it: the prior can often only be understood in the context of the likelihood, and the prior you need depends on the question being asked. His example is a random-sample survey of 3,000 people. For a public-opinion proportion, N = 3,000 gives about ±1 percentage point and any vague prior is fine. For comparing the sex ratio of babies born to “beautiful” and “ugly” parents, where plausible differences are a fraction of a percentage point, N = 3,000 tells you essentially nothing, and you need a strong prior to get a reasonable posterior.

How it works

With a normal approximation, the posterior mean is a precision-weighted average of the prior mean and the estimate:

\[ \hat\theta_{\text{post}} = \frac{\hat\theta/\text{se}^2 + \mu_0/\sigma_0^2}{1/\text{se}^2 + 1/\sigma_0^2}. \]

What matters is the size of the standard error relative to the effects you care about. When \(\text{se}\) is small compared with plausible effects, the prior barely matters. When \(\text{se}\) is large compared with plausible effects, the prior does most of the work, so it had better be built carefully.

Simulated example

The same survey of 3,000 people answers two questions. The first is a public-opinion proportion, where effects of interest are several percentage points. The second is a sex-ratio difference, where the true effect is at most a few tenths of a point. Compare the posteriors under a vague prior and an informative one.

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

viewof n = Inputs.range([500, 100000], {value: 3000, step: 500, label: "Survey sample size"})
viewof seed = Inputs.range([1, 500], {value: 75, step: 1, label: "Random seed"})

australia = {
  const r = rng(seed);
  // Q1: opinion proportion (truth 0.52), effect scale ~ 0.05.
  const se1 = 0.5 / Math.sqrt(n), est1 = 0.52 + r.normal(0, se1);
  // Q2: difference in Pr(girl) between two groups of n/2 (truth 0.002), effect scale ~ 0.003.
  const se2 = Math.sqrt(2 * 0.25 / (n / 2)), est2 = 0.002 + r.normal(0, se2);
  const rows = [];
  const add = (q, est, se, priorMean, vagueSd, infoSd, truth) => {
    for (const [label, sd] of [["Vague prior", vagueSd], ["Informative prior", infoSd]]) {
      const p = normalPosterior(priorMean, sd, est, se);
      rows.push({q, prior: label, mean: p.mean, lo: p.mean - 1.96 * p.sd, hi: p.mean + 1.96 * p.sd, truth, est, se});
    }
  };
  add("Q1: public-opinion proportion", est1, se1, 0.5, 1, 0.05, 0.52);
  add("Q2: sex-ratio difference", est2, se2, 0, 1, 0.003, 0.002);
  return rows;
}

Plot.plot({
  ariaLabel: "The Australia principle: simulation chart",
  ariaDescription: "Horizontal axis: Posterior estimate with 95% interval (each panel on its own scale). The chart updates with the controls above it, and the summary below the charts states the result in words.",
  height: 260,
  marginLeft: 120,
  facet: {data: australia, y: "q", marginRight: 10, label: null},
  fy: {label: null},
  x: {label: "Posterior estimate with 95% interval (each panel on its own scale)"},
  y: {label: null},
  marks: [
    Plot.ruleY(australia, {fy: "q", y: "prior", x1: "lo", x2: "hi", stroke: d => d.prior === "Vague prior" ? "#d6604d" : "#2166ac", strokeWidth: 3}),
    Plot.dot(australia, {fy: "q", y: "prior", x: "mean", fill: "currentColor", r: 4}),
    Plot.ruleX(australia, {fy: "q", x: "truth", stroke: "currentColor", strokeDasharray: "4 3"})
  ]
})
# The Australia principle: build the prior where the likelihood is weak.
1n <- 3000 # survey sample size
2set.seed(75)

3posterior <- function(prior_mean, prior_sd, est, se) {
  w0 <- 1 / prior_sd^2
  w1 <- 1 / se^2
  m <- (w0 * prior_mean + w1 * est) / (w0 + w1)
  s <- sqrt(1 / (w0 + w1))
  c(mean = m, lo = m - 1.96 * s, hi = m + 1.96 * s)
}
# Q1: an opinion proportion (truth 0.52); effects of interest ~5 points
4se1 <- 0.5 / sqrt(n)
est1 <- 0.52 + rnorm(1, 0, se1)
# Q2: difference in Pr(girl) between two groups (truth 0.002)
5se2 <- sqrt(2 * 0.25 / (n / 2))
est2 <- 0.002 + rnorm(1, 0, se2)

6res <- 100 * rbind(
  "Q1, vague prior"       = posterior(0.5, 1, est1, se1),
  "Q1, informative prior" = posterior(0.5, 0.05, est1, se1),
  "Q2, vague prior"       = posterior(0, 1, est2, se2),
  "Q2, informative prior" = posterior(0, 0.003, est2, se2)
)
print(round(res, 2)) # in percentage points
cat(
  "Q2 standard error:", round(100 * se2, 2),
  "points, against a true effect of 0.2 points\n"
)

par(mfrow = c(2, 1), mar = c(4, 11, 2, 1))
for (q in c("Q1", "Q2")) {
  r <- res[startsWith(rownames(res), q), ]
  plot(r[, "mean"], 1:2,
    xlim = range(r), ylim = c(0.5, 2.5), pch = 19,
    yaxt = "n", ylab = "", xlab = "Percentage points", main = q
  )
  segments(r[, "lo"], 1:2, r[, "hi"], 1:2,
    lwd = 3,
    col = c("#d6604d", "#2166ac")
  )
  axis(2, 1:2, c("Vague prior", "Informative prior"), las = 1)
  abline(v = if (q == "Q1") 52 else 0.2, lty = 2)
}
1
The page’s control: the survey sample size.
2
Fixes the random numbers so the run is reproducible.
3
The conjugate normal update: a prior and an estimate with its standard error give a posterior mean and 95% interval.
4
Question 1, an opinion proportion. The data are precise relative to the effects of interest, so the prior hardly matters.
5
Question 2, a tiny difference in the probability of a girl. The data are far too noisy, so the prior does all the work. That is the Australia principle: build the prior where the likelihood is weak.
6
The four posteriors in percentage points: each question with a vague and with an informative prior.
# The Australia principle: build the prior where the likelihood is weak.
import numpy as np
import matplotlib.pyplot as plt

n = 3000  # survey sample size
rng = np.random.default_rng(75)


def posterior(prior_mean, prior_sd, est, se):
    w0, w1 = 1 / prior_sd ** 2, 1 / se ** 2
    m, s = (w0 * prior_mean + w1 * est) / (w0 + w1), np.sqrt(1 / (w0 + w1))
    return 100 * m, 100 * (m - 1.96 * s), 100 * (m + 1.96 * s)


# Q1: an opinion proportion (truth 0.52); effects of interest ~5 points
se1 = 0.5 / np.sqrt(n)
est1 = 0.52 + rng.normal(0, se1)
# Q2: difference in Pr(girl) between two groups (truth 0.002)
se2 = np.sqrt(2 * 0.25 / (n / 2))
est2 = 0.002 + rng.normal(0, se2)

res = {"Q1": [posterior(0.5, 1, est1, se1), posterior(0.5, 0.05, est1, se1)],
       "Q2": [posterior(0, 1, est2, se2), posterior(0, 0.003, est2, se2)]}
for q, rows in res.items():
    for label, (m, lo, hi) in zip(["vague", "informative"], rows):
        print(f"{q}, {label} prior: {m:.2f} [{lo:.2f}, {hi:.2f}] points")
print(f"Q2 standard error: {100 * se2:.2f} points, "
      "against a true effect of 0.2 points")

fig, axes = plt.subplots(2, 1, figsize=(6, 4))
for ax, (q, rows), truth in zip(axes, res.items(), [52, 0.2]):
    for y, ((m, lo, hi), col) in enumerate(zip(rows,
                                               ["#d6604d", "#2166ac"])):
        ax.plot([lo, hi], [y, y], color=col, linewidth=3)
        ax.plot(m, y, "o", color="black")
    ax.axvline(truth, color="black", linestyle="--")
    ax.set_yticks([0, 1], ["Vague prior", "Informative prior"])
    ax.set_ylim(-0.5, 1.5)
    ax.set_title(q)
axes[1].set_xlabel("Percentage points")
plt.tight_layout()
plt.show()

Key takeaways

  • Build the prior where the likelihood is weak, and don’t fuss over it where the likelihood is strong.
  • The prior you need depends on the question, not just the data.
  • The prior can often only be understood in the context of the likelihood.

Source

Back to top