Algorithm Search⌘K

Conceptcore

Statistical decision theory

Also called Wald's decision theory, risk function.

Wald's framework in which an estimator or test is a decision rule judged by its risk, the expected loss. It defines admissible, minimax and Bayes rules.

Statistical decision theory treats every statistical procedure, such as an estimator, a test or a confidence set, as a rule that maps the data to an action. A loss function scores each action against the true parameter, and the rule is judged by its risk, the expected loss at each parameter value. Abraham Wald built the framework in the 1940s and set it out in his book of 1950. It gives exact meanings to "better", "best on average" and "best in the worst case", through the ideas of admissible, Bayes and minimax rules.

In plain words

A statistician must act on data without knowing the truth: give a number, accept or reject a claim, choose a treatment. Each action has a cost that depends on the truth. A rule says in advance what to do for each possible data set. Because the data are random, the cost of a rule is random too, so we look at its average cost for each possible truth. One rule is better than another if its average cost is never higher and sometimes lower. Usually no rule is best for every possible truth, so we choose a rule that is best on average over a weighting of the truths, or one whose worst case is as small as possible.

The idea

The parts.

  • A parameter space Θ\Theta, and data XX with distribution PθP_\theta, θ∈Θ\theta \in \Theta.
  • An action space A\mathcal A: the values of ψ(θ)\psi(\theta) for estimation, {accept,reject}\{\text{accept}, \text{reject}\} for a test, a set of intervals for interval estimation.
  • A loss L(θ,a)≥0L(\theta, a) \ge 0: the cost of action aa when θ\theta is true. Squared error (ψ(θ)−a)2(\psi(\theta) - a)^2 and absolute error ∣ψ(θ)−a∣\lvert \psi(\theta) - a \rvert are common for estimation; 0-1 loss for tests.
  • A decision rule δ:X→A\delta : \mathcal X \to \mathcal A. A randomized rule picks the action at random, with a distribution that depends on xx.

Risk. The risk of δ\delta at θ\theta is

R(θ,δ)=Eθ L(θ,δ(X)).R(\theta, \delta) = \mathbb{E}_\theta\, L(\theta, \delta(X)).

Under squared error, the risk of an estimator is its mean squared error. For a test with 0-1 loss, the risk is the probability of a type I error when θ\theta is in the null set and of a type II error when it is in the alternative. The risk of a rule is a curve over Θ\Theta, not a single number.

Domination and admissibility. δ′\delta' dominates δ\delta when R(θ,δ′)≤R(θ,δ)R(\theta, \delta') \le R(\theta, \delta) for every θ\theta, with strict inequality for at least one θ\theta. A rule that no other rule dominates is admissible. An inadmissible rule should not be used, because some other rule is never worse.

Why no rule is best everywhere. The constant estimator δ(X)=θ0\delta(X) = \theta_0 has risk zero at θ=θ0\theta = \theta_0 under squared error. A rule that is best at every θ\theta would need risk zero at every θ\theta, which is impossible except in trivial problems. There are three standard ways out.

  1. Restrict the class of rules. Ask for the best rule among unbiased rules (minimum variance unbiased estimator), or among rules that respect a symmetry of the problem (equivariant rules).
  2. Average over θ\theta: Bayes rules. For a prior π\pi on Θ\Theta, the Bayes risk is r(π,δ)=∫R(θ,δ) π(dθ)r(\pi, \delta) = \int R(\theta, \delta)\, \pi(d\theta), and a rule that minimizes it is a Bayes rule for π\pi.
  3. Guard against the worst case: minimax rules. A rule δ∗\delta^* is minimax when sup⁡θR(θ,δ∗)=inf⁡δsup⁡θR(θ,δ)\sup_\theta R(\theta, \delta^*) = \inf_\delta \sup_\theta R(\theta, \delta).

Computing a Bayes rule. By Fubini's theorem, r(π,δ)=∫(∫L(θ,δ(x)) π(dθ∣x)) m(dx)r(\pi, \delta) = \int \Big(\int L(\theta, \delta(x))\, \pi(d\theta \mid x)\Big)\, m(dx), where π(⋅∣x)\pi(\cdot \mid x) is the posterior and mm the marginal law of XX. So a rule that, for each xx, picks the action with the smallest posterior expected loss is a Bayes rule. Under squared error this is the posterior mean, under absolute error a posterior median, and under 0-1 loss on a finite Θ\Theta the posterior mode. See Bayes estimator.

A Bayes rule with constant risk is minimax. Let δπ\delta_\pi be a Bayes rule for π\pi with R(θ,δπ)=cR(\theta, \delta_\pi) = c for every θ\theta. For any rule δ\delta,

sup⁡θR(θ,δ) ≥ r(π,δ) ≥ r(π,δπ)=c=sup⁡θR(θ,δπ).\sup_\theta R(\theta, \delta) \ \ge\ r(\pi, \delta) \ \ge\ r(\pi, \delta_\pi) = c = \sup_\theta R(\theta, \delta_\pi).

The first step holds because an average is at most the maximum, and the second because δπ\delta_\pi is Bayes. So δπ\delta_\pi is minimax, and π\pi is a least favorable prior: no prior has a larger Bayes risk.

The statistical game. Decision theory is a zero-sum game between nature, which picks θ\theta, and the statistician, who picks δ\delta, with payoff R(θ,δ)R(\theta, \delta). Randomized rules and priors are the mixed strategies. Under conditions such as a finite Θ\Theta, the minimax theorem gives inf⁡δsup⁡πr(π,δ)=sup⁡πinf⁡δr(π,δ)\inf_\delta \sup_\pi r(\pi, \delta) = \sup_\pi \inf_\delta r(\pi, \delta): the minimax risk equals the largest Bayes risk.

Complete classes. Wald's complete class theorems say that, under conditions, every admissible rule is a Bayes rule or a limit of Bayes rules. With a convex loss, the Rao-Blackwell theorem shows that rules that depend on the data only through a sufficient statistic are enough, and that randomized rules are not needed.

Examples

A binomial proportion with four trials. Let X∼X \sim Binomial(4,p)(4, p) and use squared error. Compare Xˉ=X/4\bar X = X/4 with δ∗(X)=(X+1)/6\delta^*(X) = (X + 1)/6.

pp 00 0.10.1 0.30.3 0.50.5
R(p,Xˉ)=p(1−p)/4R(p, \bar X) = p(1-p)/4 00 0.02250.0225 0.05250.0525 0.06250.0625
R(p,δ∗)R(p, \delta^*) 0.02780.0278 0.02780.0278 0.02780.0278 0.02780.0278

The risk of δ∗\delta^* is (4p(1−p)+(1−2p)2)/36=1/36\big(4p(1-p) + (1 - 2p)^2\big)/36 = 1/36 for every pp. The estimator δ∗\delta^* is the posterior mean under the uniform prior, so it is a Bayes rule with constant risk, and so it is minimax. Its maximum risk 1/36≈0.02781/36 \approx 0.0278 is well below the 1/16=0.06251/16 = 0.0625 of Xˉ\bar X. But Xˉ\bar X has smaller risk when p(1−p)<1/9p(1-p) < 1/9, that is for p<0.1273p < 0.1273 or p>0.8727p > 0.8727. Neither rule dominates the other. Under the uniform prior, the Bayes risk of Xˉ\bar X is ∫01p(1−p)/4 dp=1/24\int_0^1 p(1-p)/4\, dp = 1/24, larger than 1/361/36. For general nn the minimax rule is (X+n/2)/(n+n)(X + \sqrt n/2)/(n + \sqrt n), the Bayes rule for the Beta(n/2,n/2)(\sqrt n/2, \sqrt n/2) prior, with constant risk 1/(4(n+1)2)1/(4(\sqrt n + 1)^2) (Hodges and Lehmann 1950); at n=4n = 4 that prior is uniform.

Shrinking a normal mean. Let X∼N(θ,1)X \sim N(\theta, 1) and δc(X)=cX\delta_c(X) = cX under squared error. Then R(θ,δc)=c2+(1−c)2θ2R(\theta, \delta_c) = c^2 + (1 - c)^2\theta^2. For c=1c = 1 the risk is 11 for every θ\theta. For c<1c < 1 it is smaller near θ=0\theta = 0 but grows without bound, so XX is minimax. In one dimension XX is also admissible; in three or more dimensions the James-Stein estimator dominates it.

Testing. For a test of H0:θ∈Θ0H_0: \theta \in \Theta_0 with 0-1 loss, the risk at θ∈Θ0\theta \in \Theta_0 is the probability of rejection, and at θ∉Θ0\theta \notin \Theta_0 the probability of acceptance. Neyman-Pearson theory fixes the first below α\alpha and minimizes the second, which is the "restrict the class" route; a Bayes test instead weights the two errors by a prior and rejects when the posterior odds exceed the ratio of the losses.

Where it is used

  • Estimation theory. Mean squared error comparisons, admissible estimators, minimax estimators and shrinkage, including the James-Stein estimator and empirical Bayes methods.
  • Bayesian statistics. A Bayes estimator is the action that minimizes posterior expected loss; the loss chosen decides whether it is a mean, a median or a mode.
  • Machine learning. Empirical risk minimization replaces the expected loss by its average over training data. There the risk is taken over the data distribution for a fixed predictor, which is a different reading of the same word.
  • Sequential analysis. Wald's sequential probability ratio test came from the same program, with the cost of sampling added to the loss.
  • Games and robustness. The minimax criterion links statistics to game theory and to robust procedures that control the worst case over a set of models.

References

  1. Wald 1950, the general theory of decision functions, risk, minimax and Bayes solutions, complete classes
  2. James O. Berger, Statistical Decision Theory and Bayesian Analysis, second edition, Springer, 1985, the chapters on basic concepts, Bayesian analysis, minimax analysis and complete and essentially complete classes
  3. Larry Wasserman, All of Statistics, Springer, 2004, Chapter 12 (Statistical Decision Theory), Sections 12.1 to 12.6
  4. George Casella and Roger L. Berger, Statistical Inference, second edition, Duxbury, 2002, Section 7.3.4 (loss function optimality)
  5. J. L. Hodges Jr. and E. L. Lehmann, Some problems in minimax point estimation, Annals of Mathematical Statistics 21 (1950), pages 182 to 197, the minimax estimator of a binomial proportion under squared error

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/Z3VQ97/text.yaml