Algorithm Search⌘K

Definitioncore

Uniformly most powerful test

Also called UMP test.

A level-alpha test whose power is at least that of every other level-alpha test at every parameter value in the alternative. It exists for one-sided problems with a monotone likelihood ratio.

A uniformly most powerful (UMP) test is a hypothesis test of level α\alpha that has the largest power among all level-α\alpha tests, at every parameter value of the alternative at the same time. The word "uniformly" is the strong part: one test must win against every alternative, not only against one chosen in advance. Such a test exists for one-sided problems in families with a monotone likelihood ratio, by the Karlin-Rubin theorem, and it usually does not exist for two-sided problems. When it does not exist, the theory restricts the class of tests, for example to unbiased tests.

Definition

Let XX have a distribution PθP_\theta from a family {Pθ:θ∈Θ}\{P_\theta : \theta \in \Theta\}, and let Θ0\Theta_0 and Θ1\Theta_1 be disjoint subsets of Θ\Theta. Consider the null hypothesis H0:θ∈Θ0H_0: \theta \in \Theta_0 against the alternative H1:θ∈Θ1H_1: \theta \in \Theta_1. A test is a function ϕ\phi from the sample space to [0,1][0, 1], and ϕ(x)\phi(x) is the probability that the test rejects H0H_0 on the data xx. Its power function is

βϕ(θ)=Eθ ϕ(X),θ∈Θ.\beta_\phi(\theta) = E_\theta\,\phi(X), \qquad \theta \in \Theta.

The test has level α\alpha when sup⁡θ∈Θ0βϕ(θ)≤α\sup_{\theta \in \Theta_0} \beta_\phi(\theta) \le \alpha. Its size is this supremum.

Definition. A test ϕ\phi of level α\alpha is uniformly most powerful at level α\alpha if, for every test ψ\psi of level α\alpha,

βϕ(θ)≥βψ(θ)for every θ∈Θ1.\beta_\phi(\theta) \ge \beta_\psi(\theta) \quad \text{for every } \theta \in \Theta_1.

So ϕ\phi is a most powerful test of H0H_0 against each simple alternative θ1∈Θ1\theta_1 \in \Theta_1, and the same test works for all of them. When Θ1\Theta_1 has only one point, a UMP test is a most powerful test, and the Neyman-Pearson lemma says that it exists and gives its form. The definition allows randomized tests. With discrete data, a UMP test at a given α\alpha is usually randomized, and the best non-randomized test is UMP only at its own size.

Two remarks follow from the definition.

  • Equivalent tests. If ϕ\phi and ϕ′\phi' are both UMP at level α\alpha, they have the same power at every θ∈Θ1\theta \in \Theta_1. By the necessity part of the Neyman-Pearson lemma, applied at each simple alternative, they agree almost everywhere off the set where the likelihood ratio equals the threshold.
  • Dependence on α\alpha. UMP is a property of a test at one level. A family of tests indexed by α\alpha is UMP when each member is. The one-sided tests below are UMP at every α\alpha, and their p-values are then defined from one statistic.

Examples and non-examples

One-sided normal mean (UMP). Let X1,…,XnX_1, \dots, X_n be iid N(μ,σ2)N(\mu, \sigma^2) with σ\sigma known, and test H0:μ≤μ0H_0: \mu \le \mu_0 against H1:μ>μ0H_1: \mu > \mu_0. The test that rejects when Xˉ≥μ0+z1−ασ/n\bar X \ge \mu_0 + z_{1-\alpha}\sigma/\sqrt n, with zpz_p the lower pp-quantile of N(0,1)N(0, 1), is UMP at level α\alpha. This is the one-sided z-test. Its rejection region is the most powerful one against each single μ1>μ0\mu_1 > \mu_0, and it does not depend on μ1\mu_1. Its power increases in μ\mu, so the size over the composite null is attained at μ0\mu_0.

One-sided binomial (UMP, randomized). Let KK be binomial with n=10n = 10 trials, and test H0:p≤1/2H_0: p \le 1/2 against H1:p>1/2H_1: p > 1/2 at α=0.05\alpha = 0.05. Under p=1/2p = 1/2, P(K≥9)=11/1024≈0.0107P(K \ge 9) = 11/1024 \approx 0.0107 and P(K≥8)=56/1024≈0.0547P(K \ge 8) = 56/1024 \approx 0.0547, so no non-randomized test of the form "reject for large KK" has size exactly 0.050.05. The UMP test rejects when K≥9K \ge 9, and when K=8K = 8 it rejects with probability

γ=0.05−11/102445/1024=6775≈0.8933.\gamma = \frac{0.05 - 11/1024}{45/1024} = \frac{67}{75} \approx 0.8933.

Its power, compared with the non-randomized test "reject when K≥9K \ge 9":

true pp UMP test K≥9K \ge 9
0.6 0.1544 0.0464
0.7 0.3579 0.1493
0.8 0.6456 0.3758
0.9 0.9091 0.7361

In practice the binomial test reports a p-value and does not randomize. It is then conservative, with size 0.01070.0107 here.

Two-sided normal mean (no UMP test). Take n=1n = 1, σ=1\sigma = 1, H0:μ=0H_0: \mu = 0 against H1:μ≠0H_1: \mu \ne 0, and α=0.05\alpha = 0.05. Against μ=1\mu = 1, the most powerful test rejects when X≥1.6449X \ge 1.6449, with power 0.25950.2595. Against μ=−1\mu = -1, it rejects when X≤−1.6449X \le -1.6449, also with power 0.25950.2595. A UMP test would have power 0.25950.2595 at both points. At μ=1\mu = 1 it would be most powerful, so by the necessity part of the Neyman-Pearson lemma it would be the test "reject when X≥1.6449X \ge 1.6449" up to a null set. That test has power only 0.00410.0041 at μ=−1\mu = -1. So no UMP test exists. The usual two-sided test, which rejects when ∣X∣≥1.96|X| \ge 1.96, has power 0.17010.1701 at both points. It is UMP among unbiased tests.

true μ\mu reject when X≥1.645X \ge 1.645 reject when X≤−1.645X \le -1.645 reject when ∣X∣≥1.96\lvert X \rvert \ge 1.96
−1-1 0.0041 0.2595 0.1701
−0.5-0.5 0.0160 0.1261 0.0791
0.5 0.1261 0.0160 0.0791
1 0.2595 0.0041 0.1701

Uniform scale (a two-sided UMP test). Let X1,…,XnX_1, \dots, X_n be iid uniform on (0,θ)(0, \theta), let M=max⁡iXiM = \max_i X_i, and test H0:θ=θ0H_0: \theta = \theta_0 against H1:θ≠θ0H_1: \theta \ne \theta_0. The test that rejects when M>θ0M > \theta_0 or M≤θ0 α1/nM \le \theta_0\,\alpha^{1/n} has size α\alpha and is UMP. For θ>θ0\theta > \theta_0, on the event {M≤θ0}\{M \le \theta_0\} the density of the sample under θ\theta is (θ0/θ)n(\theta_0/\theta)^n times the density under θ0\theta_0. So every level-α\alpha test ψ\psi has

Eθψ≤(θ0/θ)n Eθ0ψ+Pθ(M>θ0)≤1−(1−α)(θ0/θ)n,E_\theta \psi \le (\theta_0/\theta)^n\,E_{\theta_0}\psi + P_\theta(M > \theta_0) \le 1 - (1 - \alpha)(\theta_0/\theta)^n,

which is the power of the test above. For θ<θ0\theta < \theta_0 the same density relation on {M≤θ}\{M \le \theta\} gives Eθψ≤min⁡(1,α(θ0/θ)n)E_\theta \psi \le \min(1, \alpha(\theta_0/\theta)^n), again the power of the test above. With n=5n = 5, θ0=1\theta_0 = 1 and α=0.05\alpha = 0.05, the lower cut is 0.051/5=0.54930.05^{1/5} = 0.5493, and the power is 0.15260.1526 at θ=0.8\theta = 0.8, 0.61820.6182 at θ=1.2\theta = 1.2 and 0.87490.8749 at θ=1.5\theta = 1.5. A UMP two-sided test exists here because the support moves with θ\theta, which is not the case for the normal mean.

Cauchy location (no UMP test, one-sided). Let XX have the Cauchy density 1/(π(1+(x−θ)2))1/(\pi(1 + (x - \theta)^2)), and test θ=0\theta = 0 against θ>0\theta > 0. The likelihood ratio (1+x2)/(1+(x−θ1)2)(1 + x^2)/(1 + (x - \theta_1)^2) is not monotone in xx: it tends to 1 as x→±∞x \to \pm\infty. The most powerful region against θ1\theta_1 is a set of xx near θ1\theta_1, and it changes with θ1\theta_1. So even a one-sided UMP test does not exist. The family has no monotone likelihood ratio, and the Karlin-Rubin theorem does not apply.

Normal mean with unknown variance (UMP only in a smaller class). For H0:μ≤μ0H_0: \mu \le \mu_0 with σ\sigma unknown, the one-sided Student t-test is UMP among unbiased tests, and also among tests that do not change when the data are rescaled (Lehmann and Romano, Chapters 5 and 6). The nuisance parameter σ\sigma is the obstacle to a UMP test among all tests.

  • Most powerful test. The case of a simple alternative. The Neyman-Pearson lemma says that it rejects for large values of the likelihood ratio.
  • Monotone likelihood ratio. A family has a monotone likelihood ratio in a statistic TT when f(x;θ2)/f(x;θ1)f(x; \theta_2)/f(x; \theta_1) is a nondecreasing function of T(x)T(x) for θ1<θ2\theta_1 < \theta_2. The Karlin-Rubin theorem shows that the test "reject when TT is large" is then UMP for one-sided hypotheses. One-parameter exponential families have this property in their natural statistic.
  • Unbiased test. A level-α\alpha test is unbiased when βϕ(θ)≥α\beta_\phi(\theta) \ge \alpha for every θ∈Θ1\theta \in \Theta_1. A UMP unbiased (UMPU) test is UMP within this class. For two-sided problems in exponential families, UMPU tests exist and are given by the generalized Neyman-Pearson lemma (Lehmann and Romano, Chapter 4). The two-sided z-test and t-test are UMPU.
  • Invariant tests. When a problem does not change under a group of transformations, a UMP invariant test is UMP among the tests that do not change either. The t-test and the F-test of the regression F-test page are of this kind.
  • Locally most powerful test. A test that maximizes the slope of the power function at the boundary θ0\theta_0 among level-α\alpha tests. For a smooth one-parameter family it rejects for large values of the score Un(θ0)U_n(\theta_0), which is the one-sided score test.
  • Asymptotic optimality. When no UMP test exists, large-sample theory compares tests by their local power. The likelihood ratio test, the Wald test and the score test have the same local power to first order.
  • Duality with intervals. By test-interval duality, inverting a family of UMP one-sided tests gives uniformly most accurate confidence bounds.

References

  1. George Casella and Roger L. Berger, Statistical Inference, second edition, Duxbury, 2002, Section 8.3.2 (most powerful tests, the definition of a UMP test, Theorem 8.3.12 and Theorem 8.3.17, and the two-sided normal example)
  2. E. L. Lehmann and Joseph P. Romano, Testing Statistical Hypotheses, third edition, Springer, 2005, Chapter 3 (uniformly most powerful tests, Theorem 3.4.1 for families with a monotone likelihood ratio) and Chapter 4 (uniformly most powerful unbiased tests)
  3. Jerzy Neyman and Egon S. Pearson, On the problem of the most efficient tests of statistical hypotheses, Philosophical Transactions of the Royal Society of London, Series A 231 (1933), pages 289 to 337, the common best critical region for a class of alternatives

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/1APRNZ/text.yaml