Chapter 3 Solutions — Uniformly Most Powerful Tests

Lehmann & Romano, Testing Statistical Hypotheses, 4th ed.

Full solutions to §3.10 Problems 3.1–3.71: Neyman–Pearson, p-values, MLR, confidence bounds, least favorable distributions, and normal applications.
Author

Companion solutions

Guide for the reader

Item Content
Source E. L. Lehmann & J. P. Romano, Testing Statistical Hypotheses, 4th ed.
Location §3.10 Problems (printed pp. 105–123)
Prerequisites Chapters 1–2: decision theory, sufficiency, exponential families
Notation As in Chapter 3 of the book
Coverage Problems 3.1–3.71 (complete)

Strategy: solutions follow the Chapter 3 theorems; textbook bracket hints are expanded into full arguments. No official solution manual is treated as authoritative.

Chapter blueprint

Table 1: Quick reference for Chapter 3
Concept Definition / key point Location
Level / size / power \(E_\theta\phi\le\alpha\) on \(H\); \(\beta(\theta)=E_\theta\phi\) §3.1
Neyman–Pearson lemma Reject when \(p_1>k p_0\); size \(\alpha\) \(\Rightarrow\) MP Thm 3.2.1
\(p\)-value \(\hat p=\inf\{\alpha:X\in R_\alpha\}\); superuniform under \(H\) §3.3, Lem 3.3.1
Monotone likelihood ratio (MLR) \(p_{\theta'}/p_\theta\) nondecreasing in \(T\) \(\Rightarrow\) one-sided UMP Thm 3.4.1
Exponential family, one-sided (3.19) \(\Rightarrow\) reject large \(T\) Cor 3.4.1
UMA confidence bound Dual to UMP acceptance regions Thm 3.5.1, Cor 3.5.1
Generalized NP (finite constraints) Maximize \(E f_{m+1}\) subject to \(E f_i=\alpha_i\) Thm 3.6.1
Two-sided exponential family Reject for intermediate \(C_1<T<C_2\) Thm 3.7.1
Least favorable distribution Prior \(\Lambda\) making NP still level \(\alpha\) on \(H\) Thm 3.8.1
Normal mean / variance applications LFD, partial sufficiency §3.9

Section 3.2

Problem 3.1 One-sided UMP tests for normal samples

NoteProblem statement

Let \(X_1,\ldots,X_n\) be a sample from \(N(\xi,\sigma^2)\).

  1. When \(\sigma=\sigma_0\) is known, there is a UMP test of \(H:\xi\le\xi_0\) vs \(\xi>\xi_0\) that rejects for large \(\sum(X_i-\xi_0)\).

  2. When \(\xi=\xi_0\) is known, there is a UMP test of \(H:\sigma\le\sigma_0\) vs \(\sigma>\sigma_0\) that rejects for large \(\sum(X_i-\xi_0)^2\).

Solution.

(i) Joint density \[ p_\xi(x)=(2\pi\sigma_0^2)^{-n/2}\exp\Bigl(-\frac1{2\sigma_0^2}\sum(x_i-\xi)^2\Bigr). \] For \(\xi'>\xi\), \[ \frac{p_{\xi'}(x)}{p_\xi(x)}=\exp\Bigl(\frac{\xi'-\xi}{\sigma_0^2}\sum x_i-\frac{n}{2\sigma_0^2}((\xi')^2-\xi^2)\Bigr) \] is strictly increasing in \(T=\sum X_i\) (or \(\bar X\)), so the family has MLR in \(\sum X_i\). By Theorem 3.4.1, the UMP level-\(\alpha\) test rejects for large \(\sum(X_i-\xi_0)\) (equivalently \(\bar X>\xi_0+\sigma_0 z_{1-\alpha}/\sqrt n\)).

(ii) With \(\xi=\xi_0\) fixed, \[ p_\sigma(x)\propto\sigma^{-n}\exp\Bigl(-\frac1{2\sigma^2}\sum(x_i-\xi_0)^2\Bigr). \] For \(\sigma'>\sigma\) the likelihood ratio is strictly increasing in \(T=\sum(X_i-\xi_0)^2\) (exponential family (3.19) with \(Q(\sigma)=-1/(2\sigma^2)\) increasing in \(\sigma\)). By Corollary 3.4.1 the UMP test rejects for large \(T\). On the boundary \(\sigma=\sigma_0\), \(T/\sigma_0^2\sim\chi^2_n\), so critical values come from \(\chi^2_n\) quantiles.

Problem 3.2 UMP tests for \(U(0,\theta)\)

NoteProblem statement

Let \(X=(X_1,\ldots,X_n)\) be a sample from \(U(0,\theta)\).

  1. For \(H:\theta\le\theta_0\) vs \(K:\theta>\theta_0\), any test with \(E_{\theta_0}\phi=\alpha\), \(E_\theta\phi\le\alpha\) for \(\theta\le\theta_0\), and \(\phi=1\) whenever \(\max x_i>\theta_0\) is UMP level \(\alpha\).

  2. For \(H:\theta=\theta_0\) vs \(K:\theta\neq\theta_0\) there is a unique UMP test: \(\phi=1\) when \(\max>\theta_0\) or \(\max\le\theta_0\alpha^{1/n}\), and \(\phi=0\) otherwise.

Solution. Write \(M=\max_i X_i\). Joint density \(p_\theta(x)=\theta^{-n}\mathbf{1}\{0<x_i<\theta\ \forall i\}=\theta^{-n}\mathbf{1}\{0<M\le\theta\}\).

(i) Fix \(\theta_1>\theta_0\). On \(\{M\le\theta_0\}\) one has \(p_{\theta_1}/p_{\theta_0}=(\theta_0/\theta_1)^n\) (constant); on \(\{\theta_0<M\le\theta_1\}\) one has \(p_{\theta_0}=0\) and \(p_{\theta_1}>0\), so the likelihood ratio is \(+\infty\). Any NP-optimal test must set \(\phi=1\) on \(\{M>\theta_0\}\) and take a constant on \(\{M\le\theta_0\}\) to achieve \(E_{\theta_0}\phi=\alpha\). The same structure holds for every \(\theta_1>\theta_0\), so every test meeting the stated conditions is MP against all \(\theta_1>\theta_0\), i.e. UMP. For \(\theta<\theta_0\), \(\{M>\theta_0\}\) has probability \(0\), and the size constraint keeps the test level \(\alpha\).

(ii) Against \(\theta_1>\theta_0\): as in (i), \(\phi=1\) on \(\{M>\theta_0\}\). Against \(\theta_1<\theta_0\): NP rejects small \(M\), \(\phi=1\) when \(M\le C\) with \(P_{\theta_0}\{M\le C\}=\alpha\), i.e. \(C=\theta_0\alpha^{1/n}\) (since \(P_\theta\{M\le t\}=(t/\theta)^n\) for \(0<t<\theta\)). Combining yields the unique nonrandomized test that is simultaneously MP on both sides: \[ \phi=1\quad\text{when }M>\theta_0\text{ or }M\le\theta_0\alpha^{1/n};\qquad \phi=0\text{ otherwise}. \] Size: \(P_{\theta_0}\{M\le\theta_0\alpha^{1/n}\}=\alpha\), and \(\{M>\theta_0\}\) has \(P_{\theta_0}\)-probability \(0\). Uniqueness follows from the necessity part of Thm 3.2.1(iii) applied on both sides.

TipHint expanded

For each \(\theta>\theta_0\) order by \(r=p_\theta/p_{\theta_0}\); whole blocks of points are equivalent under this ordering. Part (ii) merges the UMP against \(\theta<\theta_0\) with part (i).

Problem 3.3 Testing \(N\) from the maximum alone

NoteProblem statement

\(N\) i.i.d. draws from a known strictly increasing absolutely continuous c.d.f. \(F\). Only \(X=\max\) is observed. Is there a UMP size-\(\alpha\) test of \(H_0:N\le 5\) vs \(H_1:N>5\)? If so, find it.

Solution. The c.d.f. of \(X\) is \(F(x)^N\), density \(p_N(x)=N F(x)^{N-1}f(x)\) (\(f=F'\)). For \(N'>N\), \[ \frac{p_{N'}(x)}{p_N(x)}=\frac{N'}{N}F(x)^{N'-N} \] is strictly increasing in \(F(x)\) (hence in \(x\)), so \(\{p_N\}\) has MLR in \(X\). By Theorem 3.4.1 there is a UMP test of \(H:N\le 5\) vs \(N>5\) that rejects large \(X\): \[ \phi=1\ \text{when }X>C,\quad \gamma\ \text{when }X=C, \] with \(P_{N=5}\{X>C\}+\gamma P_{N=5}\{X=C\}=\alpha\). Continuity of \(F\) makes \(X\) continuous; \(C=F^{-1}((1-\alpha)^{1/5})\) gives the nonrandomized test \(X>F^{-1}((1-\alpha)^{1/5})\).

Problem 3.4 UMP tests for exponential densities \(E(a,b)\)

NoteProblem statement

\(X_1,\ldots,X_n\sim E(a,b)\) (location–scale exponential, Problem 1.18), \(X_{(1)}=\min X_i\).

  1. UMP for \(H:a=a_0\) vs \(a\neq a_0\) when \(b\) is known.

  2. Any MP level-\(\alpha\) test of \(a=a_0\) vs \(a_1<a_0\) has power \(\beta^*(a_1)=1-(1-\alpha)e^{-n(a_0-a_1)/b}\).

  3. When \(b\) is unknown, any level-\(\alpha\) test rejecting when \(\frac{X_{(1)}-a_0}{\sum(X_i-X_{(1)})}\le C_1\) or \(\ge C_2\) has power \(\beta^*(a_1)\) against any \((a_1,b)\) with \(a_1<a_0\) (independent of \(C_1,C_2\)).

  4. The test in (iii) is UMP for \(H:a=a_0\) vs \(a\neq a_0\) when \(b\) is unknown.

  5. UMP for \(H:a=a_0,b=b_0\) vs \(a<a_0,b<b_0\).

  6. Explain why UMP exists here despite a nuisance parameter / two-parameter hypothesis.

Solution. Density \(p(x)=b^{-1}e^{-(x-a)/b}\mathbf{1}\{x\ge a\}\).

(i) Set \(Y_i=e^{-X_i/b}\); then \(Y_i\sim U(0,e^{-a/b})\). \(M_Y=\max Y_i=e^{-X_{(1)}/b}\) is sufficient for \(a\). By Problem 3.2(ii) the UMP test for \(\theta=e^{-a/b}\) equals \(\theta_0=e^{-a_0/b}\) vs \(\neq\) is \[ \phi=1\quad\text{when }M_Y>\theta_0\text{ or }M_Y\le\theta_0\alpha^{1/n}, \] i.e. \(X_{(1)}<a_0\) or \(X_{(1)}\ge a_0-(b/n)\log\alpha\). Since \(n(X_{(1)}-a)/b\sim\operatorname{Exp}(1)\), one has \(P_{a_0}\{X_{(1)}\ge a_0-(b/n)\log\alpha\}=\alpha\).

(ii) Against \(a_1<a_0\), MP rejects small \(X_{(1)}\): \(P_{a_0}\{X_{(1)}\le C\}=\alpha\) gives \(C=a_0+(b/n)\log(1-\alpha)\) (using \(P_a\{X_{(1)}>t\}=e^{-n(t-a)/b}\) for \(t\ge a\)). Power: \[ \beta(a_1)=P_{a_1}\{X_{(1)}\le C\}=1-e^{-n(C-a_1)/b}=1-(1-\alpha)e^{-n(a_0-a_1)/b}. \]

(iii) Let \(S=\sum_i(X_i-X_{(1)})\) and \(W=(X_{(1)}-a_0)/S\). The pair \((X_{(1)},S)\) is sufficient; when \(a=a_0\), \(n(X_{(1)}-a_0)/b\sim\operatorname{Exp}(1)\) is independent of \(2S/b\sim\chi^2_{2(n-1)}\), so the null law of \(W\) is free of \(b\).

Key observation: if \(a_1<a_0\), then \(P_{a_1,b}\{X_{(1)}\ge a_0\}=0\). Thus power against \((a_1,b)\) depends only on \(\phi\) on \(\{X_{(1)}<a_0\}\). When \(b\) is known, (ii) already supplies the maximal power \(\beta^*(a_1)\), independent of \(b\). The stated test achieves this envelope on \(\{X_{(1)}<a_0\}\) (independent of the particular \((C_1,C_2)\) as long as size is \(\alpha\) at \(a=a_0\)).

(iv) Against \(a_1<a_0\): by (iii) the test attains the MP envelope \(\beta^*(a_1)\). Against \(a_1>a_0\): support forces \(X_{(1)}\ge a_1>a_0\), and the upper wing \(W\ge C_2\) rejects; the form does not depend on the alternative, so the test is UMP level \(\alpha\).

(v) On \(\{x_{(1)}\ge a\}\), \[ p_{a,b}(x)=b^{-n}\exp\Bigl(-\frac1b\sum(x_i-a)\Bigr). \] Against \((a,b)\) with \(a<a_0\), \(b<b_0\), the likelihood ratio is \(+\infty\) on \(\{x_{(1)}<a_0\}\), so optimal tests set \(\phi=1\) there. On \(\{x_{(1)}\ge a_0\}\) the ratio is strictly decreasing in \(\sum(x_i-a_0)\) for \(b<b_0\). The common UMP is \[ \phi=1\quad\text{when }X_{(1)}<a_0\text{ or }\sum_{i=1}^n(X_i-a_0)\le C, \] with \(C\) determined by \(E_{a_0,b_0}\phi=\alpha\).

(vi) Both “unusual” UMP results stem from parameter-dependent support: (1) information about \(a\) is carried mainly by \(X_{(1)}\), and scale enters so that optimal power for \(a\) remains attainable when \(b\) is unknown; (2) jointly small \((a,b)\) alternatives produce an LR ordering (support first, then total excess sum) independent of the particular alternative. In regular exponential families (support free of the parameter) nuisance parameters typically destroy UMP.

Problem 3.5 The threshold set in the NP proof

NoteProblem statement

In the proof of Thm 3.2.1(i), consider \(c\) with \(\alpha(c)\le\alpha\le\alpha(c-0)\). If unique, \(c\) is unique; otherwise the set is an interval \([c_1,c_2]\). Argue that if \(\alpha(c)\) is continuous at \(c_2\), then \(P_i(C)=0\) (\(i=0,1\)), where \[ C=\{x:p_0(x)>0,\ c_1<p_1(x)/p_0(x)\le c_2\}. \] If \(\alpha(c)\) is discontinuous at \(c_2\), the conclusion can fail.

Solution. Write \(R(x)=p_1(x)/p_0(x)\) on \(\{p_0>0\}\). Then \(\alpha(c)=P_0\{R>c\}\) is right-continuous, and \(\alpha(c-)-\alpha(c)=P_0\{R=c\}\).

If every \(c\in[c_1,c_2]\) satisfies \(\alpha(c)\le\alpha\le\alpha(c-)\), then continuity of \(\alpha\) at \(c_2\) forces \(\alpha(c_2)=\alpha(c_2-)\), so \(P_0\{R=c_2\}=0\). Moreover \(\alpha(c_1)=\alpha(c_2)\) (both sandwich the same \(\alpha\) on a continuous stretch), hence \(P_0\{c_1<R\le c_2\}=0\).

Under \(P_0\), \(R\) almost never lands in \(C\). Under \(P_1\), on \(\{p_0>0\}\) one has \(dP_1=R\,dP_0\), so \(P_1(C)=\int_C R\,dP_0=0\).

Counterexample (discontinuity at \(c_2\)). Discrete two-point laws: \(P_0\{1\}=P_0\{2\}=1/2\), \(P_1\{1\}=1/4\), \(P_1\{2\}=3/4\). Then \(R(1)=1/2\), \(R(2)=3/2\), and \(\alpha(c)\) jumps at \(c=3/2\). For \(\alpha=1/2\), legitimate \(c\) can leave positive \(P_0\)-mass on \(C\).

Problem 3.6 Finite discrete three-distribution family

NoteProblem statement

\(P_0,P_1,P_2\) on \(\{1,\ldots,6\}\):

1 2 3 4 5 6
\(P_0\) 0.03 0.02 0.02 0.01 0 0.92
\(P_1\) 0.06 0.05 0.08 0.02 0.01 0.78
\(P_2\) 0.09 0.05 0.12 0 0.02 0.72

For \(H:P=P_0\) vs alternatives \(P_1\) and \(P_2\), does a UMP level-\(\alpha\) test exist at \(\alpha=0.01,0.05,0.07\)?

Solution. Likelihood ratios \(r_i(x)=P_i(x)/P_0(x)\) (\(P_0(5)=0\) while \(P_1(5),P_2(5)>0\), so \(x=5\) is infinitely preferred against both alternatives and must be rejected).

\(x\) \(r_1\) \(r_2\)
1 2 3
2 2.5 2.5
3 4 6
4 2 0
5 \(+\infty\) \(+\infty\)
6 \(\approx0.848\) \(\approx0.783\)

NP order for \(P_1\) (decreasing \(r_1\)): \(5\succ 3\succ 2\succ 1\sim 4\succ 6\).
For \(P_2\): \(5\succ 3\succ 1\succ 2\succ 6\succ 4\).

The orders differ, so UMP exists iff some single \(\phi\) is NP for both alternatives.

(i) \(\alpha=0.01\). Rejecting \(\{5\}\) costs no size. Remaining size \(0.01\). Preferring point 3: \(\phi(5)=1\), \(\phi(3)=1/2\) has size \(0.02\cdot\tfrac12=0.01\) and is MP for both \(P_1\) and \(P_2\). UMP exists.

(ii) \(\alpha=0.05\). Necessarily \(\phi(5)=1\); remaining size \(0.05\).
- MP for \(P_1\): include 3 then 2, then randomize on 1 or 4.
- MP for \(P_2\): include 3 then all of 1.

These disagree. No UMP.

(iii) \(\alpha=0.07\).
- MP for \(P_1\): \(\phi(5)=\phi(3)=\phi(2)=\phi(1)=1\).
- MP for \(P_2\): same after filling remaining size on 2.

Common test \(\phi(1)=\phi(2)=\phi(3)=\phi(5)=1\). UMP exists.

Problem 3.7 Four-point discrete distribution

NoteProblem statement

\(P_\theta(X=0)=\theta\), \(P(X=1)=2\theta\), \(P(X=2)=0.9-2\theta\), \(P(X=3)=0.1-\theta\), \(0<\theta<0.1\). Test \(H:\theta=0.05\) vs \(\theta>0.05\) at \(\alpha=0.05\). Which of (i) \(\phi(0)=1\); (ii) \(\phi(1)=0.5\); (iii) \(\phi(3)=1\) (others 0) is UMP, if any?

Solution. At \(\theta_0=0.05\): \(P=(0.05,0.10,0.80,0.05)\). For \(\theta_1>\theta_0\), \(r(0)=r(1)=\theta_1/0.05>1\), while \(r(2)<1\) and \(r(3)<1\). Prefer \(\{0,1\}\) equally over \(\{2,3\}\).

    1. size \(=0.05\), rejects in the highest-ratio region \(\Rightarrow\) UMP.
    1. size \(=0.5\cdot0.10=0.05\), randomizes within the same highest-ratio set \(\Rightarrow\) also UMP.
    1. size \(=0.05\) but \(r(3)<1\) \(\Rightarrow\) not MP.

Problem 3.8 Pareto \(P(c,\tau)\)

NoteProblem statement

Density \(c\tau^c/x^{c+1}\), \(x>\tau>0\), \(c>0\).

  1. Verify it is a density.
  2. \(Y=\log X\sim E(\xi,b)\) with \(\xi=\log\tau\), \(b=1/c\).
  3. Via (ii) and Problem 3.4, obtain UMP tests for (a) \(H:\tau=\tau_0\) vs \(\neq\) (\(b\) known); (b) \(H:c=c_0,\tau=\tau_0\) vs \(c>c_0,\tau<\tau_0\).

Solution.

(i) \(\int_\tau^\infty c\tau^c x^{-c-1}\,dx=\tau^c[x^{-c}]_{\infty}^{\tau}=1\).

(ii) \(Y=\log X\), \(y>\log\tau\): \[ f_Y(y)=c\tau^c e^{-c y}=c\,e^{-c(y-\log\tau)},\quad y>\log\tau, \] i.e. \(E(\log\tau,1/c)\).

(iii)(a) Known \(b=1/c\) means known \(c\). \(Y_i=\log X_i\sim E(\log\tau,b)\); Problem 3.4(i) yields UMP for \(a=\log\tau\), hence for \(\tau\), based on \(Y_{(1)}=\log\min X_i\).

(b) Corresponds to Problem 3.4(v): \(H:a=a_0,b=b_0\) vs \(a<a_0,b<b_0\). Since \(b=1/c\), \(b<b_0\Leftrightarrow c>c_0\) and \(a=\log\tau<a_0\Leftrightarrow\tau<\tau_0\). Translate the 3.4(v) rejection region via \(Y_i=\log X_i\).

Problem 3.9 Tests based on a sufficient statistic

NoteProblem statement

\(T\) is sufficient for \(\theta\). For any test \(\phi(X)\), \(\psi(t)=E[\phi(X)|t]\) depends only on \(T\) and has the same power function as \(\phi\).

Solution. By sufficiency, \(E_\theta[\phi(X)|T=t]\) admits a version \(\psi(t)\) free of \(\theta\) (Problem 2.12). Then \[ E_\theta\phi(X)=E_\theta\bigl(E[\phi(X)|T]\bigr)=E_\theta\psi(T), \] so \(\beta_\phi(\theta)=\beta_\psi(\theta)\) for all \(\theta\). Also \(0\le\psi\le 1\) a.s., so \(\psi\) is a test.

Problem 3.10 Bayes tests and the posterior

NoteProblem statement

Test \(H_0:P=P_0\) vs \(H_1:P=P_1\) with prior \(\pi_0=\pi\), \(\pi_1=1-\pi\).

  1. Total error probability is \(\pi E_0\phi+(1-\pi)E_1(1-\phi)\).
  2. The Bayes test minimizing it is (3.8) with \(k=\pi_0/\pi_1\).
  3. Posterior \(\pi_i p_i/(\pi_0 p_0+\pi_1 p_1)\); Bayes chooses the hypothesis with larger posterior.

Solution.

(i) Law of total probability: \(\pi\cdot P(\text{Type I})+(1-\pi)\cdot P(\text{Type II})\).

(ii) Total error \(=\pi E_0\phi+(1-\pi)-(1-\pi)E_1\phi=(1-\pi)+\int\phi(\pi p_0-(1-\pi)p_1)\,d\mu\). Minimize by setting \(\phi=1\) when \(\pi p_0-(1-\pi)p_1<0\), i.e. \(p_1/p_0>\pi/(1-\pi)=k=\pi_0/\pi_1\).

(iii) Posterior odds \(\frac{P(H_1|x)}{P(H_0|x)}=\frac{\pi_1 p_1}{\pi_0 p_0}\). Reject \(H_0\) when the posterior odds exceed \(1\), i.e. \(p_1/p_0>\pi_0/\pi_1\), matching (ii).

Problem 3.11 A Lindley-type paradox

NoteProblem statement

\(X\sim N(\theta,1)\), \(H_0:\theta=0\) vs \(\theta=\theta_1\).

  1. For any \(0<\alpha<1\) and \(0<\pi<1\), there exist \(\theta_1\) and \(x\) such that (a) \(X=x\) rejects \(H_0\) while (b) \(P(H_0|x)\) is arbitrarily close to \(1\).
  2. The paradox arises because \(\alpha\) is fixed while power can tend to \(1\); it disappears if the two error probabilities are equalized.

Solution.

(i) MP level \(\alpha\) rejects \(X>z_{1-\alpha}\) (for \(\theta_1>0\)). Take \(x\) just above \(z_{1-\alpha}\) (reject). Posterior \[ P(H_0|x)=\frac{\pi\phi(x)}{\pi\phi(x)+(1-\pi)\phi(x-\theta_1)}. \] Let \(\theta_1\to\infty\) with this \(x\) fixed: \(\phi(x-\theta_1)/\phi(x)\to 0\), so the posterior \(\to 1\), while the same \(x\) still rejects under the fixed-\(\alpha\) MP test.

(ii) Requiring \(E_0\phi=E_1(1-\phi)\) couples \(k\) to \(\theta_1\); as \(\theta_1\to\infty\) one has \(\alpha(\theta_1)\to 0\) and the critical value \(c\to\infty\), so a “just-rejecting” \(x\) also \(\to\infty\) and the posterior no longer tends to \(1\).

Problem 3.12 Discrete uniform on \(\{1,\ldots,\theta\}\)

NoteProblem statement

\(X_i\) i.i.d. uniform on \(\{1,\ldots,\theta\}\). \(H:\theta=\theta_0\), level \(\alpha=1/\theta_0^n\). Does UMP exist for (i) \(\theta>\theta_0\); (ii) \(\theta<\theta_0\); (iii) \(\theta\neq\theta_0\)?

Solution. \(M=\max X_i\). \(p_\theta(x)=\theta^{-n}\mathbf{1}\{\max\le\theta,\min\ge 1\}\).

(i) \(\theta>\theta_0\). On \(\{M\le\theta_0\}\), \(p_\theta/p_{\theta_0}=(\theta_0/\theta)^n\); on \(\{M>\theta_0\}\), \(p_{\theta_0}=0\). NP: \(\phi=1\) on \(\{M>\theta_0\}\). But \(P_{\theta_0}\{M>\theta_0\}=0\), so to reach \(\alpha=1/\theta_0^n\) set \(\phi\equiv\alpha\) on \(\{M\le\theta_0\}\). This is MP for every \(\theta>\theta_0\): UMP exists.

(ii) \(\theta<\theta_0\). NP rejects small \(M\). Nested rejection regions give UMP: reject small \(M\). At \(\alpha=1/\theta_0^n\), \(P_{\theta_0}\{M\le 1\}=1/\theta_0^n\), so \(\phi=\mathbf{1}_{\{M=1\}}\) is UMP level \(\alpha\).

(iii) \(\theta\neq\theta_0\). For this special \(\alpha\), the two-sided candidate \(\phi=\mathbf{1}_{\{M>\theta_0\text{ or }M=1\}}\) has size \(\alpha\) and is simultaneously of NP type on both sides: UMP exists at this particular level. (At general levels discrete support can prevent a common two-sided UMP.)

Problem 3.13 Random sample size

NoteProblem statement

\(X_i\sim N(\theta,1)\) i.i.d., \(H:\theta=0\) vs \(\theta=\theta_1>0\).

  1. MP power as a function of \(n\) need not be concave.
  2. \(\alpha=0.005\), \(\theta_1=1/2\): randomizing \(n=2\) or \(16\) with equal probability beats fixed \(n=9\).
  3. Allowing different \(\alpha_i\) with \(E\alpha=\alpha\) can improve further.

Solution.

(i) Fixed-\(n\) MP power \(\beta(n)=1-\Phi(z_{1-\alpha}-\theta_1\sqrt n)\). Second differences need not be nonpositive (normal tails and \(\sqrt n\) are nonlinear), so concavity can fail.

(ii) \(\alpha=0.005\), \(z_{0.995}\approx 2.576\), \(\theta_1=0.5\): \[ \beta(n)=1-\Phi(2.576-0.5\sqrt n). \] \(\beta(9)\approx 0.141\); \(\tfrac12(\beta(2)+\beta(16))\approx\tfrac12(0.031+0.282)=0.156>0.141\).

(iii) Mixed levels with \(\tfrac12(\alpha_1+\alpha_2)=\alpha\) give power \(\tfrac12(\beta_{\alpha_1}(n_1)+\beta_{\alpha_2}(n_2))\). Allocating size to larger \(n\) (or even \(n_1=0\) with no data and larger \(\alpha_2\) on a bigger sample) can raise average power because \(\beta(\alpha,n)\) is nonlinear in \((\alpha,n)\).

Problem 3.14 Nonrandomized MP tests under absolute continuity

NoteProblem statement

If the sample space is Euclidean and \(P_0,P_1\ll\) Lebesgue, then for every \(\alpha\) a nonrandomized MP test exists. Use Thm 3.2.1 and the lemma: \(\int_A f=a\) and \(0\le b\le a\) imply existence of \(B\subset A\) with \(\int_B f=b\).

Solution. NP yields an MP \(\phi\) equal to \(1\) on \(\{p_1>kp_0\}\), \(0\) on \(\{p_1<kp_0\}\), and constant \(\gamma\) on \(\{p_1=kp_0\}\). If \(P_0\{p_1=kp_0\}=0\) it is already nonrandomized. If the boundary has positive \(P_0\)-mass, set \(f=p_0\), \(A=\{p_1=kp_0\}\), \(a=\int_A p_0\), \(b=\gamma a\). The Lyapunov-type lemma supplies \(B\subset A\) with \(\int_B p_0=b\). Then \(\phi^*=\mathbf{1}_{\{p_1>kp_0\}\cup B}\) has size \(\alpha\), agrees with NP off the boundary, and is a nonrandomized MP test.

Problem 3.15 Fully informative \(\Rightarrow\) sufficient

NoteProblem statement

\(T\) is fully informative if for every decision problem the procedures depending only on \(T\) form an essentially complete class. If \(\mathcal{P}\) is dominated, fully informative \(\Rightarrow\) sufficient.

Solution. Take any \(P_0,P_1\in\mathcal{P}\) with densities \(p_0,p_1\). For testing \(P_0\) vs \(P_1\), MP rejection regions are determined by \(p_1/p_0\); essential completeness forces an equivalent decision based on \(T\), so \(p_1/p_0\) is a function of \(T\). Thus \(T\) is pairwise sufficient. By Problem 2.11 (dominated case), \(T\) is sufficient for \(\mathcal{P}\).

Problem 3.16 Raising size raises power

NoteProblem statement

\(\phi\) satisfies \(E_\theta\phi\le\beta<\alpha\) for all \(\theta\in\omega\) (null). Prove there exists a level-\(\alpha\) \(\phi^*\) with \(E_\theta\phi\le E_\theta\phi^*\) for all \(\theta\in\omega'\) (alternative), strictly when \(E_\theta\phi<1\).

Solution. Set \(\phi^*=\phi+\frac{\alpha-\beta}{1-\beta}(1-\phi)\) (if \(\beta<1\); if \(\beta\ge 1\) the claim is vacuous). Then \(0\le\phi^*\le 1\) and \[ E_\theta\phi^*=E_\theta\phi+\frac{\alpha-\beta}{1-\beta}(1-E_\theta\phi). \] For \(\theta\in\omega\), \(E_\theta\phi\le\beta\Rightarrow E_\theta\phi^*\le\alpha\), so level \(\alpha\). For \(\theta\in\omega'\), \(E_\theta\phi^*\ge E_\theta\phi\), strictly if \(E_\theta\phi<1\).

Problem 3.17 Non-nested MP counterexample

NoteProblem statement

\(X\in\{1,2,3\}\): under \(H\), \((0.85,0.1,0.05)\); under \(K\), \((0.7,0.2,0.1)\).

  1. For \(\alpha<0.15\), MP is not unique.
  2. At \(\alpha=0.05\) and \(0.1\) the unique nonrandomized MP tests are not nested.
  3. Nested randomized MP tests exist with \(\phi\le\phi'\).

Solution. \(r(1)\approx0.824\), \(r(2)=r(3)=2\). Prefer \(\{2,3\}\) equally.

(i) For \(\alpha<0.15=P_H\{2\}+P_H\{3\}\), any allocation of size on \(\{2,3\}\) with \(0.1\phi(2)+0.05\phi(3)=\alpha\) is MP—not unique.

(ii) \(\alpha=0.05\): unique nonrandomized MP is \(\phi=\mathbf{1}_{\{3\}}\). \(\alpha=0.1\): unique nonrandomized MP is \(\phi=\mathbf{1}_{\{2\}}\). These are not nested.

(iii) Take \(\phi_{0.05}(3)=1\) and \(\phi_{0.1}(3)=1,\phi_{0.1}(2)=0.5\). Then \(\phi_{0.05}\le\phi_{0.1}\) pointwise, both MP.

Problem 3.18 Existence of nested MP tests

NoteProblem statement

Under the setup of Thm 3.2.1, show there always exists a nested family of MP tests in the sense of 3.17(iii).

Solution. For each \(\alpha\) take the NP test \(\phi_\alpha\): \(1\) on \(\{p_1>k(\alpha)p_0\}\), \(0\) on \(\{p_1<k(\alpha)p_0\}\), constant \(\gamma(\alpha)\) on the boundary. As \(\alpha\uparrow\), \(k(\alpha)\) is nonincreasing, so \(\{p_1>k(\alpha)p_0\}\) expands. Choose versions of \(\gamma(\alpha)\) monotone in \(\alpha\). Then \(\phi_\alpha(x)\le\phi_{\alpha'}(x)\) for \(\alpha<\alpha'\).

Problem 3.19 Average power under a symmetric prior

NoteProblem statement

\(X_i\sim N(\xi,\sigma^2)\), \(\sigma\) known, \(H:\xi=0\) vs \(\xi\neq 0\). Maximize average power \(\int E_\xi\phi\,d\Lambda(\xi)\) for \(\Lambda\) symmetric about \(0\). The level-\(\alpha\) maximizer rejects large \(|\sum X_i|\). Without symmetry this need not hold.

Solution. Average power \(=E_0[\phi\cdot L]\) with \(L(x)=\int p_\xi(x)/p_0(x)\,d\Lambda(\xi)\). \[ \frac{p_\xi}{p_0}=\exp\Bigl(\frac{\xi\sum x_i}{\sigma^2}-\frac{n\xi^2}{2\sigma^2}\Bigr). \] Symmetry of \(\Lambda\) makes \(L\) an increasing function of \(|\sum x_i|\). NP of \(P_0\) vs the mixture \(P_\Lambda\) therefore rejects large \(|\sum X_i|\).

Without symmetry—e.g. \(\Lambda\) concentrated on \(\xi>0\)—\(L\) is increasing in \(\sum x_i\) and the optimum is one-sided.

Problem 3.20 Optimal average power and admissibility

NoteProblem statement

Test \(\theta=\theta_0\) vs \(\theta\neq\theta_0\) with prior \(\Lambda\) on the alternative.

  1. Level-\(\alpha\) test maximizing \(\int_{\Omega_K} E_\theta\phi\,d\Lambda\).
  2. If \(h=\int f_\theta d\Lambda\) and \(\mu\{h=kf_{\theta_0}\}=0\), the test rejecting \(h/f_{\theta_0}>k\) is admissible at its size.
  3. The test of Problem 3.19 is admissible.

Solution.

(i) \(\int E_\theta\phi\,d\Lambda=E_{\theta_0}(\phi\cdot h/f_{\theta_0})\) on \(\{f_{\theta_0}>0\}\). Equivalent to MP testing of \(f_{\theta_0}\) vs \(h\): reject when \(h>k f_{\theta_0}\), randomize on the boundary to size \(\alpha\).

(ii) A level-\(\alpha\) competitor with everywhere higher power (strict somewhere) would raise average power, contradicting (i). Boundary probability \(0\) gives uniqueness of the MP test, hence admissibility.

(iii) The test of 3.19 is the solution of (i) under a symmetric \(\Lambda\); apply (ii).

Section 3.3

Problem 3.21 Discrete uniform \(p\)-value

NoteProblem statement

In Example 3.3.2 the \(p\)-value is \(\hat p=(11-X)/10\). Graph the c.d.f. of \(\hat p\) under \(H\) and show that equality in (3.15) holds if and only if \(u=0,0.1,\ldots,1\).

Solution. Under \(H\), \(X\) is uniform on \(\{1,\ldots,10\}\), so \(\hat p=(11-X)/10\in\{0.1,0.2,\ldots,1.0\}\). \[ P\{\hat p\le u\}=P\{X\ge 11-10u\}=\frac{\#\{j:j\ge 11-10u,1\le j\le 10\}}{10}. \] For \(u\in[k/10,(k+1)/10)\), \(k=0,\ldots,9\), one has \(P\{\hat p\le u\}=k/10\le u\), with equality at \(u=k/10\). Equality also holds at \(u=1\). Thus equality occurs precisely at \(u=i/10\).

Problem 3.22 Probability integral transform

NoteProblem statement

If \(X\) has continuous c.d.f. \(F\), then \(F(X)\sim U(0,1)\).

Solution. For continuous \(F\) and \(0<u<1\), \[ P\{F(X)\le u\}=P\{X\le F^{-1}(u)\}=F(F^{-1}(u))=u, \] where \(F^{-1}(u)=\inf\{x:F(x)\ge u\}\). Continuity rules out atoms.

Problem 3.23 General \(p\)-value inequalities

NoteProblem statement
  1. \(P\{G(Y)\le u\}\le u\) and \(P\{1-G^-(Y)\le u\}\le u\), where \(G^-(t)=P\{Y<t\}\).
  2. In Example 3.3.3, both \(F_{\theta_0}(T)\) and \(1-F^-_{\theta_0}(T)\) are valid \(p\)-values.

Solution.

(i) Standard tail inequalities for an arbitrary c.d.f.: with \(y_u=\sup\{y:G(y)\le u\}\), \[ P\{G(Y)\le u\}\le P\{Y\le y_u\}\le u \] (in the usual careful handling of atoms). The left-tail form with \(1-G^-\) is analogous (reject for large \(Y\)).

(ii) Apply (i) with \(Y=T\) and \(G=F_{\theta_0}\) (resp. the left-tail version).

Problem 3.24 Sup representation of the \(p\)-value

NoteProblem statement

\(R_\alpha=\{T\ge k(\alpha)\}\) with \(\sup_{\theta\in\Omega_H}P_\theta\{T\ge k(\alpha)\}=\alpha\). Prove \(\hat p=\sup_{\theta\in\Omega_H}P_\theta\{T\ge t\}\) at the observed \(t\).

Solution. \(\hat p=\inf\{\alpha:T\in R_\alpha\}=\inf\{\alpha:t\ge k(\alpha)\}\). Since \(k(\alpha)\) is nonincreasing in \(\alpha\) (nested regions), \(t\ge k(\alpha)\) iff \(\alpha\ge\alpha^*(t)\) for a threshold \(\alpha^*(t)\). The identity \[ \sup_{\theta\in\Omega_H}P_\theta\{T\ge t\}=\inf\{\alpha:\sup_\theta P_\theta\{T\ge t\}\le\alpha\} \] together with \(\sup P_\theta\{T\ge k(\alpha)\}=\alpha\) yields \(\sup P\{T\ge t\}=\hat p\).

Problem 3.25 Rejection regions of the form \(\{T\ge k\}\)

NoteProblem statement

Under the setup of Lem 3.3.1 there exists \(T\) with \(R_\alpha=\{T\ge k(\alpha)\}\). Hint: \(T=-\hat p\).

Solution. Set \(T=-\hat p\). Then \(X\in R_\alpha\Leftrightarrow\hat p\le\alpha\Leftrightarrow T\ge -\alpha\). Take \(k(\alpha)=-\alpha\). Nesting ensures \(\hat p\) is well defined.

Problem 3.26 Fisher combination of \(p\)-values

NoteProblem statement
  1. \(\hat p\sim U(0,1)\Rightarrow -2\log\hat p\sim\chi^2_2\).
  2. Independent \(U(0,1)\) \(p\)-values give \(F=-2\log(\prod\hat p_i)\sim\chi^2_{2s}\). If only \(P\{\hat p_i\le u\}\le u\) and independence hold, is \(F\) stochastically \(\ge\chi^2_{2s}\) under the null?

Solution.

(i) \(P\{-2\log\hat p\le y\}=P\{\hat p\ge e^{-y/2}\}=1-e^{-y/2}\) for \(y>0\), the c.d.f. of \(\chi^2_2\).

(ii) Independence yields \(-2\sum\log\hat p_i\sim\chi^2_{2s}\). Under mere superuniformity, each \(-\log\hat p_i\) is stochastically larger than a standard exponential, so \(F\) is stochastically larger than \(\chi^2_{2s}\) under \(H\); a test using \(\chi^2_{2s}\) critical values remains level \(\alpha\) (conservative).

Section 3.4

Problem 3.27 Numerical binomial UMP

NoteProblem statement

\(X\sim b(p,n)\), \(\phi\) the UMP test (3.16) of \(p\le p_0\) vs \(p>p_0\).

  1. \(n=6\), \(p_0=0.25\), \(\alpha=0.05,0.1,0.2\): find \(C,\gamma\) and powers at \(p_1=0.3,\ldots,0.7\).
  2. \(p_0=0.2\), \(\alpha=0.05\), power \(\ge 0.9\) at \(p_1=0.4\): find \(n\) (exact and normal approximation).
  3. Normal approximation for \(\alpha=0.05\), \(\beta=0.9\), \(p_0=0.01\), \(p_1=0.02\).

Solution. UMP: \(\phi=1\) when \(X>C\), \(\gamma\) when \(X=C\), with \(E_{p_0}\phi=\alpha\).

(i) \(n=6\), \(p_0=0.25\). \(P(X=k)=\binom{6}{k}(0.25)^k(0.75)^{6-k}\).

\(k\) 0 1 2 3 4 5 6
\(P_{0.25}\) 0.1780 0.3560 0.2966 0.1318 0.0330 0.0044 0.0002
  • \(\alpha=0.05\): \(C=3\), \(\gamma\approx 0.0941\).
  • \(\alpha=0.1\): \(C=3\), \(\gamma\approx 0.4733\).
  • \(\alpha=0.2\): \(C=2\), \(\gamma\approx 0.1030\).

Power \(\beta(p)=P_p(X>C)+\gamma P_p(X=C)\):

\(p\) 0.3 0.4 0.5 0.6 0.7
\(\alpha=0.05\) 0.088 0.205 0.373 0.570 0.762
\(\alpha=0.1\) 0.158 0.310 0.492 0.675 0.832
\(\alpha=0.2\) 0.289 0.488 0.680 0.835 0.936

(ii) Minimal \(n\) for UMP level \(0.05\) with power \(\ge 0.9\) at \(p=0.4\).
(a) Exact binomial: minimal \(n=44\) (\(C=13\), \(\gamma\approx 0.151\), \(\beta\approx 0.905\)).
(b) Normal approximation: \[ \sqrt n=\frac{z_{1-\alpha}\sqrt{p_0 q_0}+z_{1-\beta}\sqrt{p_1 q_1}}{p_1-p_0}, \] \(z_{0.95}=1.645\), \(z_{0.9}=1.282\): \[ \sqrt n=\frac{1.645\sqrt{0.16}+1.282\sqrt{0.24}}{0.2}\approx 6.43,\quad n\approx 42 \] (slightly underestimates the exact \(44\)).

(iii) Same formula: \[ \sqrt n=\frac{1.645\sqrt{0.01\cdot 0.99}+1.282\sqrt{0.02\cdot 0.98}}{0.01}\approx 34.32,\quad n\approx 1178. \] For rare events the normal approximation can be poor; calibrate with Poisson/exact binomial methods.

Problem 3.28 Differential characterization of MLR

NoteProblem statement
  1. If \(\partial^2\log p_\theta(x)/\partial\theta\partial x\) exists, then MLR in \(x\) holds iff this mixed partial is \(\ge 0\) for all \(\theta,x\).
  2. Equivalent to \(p\cdot\partial^2 p/(\partial\theta\partial x)\ge (\partial p/\partial\theta)(\partial p/\partial x)\).

Solution.

(i) MLR in \(x\): for \(\theta'>\theta\), \(p_{\theta'}(x)/p_\theta(x)\) is nondecreasing in \(x\), i.e. \(\partial/\partial x\log(p_{\theta'}/p_\theta)\ge 0\). Letting \(\theta'\downarrow\theta\), \[ \frac{\partial^2\log p_\theta}{\partial\theta\partial x}\ge 0. \] Conversely, if the mixed partial is \(\ge 0\), then \(\partial\log p_\theta/\partial x\) is nondecreasing in \(\theta\), so \[ \frac{\partial}{\partial x}\log\frac{p_{\theta'}}{p_\theta}=\int_\theta^{\theta'}\frac{\partial^2\log p}{\partial\theta\partial x}\,d\theta\ge 0. \]

(ii) \(\partial^2\log p/(\partial\theta\partial x)=p^{-1}\partial^2 p/(\partial\theta\partial x)-p^{-2}(\partial p/\partial\theta)(\partial p/\partial x)\); multiply by \(p^2\).

Problem 3.29 Superuniformity of \(p\)-values under MLR

NoteProblem statement

MLR in \(T\), test \(\theta\le\theta_0\) vs \(>\). Continuous case: \(\hat p=P_{\theta_0}\{T\ge t\}\); randomized case: \(\hat p=\) smallest level that rejects with probability \(1\). Prove \(P_\theta\{\hat p\le u\}\le u\) for \(\theta\le\theta_0\).

Solution. By Thm 3.4.1 the UMP family \(R_\alpha=\{T>C(\alpha)\}\) (continuous case) is nested, \(E_{\theta_0}\phi_\alpha=\alpha\), and \(E_\theta\phi_\alpha\le\alpha\) for \(\theta\le\theta_0\). Lemma 3.3.1(i) gives \(P_\theta\{\hat p\le u\}\le u\). The randomized definition \(\hat p=\inf\{\alpha:\phi_\alpha=1\}\) yields the same superuniformity from nesting and size control.

Problem 3.30 Censored life testing

NoteProblem statement

Density \((2\theta)^{-1}e^{-x/(2\theta)}\), \(x\ge 0\). Observation stops at the \(r\)th order statistic. \(H:\theta\ge 1000\), \(\alpha=0.05\) vs \(\theta<1000\).

  1. Rejection region for \(r=4\) and power at \(\theta_1=500\).
  2. \(r\) needed for \(\beta\ge 0.95\) at \(\theta_1=500\).
    Hint: \([\sum_{i=1}^r Y_i+(n-r)Y_r]/\theta\sim\chi^2_{2r}\).

Solution. Set \(S_r=\sum_{i=1}^r Y_i+(n-r)Y_r\). Then \(S_r/\theta\sim\chi^2_{2r}\). The family has MLR in \(-S_r\); UMP for \(H:\theta\ge\theta_0\) vs \(<\) rejects small \(S_r\): \[ \frac{S_r}{\theta_0}\le \chi^2_{2r;\alpha}. \]

(i) \(r=4\), \(2r=8\), \(\alpha=0.05\), \(\chi^2_{8;0.05}\approx 2.733\). Reject \(S_4\le 2733\).
Power: \(\beta(500)=P\{\chi^2_8\le 5.466\}\approx 0.293\).

(ii) Need \(P\{\chi^2_{2r}\le 2\cdot\chi^2_{2r;0.05}\}\ge 0.95\). Searching over \(r\): minimal \(r=23\) (\(2r=46\), \(\beta\approx 0.950\)). Checks: \(r=19\) gives \(\beta\approx 0.904\); \(r=22\) gives \(\beta\approx 0.941\).

Problem 3.31 Two designs for a Poisson process

NoteProblem statement

Fixed time \(\tau\): \(X\sim\operatorname{Poisson}(\lambda\tau)\); fixed event count \(r\): \(2\lambda T\sim\chi^2_{2r}\). For \(H:\lambda\le\lambda_0\), compare the designs via the ratio \(\lambda\tau/r\) when power \(\beta\) is required at \(\lambda_1\). Numerically for \(\lambda_0=1\), \(\lambda_1=2\), \(\alpha=0.05\), \(\beta=0.9\).

Solution.

Design 1 needs \(\tau\) so that the Poisson UMP reaches power \(\beta\); design 2 needs \(r\) for the \(\chi^2\) test to reach power \(\beta\). Observation times: design 1 uses \(\tau\); design 2 has expectation \(E_\lambda T=r/\lambda\). The ratio is \(\tau/(r/\lambda)=\lambda\tau/r\).

At \(\alpha=0.05\), \(\beta=0.9\), \(\lambda_0=1\), \(\lambda_1=2\): design 1 needs \(\tau\) on the order of \(9\)–\(10\); design 2 needs \(r\) on the order of \(15\)–\(20\) for \(P\{\chi^2_{2r}\le\tfrac12\chi^2_{2r;0.05}\}\ge 0.9\). Relative efficiency depends on the true \(\lambda\): large \(\lambda\) makes fixed-count designs finish sooner.

Problem 3.32 \(U(\theta,\theta+1)\)

NoteProblem statement
  1. \(H:\theta\le\theta_0\) vs \(>\) admits UMP: reject when \(\min>\theta_0+C\) or \(\max>\theta_0+1\).
  2. The family does not have MLR.

Solution.

(i) Density \(p_\theta=\mathbf{1}_{\{\theta\le x_i\le\theta+1\ \forall i\}}\). Against \(\theta_1>\theta_0\), NP structure (independent of the particular \(\theta_1>\theta_0\) in its essential part) yields: reject when the data are incompatible with \(\theta\le\theta_0\) (\(\max>\theta_0+1\)) or when \(\min\) is too large. Determine \(C(\alpha)\) from \(E_{\theta_0}\phi=\alpha\) via the joint density of \((\min,\max)\).

(ii) If MLR held, UMP rejection regions as functions of \(\alpha\) would be threshold tests based on a single \(T\) independent of \(\theta_0\) (Thm 3.4.1). Here UMP for different \(\theta_0\) involve \(\max>\theta_0+1\) vs \(\max>\theta_0'+1\), which cannot be written that way. Hence no MLR.

Problem 3.33 Cauchy: no UMP

NoteProblem statement

Single observation from the Cauchy density \(f_\theta(x)=\frac1\pi\frac{1}{1+(x-\theta)^2}\).

  1. \(H:\theta=0\) vs \(\theta>0\) has no UMP.
  2. Shape of MP rejection regions as \(\alpha\) and \(\theta_1-\theta_0\) vary.

Solution.

(i) Likelihood ratio \(p_{\theta_1}(x)/p_0(x)=\frac{1+x^2}{1+(x-\theta_1)^2}\). For small \(\theta_1\) it peaks at moderate positive \(x\); for large \(\theta_1\) near \(x\approx\theta_1\). Rejection regions shift from intermediate intervals to right tails, depending on \(\theta_1\)—no common MP for all \(\theta_1>0\), hence no UMP.

(ii) \(r_\delta(x)>k\) is a quadratic inequality in \(x\); solution sets may be a single interval, a right tail, a left tail, or a two-tailed region, depending on \(k\) and \(\delta=\theta_1-\theta_0\).

Problem 3.34 Trend in normal means

NoteProblem statement

\(X_i\sim N(i\Delta,1)\) independent. UMP for \(H:\Delta\le 0\) vs \(\Delta>0\).

Solution. Joint density \[ p_\Delta\propto\exp\Bigl(-\frac12\sum(x_i-i\Delta)^2\Bigr)=\exp\Bigl(\Delta\sum i x_i-\frac{\Delta^2}{2}\sum i^2\Bigr)\cdot h(x). \] Exponential family, \(T=\sum i X_i\), \(Q(\Delta)=\Delta\) strictly increasing. By Cor 3.4.1, UMP rejects \(\sum_{i=1}^n i X_i>C\) with \(C=z_{1-\alpha}\sqrt{\sum i^2}\) (under \(\Delta=0\), \(T\sim N(0,\sum i^2)\)).

Problem 3.35 AR(1) Gaussian series

NoteProblem statement

\(X_0=0\), \(X_i=\rho X_{i-1}+\varepsilon_i\), \(\varepsilon_i\sim N(0,1)\) i.i.d. Observe \(X_0,\ldots,X_n\). MP for \(\rho=0\) vs fixed \(\rho=\rho_1>0\); is there UMP for all \(\rho>0\)?

Solution. Likelihood \[ L(\rho)=(2\pi)^{-n/2}\exp\Bigl(-\frac12\sum_{i=1}^n(X_i-\rho X_{i-1})^2\Bigr). \] \[ \frac{L(\rho_1)}{L(0)}=\exp\Bigl(\rho_1\sum X_i X_{i-1}-\frac{\rho_1^2}{2}\sum X_{i-1}^2\Bigr). \] MP rejects large \(\sum X_i X_{i-1}\), but the critical inequality \[ \sum_{i=1}^n X_i X_{i-1} > c + \frac{\rho_1}{2}\sum_{i=1}^n X_{i-1}^2 \] depends explicitly on \(\rho_1\). Different \(\rho_1\) give different rejection regions, so no (unconditional) UMP for all \(\rho>0\). Conditionally on \(S=\sum X_{i-1}^2\), LR for all \(\rho_1>0\) rejects large \(\sum X_i X_{i-1}\), yielding a conditional UMP.

Problem 3.36 Gamma \(\Gamma(g,b)\)

NoteProblem statement

Density \(\frac1{\Gamma(g)b^g}x^{g-1}e^{-x/b}\).

  1. Known \(g\): UMP for \(H:b\le b_0\) vs \(>\).
  2. Known \(b\): UMP for \(H:g\le g_0\) vs \(>\).
    Give the rejection regions.

Solution. Sample joint: \[ p\propto b^{-ng}\exp\Bigl(-\frac{\sum x_i}{b}\Bigr)\bigl(\prod x_i\bigr)^{g-1}. \]

(i) Fixed \(g\): exponential family in \(T=\sum X_i\), \(Q(b)=-1/b\) increasing in \(b\). UMP rejects \(\sum X_i>C\).

(ii) Fixed \(b\): exponential family in \(T=\sum\log X_i\). UMP rejects large \(\prod X_i\) (i.e. \(\sum\log X_i>C\)).

Problem 3.37 Weibull \(W(b,c)\), \(c\) known

NoteProblem statement

Density \(\frac{c}{b}(x/b)^{c-1}e^{-(x/b)^c}\). Verify the density; for a sample with known \(c\), give UMP for \(H:b\le b_0\) vs \(>\).

Solution. \(\int_0^\infty c b^{-c}x^{c-1}e^{-(x/b)^c}\,dx\): substitute \(u=(x/b)^c\) to get \(\int_0^\infty e^{-u}\,du=1\).

\(Y_i=X_i^c\) is exponential (mean \(b^c\)); \(T=\sum X_i^c\) yields MLR. UMP rejects \(\sum X_i^c>C\).

Problem 3.38 Weibull shape \(W(1,c)\)

NoteProblem statement

Single observation \(W(1,c)\).

  1. No MLR in \(x\).
  2. MP for \(H:c=1\) vs \(c=2\) rejects \(X<k_1\) or \(X>k_2\).
  3. Extension to \(c_1>1\); no UMP vs \(c>1\).
  4. MP power increases in \(c\).

Solution. Density \(p_c(x)=c x^{c-1}e^{-x^c}\), \(x>0\).

(i) \(p_{c'}/p_c\) is nonmonotone in \(x\) (log-derivative changes sign) \(\Rightarrow\) no MLR.

(ii) \(p_2/p_1=2x e^{-x^2+x}\). \(r(x)>k\) for \(x\) sufficiently small or large \(\Rightarrow\) two-tailed rejection; choose \(k_1,k_2\) for size \(\alpha\) with \(r(k_1)=r(k_2)\).

(iii) For general \(c_1>1\) the MP region remains two-tailed but \((k_1,k_2)\) depends on \(c_1\) \(\Rightarrow\) no common UMP.

(iv) MP power \(\beta(c)\) increases for \(c>1\) (STP / envelope arguments).

Problem 3.39 Inverse Gaussian

NoteProblem statement

\(I(\mu,\tau)\) density \(\sqrt{\tau/(2\pi x^3)}\exp[-\tau(x-\mu)^2/(2x\mu^2)]\).

  1. Known \(\tau\): UMP for \(H:\mu\le\mu_0\) vs \(>\).
  2. Known \(\mu\): UMP for \(H:\tau\le\tau_0\) vs \(>\).
  3. \(V=\tau\sum(X_i-\mu)^2/(X_i\mu^2)\sim\chi^2_n\).

Solution.

(i) With \(\tau\) fixed, the family is exponential in \(T=\sum X_i\) (MLR). UMP rejects large \(\bar X\).

(ii) With \(\mu\) fixed, \[ \tau^{n/2}\exp\Bigl(-\frac\tau2\sum\frac{(X_i-\mu)^2}{X_i\mu^2}\Bigr), \] MLR in \(T=-\sum(X_i-\mu)^2/(X_i\mu^2)\). For \(H:\tau\le\tau_0\) vs \(>\), reject when \(\sum\frac{(X_i-\mu)^2}{X_i}\) is too small.

(iii) Hint: \(Y=\min(X,\mu^2/X)\), \(Z=\tau(Y-\mu)^2/(\mu^2 Y)\sim\chi^2_1\) and equals the summand; hence \(\sum\sim\chi^2_n\).

Problem 3.40 Location family and composite null

NoteProblem statement

Location family \(f(x-\theta)\). Simple \(H:\theta=\theta_0\) vs \(\theta=\theta_1>\theta_0\) has MP of the form \(T>C\) with \(T\) location equivariant. Is this still MP for \(H:\theta\le\theta_0\) vs \(\theta=\theta_1\)?

Solution. Yes, under the natural monotonicity of the power. For \(\theta'<\theta_0\), equivariance gives \(P_\theta\{T>C\}=P_0\{T>C-\theta\}\). Since \(\theta'<\theta_0\Rightarrow C-\theta'>C-\theta_0\), and upper-tail probabilities decrease as the threshold increases, \(P_{\theta'}\{T>C\}\le P_{\theta_0}\{T>C\}=\alpha\). Thus size is maximized on the boundary \(\theta=\theta_0\), and the simple MP remains level \(\alpha\) for the composite null. (If the family has MLR in \(x\), this is the UMP Karlin–Rubin test.)

Problem 3.41 Extension of Lemma 3.4.2

NoteProblem statement

\(p_1/p_0\) is a nondecreasing function of \(T\).

  1. The marginal density ratio \(p_1(t)/p_0(t)\) is nondecreasing.
  2. \(E_0\psi(T)\le E_1\psi(T)\) for nondecreasing \(\psi\).
  3. Strict increase gives a strict inequality (unless \(\psi\circ T\) is a.e. constant).
  4. \(-\infty\le E_0\log(p_1/p_0)<E_1\log(p_1/p_0)\le\infty\).

Solution.

(i) WLOG \(p_1(x)/p_0(x)=T(x)\) (else compose with a monotone map). For integrable \(\phi(t)\), \[ \int\phi(t)p_1(t)\,d\nu=\int\phi(T(x))T(x)p_0(x)\,d\mu=\int\phi(t)\,t\,p_0(t)\,d\nu, \] so \(p_1(t)=t p_0(t)\) a.e. and the ratio is nondecreasing in \(t\).

(ii) Follows from (i) and stochastic dominance: nondecreasing \(\psi\) have expectations ordered by the distributions (Lemma 3.4.1 type).

(iii) Strictness from strict MLR and nonconstant \(\psi\).

(iv) Jensen: \(E_0\log(p_1/p_0)<\log E_0(p_1/p_0)=0\) (strict if \(p_1\not\equiv p_0\)). Similarly \(E_1\log(p_1/p_0)>0\). Apply (iii) with \(T=p_1/p_0\) and \(\psi=\log\).

Problem 3.42 Stochastic dominance \(\Leftrightarrow\) ordered expectations

NoteProblem statement

\(F_1(x)\le F_0(x)\) for all \(x\) \(\Leftrightarrow\) \(E_0\psi\le E_1\psi\) for every nondecreasing \(\psi\).

Solution. \(\Rightarrow\): couple via \(X_i=F_i^{-1}(U)\); \(F_1\le F_0\Rightarrow F_1^{-1}\ge F_0^{-1}\), so \(\psi(X_1)\ge\psi(X_0)\) a.s. for nondecreasing \(\psi\).
\(\Leftarrow\): take \(\psi=\mathbf{1}_{(x,\infty)}\) to get \(1-F_0(x)\le 1-F_1(x)\).

Problem 3.43 Ordering via \(k(u)=G(F^{-1}(u))\)

NoteProblem statement
  1. \(F\le G\) in stochastic order (\(F(x)\le G(x)\)) \(\Leftrightarrow\) \(k(u)\le u\).
  2. With densities, \(g/f\) nondecreasing \(\Leftrightarrow\) \(k\) convex.
  3. From (i)(ii): MLR \(\Rightarrow\) stochastic order.

Solution.

(i) \(G(F^{-1}(u))\le u\Leftrightarrow F^{-1}(u)\le G^{-1}(u)\) \(\Leftrightarrow\) quantile order \(\Leftrightarrow\) \(F\le G\) pointwise.

(ii) \(k'(u)=g(F^{-1}(u))/f(F^{-1}(u))\). Convexity of \(k\) \(\Leftrightarrow\) nondecreasing \(k'\) \(\Leftrightarrow\) nondecreasing \(g/f\).

(iii) Nondecreasing \(g/f\Rightarrow\) convex \(k\); a convex \(k\) with \(k(0)=0\), \(k(1)=1\) satisfies \(k(u)\le u\), hence stochastic order by (i).

Problem 3.44 Hazard order and starshaped \(k\)

NoteProblem statement

Hazard order: \(\frac{g}{1-G}\le\frac{f}{1-F}\).

  1. \(\Leftrightarrow\) \((1-F)/(1-G)\) is nonincreasing.
  2. \(\Leftrightarrow\) \(k\) is starshaped.

Solution.

(i) \(\frac{d}{dx}\log\frac{1-F}{1-G}=\frac{g}{1-G}-\frac{f}{1-F}\). Hazard order \(\Leftrightarrow\) this log-derivative \(\le 0\) \(\Leftrightarrow\) the ratio is nonincreasing.

(ii) Starshaped: \(k(\lambda x)\le\lambda k(x)\) for \(\lambda\in[0,1]\). Hazard order is equivalent to \(k=G\circ F^{-1}\) being starshaped on \([0,1]\) (Lehmann–Rojo); the survival-function characterization transforms into the starshaped inequality under \(u=F(x)\).

Section 3.5

Problem 3.45 Open vs closed confidence bounds

NoteProblem statement

Lower confidence bounds often satisfy \(P_\theta\{\underline\theta(X)<\theta\}\ge 1-\alpha\) (strict inequality in the event). Discuss when endpoints are open; how do the UMA upper bound of Example 3.5.2 and Clopper–Pearson compare?

Solution. By the test–confidence duality: if the acceptance region for \(H:\theta=\theta_0\) vs \(\theta>\theta_0\) is written as \(\{\theta_0\ge\underline\theta(X)\}\) or \(\{\theta_0>\underline\theta\}\), coverage statements differ by whether equality is included.

  • Continuous case with \(F_\theta(t)\) strictly monotone continuous in \(\theta\) (Cor 3.5.1): \(P_\theta\{\underline\theta\le\theta\}=1-\alpha\), and \(P\{\underline\theta=\theta\}=0\), so \(P\{\underline\theta<\theta\}=1-\alpha\). Open and closed formulations agree a.s.
  • Discrete case: \(P\{\underline\theta=\theta\}\) may be positive, so \(P\{\underline\theta<\theta\}\) and \(P\{\underline\theta\le\theta\}\) differ. To guarantee coverage \(\ge 1-\alpha\) one usually writes the closed form \(P\{\underline\theta\le\theta\}\ge 1-\alpha\).

Example 3.5.2 (binomial). The UMA upper bound \(\bar p^*(T)\) based on the continuous \(T=X+U\) achieves exact coverage \(1-\alpha\) (within the construction). Clopper–Pearson uses nonrandomized \(X\) and is conservative: \(P_p\{p\le\bar p_{\mathrm{CP}}\}\ge 1-\alpha\), often strictly greater; the standard writing is the closed interval \([0,\bar p_{\mathrm{CP}}]\).

Problem 3.46 UMA upper bound when \(X=0\)

NoteProblem statement

In Example 3.5.2, give an explicit formula for the UMA upper bound when \(X=0\) and \(U=u\); compare with Clopper–Pearson.

Solution. \(T=U=u\in(0,1)\) when \(X=0\). Solve \(P_p\{T<u\}=\alpha\). For \(0<t<1\), \[ P_p\{T\le t\}=P\{X=0,U\le t\}=(1-p)^n t. \] Hence \((1-p)^n u=\alpha\Rightarrow\) \[ \bar p=1-\Bigl(\frac{\alpha}{u}\Bigr)^{1/n}. \] Clopper–Pearson upper bound at \(X=0\): \(\bar p_{\mathrm{CP}}=1-\alpha^{1/n}\). Since \(u<1\), \(\alpha/u>\alpha\), so \(\bar p<\bar p_{\mathrm{CP}}\): the randomized UMA bound is tighter.

Problem 3.47 Graphing confidence limits

NoteProblem statement
  1. For \(n=5,10\) and \(1-\alpha=0.95\), graph \(\bar p\) and \(\bar p^*\) against \(t=x+u\).
  2. With \(\alpha_1=\alpha_2=0.05\), graph lower and upper confidence limits.

Solution. (Computational.) For each \(t\in[0,n+1]\), solve \(P_p\{T<t\}=\alpha\) for \(\bar p(t)\); set \(\bar p^*=0\) when \(t<\alpha\), else \(\bar p\). As \(t\) increases, \(\bar p\) increases; the \(n=10\) curve is steeper than \(n=5\) (shorter intervals). Two-sided: lower bound solves \(P_p\{T>t\}=\alpha_1\); upper bound solves \(P_p\{T<t\}=\alpha_2\).

TipImplementation note

Use the incomplete beta / regularized binomial sum: \(P_p\{X\le x\}=I_{1-p}(n-x,x+1)\) and related identities (cf. Problem 3.48) for numerical root finding.

Problem 3.48 Order statistics, beta, and Clopper–Pearson

NoteProblem statement
  1. \(U_i\sim U(0,1)\), density of \(U_{(k)}\), and \(P\{U_{(k)}\le p\}=\int_0^p\frac{n!}{(k-1)!(n-k)!}u^{k-1}(1-u)^{n-k}du=\sum_{j=k}^n\binom{n}{j}p^j(1-p)^{n-j}\).
  2. For \(0<x<n\) the Clopper–Pearson upper bound \(\hat p_U\) is the \(1-\alpha\) quantile of \(\operatorname{Beta}(x+1,n-x)\).

Solution.

(i) \(U_{(k)}\) has beta density \(n\binom{n-1}{k-1}u^{k-1}(1-u)^{n-k}\). The c.d.f. is an incomplete beta; integration by parts / combinatorial identities yield the binomial tail.

(ii) Clopper–Pearson upper bounds satisfy a binomial-tail equation. By (i), \[ \sum_{j=x+1}^n\binom{n}{j}p^j(1-p)^{n-j}=P\{U_{(x+1)}\le p\}, \] so the solution \(p\) is a beta quantile. Standard form: upper bound \(B_{1-\alpha;x+1,n-x}\).

Problem 3.49 Confidence bounds with minimum risk

NoteProblem statement

Loss \(L(\theta,\underline\theta)\) is nonnegative and nonincreasing in the second argument on \(\underline\theta<\theta\), and vanishes for \(\underline\theta\ge\theta\). If \(P_\theta\{\underline\theta\le\theta'\}\le P_\theta\{\underline\theta^*\le\theta'\}\) for all \(\theta'\le\theta\), then \(E_\theta L(\theta,\underline\theta)\le E_\theta L(\theta,\underline\theta^*)\).

Solution. Following the book’s hint, define for \(u<\theta\) \[ F(u)=\frac{P_\theta\{\underline\theta\le u\}}{P_\theta\{\underline\theta^*\le\theta\}},\quad F^*(u)=\frac{P_\theta\{\underline\theta^*\le u\}}{P_\theta\{\underline\theta^*\le\theta\}}, \] and \(F=F^*=1\) for \(u\ge\theta\). By assumption \(F\le F^*\) pointwise. Since \(L(\theta,\cdot)\) is nonincreasing on \((-\infty,\theta)\), \(\psi(u)=-L(\theta,u)\) (suitably extended) is nondecreasing. Problem 3.42 yields \[ \int L(\theta,u)\,dF(u)\le\int L(\theta,u)\,dF^*(u). \] Multiplying by \(P_\theta\{\underline\theta^*\le\theta\}\) gives \(E L(\theta,\underline\theta)\le E L(\theta,\underline\theta^*)\).

Section 3.6

Problem 3.50 UMP power is strictly increasing

NoteProblem statement

Let \(\beta(\theta)\) be the power of the UMP test of Cor 3.4.1. If \(Q\) is differentiable with \(Q'(\theta)>0\), then \(\beta'(\theta)>0\). Hint: maximize \(\beta'(\theta_0)\propto E_{\theta_0}[T\phi]\) subject to \(E_{\theta_0}\phi=\alpha\).

Solution. Exponential family \(dP_\theta=C(\theta)e^{Q(\theta)T}\,d\nu\). At \(\theta_0\), \[ \beta'(\theta_0)=Q'(\theta_0)\operatorname{Cov}_{\theta_0}(T,\phi) \] (standard exponential-family differentiation). The UMP test \(\phi\) rejects large \(T\), so \(\operatorname{Cov}(T,\phi)>0\) (unless \(\phi\) is a.e. constant). With \(Q'>0\), one gets \(\beta'>0\).

Via the hint: maximizing \(E_{\theta_0}[T\phi]\) subject to \(E_{\theta_0}\phi=\alpha\) is an NP problem whose solution is precisely the UMP test that rejects large \(T\); the optimal value exceeds \(\alpha E_{\theta_0}T\) unless degenerate, so the covariance is strictly positive.

Problem 3.51 Optimum selection procedures

NoteProblem statement

Joint law of \((X,Y)\) known. Select a proportion \(\alpha\) of candidates:

  1. Maximize expected \(Y\) among selected \(\Leftrightarrow\) select when \(E(Y|x)\ge C\).
  2. Maximize \(P\{Y\ge y_0\mid\text{selected}\}\Leftrightarrow\) select large \(P\{Y\ge y_0|x\}\).

Solution.

(i) Objective \(\int E(Y|x)\phi(x)p_X(x)\,dx\) subject to \(\int\phi p_X=\alpha\), \(0\le\phi\le 1\). Neyman–Pearson / rearrangement: set \(\phi=1\) when \(E(Y|x)>C\), \(0\) when \(<C\), randomize on the boundary.

(ii) Objective becomes \(\int P\{Y\ge y_0|x\}\phi(x)p_X\,dx\); threshold on \(P\{Y\ge y_0|x\}\).

Problem 3.52 Countable family: Cor 3.6.1 fails

NoteProblem statement

\(p_n\) uniform on \([0,1+1/n]\), \(p_0\) uniform on \((0,1)\).

  1. \(p_0\) and \((p_n)_{n\ge 1}\) are linearly independent.
  2. No \(\phi\) satisfies \(\int\phi p_n=\alpha\) for all \(n\) yet \(\int\phi p_0>\alpha\).

Solution.

(i) Suppose \(p_0=\sum c_n p_n\) a.e. On \((1,1+1/m]\) the right side involves only \(n\ge m\), while \(p_0=0\) there, forcing coefficient relations incompatible with matching \(p_0=1\) on \((0,1)\). Linear independence follows.

(ii) \(\int\phi p_n=\frac{n}{n+1}\int_0^{1+1/n}\phi\to\int_0^1\phi\) for integrable \(\phi\). If \(\int\phi p_n=\alpha\) for all \(n\), then \(\int_0^1\phi=\alpha=\int\phi p_0\). Strict inequality is impossible.

Problem 3.53 Kuhn–Tucker-type sufficient condition

NoteProblem statement

A sufficient condition for \(u_0\) to maximize \(F_{m+1}\) subject to \(F_i(u)\le c_i\): \(u_0\) is feasible, and for some \(k_i\ge 0\), \(u_0\) maximizes \(F_{m+1}-\sum k_i F_i\), with \(F_i(u_0)=c_i\) whenever \(k_i>0\).

Solution. Let \(u\) be any feasible point (\(F_i(u)\le c_i\)). Then \[ F_{m+1}(u_0)-\sum k_i F_i(u_0)\ge F_{m+1}(u)-\sum k_i F_i(u). \] The left side equals \(F_{m+1}(u_0)-\sum k_i c_i\) (complementary slackness). The right side is at least \(F_{m+1}(u)-\sum k_i c_i\) (since \(k_i\ge 0\) and \(F_i(u)\le c_i\)). Hence \(F_{m+1}(u_0)\ge F_{m+1}(u)\).

Section 3.7

Problem 3.54 Two-sided binomial UMP constants

NoteProblem statement

\(X\sim b(p,15)\), \(H:p\le 0.2\) or \(p\ge 0.7\), \(\alpha=0.1\). Find \(C_i,\gamma_i\) in (3.33) and the power at \(p=0.4\).

Solution. This is the Thm 3.7.1 setup of testing the exterior hypothesis \(H:p\le 0.2\) or \(p\ge 0.7\) vs the interior. UMP rejects for \(C_1<X<C_2\) with boundary randomization so that \[ E_{0.2}\phi=E_{0.7}\phi=0.1. \] Solving for integers \(C_1<C_2\) and \(\gamma_i\in[0,1]\): \[ C_1=5,\quad C_2=8,\quad \gamma_1\approx 0.3969,\quad \gamma_2\approx 0.6466. \] Power at \(p=0.4\): \(\beta(0.4)\approx 0.534\).

Problem 3.55 Totally positive families TP\(_r\)

NoteProblem statement

Definition of TP\(_r\) / STP\(_r\) via determinants (3.50).

  1. \(r=1\): \(p\ge 0\); \(r=2\): MLR.
  2. Positive \(a(\theta),b(x)\) preserve STP\(_r\) under multiplication \(abp\).
  3. Strictly monotone reparameterizations / rescalings in the same direction preserve STP\(_r\).

Solution.

(i) \(n=1\): \(\det=p_{\theta_1}(x_1)\ge 0\). \(n=2\): \[ p_{\theta_1}(x_1)p_{\theta_2}(x_2)-p_{\theta_1}(x_2)p_{\theta_2}(x_1)\ge 0 \] for \(x_1<x_2\), \(\theta_1<\theta_2\) \(\Leftrightarrow\) \(p_{\theta_2}/p_{\theta_1}\) nondecreasing in \(x\).

(ii) Multiplying rows by \(a(\theta_i)>0\) and columns by \(b(x_j)>0\) multiplies the determinant by \(\prod a(\theta_i)\prod b(x_j)>0\), preserving sign.

(iii) Strictly monotone transformations preserving order leave all minor signs unchanged.

Problem 3.56 Exponential families are STP\(_\infty\)

NoteProblem statement

The exponential family (3.19) with \(T(x)=x\), \(Q(\theta)=\theta\) is STP\(_\infty\). Hint: induct on \(|e^{\theta_i x_j}|\).

Solution. Let \(\Delta_n(\theta,x)=|e^{\theta_i x_j}|_{i,j=1}^n\). For \(n=1\) positivity is clear.

Inductively: divide columns by \(e^{\theta_1 x_j}\) to get \(|e^{(\theta_i-\theta_1)x_j}|\). Column differences \(C_j\leftarrow C_j-C_{j-1}\) (\(j=n,\ldots,2\)), expand along the first row, and rewrite differences as \((x_j-x_{j-1})\) times derivatives. Repeating reduces to a lower-order determinant of the same type, positive by the inductive hypothesis, multiplied by \(\prod(x_j-x_{j-1})>0\). Positive \(C(\theta)\) factors do not affect STP.

Problem 3.57 Characterization of STP\(_3\)

NoteProblem statement

Assume \(p_{\theta'}/p_\theta\) is strictly increasing in \(x\) for \(\theta<\theta'\). Then (a) the sign pattern of \(g=k_1 p_{\theta_1}-k_2 p_{\theta_2}+k_3 p_{\theta_3}\) is equivalent to (b) \(\Delta_3>0\).

Solution.

(b)\(\Rightarrow\)(a). For \(x_1<x_2<x_3\) consider the determinant with first row \((g(x_1),g(x_2),g(x_3))\) and remaining rows from \(p_{\theta_2},p_{\theta_3}\). Column operations show this equals \(k_1\Delta_3\) up to sign controlled by STP\(_3\). If \(g(x_1)=g(x_3)=0\), \(g\) cannot have the same sign in the middle as outside without contradicting the determinant sign—yielding the \(+\)/\(-\)/\(+\) pattern of (a).

(a)\(\Rightarrow\)(b). Strict MLR implies \(\Delta_3\) has rank at least \(2\). Choose \(k_i\) so \(g(x_1)=g(x_3)=0\); MLR forces \(k_i>0\). By (a), \(g(x_2)\) has the opposite sign from the exterior zeros, which forces \(\Delta_3>0\).

Problem 3.58 Extending Thm 3.7.1 to STP\(_3\)

NoteProblem statement

If the density of the sufficient statistic is STP\(_3\) and continuous in \(x\), the conclusions of Thm 3.7.1 remain valid.

Solution. The proof of Thm 3.7.1 uses: (1) continuity in \(x\) (continuous power, existence of critical values); (2) the variation-diminishing property (a) of Problem 3.57, to establish the two-sided UMP form with equal endpoint sizes and unimodal power. STP\(_3\) plus continuity supply exactly these ingredients, so the proof carries over verbatim.

Problem 3.59 No UMP for two-sided alternatives

NoteProblem statement

Under exponential-family or Problem 3.58 assumptions, there is no UMP for \(H:\theta\in[\theta_1,\theta_2]\) vs the exterior, nor for \(H:\theta=\theta_0\) vs \(\neq\).

Solution. Let \(\phi_1\) be UMP for the one-sided problem \(H_1:\theta\ge\theta_1\) vs \(<\) (reject small \(T\)) and \(\phi_2\) UMP for \(H_2:\theta\le\theta_2\) vs \(>\) (reject large \(T\)). Far to the left of \(\theta_1\), \(\phi_1\) dominates any test that spends size on the upper tail; far to the right of \(\theta_2\), \(\phi_2\) is better. No single test can match both one-sided envelopes, so no UMP. The point-null problem \(\theta=\theta_0\) vs \(\neq\) is analogous: left and right one-sided UMP tests differ.

Problem 3.60 Mixture family, intermediate hypothesis

NoteProblem statement

\(\mathcal{P}=\{\theta f+(1-\theta)g:0\le\theta\le 1\}\). For \(H:\theta\le\theta_0\) or \(\theta\ge\theta_1\) vs \(\theta_0<\theta<\theta_1\), prove \(\phi\equiv\alpha\) is UMP level \(\alpha\).

Solution. For any test \(\phi\), the power \(\beta(\theta)=E_\theta\phi=\theta E_f\phi+(1-\theta)E_g\phi\) is affine in \(\theta\). Level \(\alpha\) requires \(\beta(\theta)\le\alpha\) for \(\theta\le\theta_0\) and \(\theta\ge\theta_1\). An affine function \(\le\alpha\) on both outer intervals is \(\le\alpha\) on the middle \((\theta_0,\theta_1)\) as well. Thus every level-\(\alpha\) test has power \(\le\alpha\) on the alternative. The constant test \(\phi\equiv\alpha\) attains \(\alpha\), hence is UMP.

Section 3.8

Problem 3.61 Sum of independent Poissons

NoteProblem statement

Independent \(X_i\sim\operatorname{Poisson}(\lambda_i)\). \(H:\sum\lambda_j\le a\) has UMP rejecting large \(\sum X_j\).

Solution. \(T=\sum X_j\sim\operatorname{Poisson}(\Lambda)\) with \(\Lambda=\sum\lambda_j\). Conditionally, \((X_1,\ldots,X_s)\mid T\sim\operatorname{Multinomial}(T;p_i=\lambda_i/\Lambda)\), depending on the \(p_i\) but not on \(\Lambda\). The marginal of \(T\) depends only on \(\Lambda\). Thus \(T\) is partially sufficient for \(\Lambda\) (Problem 3.65). The Poisson family has MLR in \(T\), so UMP for \(H:\Lambda\le a\) vs \(>\) rejects large \(T\). Partial sufficiency transfers UMP to the original composite problem.

Problem 3.62 Confidence bounds for a median

NoteProblem statement

Sample from a continuous c.d.f. \(F\); median \(\xi\).

  1. UMA lower confidence bound is a randomized order statistic \(X_{(k)}\) / \(X_{(k+1)}\) with binomial-tail coefficients.
  2. Coverage holds for any median at confidence \(1-\alpha\).
  3. Extension to \(p\)-quantiles.

Solution.

(i) Testing \(H:\xi=\xi_0\) vs \(\xi>\xi_0\) is equivalent (with \(\xi=\inf\{F\ge 1/2\}\)) to testing \(F(\xi_0)\ge 1/2\) vs \(<\), i.e. \(p:=P\{X_i>\xi_0\}\le 1/2\) vs \(p>1/2\). Let \(S=\#\{X_i>\xi_0\}\sim b(n,p)\). UMP rejects large \(S\). Duality produces a lower confidence bound that is a suitable order statistic. Randomization for exact \(1-\alpha\): coefficients \(\rho,k\) satisfy \[ \rho\sum_{j=k}^n\binom{n}{j}2^{-n}+(1-\rho)\sum_{j=k+1}^n\binom{n}{j}2^{-n}=1-\alpha. \]

(ii) If the median is not unique, the definition \(\xi=\inf\{F\ge 1/2\}\) keeps the coverage argument valid on the \(p=1/2\) boundary, so coverage is \(\ge 1-\alpha\) for any median.

(iii) For the \(p\)-quantile \(\xi_p=\inf\{F\ge p\}\), use \(S=\#\{X_i>\xi_0\}\sim b(n,1-F(\xi_0))\) and test \(1-F(\xi_0)\le 1-p\) vs \(>\). The UMA lower bound is a randomized order statistic with binomial tails using \(p\) in place of \(1/2\).

Problem 3.63 Composite \(H\): non-nested MP regions

NoteProblem statement

\(X\in\{1,2,3,4\}\) with distributions \(P_0,P_1,Q\) as in the book’s table (denominators \(13\)). Composite \(H=\{P_0,P_1\}\) vs \(Q\): at \(\alpha=5/13\) reject \(\{1,3\}\); at \(\alpha=6/13\) reject \(\{1,2\}\). Not nested.

Solution. Sizes:
\(P_0\{1,3\}=(2+3)/13=5/13\), \(P_1\{1,3\}=(4+1)/13=5/13\).
\(P_0\{1,2\}=(2+4)/13=6/13\), \(P_1\{1,2\}=(4+2)/13=6/13\).

Powers under \(Q\): \(Q\{1,3\}=6/13\), \(Q\{1,2\}=7/13\).

At level \(5/13\), rejecting \(\{1,3\}\) is MP; at level \(6/13\), \(\{1,2\}\) has higher power than expansions of \(\{1,3\}\). Since \(\{1,3\}\not\subset\{1,2\}\), optimal rejection regions are not nested.

Problem 3.64 Difference of two binomials

NoteProblem statement

\(X,Y\sim b(p_1,n),b(p_2,n)\) independent.

  1. For \(H:p_2\le p_1\) vs a fixed alternative with \(p_1<p_2\) and \(p_1+p_2=1\) (\(\alpha<1/2\)), MP rejects large \(Y-X\).
  2. This test is not UMP against general \(p_1<p_2\).

Solution.

(i) Put prior \(\Lambda\) on \(H\) concentrated at \(p_1=p_2=1/2\). Under the mixture, \(X,Y\) are i.i.d. \(b(1/2,n)\). Against \((p_1,p_2)\) on \(p_1+p_2=1\) with \(p_2>p_1\), the likelihood ratio is increasing in \(Y-X\). NP rejects large \(Y-X\).
Least favorable: on \(p_1=p_2=p\), symmetry shows that size is maximized at \(p=1/2\), so \(\Lambda\) is LFD and the test is MP for the composite \(H\).

(ii) On \(p_1=p_2\neq 1/2\) the power of this test is \(<\alpha\). Near the diagonal, alternatives \(p_1<p_2\) can have power \(<\alpha\), while \(\phi\equiv\alpha\) has power \(\alpha\). Hence not UMP for general \(p_1<p_2\).

Problem 3.65 Partial sufficiency

NoteProblem statement
  1. \(T\) is partially sufficient for \(\theta\) (nuisance \(\eta\)): conditional distributions depend only on \(\eta\), marginals only on \(\theta\). Then UMP for \(\theta=\theta_0\) vs \(\theta_1\) depends only on \(T\).
  2. Hence the sign test of Example 3.8.1 is UMP.

Solution.

(i) Let \(\psi_0(t)\) be the MP level-\(\alpha\) test of \(\theta_0\) vs \(\theta_1\) based on \(T\) alone. For any level-\(\alpha\) \(\phi(x)\), set \(\psi(t)=E_{\eta_1}[\phi(X)|t]\) (version free of \(\theta\)). Then \(E_{\theta_i}\psi(T)=E_{\theta_i,\eta_1}\phi\), so \(\psi\) is level \(\alpha\) with the same power as \(\phi\) at \(\eta_1\). As a test based on \(T\), its power is \(\le\) that of \(\psi_0\). Hence \(\phi\) cannot beat \(\psi_0\), and \(\psi_0\) does not depend on \(\eta\).

(ii) In Example 3.8.1 the number of successes \(T\) is partially sufficient for \(p\); UMP is based on \(T\).

Section 3.9

Problem 3.66 Difference of two normal means

NoteProblem statement

\(X_1,\ldots,X_m\sim N(\xi,1)\), \(Y_1,\ldots,Y_n\sim N(\eta,1)\) independent. \(H:\eta\le\xi\) vs \(\eta>\xi\). UMP rejects large \(\bar Y-\bar X\). Hint: against \((\xi_1,\eta_1)\), the LFD \(\Lambda\) is degenerate at \(\eta=\xi=(m\xi_1+n\eta_1)/(m+n)\).

Solution. Fix alternative \(\xi_1<\eta_1\). Place a degenerate prior on \(H\) at \(\xi=\eta=\mu_0:=(m\xi_1+n\eta_1)/(m+n)\). Under the mixture all \(m+n\) observations are i.i.d. \(N(\mu_0,1)\). The likelihood ratio against \((\xi_1,\eta_1)\) is increasing in \(\bar Y-\bar X\), so NP rejects \(\bar Y-\bar X>C\).

LFD check: on \(\eta=\xi=\mu\), one has \(\bar Y-\bar X\sim N(0,1/m+1/n)\) with the same law for every \(\mu\), so power is constantly \(\alpha\) on the boundary line. Size is exactly \(\alpha\) everywhere on \(H\). By Thm 3.8.1 the test is MP for the composite \(H\); the form is independent of the particular \((\xi_1,\eta_1)\) with \(\eta_1>\xi_1\), hence UMP.

Problem 3.67 Variance ratio

NoteProblem statement

\(X_i\sim N(\xi,a\sigma^2)\), \(Y_j\sim N(\eta,\tau^2)\) independent. \(H:\tau\le a\sigma\) vs \(\tau>a\sigma\).

  1. Known \(\xi,\eta\): UMP rejects \(\sum(Y_j-\eta)^2/\sum(X_i-\xi)^2\ge C\).
  2. Unknown \(\xi,\eta\): no UMP.

Solution.

(i) Set \(U_*=\sum(X_i-\xi)^2\), \(V_*=\sum(Y_j-\eta)^2\). MLR in \(V_*/U_*\) for the ratio parameter yields UMP: reject \(V_*/U_*\ge C\).

(ii) With unknown means one might use residual sums of squares, but simple-vs-simple NP regions couple mean estimation with variances and depend on the alternative means. No common UMP for all alternatives. (UMPU methods of Chapter 4 address this setting.)

Problem 3.68 Mean and covariance under linear transforms

NoteProblem statement

\(X\) is \(k\times 1\), \(E|X|^2<\infty\), \(\operatorname{Cov}=\Sigma\). \(Y=AX\) (\(A\) is \(m\times k\)). Prove \(EY=A\,EX\) and \(\operatorname{Cov}(Y)=A\Sigma A^\top\).

Solution. Linearity: \(E(Y)=A E(X)\).
\[ \operatorname{Cov}(Y)=E[(Y-EY)(Y-EY)^\top]=E[A(X-EX)(X-EX)^\top A^\top]=A\Sigma A^\top. \]

Problem 3.69 Partial sufficiency of \(X_1\)

NoteProblem statement

\((X_1,\ldots,X_k)\sim N_k(\xi,\Sigma)\), \(\Sigma\) known, \(X_1\perp(X_2,\ldots,X_k)\). Show \(X_1\) is partially sufficient for \(\xi_1\) (Problem 3.65). Alternative argument for Example 3.9.2 Case 2.

Solution. Independence \(\Rightarrow\) joint density \(p_{\xi_1}(x_1)\,p_{\xi_2,\ldots,\xi_k}(x_2,\ldots,x_k)\). The marginal of \(X_1\sim N(\xi_1,\sigma_1^2)\) depends only on \(\xi_1\); the conditional \((X_2,\ldots,X_k)\mid X_1\) is the marginal of \((X_2,\ldots,X_k)\) and depends only on \((\xi_2,\ldots,\xi_k)\). Partial sufficiency follows.

Example 3.9.2 Case 2: for one-sided hypotheses about \(\xi_1\), Problem 3.65 reduces UMP to the one-dimensional normal test based on \(X_1\) alone.

Problem 3.70 LFD in Example 3.9.2 Case 2

NoteProblem statement

Verify the least-favorable-distribution claim in Example 3.9.2 Case 2.

Solution. Example 3.9.2 tests a one-sided hypothesis on a linear combination \(a^\top\xi\). Case 2: \(a=(1,0,\ldots,0)\) and \(X_1\perp(X_2,\ldots,X_k)\). Against an alternative \(m=(m_1,\ldots,m_k)\), the LFD is degenerate on the boundary with \(\xi_1\) at the critical value and remaining components equal to \(m_2,\ldots,m_k\) (as specified in the book).

Under that prior, NP reduces to a \(Z\)-test based on \(X_1\). Size on \(\{a^\top\xi\le\delta\}\) (or the book’s form of \(H\)) is maximized at the LFD support point and is \(\le\alpha\) elsewhere, because the marginal of \(X_1\) depends only on \(\xi_1\) and size/power enter only through \(\xi_1\). Thm 3.8.1 applies.

Problem 3.71 Example 3.9.3 Cases 3–4

NoteProblem statement

Supply details for Cases 3 and 4 of Example 3.9.3 (equivalence testing for a linear combination of means).

Solution. Setup: \(X\sim N_k(\xi,\Sigma)\), test \(H:|a^\top\xi|\ge\delta\) vs \(K:|a^\top\xi|<\delta\) (equivalence).

Case 3. \(a=e_1=(1,0,\ldots,0)\), \(\Sigma\) arbitrary. Apply a nonsingular linear transform \(Y=AX\) so that \(\operatorname{Cov}(Y)=I\) and \(a^\top\xi\) becomes a multiple of the first coordinate \(\eta_1\). The problem reduces to one-dimensional normal equivalence testing of \(\eta_1\). Cases 1–2 give UMP rejecting \(|\eta_1|\le C\); transforming back, \[ Z=\frac{a^\top X}{\sqrt{a^\top\Sigma a}},\qquad\text{reject }|Z|\le C. \] (With \(\Sigma\) known, \(a^\top X\sim N(a^\top\xi,a^\top\Sigma a)\) is already sufficient—no independence assumption is needed.)

Case 4. General \(a\) with \(a^\top\Sigma a>0\). Set \(Z_1=a^\top X/\sqrt{a^\top\Sigma a}\) and complete to a full-rank transform \(Z=BX\) with \(\operatorname{Cov}(Z)=I\). Then \(Z_1\sim N(\mu,1)\), \(\mu=a^\top\xi/\sqrt{a^\top\Sigma a}\), and \(H:|\mu|\ge\delta'\) vs \(|\mu|<\delta'\) with \(\delta'=\delta/\sqrt{a^\top\Sigma a}\). UMP rejects \(|Z_1|\le C\), i.e. \[ \Bigl|\frac{a^\top X}{\sqrt{a^\top\Sigma a}}\Bigr|\le C, \] with \(C\) determined by size \(\alpha\) on the boundary \(|\mu|=\delta'\) (equal sizes at \(\pm\delta'\)).

LFD structure (as in Case 1): against an alternative \(m\) with \(|a^\top m|<\delta\), an LFD is a two-point prior on the boundary \(\pm\) directions with weights making the NP test symmetric about the origin; size equals \(\alpha\) on \(|a^\top\xi|=\delta\) and is smaller outside.

Problem inventory

Table 2: Locked inventory for Chapter 3 §3.10
No. Topic Section Pages
3.1 Normal mean/variance UMP §3.2 105
3.2 \(U(0,\theta)\) one- and two-sided UMP §3.2 105–106
3.3 Testing \(N\) from the maximum §3.2 106
3.4 Exponential \(E(a,b)\) UMP §3.2 106
3.5 NP threshold interval and continuity §3.2 106–107
3.6 Finite support: existence of UMP §3.2 107
3.7 Four-point distribution UMP §3.2 107
3.8 Pareto and exponential link §3.2 107
3.9 Tests on a sufficient statistic §3.2 107
3.10 Bayes tests and the posterior §3.2 107–108
3.11 Lindley-type paradox §3.2 108
3.12 Discrete uniform UMP §3.2 108
3.13 Random sample size §3.2 108–109
3.14 Continuous nonrandomized MP §3.2 109
3.15 Fully informative \(\Rightarrow\) sufficient §3.2 109
3.16 Raising size raises power §3.2 109
3.17 Non-nested MP counterexample §3.2 109
3.18 Nested MP family exists §3.2 109–110
3.19 Average power under a symmetric prior §3.2 110
3.20 Average power and admissibility §3.2 110
3.21 Discrete \(p\)-value §3.3 110
3.22 Probability integral transform §3.3 110
3.23 General c.d.f. \(p\)-value inequalities §3.3 110–111
3.24 Sup representation of the \(p\)-value §3.3 111
3.25 \(T\)-representation of rejection regions §3.3 111
3.26 Fisher combination of \(p\)-values §3.3 111
3.27 Binomial UMP: numbers and sample size §3.4 111–112
3.28 Differential characterization of MLR §3.4 111–112
3.29 \(p\)-values under MLR §3.4 112
3.30 Censored exponential life testing §3.4 112
3.31 Two designs for a Poisson process §3.4 112
3.32 \(U(\theta,\theta+1)\) §3.4 112–113
3.33 Cauchy: no UMP §3.4 113
3.34 Trend means UMP §3.4 113
3.35 AR(1) MP/UMP §3.4 113
3.36 Gamma UMP §3.4 113–114
3.37 Weibull scale UMP §3.4 113–114
3.38 Weibull shape: no UMP §3.4 114
3.39 Inverse Gaussian UMP §3.4 114
3.40 Location family, composite \(H\) §3.4 114
3.41 Extension of Lemma 3.4.2 §3.4 114–115
3.42 Stochastic dominance equivalence §3.4 115
3.43 \(k(u)\) and MLR / stochastic order §3.4 115
3.44 Hazard order and starshaped \(k\) §3.4 115–116
3.45 Open vs closed confidence endpoints §3.5 116
3.46 UMA upper bound at \(X=0\) §3.5 116
3.47 Graphing binomial confidence limits §3.5 116
3.48 Beta–binomial and Clopper–Pearson §3.5 116–117
3.49 Minimum-risk confidence bounds §3.5 116–117
3.50 UMP power strictly increasing §3.6 117
3.51 Optimum selection procedures §3.6 117–118
3.52 Countable constraints counterexample §3.6 118
3.53 Inequality-constraint sufficient condition §3.6 118
3.54 Two-sided binomial UMP constants §3.7 118
3.55 Totally positive families TP\(_r\) §3.7 118–119
3.56 Exponential families STP\(_\infty\) §3.7 119
3.57 STP\(_3\) characterization §3.7 119
3.58 Thm 3.7.1 extended to STP\(_3\) §3.7 119–120
3.59 Two-sided alternatives: no UMP §3.7 120
3.60 Mixture family, intermediate \(H\) §3.7 120
3.61 Poisson sum UMP §3.8 120–121
3.62 UMA confidence bounds for a median §3.8 120–121
3.63 Composite \(H\): non-nested regions §3.8 121
3.64 Two binomials, \(Y-X\) §3.8 121
3.65 Partial sufficiency and UMP §3.8 121–122
3.66 Two-sample mean difference UMP §3.9 122
3.67 Variance ratio: UMP / nonexistence §3.9 122
3.68 Covariance under linear transforms §3.9 122
3.69 Partial sufficiency of \(X_1\) §3.9 122
3.70 LFD verification (Ex. 3.9.2) §3.9 122
3.71 Equivalence testing Cases 3–4 §3.9 122–123

Study notes

  1. Neyman–Pearson is the engine: almost every UMP result is “MP against each simple alternative, with form independent of the alternative.” Write the likelihood ratio and check for MLR.
  2. MLR / exponential families: Thm 3.4.1 and Cor 3.4.1 cover one-sided problems; two-sided exponential-family problems use Thm 3.7.1 (reject the middle) and generally have no UMP (Problem 3.59).
  3. \(p\)-values and nested rejection regions: Lemma 3.3.1; discrete cases are superuniform and uniform only at attainable levels.
  4. Confidence bounds are dual to tests (Thm 3.5.1); UMA means gluing UMP acceptance regions for each \(\theta_0\).
  5. Composite nulls use least favorable distributions (Thm 3.8.1) or partial sufficiency (Problem 3.65).
  6. Models with parameter-dependent support (uniform, exponential location) often admit “unusual” UMP (Problems 3.2, 3.4)—contrast with regular exponential families.
NoteScope and next chapter

Numerical problems (3.27, 3.30, 3.31, 3.47, 3.54) give complete methods for determining \(C,\gamma\) and sample sizes; fine decimals can be recomputed from binomial/\(\chi^2\) tables. Boundary cases such as nuisance parameters in Problem 3.4, conditional vs unconditional UMP in 3.35, and general location families in 3.40 follow the book’s main line of proof.

Next: Chapter 4, Unbiasedness: Theory and First Applications (UMPU, Neyman structure, conditional exponential-family tests).