Confidence Bounds, Conditioning, and Unbiased Tests
A confidence set can be constructed by retaining every parameter value whose hypothesis test accepts the observed data. This correspondence transfers optimality questions from confidence bounds to tests. We begin with one-sided bounds, then examine how nuisance parameters change the problem and how conditioning leads to unbiased and permutation tests.
Let \(0<\alpha<1\). A lower confidence bound \(L=L(X)\) for a real parameter satisfies \(P_\theta(L\le\theta)\ge1-\alpha\) for every \(\theta\in\Theta\). We allow extended endpoints when inversion reaches the edge of the parameter space. Randomized procedures can be represented as functions of the observations and an independent uniform variable.
Definition 1. A lower bound is uniformly most accurate if, among all bounds satisfying the coverage constraint, it minimizes \(P_\theta(L\le\theta')\) for every pair \(\theta'<\theta\). This asks for the smallest probability of including each false value below the truth.
Lemma 2. A uniformly most accurate bound simultaneously minimizes expected losses of the form
Proof. Tonelli gives \(E_\theta\mathcal L(\theta,L)=\int_{t<\theta}P_\theta(L\le t)\,\nu_\theta(dt)\); every integrand is minimized by the uniformly most accurate bound. This includes the underestimation loss \((\theta-b)_+\) by taking Lebesgue measure. An arbitrary loss, or minimization for just one loss, does not imply the assertion in the archival statement.
More generally, a measurable random set \(S(X)\subseteq\Theta\) has confidence level \(1-\alpha\) if \(P_\theta(\theta\in S(X))\ge1-\alpha\) for every \(\theta\). A lower bound gives \(S(X)=[L(X),\infty)\cap\Theta\).
Proposition 3. Let \(A(\theta_0)\) be a level-\(\alpha\) acceptance region for testing \(\theta=\theta_0\), and define \(S(x)=\{\theta_0\in\Theta:x\in A(\theta_0)\}\). Then \(S\) has confidence level \(1-\alpha\). If each test is uniformly most powerful against \(K(\theta_0)\), then \(S\) minimizes \(P_\theta(\theta_0\in S(X))\) for every \(\theta_0\in\Theta\) and \(\theta\in K(\theta_0)\).
Proof. The event \(\theta_0\in S(X)\) is exactly \(X\in A(\theta_0)\). Setting the data-generating parameter to \(\theta_0\) proves coverage. Conversely, any competing confidence set \(S^*\) defines a level-\(\alpha\) test with acceptance event \(\theta_0\in S^*(X)\). At an alternative \(\theta\in K(\theta_0)\), UMP optimality therefore gives
Remark 4. This is test inversion: retain precisely the parameter values whose tests accept the observed sample. The same construction applies to randomized tests by using an auxiliary uniform variable. Confidence coverage concerns repeated samples at each fixed true parameter.
Lemma 5. Here is a convenient version with explicit endpoint conditions. Let \(\Theta\) be an interval and assume monotone likelihood ratio in \(T\): for \(\theta_1>\theta_0\), the density ratio is nondecreasing in \(T\). Suppose the cdf \(F_\theta(t)\) is continuous and strictly increasing in \(t\) on a common support interval, continuous in \(\theta\), and strictly decreasing in \(\theta\) there. Then the \((1-\alpha)\)-quantile \(c(\theta)\) is continuous and strictly increasing. Inverting the tests \(T>c(\theta_0)\) gives a uniformly most accurate lower bound. Whenever a solution exists,
Proof. Neyman–Pearson applied to each \(\theta_1>\theta_0\) shows that an upper-tail test of null size \(\alpha\) is most powerful; the cutoff depends only on \(\theta_0\), hence is UMP. Strict stochastic ordering implies \(c(\theta_1)>c(\theta_0)\). For continuity at \(\theta\), values just below and above \(c(\theta)\) have cdf values strictly below and above \(1-\alpha\); continuity in the parameter brackets all nearby quantiles between them. Thus \(\{\theta:T(x)\le c(\theta)\}\) is an upper interval, with a closed endpoint whenever that endpoint lies in \(\Theta\). Proposition 3 proves accuracy. Strict monotonicity gives the unique inverse equation. Without strictness or the common-support conditions, one must retain the acceptance sets and use generalized inverses; one cannot simply assert ordinary inverse functions or finite endpoints.
1. Testing the mean of a normal distribution
Let \(X_1,\ldots,X_n\) be independent \(\mathcal{N}(\mu,\sigma^2)\), with \(n\ge2\), \(\sigma>0\), and put \(\nu=n-1\),
Under \(\mu=\mu_0\), \(t=\sqrt n(\overline X-\mu_0)/S\) has a Student \(t_\nu\) law. With \(t_{\nu,p}\) denoting its \(p\)-quantile, the two-sided acceptance region is \(|t|\le t_{\nu,1-\alpha/2}\); a one-sided upper rejection region is \(t>t_{\nu,1-\alpha}\).
To justify unbiased optimality, write the normal likelihood in exponential-family form:
The precise external result used for this optimality step is Lehmann and Romano, Testing Statistical Hypotheses, third edition, Theorem 4.4.1, pp. 119–123; the normal-model application is in §5.2, pp. 154–156. The calculations below verify the parameters and conditional regions for this application.
For testing \(\sigma\ge\sigma_0\) against \(\sigma<\sigma_0\), condition on \(\overline X\). The remaining statistic \(R\) is independent of it, so the UMP-unbiased test rejects for
The union null \(\sigma\le\sigma_0\) or \(\sigma\ge\sigma_1\), where \(0<\sigma_0<\sigma_1\), is a different problem. Its UMP-unbiased rejection region is \(C_1<R<C_2\), with
For the point null \(\sigma=\sigma_0\), the UMP-unbiased acceptance region is \(a<R/\sigma_0^2<b\), where
For mean tests, center the observations at \(\mu_0\) and let \(Q=\sum_i(X_i-\mu_0)^2\). Under the null, the standardized Gaussian vector has an independent radius and uniform direction on the sphere. Therefore
Remark 6. Here is the full density calculation, using a single degrees-of-freedom symbol \(\nu\). Let \(Z\sim \mathcal{N}(0,1)\) and \(V\sim\chi^2_\nu\) be independent, with densities \((2\pi)^{-1/2}e^{-z^2/2}\) and \(v^{\nu/2-1}e^{-v/2}/[2^{\nu/2}\Gamma(\nu/2)]\), respectively. Set \(T=Z\sqrt{\nu/V}\), \(W=V\). The inverse transformation is \(Z=T\sqrt{W/\nu}\), \(V=W\), with Jacobian matrix
Remark 7. Inverting the two-sided mean test gives \(\overline X\pm t_{\nu,1-\alpha/2}S/\sqrt n\). Its expected length is
2. Unbiased confidence sets
With nuisance parameter \(\eta\), a usable confidence procedure remains a function of observed data and any auxiliary randomization, not of the unknown \(\eta\). Its coverage must hold for every nuisance value. For tests of the point hypotheses \(\theta=\theta'\), unbiased confidence sets satisfy
For the normal variance, inversion of \(a<R/\sigma_0^2<b\) gives the UMA-unbiased interval \((R/b,R/a)\) for \(\sigma^2\); boundary choices do not affect continuous sampling probabilities.
Lemma 8. Suppose real densities are positive on a common interval and have monotone likelihood ratio in \(x\). Suppose the UMP-unbiased level-\(\alpha\) tests of \(\theta=\theta_0\) have acceptance intervals \([C_1(\theta_0),C_2(\theta_0)]\), and have power strictly greater than \(\alpha\) at every other parameter. Then both endpoints increase strictly with \(\theta\). Whenever ordinary inverses at \(x\) exist, the inverted interval is
Proof. Take \(\theta_0<\theta_1\), with tests \(\phi_0,\phi_1\). Strict unbiasedness gives \(E_{\theta_0}(\phi_1-\phi_0)>0\) and \(E_{\theta_1}(\phi_1-\phi_0)<0\). Hence neither acceptance interval contains the other. If the second interval were shifted to the left, \(d=\phi_1-\phi_0\) would be negative on its left excess and positive on the first interval's right excess. Choose a separating point \(x_*\), and put \(k=p_{\theta_1}(x_*)/p_{\theta_0}(x_*)\). Monotone likelihood ratio gives \(d(x)(p_{\theta_1}(x)/p_{\theta_0}(x)-k)\ge0\). Integrating implies \(E_{\theta_1}d\ge kE_{\theta_0}d\ge0\), a contradiction. Thus the second interval must shift to the right, with both endpoints strictly larger. Solving the acceptance inequalities proves the inverse formula. The optimality class here is unbiased tests; unrestricted two-sided UMP tests are not being assumed.
Permutation inference removes the normal shape assumption. For orientation, in the two-sample normal model with a common variance, the contrast \(\overline Y-\overline X\) divided by its pooled standard error has a \(t_{m+n-2}\) null law and gives the UMP-unbiased one-sided test. Orthogonally separate this contrast, the grand mean, and the within-sample residual coordinates; the conditional exponential-family argument above applies after conditioning on the grand mean and the remaining nuisance quadratic statistic. Under a common nonnormal distribution with positive finite variance and \(m/(m+n)\to\lambda\in(0,1)\), the ordinary CLT for the two means and consistency of the pooled variance instead give asymptotic normal calibration. This is an asymptotic assertion, not finite-sample exactness.
For exact inference, take independent strata \(i=1,\ldots,a\), each with \(m_i\) control and \(n_i\) treated observations, \(N_i=m_i+n_i\). Let their joint density be
If a level-\(\alpha\) test is unbiased for every \(\Delta>0\), then it has exact null rejection probability \(\alpha\) for every collection of densities. Indeed translations are continuous in \(L^1\), so the finite-product density \(p_\Delta\to p_0\) in \(L^1\) as \(\Delta\downarrow0\). For \(0\le\phi\le1\), power is therefore continuous at zero; power at least \(\alpha\) on the alternative and at most \(\alpha\) at zero force equality.
Proposition 9. For the family of all probability densities continuous almost everywhere, a bounded critical function \(\phi\) has \(E_0\phi=\alpha\) for every collection \(f_1,\ldots,f_a\) if and only if
Proof. Null invariance immediately proves sufficiency by integrating the group average. For necessity, define the bounded, separately symmetric function \(b(z)=M^{-1}\sum_g\phi(gz)-\alpha\). Its integral against \(\prod_{i,j}f_i(z_{ij})\) is zero for every choice of \(f_i\).
For one stratum of size \(N\), take \(f=(\sum_{j=1}^N t_j f_j)/(\sum_jt_j)\) with \(t_j>0\). Multiplying the zero integral by \((\sum_jt_j)^N\) gives a polynomial identically zero on an open orthant. The coefficient of \(t_1\cdots t_N\) is \(N!\int b(z)\prod_j f_j(z_j)\,dz\), because symmetry makes all permutations equal. Hence every such mixed integral vanishes. Apply this coefficient argument separately to every stratum. Taking the \(f_j\)'s to be uniform densities on bounded intervals shows that the integral of \(b\) on every bounded coordinate rectangle is zero. These densities are continuous except at their endpoints and belong to the specified family. Uniqueness of the locally finite signed measure with density \(b\), or Lebesgue differentiation on rectangles, yields \(b=0\) almost everywhere.
Finally, exchangeability makes the conditional distribution given the ordered samples uniform on the within-stratum permutations. Thus the group average is exactly the conditional expectation. This supplies the completeness argument left implicit in the archival proof.
For a fixed alternative density \(h\), conditional probabilities on a permutation set with positive total alternative mass are proportional to \(h(gz)\). Its conditional power is
Remark 10. If all the ordered likelihood values differ, reject the largest \(k=\lfloor\alpha M\rfloor\) with probability one and the next with probability \(\alpha M-k\). With ties, let \(a\) be the number strictly above a boundary value and \(b\) the number equal to it; use boundary probability \((\alpha M-a)/b\). Each permutation, including repeated statistic values, retains its probability weight. The ranking generally depends on the specified alternative, so this construction by itself does not give a UMP test over all alternative densities.
Remark 11. For normal alternatives with stratum means \(\mu_i\), common variance \(\sigma^2\), and common positive treatment shift \(\Delta\), expand the squared residuals. On a permutation set, the sums of all observations and of all their squares in each stratum are fixed, as are the treatment counts. The only varying log-likelihood term is
Lemma 12. Suppose a two-sample test has rejection probability \(\alpha\) whenever the distributions agree, and is nondecreasing in every treatment observation with controls fixed. If \(G\) is stochastically larger than \(F\), meaning \(G(t)\le F(t)\) for every real \(t\), then its power under \((F,G)\) is at least \(\alpha\). The reverse ordering gives power at most \(\alpha\).
Proof. For independent uniforms \(V_j\), generalized quantiles satisfy \(F^{-1}(V_j)\le G^{-1}(V_j)\) almost surely. Couple the controls as \(F^{-1}(V_1),\ldots,F^{-1}(V_m)\), and compare treatment draws \(F^{-1}(V_{m+j})\) with \(G^{-1}(V_{m+j})\). The test inequality holds pointwise, and taking expectations proves the result. The same proof works separately within independent strata.
For the treatment-sum permutation test, the required monotonicity includes randomization at ties. Fix the observed assignment \(A_0\). For any competing assignment \(A\) of the same stratum sizes,