Chapter 4 Solutions — Unbiasedness: Theory and First Applications

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

Full solutions to §4.10 Problems 4.1–4.39 on unbiasedness, similarity, completeness, and UMPU tests in exponential families.
Author

Companion solutions

How to use these solutions

Item Content
Source E. L. Lehmann & J. P. Romano, Testing Statistical Hypotheses, 4th ed.
Problems §4.10 Problems (printed pp. 157–168)
Prerequisites Chapters 1–3: decision theory, measure tools, UMP / Neyman–Pearson / exponential families
Notation As in Chapter 4
Coverage Problems 4.1–4.39 (complete)

Strategy: solutions are derived from Chapter 4 definitions and theorems; bracketed book hints are expanded into full proofs. Numerical critical values and powers use exact binomial / hypergeometric / \(\chi^2\) calculations.

Chapter blueprint

Table 1: Quick reference before solving
Concept Key points Location
Unbiased test \(\beta(\theta)\le\alpha\) on \(H\), \(\ge\alpha\) on \(K\); (4.1) §4.1
Similar on boundary \(\beta=\alpha\) on \(\omega=\partial H\cap\partial K\); (4.2) Lem 4.1.1
One-parameter exp. UMPU Two-sided (4.3)+(4.4) or (4.3)+(4.5)(4.6) §4.2
Neyman structure \(E[\varphi\mid t]=\alpha\) a.e. \(P^T\) §4.3
Completeness / bounded completeness (4.8)–(4.9); Thm 4.3.1–4.3.2 §4.3
Multiparameter exp. UMPU Conditional exponential family + Thm 4.4.1 (\(\varphi_1\)–\(\varphi_4\)) §4.4
Two Poisson / binomial Conditional binomial / hypergeometric; odds ratio §4.5
\(2\times 2\) independence Fisher exact; several sampling models §4.6–4.7
\(2\times 2\times K\) Common odds ratio \(\Delta\); conditional product of hypergeometrics §4.8
Sign / McNemar Drop ties; conditional sign test §4.9

Section 4.1

Problem 4.1 Admissibility of UMPU

NoteProblem statement

Any UMP unbiased test \(\varphi_0\) is admissible in the sense that there cannot exist another test \(\varphi_1\) which is at least as powerful as \(\varphi_0\) against all alternatives and more powerful against some.

[If \(\varphi\) is unbiased and \(\varphi'\) is uniformly at least as powerful as \(\varphi\), then \(\varphi'\) is also unbiased.]

Proof.

Let \(\varphi_0\) be a level-\(\alpha\) UMPU test of \(H:\theta\in\Omega_H\) vs \(K:\theta\in\Omega_K\), i.e. uniformly most powerful among all unbiased level-\(\alpha\) tests.

Suppose, for a contradiction, that there exists a level-\(\alpha\) test \(\varphi_1\) with \[ \beta_{\varphi_1}(\theta)\ge\beta_{\varphi_0}(\theta)\quad\text{for all }\theta\in\Omega_K, \] and strict inequality at some \(\theta_1\in\Omega_K\).

Claim: \(\varphi_1\) is unbiased. Since \(\varphi_0\) is unbiased, \(\beta_{\varphi_0}(\theta)\ge\alpha\) for all \(\theta\in\Omega_K\). The domination \(\beta_{\varphi_1}\ge\beta_{\varphi_0}\) therefore yields \(\beta_{\varphi_1}(\theta)\ge\alpha\) on \(K\). Level \(\alpha\) gives \(\beta_{\varphi_1}(\theta)\le\alpha\) on \(H\). Hence \(\varphi_1\) is unbiased.

But then \(\varphi_1\) is an unbiased level-\(\alpha\) test that is at least as powerful as the UMPU test \(\varphi_0\) on all of \(K\) and strictly more powerful at \(\theta_1\), contradicting the definition of UMPU.

Thus no such \(\varphi_1\) exists, and \(\varphi_0\) is admissible in the stated sense.

TipRemark

Admissibility here is with respect to the power function (equivalently, 0–1 loss risk), not mean-square risk as in estimation.

Problem 4.2 \(p\)-values and unbiasedness

NoteProblem statement

Consider a family of tests of \(H:\theta=\theta_0\) (or \(\theta\le\theta_0\)), with level-\(\alpha\) rejection regions \(S_\alpha\), such that (a) \(P_{\theta_0}\{X\in S_\alpha\}=\alpha\) for all \(0<\alpha<1\), and (b) \(S_\alpha\subseteq S_{\alpha'}\) for \(\alpha<\alpha'\). If the tests \(S_\alpha\) are unbiased, the distribution of \(\hat p=\inf\{\alpha:X\in S_\alpha\}\) under any alternative \(\theta\) satisfies \[ P_\theta\{\hat p\le\alpha\}\ge P_{\theta_0}\{\hat p\le\alpha\}=\alpha, \] so that it is shifted toward the origin.

Proof.

By nestedness (b), \(\{\hat p\le\alpha\}=\{X\in S_\alpha\}\) (under the usual right-continuous definition; more precisely \(\hat p\le\alpha\) iff \(X\in\bigcap_{\alpha'>\alpha}S_{\alpha'}\), which differs from \(S_\alpha\) by a null set under (a)(b)). Hence \[ P_{\theta_0}\{\hat p\le\alpha\}=P_{\theta_0}\{X\in S_\alpha\}=\alpha. \]

Unbiasedness of the level-\(\alpha\) test with rejection region \(S_\alpha\) yields, for any alternative \(\theta\), \[ P_\theta\{X\in S_\alpha\}\ge\alpha. \] Thus \(P_\theta\{\hat p\le\alpha\}\ge\alpha=P_{\theta_0}\{\hat p\le\alpha\}\).

In first-order stochastic dominance terms, \(\hat p\) tends to be smaller under the alternative: for every \(\alpha\), its CDF is at least as large as the uniform (diagonal) CDF under \(H\).

Section 4.2

Problem 4.3 Binomial UMPU critical values

NoteProblem statement

Let \(X\sim b(p,n)\) and consider \(H:p=p_0\) at level \(\alpha\). Determine the boundary values of the UMP unbiased test for \(n=10\) with \(\alpha=0.1\), \(p_0=0.2\) and with \(\alpha=0.05\), \(p_0=0.4\), and in each case graph (compare) the power functions of both the unbiased and the equal-tails test.

Solution.

The UMPU rejection region has the form (4.3): \[ \varphi= \begin{cases} 1, & X<C_1\text{ or }X>C_2,\\ \gamma_i, & X=C_i,\\ 0, & C_1<X<C_2, \end{cases} \] with constants determined by (4.5)–(4.6): \[ E_{p_0}\varphi=\alpha,\qquad E_{p_0}[X\varphi]=np_0\alpha. \] (The second identity, via \(x\binom{n}{x}p^xq^{n-x}=np\binom{n-1}{x-1}p^{x-1}q^{n-x}\), becomes an acceptance-probability condition for \(b(p_0,n-1)\).)

Equal-tails assigns probability \(\alpha/2\) to each tail separately.

Numerical results (exact binomial):

Setting Test \(C_1\) \(\gamma_1\) \(C_2\) \(\gamma_2\)
\(n=10,p_0=0.2,\alpha=0.1\) UMPU 0 0.559 4 0.082
equal-tails 0 0.466 4 0.195
\(n=10,p_0=0.4,\alpha=0.05\) UMPU 1 0.503 7 0.268
equal-tails 1 0.470 7 0.299

Power \(\beta(p)=E_p\varphi\):

Case \(p_0=0.2\), \(\alpha=0.1\):

\(p\) 0.05 0.10 0.15 0.20 0.30 0.40 0.50 0.60
UMPU 0.335 0.198 0.123 0.100 0.182 0.391 0.640 0.843
ET 0.279 0.166 0.109 0.100 0.203 0.419 0.664 0.856

Case \(p_0=0.4\), \(\alpha=0.05\):

\(p\) 0.10 0.20 0.30 0.40 0.50 0.60 0.70
UMPU 0.544 0.243 0.093 0.050 0.092 0.226 0.454
ET 0.531 0.234 0.090 0.050 0.095 0.233 0.463

Discussion.

  • For \(p_0=0.2\) the distribution is markedly skewed; the \(\gamma\)’s for UMPU and equal-tails differ substantially. UMPU has higher power for \(p<p_0\), equal-tails slightly higher for \(p>p_0\)—the unbiasedness constraint reallocates power across sides to flatten the derivative at \(\theta_0\).
  • For \(p_0=0.4\) the two tests are close.
  • Both have power exactly \(\alpha\) at \(p=p_0\); UMPU satisfies \(\beta'(p_0)=0\).

Problem 4.4 Poisson form of (4.6)

NoteProblem statement

Let \(X\sim P(\tau)\) and consider \(H:\tau=\tau_0\). Then condition (4.6) reduces to (when \(C_1>1\)) \[ \sum_{x=C_1+1}^{C_2-1}\frac{\tau_0^{x-1}e^{-\tau_0}}{(x-1)!} +\sum_{i=1}^{2}(1-\gamma_i)\frac{\tau_0^{C_i-1}e^{-\tau_0}}{(C_i-1)!} =1-\alpha. \]

Proof.

Poisson is an exponential family: \(P(X=x)=e^{-\tau}\tau^x/x!\), with \(T(X)=X\) sufficient. UMPU is given by (4.3), (4.5), (4.6). Condition (4.6) reads \[ E_{\tau_0}[X\varphi(X)]=\tau_0\alpha. \] Using \(x\cdot\tau^x/x!=\tau\cdot\tau^{x-1}/(x-1)!\) (\(x\ge 1\)), \[ \sum_{x=0}^\infty x\varphi(x)\frac{e^{-\tau_0}\tau_0^x}{x!} =\tau_0\sum_{x=1}^\infty\varphi(x)\frac{e^{-\tau_0}\tau_0^{x-1}}{(x-1)!}. \] With \(y=x-1\), the right-hand side is \(\tau_0\sum_{y=0}^\infty\varphi(y+1)\,e^{-\tau_0}\tau_0^y/y!\).

On the acceptance region \(\varphi=0\) (strictly between \(C_1\) and \(C_2\)), with randomization on the boundary. From (4.5), \(E\varphi=\alpha\) means acceptance probability \(1-\alpha\): \[ \sum_{x=C_1+1}^{C_2-1}p(x)+\sum_{i=1}^2(1-\gamma_i)p(C_i)=1-\alpha, \] where \(p(x)=e^{-\tau_0}\tau_0^x/x!\).

Rewrite (4.6) as \(E[X(1-\varphi)]=\tau_0(1-\alpha)\) (since \(EX=\tau_0\) and \(E[X\varphi]=\tau_0\alpha\)). Substituting \(x\,p(x)=\tau_0\,e^{-\tau_0}\tau_0^{x-1}/(x-1)!\) on the acceptance side yields the stated formula when \(C_1>1\) (so that boundary points are at least 1 and there is no \(x=0\) singularity). It is the “shifted” acceptance probability \(=1-\alpha\) for \(P(\tau_0)\), parallel to the binomial Example 4.2.1 (moment condition \(\leftrightarrow\) acceptance condition for sample size \(n-1\)).

Problem 4.5 Sample size for \(\chi^2\) scale family

NoteProblem statement

Let \(T_n/\theta\sim\chi^2_n\). For testing \(H:\theta=1\) at \(\alpha=0.05\), find \(n\) so that the UMPU test has power at least \(0.9\) for all \(\theta\ge 2\) and all \(\theta\le 1/2\). How large must \(n\) be if the unbiasedness restriction is dropped?

Solution.

Under \(\theta=1\), \(T\sim\chi^2_n\) with density \(f_n\). UMPU accepts \(C_1\le T\le C_2\), where (Example 4.2.2) \[ \int_{C_1}^{C_2}f_n=1-\alpha,\qquad\int_{C_1}^{C_2}f_{n+2}=1-\alpha \] (using \(y f_n(y)=n f_{n+2}(y)\)). Equivalently \(C_1^{n/2}e^{-C_1/2}=C_2^{n/2}e^{-C_2/2}\).

Under alternative \(\theta\), \(T/\theta\sim\chi^2_n\), so \[ \beta(\theta)=P\bigl(\chi^2_n<C_1/\theta\bigr)+P\bigl(\chi^2_n>C_2/\theta\bigr). \] Since \(\beta\) is minimized at \(\theta=1\) and increases with \(|\log\theta|\), it is enough to check \(\theta=2\) and \(\theta=1/2\).

Numerical:

\(n\) \(\beta(2)\) \(\beta(1/2)\)
40 0.871 0.861
44 0.898 0.895
45 0.904 0.902
50 0.929 0.932

Hence UMPU requires \(n=45\).

Without unbiasedness. Among two-sided tests \(\{T<C_1\}\cup\{T>C_2\}\) of level \(\alpha\) only (no \(\beta'(1)=0\)), maximizing \(\min\{\beta(2),\beta(1/2)\}\) still gives about \(0.897<0.9\) at \(n=44\), so \(n=45\) remains minimal. The alternatives \(\theta=2\) and \(\theta=1/2\) are symmetric in \(\log\theta\), so the equal-tilt constraint of UMPU costs almost no power.

If the problem is read as one-sided (only \(\theta\ge 2\) or only \(\theta\le 1/2\)), the corresponding UMP one-sided tests need about \(n=36\) (\(\theta=2\)) and \(n=38\) (\(\theta=1/2\)).

Problem 4.6 Type 3 (directional) error

NoteProblem statement

Suppose \(X\) has density from a one-parameter exponential family, \(T\) continuous. A two-sided test rejects for \(T<C_1\) or \(T>C_2\) and declares direction: \(\theta<\theta_0\) if \(T<C_1\), \(\theta>\theta_0\) if \(T>C_2\). A Type 3 error is a wrong directional decision. (i) For the UMPU test, \(\sup_{\theta\ne\theta_0}P_\theta(\text{Type 3})\le\alpha\); (ii) for equal-tails, the bound is \(\le\alpha/2\); (iii) give an example where UMPU makes the left-tail probability \(>\alpha/2\).

Proof.

Write \(R_-=\{T<C_1\}\), \(R_+=\{T>C_2\}\). Type 3 is \[ \bigl(\{\theta>\theta_0\}\cap R_-\bigr)\cup\bigl(\{\theta<\theta_0\}\cap R_+\bigr). \] For fixed \(\theta>\theta_0\), the Type 3 probability is \(P_\theta(T<C_1)\); for \(\theta<\theta_0\) it is \(P_\theta(T>C_2)\).

(i) The exponential family has MLR in \(T\). For \(\theta>\theta_0\), the indicator \(\mathbf{1}_{T<C_1}\) is a left-sided rejection region, so MLR yields \[ P_\theta(T<C_1)\le P_{\theta_0}(T<C_1). \] (Left-tail probabilities decrease as \(\theta\) increases.) Likewise for \(\theta<\theta_0\), \(P_\theta(T>C_2)\le P_{\theta_0}(T>C_2)\).

UMPU satisfies \(P_{\theta_0}(T<C_1)+P_{\theta_0}(T>C_2)=\alpha\) (continuous, no randomization). Hence \[ \sup_{\theta>\theta_0}P_\theta(\text{Type 3})=P_{\theta_0}(T<C_1)\le\alpha, \] \[ \sup_{\theta<\theta_0}P_\theta(\text{Type 3})=P_{\theta_0}(T>C_2)\le\alpha, \] and overall \(\sup_{\theta\ne\theta_0}P_\theta(\text{Type 3})\le\alpha\).

(ii) Equal-tails: \(P_{\theta_0}(T<C_1)=P_{\theta_0}(T>C_2)=\alpha/2\), so both bounds are \(\le\alpha/2\).

(iii) Under strong skewness—e.g. \(T=\sum X_i\) for exponential samples (Gamma)—UMPU tail masses are generally unequal. When the distribution is right-skewed at \(\theta_0\), often \(P_{\theta_0}(T<C_1)>\alpha/2\) to balance the moment condition (4.6). Thus the bound \(\alpha\) in (i) cannot be replaced by \(\alpha/2\) in general.

Problem 4.7 No UMPU for joint two-sided hypothesis

NoteProblem statement

Let \(X\) and \(Y\) be independently distributed according to one-parameter exponential families. Suppose \(T\) and \(U\) each take at least three values a.s., and \((a,b)\) is an interior point of the natural parameter space. Then there is no UMPU test of \(H:\theta_1=a,\theta_2=b\) vs \(K:\theta_1\ne a\) or \(\theta_2\ne b\).

Proof.

By §4.2, the UMPU acceptance region for \(\theta_1=a\) (with \(\theta_2\) fixed or treated as a nuisance parameter via conditioning) is \(C_1<T<C_2\); for \(\theta_2=b\) it is \(K_1<U<K_2\). These tests are UMP unbiased for the respective one-dimensional alternatives \(\{\theta_1\ne a,\theta_2=b\}\) and \(\{\theta_2\ne b,\theta_1=a\}\), and remain unbiased for the larger \(K\).

If \(\varphi^*\) were UMPU for the full \(K\), it would have to be UMP unbiased for each sub-alternative, hence its acceptance region (at the level of sufficient statistics) would have to be \(C_1<T<C_2\) (independent of \(U\)) and also \(K_1<U<K_2\) (independent of \(T\)).

These are compatible only if the rejection region is simultaneously two-sided in \(T\) and two-sided in \(U\). But optimality along the slice \(\theta_2=b\) as \(\theta_1\) moves away from \(a\) requires looking only at \(T\), while along \(\theta_1=a\) as \(\theta_2\) moves it requires looking only at \(U\). With \(T,U\) supported on at least three points, rectangular and strip acceptance regions cannot coincide as a single test.

Formally: UMPU would require \[ E_{a,b}[\varphi\mid T]=\varphi_T(T),\qquad E_{a,b}[\varphi\mid U]=\varphi_U(U) \] in the similar-on-boundary sense, which by joint completeness / multipoint support forces \(\varphi\equiv\alpha\) a.e., contradicting a nontrivial two-sided test.

Hence no UMPU exists.

Problem 4.8 Only trivial unbiased test for orthant alternative

NoteProblem statement

Let \((X,Y)\) be distributed according to the exponential family \(C(\theta_1,\theta_2)e^{\theta_1 x+\theta_2 y}\,d\mu\). For testing \(H:\theta_1\le a,\theta_2\le b\) vs \(K:\theta_1>a\) or \(\theta_2>b\), the only unbiased test is \(\varphi\equiv\alpha\).

Proof.

Without loss of generality take \(a=b=0\). Let \(\varphi\) be an unbiased level-\(\alpha\) test with power \(\beta(\theta_1,\theta_2)=E_{\theta_1\theta_2}\varphi\). In an exponential family, \(\beta\) is analytic in \((\theta_1,\theta_2)\) on the interior of the natural parameter space (Thm 2.7.1).

Unbiasedness \(\Rightarrow\) \(\beta\le\alpha\) on \(H\) and \(\beta\ge\alpha\) on \(K\). The boundary rays \(\{\theta_1=0,\theta_2\le 0\}\) and \(\{\theta_2=0,\theta_1\le 0\}\) lie in the closure of \(\overline{H}\cap\overline{K}\), so \[ \beta(0,\theta_2)=\alpha\quad(\theta_2\le 0),\qquad\beta(\theta_1,0)=\alpha\quad(\theta_1\le 0). \] For fixed \(\theta_1=0\), \(\beta(0,\theta_2)\) is analytic in \(\theta_2\) and constant \(\alpha\) on a half-line, hence \(\beta(0,\theta_2)=\alpha\) for all \(\theta_2\).

From \(\beta(0,\theta_2)=\alpha\) for all \(\theta_2\), and for fixed \(\theta_2>0\) the map \(\theta_1\mapsto\beta(\theta_1,\theta_2)\) being constrained by the \(H\)–\(K\) structure at \(\theta_1=0\), \[ \frac{\partial\beta}{\partial\theta_1}(0,\theta_2)=0\quad(\theta_2>0). \] The left-hand side is analytic in \(\theta_2\), so the identity holds for all \(\theta_2\). Higher-order partials in \(\theta_1\), alternating signs of \(\theta_2\) and using analyticity, yield \[ \frac{\partial^{k}\beta}{\partial\theta_1^{k}}(0,\theta_2)=0\quad\text{for all }k\ge 0\text{ and all }\theta_2. \] Thus for each fixed \(\theta_2\), the Taylor series of \(\theta_1\mapsto\beta(\theta_1,\theta_2)\) at \(0\) is identically \(\alpha\), i.e. \(\beta(\theta_1,\theta_2)\equiv\alpha\).

By completeness of \((X,Y)\) (Thm 4.3.1, two-dimensional rectangular parameter space), \(E_{\theta_1\theta_2}(\varphi-\alpha)=0\) for all parameters \(\Rightarrow\varphi\equiv\alpha\) a.e.

Problem 4.9 Complete class of two-sided exponential tests

NoteProblem statement

For testing \(H:\theta=\theta_0\) in a one-parameter exponential family, let \(\mathcal{C}\) be the class of all tests of the form (4.3) satisfying (4.5) (\(C_i,\gamma_i\) free, including one-sided limits). (i) \(\mathcal{C}\) is essentially complete for level-\(\alpha\) tests: any level-\(\alpha\) \(\varphi_0\) is dominated by some \(\varphi\in\mathcal{C}\). (ii) No test in \(\mathcal{C}\) is uniformly better than another. (iii) For two-decision loss with \(L_1(\theta)<L_0(\theta)\) (\(\theta\ne\theta_0\)), \(\mathcal{C}\) is minimal essentially complete. (iv) Extend to \(H':\theta_1\le\theta\le\theta_2\).

Proof.

(i) Let \(\varphi_0\) be level \(\alpha\), so \(E_{\theta_0}\varphi_0=\alpha\), and set \(\rho:=\beta'_{\varphi_0}(\theta_0)\) (exists by differentiability of exponential families). Maximizing \(E_{\theta'}\varphi\) for arbitrary \(\theta'\ne\theta_0\) subject to \[ E_{\theta_0}\varphi=\alpha,\qquad\beta'_\varphi(\theta_0)=\rho \] is a generalized NP problem (Thm 3.6.1): the optimum compares \(e^{bt}\) with \(a_1+a_2 t\), which is exactly form (4.3), hence lies in \(\mathcal{C}\). That \(\varphi\) is UMP among tests with the same \((\alpha,\rho)\), so it dominates \(\varphi_0\) uniformly.

(ii) Different \((C_1,C_2)\) correspond to different slopes \(\rho=\beta'(\theta_0)\); by strict TP / MLR, higher power on one side of \(\theta_0\) means lower power on the other, so no uniform domination within \(\mathcal{C}\).

(iii) Risk \(R(\theta,\varphi)=L_0(\theta)(1-\beta)+L_1(\theta)\beta\) for \(\theta\ne\theta_0\), and is constant on \(\theta_0\) at fixed level. Since \(L_1<L_0\) on alternatives, minimizing risk \(\Leftrightarrow\) maximizing power. By (i)(ii) and a Thm 3.4.2-type argument, \(\mathcal{C}\) is essentially complete and minimal.

(iv) For \(H':\theta_1\le\theta\le\theta_2\), similarity requires \(\beta(\theta_1)=\beta(\theta_2)=\alpha\), corresponding to class (4.3)+(4.4). Two-point NP constraints yield essential completeness of that class for level-\(\alpha\) tests; minimality is analogous to (ii)(iii).

Section 4.3

Problem 4.10 Completeness of sufficient statistics

NoteProblem statement

Let \(X_1,\ldots,X_n\) be a sample from (i) \(N(a\sigma,\sigma^2)\) with \(a\) known, \(0<\sigma<\infty\); (ii) \(U(\theta-\tfrac12,\theta+\tfrac12)\); (iii) \(U(\theta_1,\theta_2)\). The sufficient statistics are \(T=(\sum X_i,\sum X_i^2)\) and \(T=(X_{(1)},X_{(n)})\) respectively. Show that \(T\) is complete in (iii) but not even boundedly complete in (i) and (ii).

Proof.

(i) The density depends on \(\sigma\) through \[ (2\pi\sigma^2)^{-n/2}\exp\Bigl(-\frac{1}{2\sigma^2}\sum(x_i-a\sigma)^2\Bigr). \] \(T=(\sum X_i,\sum X_i^2)\) is two-dimensional and sufficient. The ratio \[ \frac{\sum X_i}{\sqrt{\sum X_i^2}} \] is scale-invariant, and the model is a scale family (mean proportional to \(\sigma\)), so the distribution of this ratio does not depend on \(\sigma\). Taking \(f(T)=g(\sum X_i/\sqrt{\sum X_i^2})-E[g]\) for bounded nonconstant \(g\) yields \(E_\sigma f(T)=0\) for all \(\sigma\) with \(f\not\equiv 0\). Hence not boundedly complete, and a fortiori not complete.

(ii) \(T=(U,V)=(X_{(1)},X_{(n)})\). The range \(V-U\) has distribution free of \(\theta\) (location family), so \(f=h(V-U)-E[h]\) is a nontrivial unbiased zero function. Not boundedly complete.

(iii) Parameters \((\theta_1,\theta_2)\) are two-dimensional with sufficient statistic \((X_{(1)},X_{(n)})\) and density \[ \frac{n(n-1)}{(\theta_2-\theta_1)^n}(x_{(n)}-x_{(1)})^{n-2},\quad\theta_1<x_{(1)}\le x_{(n)}<\theta_2. \] If \(E_{\theta_1\theta_2}f(X_{(1)},X_{(n)})=0\) for all \(\theta_1<\theta_2\), interval consistency arguments on the upper and lower limits (as in Example 4.3.2), or embedding in exponential submodels, yield \(f=0\) a.e. Equivalently: order statistics for the full \(U(\theta_1,\theta_2)\) family are complete (standard result). Hence complete.

Problem 4.11 Not boundedly complete

NoteProblem statement

Let \(X_1,\ldots,X_m\sim N(\xi,\sigma^2)\) and \(Y_1,\ldots,Y_n\sim N(\xi,\tau^2)\) be independent. Then \(T=(\sum X_i,\sum Y_j,\sum X_i^2,\sum Y_j^2)\) is not complete; show that it is not boundedly complete either.

Proof.

Example 4.3.3 already notes \(E(\bar Y-\bar X)=0\), so \(f_0=\bar Y-\bar X\) shows incompleteness. For bounded completeness, take \[ f(t)=\operatorname{sign}(\bar y-\bar x)\in\{-1,+1\} \] (with value \(0\) when \(\bar y=\bar x\)). Then \(|f|\le 1\), and by symmetry of \(\bar Y-\bar X\sim N(0,\sigma^2/m+\tau^2/n)\) about \(0\) under common \(\xi\), \(E[f(T)]=0\) for all parameters, while \(f\not=0\) a.s. Hence not boundedly complete.

Problem 4.12 Boundedly complete but not complete

NoteProblem statement

Let \(P_\theta\{X=-1\}=\theta\) and \(P_\theta\{X=x\}=(1-\theta)^2\theta^x\) for \(x=0,1,\ldots\), with \(0<\theta<1\). Show that \(\mathcal{P}\) is boundedly complete but not complete.

Proof.

Not complete. Compute \(E_\theta[X]\): \[ E_\theta X=(-1)\cdot\theta+\sum_{x=0}^\infty x(1-\theta)^2\theta^x. \] Since \(\sum_{x=1}^\infty x\theta^{x-1}=1/(1-\theta)^2\), one gets \(E_\theta X=-\theta+\theta=0\). Thus \(f(x)=x\) satisfies \(E_\theta f=0\) for all \(\theta\) with \(f\not\equiv 0\).

Boundedly complete. Suppose \(|f|\le M\) and \(E_\theta f(X)=0\) for all \(\theta\in(0,1)\): \[ \theta f(-1)+(1-\theta)^2\sum_{x=0}^\infty f(x)\theta^x=0. \] Let \(g(\theta)=\sum_{x=0}^\infty f(x)\theta^x\) (analytic on \((0,1)\) by boundedness of \(f\)). Then \[ g(\theta)=-\frac{\theta f(-1)}{(1-\theta)^2}=\ -f(-1)\sum_{k=1}^\infty k\theta^k. \] Comparing coefficients: \(f(0)=0\) and \(f(k)=-k f(-1)\) for \(k\ge 1\). If \(f(-1)\ne 0\) then \(f(k)\) is unbounded, contradicting \(|f|\le M\). Hence \(f(-1)=0\) and \(f(k)=0\) for all \(k\), proving bounded completeness.

Problem 4.13 Completeness of order statistics for continuous \(F\)

NoteProblem statement

Show that completeness of the order statistics in Example 4.3.4 remains valid for the class \(\mathcal{F}_1\) of all continuous distributions (Fraser, 1956).

Proof.

Let \(\phi(x_1,\ldots,x_n)\) be symmetric and integrable, and suppose for every continuous CDF \(F\), \[ \int\phi\,dF(x_1)\cdots dF(x_n)=0. \] Replace \(F\) by a finite mixture \(\sum_{i=1}^n\alpha_i F_i\) (\(\alpha_i>0\), \(\sum\alpha_i=1\), \(F_i\) continuous): \[ \sum_{i_1,\ldots,i_n}\alpha_{i_1}\cdots\alpha_{i_n}\int\phi\,dF_{i_1}\cdots dF_{i_n}=0. \] The left-hand side is a homogeneous polynomial in \(\alpha\); vanishing for all \(\alpha\) forces each multilinear coefficient to vanish. In particular, for all continuous \(F_1,\ldots,F_n\), \[ \int\phi(x_1,\ldots,x_n)\,dF_1(x_1)\cdots dF_n(x_n)=0. \]

Truncating (or restricting mass) to \((-\infty,a_i]\) and approximating by continuous laws yields \[ \int_{(-\infty,a_1]\times\cdots\times(-\infty,a_n]}\phi\,dF^{\otimes n}=0 \] for all \((a_1,\ldots,a_n)\). This implies \(\phi=0\) a.e. \(F^{\otimes n}\). Since \(F\) is an arbitrary continuous distribution, \(\phi=0\) a.e. for all continuous product measures, so the order statistics are complete.

Problem 4.14 Completeness yes/no

NoteProblem statement

Determine whether \(T\) is complete for: (i) \(X_i\) i.i.d. uniform on \(\{1,\ldots,\theta\}\), \(T=X_{(n)}\); (ii) \(X\in\{1,2,3,4\}\) with probabilities \(pq\), \(p^2q\), \(pq^2\), \(1-2pq\), \(T=X\).

Solution.

(i) Complete. \(P_\theta(T=t)=(t/\theta)^n-((t-1)/\theta)^n\), \(t=1,\ldots,\theta\). If \(E_\theta f(T)=0\) for all \(\theta=1,2,\ldots\), then \[ \sum_{t=1}^\theta f(t)\bigl[t^n-(t-1)^n\bigr]=0\quad(\forall\theta). \] \(\theta=1\Rightarrow f(1)=0\); differencing from \(\theta\) to \(\theta+1\) recursively gives \(f(\theta)=0\). Complete.

(ii) Complete. On an open set of \((p,q)\) with nonnegative probabilities (e.g. \(p,q\) small and positive), \[ E_{p,q}f(X)=pq\,f(1)+p^2q\,f(2)+pq^2\,f(3)+(1-2pq)\,f(4) \] rearranges as \[ f(4)+pq\bigl(f(1)-2f(4)\bigr)+p^2q\,f(2)+pq^2\,f(3). \] The monomials \(\{1,\,pq,\,p^2q,\,pq^2\}\) are linearly independent on that open set, so \(Ef\equiv 0\) forces \[ f(4)=0,\quad f(1)-2f(4)=0,\quad f(2)=f(3)=0, \] i.e. \(f\equiv 0\). Hence \(T=X\) is complete.

Problem 4.15 Binomial with \(p\) and \(p^2\)

NoteProblem statement

Let \(X\sim b(p,m)\) and \(Y\sim b(p^2,n)\) be independent. Is \((X,Y)\) complete? (i) \(m=n=1\); (ii) \(m=2\), \(n=1\).

Solution.

The joint law is a one-parameter family in \(p\in(0,1)\) with support of size \((m+1)(n+1)\).

(i) \(m=n=1\): complete. The four probabilities are \[ (1-p)(1-p^2),\;(1-p)p^2,\;p(1-p^2),\;p^3. \] For \(f=(a,b,c,d)\), \[ \begin{aligned} Ef&=a(1-p-p^2+p^3)+b(p^2-p^3)+c(p-p^3)+d p^3\\ &=a+(-a+c)p+(-a+b)p^2+(a-b-c+d)p^3. \end{aligned} \] \(Ef\equiv 0\Rightarrow a=c=b=d=0\). Complete.

(ii) \(m=2\), \(n=1\): not complete. Support has 6 points, while \(E_p f\) is a polynomial in \(p\) of degree at most 4 (at most 5 coefficient constraints), so the kernel has dimension \(\ge 1\). Explicitly, take \[ f(0,1)=-1,\quad f(1,1)=-1,\quad f(2,0)=1, \] and \(0\) elsewhere. Then \[ \begin{aligned} Ef&=-(1-p)^2p^2-2p(1-p)p^2+p^2(1-p^2)\\ &=p^2\Bigl[-(1-2p+p^2)-2p+2p^2+1-p^2\Bigr]=0. \end{aligned} \] Nonzero \(f\) with expectation identically \(0\), so incomplete.

Problem 4.16 Uniform discrete, truncated parameter space

NoteProblem statement

Let \(X_i\) be i.i.d. uniform on \(\{1,\ldots,\theta\}\), and let \(a\) be a positive integer. 1. If \(\Omega=\{\theta:\theta\le a\}\), then \(X_{(n)}\) is complete. 2. If \(\Omega=\{\theta:\theta\ge a\}\) (\(a\ge 2\)), then \(X_{(n)}\) is not complete; find a complete sufficient statistic.

Proof.

1. As in Problem 4.14(i), but \(\theta\) only up to \(a\). \(E_\theta f(X_{(n)})=0\) for \(\theta=1,\ldots,a\) still yields \(f(1)=\cdots=f(a)=0\) by recursion. On \(\Omega\), \(X_{(n)}\le a\) a.s., so complete.

2. \(X_{(n)}\) incomplete. The parameter space \(\Omega=\{\theta\ge a\}\) no longer includes \(\theta=1,\ldots,a-1\), so constraints on \(f(t)\) for \(t<a\) are weaker. Choose nonzero \(f\) supported on \(\{1,\ldots,a\}\) with \[ \sum_{t=1}^{a}f(t)\bigl[t^n-(t-1)^n\bigr]=0, \] and set \(f(t)=0\) for \(t>a\). Then for every \(\theta\ge a\), \[ E_\theta f(X_{(n)})=\theta^{-n}\sum_{t=1}^{a}f(t)\bigl[t^n-(t-1)^n\bigr]=0, \] but \(f\not\equiv 0\). Incomplete.

Complete sufficient statistic. Let \(T=\max(X_{(n)},a)\). Then \[ P_\theta(T=a)=\Bigl(\frac{a}{\theta}\Bigr)^n,\qquad P_\theta(T=t)=\Bigl(\frac{t}{\theta}\Bigr)^n-\Bigl(\frac{t-1}{\theta}\Bigr)^n\ (t=a+1,\ldots,\theta). \] If \(E_\theta g(T)=0\) for all \(\theta\ge a\), first set \(\theta=a\) to get \(g(a)=0\), then recurse on \(\theta=a+1,a+2,\ldots\) to get \(g\equiv 0\). Completeness follows; sufficiency follows from sufficiency of \(X_{(n)}\) and the factorization through \(T\) (when \(X_{(n)}<a\), the likelihood for all \(\theta\ge a\) depends on \(\theta\) only through the common factor \(\theta^{-n}\)).

Section 4.4

Problem 4.17 UMPU for sums/differences of natural parameters

NoteProblem statement

Let \(X_i\) (\(i=1,2\)) be independent from exponential families of type (3.19) (with \(C_i,Q_i,T_i,h_i\)). Show that UMPU tests exist for (i) \(H:Q_2(\theta_2)-Q_1(\theta_1)\le c\) (in particular \(Q_2\le Q_1\)); (ii) \(H:Q_2(\theta_2)+Q_1(\theta_1)\le c\).

Proof.

The joint density (w.r.t. a suitable measure) is \[ C_1(\theta_1)C_2(\theta_2)\exp\bigl(Q_1(\theta_1)T_1(x_1)+Q_2(\theta_2)T_2(x_2)\bigr)h_1 h_2. \] (i) Set \(\eta=Q_2(\theta_2)-Q_1(\theta_1)\), \(\vartheta=Q_1(\theta_1)\). Then \[ Q_1 T_1+Q_2 T_2=\vartheta(T_1+T_2)+\eta T_2, \] a full-rank two-parameter exponential family in \((\eta,\vartheta)\) (when the natural parameter space contains a rectangle). By Thm 4.4.1 / Lem 4.4.1, UMPU for \(H:\eta\le c\) exists, based on the conditional test of \(U=T_2\) given \(T=T_1+T_2\).

(ii) Set \(\eta=Q_1+Q_2\), \(\vartheta=Q_1\), so \[ Q_1 T_1+Q_2 T_2=\eta T_2+\vartheta(T_1-T_2), \] again in the form of Thm 4.4.1 for \(H:\eta\le c\).

Problem 4.18 Poisson product vs square

NoteProblem statement

Let \(X,Y,Z\) be independent Poisson with means \(\lambda,\mu,\nu\). Show that a UMPU test of \(H:\lambda\mu\le\nu^2\) exists.

Proof.

The joint density is \[ \exp\bigl(-(\lambda+\mu+\nu)+x\log\lambda+y\log\mu+z\log\nu\bigr)/(x!y!z!). \] Set \(\theta_1=\log\lambda\), \(\theta_2=\log\mu\), \(\theta_3=\log\nu\). Then \(H:\lambda\mu\le\nu^2\Leftrightarrow\theta_1+\theta_2-2\theta_3\le 0\). With \[ \eta=\theta_1+\theta_2-2\theta_3,\quad \vartheta_1=\theta_1,\quad \vartheta_2=\theta_3 \] (or another full-rank linear reparametrization), \[ \theta_1 x+\theta_2 y+\theta_3 z=\eta\cdot U+\vartheta\cdot T, \] e.g. with \(U=X+Y\) and \(T\) containing \(X-Y\), \(Z\), etc. After a full-rank transform, Thm 4.4.1 gives UMPU for \(H:\eta\le 0\): a one-sided conditional test of \(U\) given \(T\).

Problem 4.19 Random sample size

NoteProblem statement

Let \(N\) have a power series distribution \(P(N=n)=a(n)\lambda^n/C(\lambda)\). Given \(N=n\), observe \(X_1,\ldots,X_n\) from the exponential family (3.19). Based on \((N,X_1,\ldots,X_N)\), a UMPU test of \(H:Q(\theta)\le c\) exists.

Proof.

The joint law is \[ P(N=n,X=x)=\frac{a(n)\lambda^n}{C(\lambda)}\,C(\theta)^n\exp\bigl(Q(\theta)\textstyle\sum_{i=1}^n T(x_i)\bigr)\prod h(x_i). \] Write this as an exponential family in \((Q(\theta),\log\lambda)\) with \(U=\sum_{i=1}^N T(X_i)\). Treating \(\lambda\) as a nuisance parameter, Thm 4.4.1 applies to \(H:Q\le c\): given \(N=n\) (and any other \(T\)), perform a one-sided UMPU conditional test on \(U\). Hence an overall UMPU exists.

Problem 4.20 Mixture of two normals

NoteProblem statement

Let \(P(I=1)=p=1-P(I=2)\); given \(I=i\), \(X\sim N(\theta,\sigma_i^2)\) with \(\sigma_1<\sigma_2\) known. When \(p=1/2\), based on \((X,I)\) there is no UMP for \(\theta=0\) vs \(\theta>0\); when \(p\) is unknown, a UMPU exists.

Proof.

\(p=1/2\) known. The density is \[ f_\theta(x,i)=\tfrac12\cdot\frac{1}{\sqrt{2\pi}\sigma_i}\exp\bigl(-(x-\theta)^2/(2\sigma_i^2)\bigr). \] The likelihood ratio \(f_\theta/f_0\) as a function of \((x,i)\) yields NP critical regions with different thresholds in \(x\) for different \(i\) (different \(\sigma_i\)). For \(\theta>0\), MLR holds within each fixed \(i\), but the joint family generally lacks MLR in a real-valued statistic. If a UMP existed it would have to agree a.e. with the NP test for every \(\theta_1>0\); but the level-\(\alpha\) NP rejection region changes with \(\theta_1\) (small \(\theta\) uses information differently from large \(\theta\), when nearly only \(I=1\) matters). Hence no UMP.

\(p\) unknown. The joint model involves \(p\) and \(\theta\). For \(H:\theta=0\) vs \(\theta>0\), the similar/unbiased requirement yields Neyman structure given \(I\): conditional level \(\alpha\) in each stratum. Given \(I=i\), the UMP one-sided \(z\)-test is available. Mixing these conditional level-\(\alpha\) tests gives UMPU (conditional one-sided \(z\)-tests at level \(\alpha\)).

Problem 4.21 Measurability of \(\varphi_3\)

NoteProblem statement

Prove that the function \(\varphi_3\) defined by (4.16)–(4.17) in Theorem 4.4.1 is jointly measurable in \((u,t)\). [The book gives steps (1)–(4).]

Proof (expanding the hint).

Fix \(\theta_1<\theta_2\). Conditional distribution functions \(F_t,G_t\) are as in (4.28).

(1) For \(y\in[0,\alpha]\), set \(v(y,t)=F_t^{-1}(y)\), \(w(y,t)=F_t^{-1}(1-\alpha+y)\), and define \(\gamma_1,\gamma_2\) so that left and right tails under \(F_t\) contribute \(y\) and \(\alpha-y\) respectively. Then \((v,w,\gamma_1,\gamma_2)\) satisfy (4.26).

(2) Let \(H(y,t)\) be the left-hand side of (4.27) with these \((v,w,\gamma)\). Then \(y=0\) is the left one-sided conditional test and \(y=\alpha\) the right one-sided; by Thm 3.4.1 and strict monotonicity of one-sided power, \(H(0,t)>\alpha>H(\alpha,t)\) for nondegenerate \(t\).

(3) \(H_1,H_2\) (left/right contributions under \(G_t\)) are continuous in \(y\): \(F_t\) and \(G_t\) belong to the same exponential family, so atoms and flat stretches coincide \(P^T\)-a.e., and quantiles with randomization move continuously.

(4) \(H(y,t)\) is jointly measurable in \((y,t)\): continuous in \(y\) plus measurable in \(t\) (measurability of \(F_t(u),G_t(u)\) already used for \(\varphi_1\)) yields joint measurability. Define \[ y(t)=\inf\{y:H(y,t)<\alpha\}. \] Then \[ \{t:y(t)<c\}=\bigcup_{r<c,\,r\in\mathbb{Q}}\{t:H(r,t)<\alpha\} \] is measurable. Also \(\{t:F_t^{-1}(y(t))\le c\}=\{t:y(t)-F_t(c)\le 0\}\) is measurable. Hence \(v(t),w(t),\gamma_i(t)\) are measurable, and \[ \varphi_3(u,t)=\mathbf{1}_{u<v(t)}+\mathbf{1}_{u>w(t)}+\gamma_1(t)\mathbf{1}_{u=v}+\gamma_2(t)\mathbf{1}_{u=w} \] is jointly measurable in \((u,t)\).

Problem 4.22 Measurability of \(\varphi_4\)

NoteProblem statement

Prove that \(\varphi_4\) defined by (4.16), (4.18), (4.19) is jointly measurable.

Proof.

Parallel to Problem 4.21, but with constraints (4.18)–(4.19), requiring measurability of \(g(z,t)=\int_{(-\infty,z)}u\,dF_t(u)\). Under exponential-family conditional laws, \(g\) converges absolutely. Write \[ g(z,t)=\lim_{n\to\infty}g_n(z,t), \] \[ g_n(z,t)=\sum_{j=1}^\infty\Bigl(z-\frac{j}{2^n}\Bigr)\Bigl[F_t\bigl(z-\tfrac{j-1}{2^n}-\bigr)-F_t\bigl(z-\tfrac{j}{2^n}-\bigr)\Bigr]; \] each \(g_n\) is measurable by measurability of \(F_t\), so \(g\) is measurable. The remaining quantile–randomization selection is as in 4.21; one-sided boundary comparisons use the conditional one-sided properties of Problem 3.50 in place of Thm 3.4.1. Thus \(\varphi_4\) is jointly measurable.

Problem 4.23 Uniqueness of UMPU given \((U,T)\)

NoteProblem statement

The UMPU tests of \(H_1,\ldots,H_4\) in Theorem 4.4.1 are unique in the class of tests that depend on the data only through \((U,T)\).

Proof.

By completeness, similar tests have Neyman structure \(E[\varphi\mid T=t]=\alpha\). The conditional problem is a one-parameter exponential family UMP (one-sided) or UMPU (two-sided) problem, whose strongest conditional test is unique \(P^{U\mid t}\)-a.e. (NP / two-point NP uniqueness). Hence the overall \(\varphi(U,T)\) is a.e. unique. Tests not depending on \((U,T)\) can be improved by Rao–Blackwell conditioning to depend on \((U,T)\), but that lies outside the uniqueness statement restricted to functions of \((U,T)\).

Problem 4.24 Singly truncated normal vs exponential

NoteProblem statement

The singly truncated normal (STN) density is \(p(x;\nu,\lambda)=C(\nu,\lambda)\exp(-\nu x-\lambda x^2)\) for \(x>0\). Based on an i.i.d. sample, show that a UMPU test of “exponential” vs STN exists, and describe the rejection region.

Proof.

The exponential law is the submodel \(\lambda=0\), \(\nu>0\). The sample joint density is \[ C^n\exp\bigl(-\nu\textstyle\sum X_i-\lambda\textstyle\sum X_i^2\bigr),\quad X_i>0. \] This is a two-parameter exponential family in \((\nu,\lambda)\). Testing \(H:\lambda=0\) vs \(K:\lambda>0\) (or \(\lambda\ne 0\) two-sided) falls under Thm 4.4.1.

Sufficient statistics: \(U=\sum X_i^2\), \(T=\sum X_i\). UMPU, given \(T=t\), rejects large \(U\) (for \(\lambda>0\)): the natural parameter of \(\lambda\) multiplies \(-U\), so for \(H:\lambda=0\) vs \(\lambda>0\) the conditional rejection region is \[ \sum X_i^2\ge C\bigl(\textstyle\sum X_i\bigr) \] (one-sided); two-sided uses conditional two-sided UMPU. Under the exponential null, given \(\sum X_i=t\), the sample is distributed as \(n\) i.i.d. exponential variables conditioned on a fixed sum (uniform on the simplex), so \(C(t)\) is determined by quantiles of that conditional law.

Section 4.5

Problem 4.25 Negative binomial comparison

NoteProblem statement

Let \(X\sim Nb(p_1,m)\) and \(Y\sim Nb(p_2,n)\) be independent, \(q_i=1-p_i\). (i) A UMPU test of \(H:\theta=q_2/q_1\le\theta_0\) (including \(p_1\le p_2\)) exists. (ii) For \(m=n=1\), give the conditional distribution needed to test \(H':p_1\le p_2\).

Proof.

(i) Negative binomial \[ P(X=x)=\binom{m+x-1}{x}p_1^m q_1^x \] yields a joint exponential family with natural parameters \(\log q_1,\log q_2\) (or \(\log q_2-\log q_1\) and \(\log q_1\)). \(H:q_2/q_1\le\theta_0\) is a one-sided hypothesis for Thm 4.4.1; UMPU exists with conditional statistic \(U=Y\) given \(T=X+Y\).

(ii) For \(m=n=1\), \(X,Y\) are geometric (number of failures). \(H':p_1\le p_2\Leftrightarrow q_2\le q_1\Leftrightarrow\theta\le 1\). Given \(X+Y=t\), \[ P(Y=y\mid X+Y=t)=\frac{\theta^y}{\sum_{j=0}^t\theta^j},\quad y=0,\ldots,t, \] with \(\theta=q_2/q_1\). On the boundary \(\theta=1\) this is discrete uniform \(P(Y=y\mid t)=1/(t+1)\). For \(H:p_1\le p_2\) vs \(p_1>p_2\), the conditional test rejects large \(X\) (small \(Y\)).

Problem 4.26 Power of Poisson UMPU

NoteProblem statement

Let \(X\sim P(\lambda)\) and \(Y\sim P(\mu)\) be independent. Find the power of the UMPU test of \(H:\mu\le\lambda\) at \(\alpha=0.1\) for \((\lambda,\mu)=(0.1,0.2)\), \((1,2)\), \((10,20)\), \((0.1,0.4)\).

Solution.

\(T=X+Y\sim P(\lambda+\mu)\); given \(T=t\), \(Y\sim b(t,p)\) with \(p=\mu/(\lambda+\mu)\). \(H:\mu\le\lambda\Leftrightarrow p\le 1/2\). Conditional UMP rejects large \(Y\) at conditional level \(\alpha\). Overall power \[ \beta=\sum_{t=0}^\infty\beta(t)\,e^{-(\lambda+\mu)}\frac{(\lambda+\mu)^t}{t!}, \] with \(\beta(t)\) the conditional power under \(b(t,p)\).

Numerical (\(\alpha=0.1\)):

\((\lambda,\mu)\) \(\rho=\mu/\lambda\) \(p\) \(\beta\)
\((0.1,0.2)\) 2 \(2/3\) 0.111
\((1,2)\) 2 \(2/3\) 0.217
\((10,20)\) 2 \(2/3\) 0.710
\((0.1,0.4)\) 4 \(0.8\) 0.135

As in the text: for fixed \(\rho>1\), \(\beta(\lambda,\rho\lambda)\) increases with \(\lambda\) (from near \(\alpha\) toward 1); as \(\lambda\to 0\), \(P(T=0)\) is large and power stays near \(\alpha\).

Problem 4.27 Sequential comparison of binomials

NoteProblem statement

Two Bernoulli sequences with success probabilities \(p_1,p_2\); \(\rho=(p_2/q_2)/(p_1/q_1)\). (i) For fixed \(m,n\), if \(\alpha<\beta\) there is no level-\(\alpha\) test with power \(\ge\beta\) for all paths with \(\rho=\rho_1\). (ii) Pair until \(N\) discordant pairs; the number of first-sequence successes among discordance \(\sim b(\pi,N)\) with \(\pi=1/(1+\rho)\); large \(N\) achieves any power. (iii) For \(p_1/p_2=\lambda\), use inverse binomial sampling to test \(H:\lambda=\lambda_0\) vs \(>\).

Proof.

(i) With fixed \(m,n\), if \(p_1,p_2\to 0\) with \(\rho\to\rho_1\), then \((X,Y)\to(0,0)\) in probability and power \(\to\varphi(0,0)\). Level on the boundary \(\rho=\rho_0\) forces \(\varphi(0,0)\le\alpha\) (or \(=\alpha\) under similarity/unbiasedness). Hence power cannot be \(\ge\beta>\alpha\) along every \(\rho=\rho_1\) path.

(ii) Retain only pairs \((1,0)\) and \((0,1)\). The conditional probability that the first sequence succeeds given discordance is \[ \pi=\frac{p_1q_2}{p_1q_2+p_2q_1}=\frac{1}{1+\rho}. \] After \(N\) discordant pairs, \(S\sim b(\pi,N)\). Testing \(\rho=\rho_0\) reduces to a binomial test of \(\pi=\pi_0\); for \(\rho_1\ne\rho_0\), sufficiently large \(N\) yields power \(\ge\beta\).

(iii) Inverse binomial: sample until the first sequence has \(r\) successes; under suitable stopping, the likelihood depends on \(\lambda=p_1/p_2\), giving an exponential family / MLR problem for \(\lambda\) and a UMP one-sided test.

Problem 4.28 Positive quadrant dependence

NoteProblem statement

\((X,Y)\) takes values \((0,0),(0,1),(1,0),(1,1)\) with probabilities \(p_{ij}\). Show that positive quadrant dependence \(F(x,y)\ge F(x,\infty)F(\infty,y)\) for all \(x,y\) holds iff the odds ratio \(\Delta=p_{01}p_{10}/(p_{00}p_{11})\le 1\).

Proof.

For binary margins the only nontrivial quadrant condition is at thresholds of type \((0,0)\) (right-continuous CDF convention): \[ P(X\le 0,Y\le 0)\ge P(X\le 0)P(Y\le 0), \] i.e. \(p_{00}\ge(p_{00}+p_{01})(p_{00}+p_{10})\). Expanding and using \(p_{00}+p_{01}+p_{10}+p_{11}=1\): \[ p_{00}(1-p_{00}-p_{01}-p_{10})\ge p_{01}p_{10}\Leftrightarrow p_{00}p_{11}\ge p_{01}p_{10}\Leftrightarrow\Delta\le 1. \] Other thresholds reduce to marginal identities. Hence PQD \(\Leftrightarrow\Delta\le 1\).

(Note: the book’s \(\Delta=p_{01}p_{10}/(p_{00}p_{11})\) encodes positive dependence by \(\Delta\le 1\), consistent with §4.6.)

Problem 4.29 Runs in Markov binary sequence

NoteProblem statement

Stationary Markov chain \(X_i\in\{0,1\}\) with transitions \(p_1=P(X_i=1\mid X_{i-1}=1)\), \(p_0=P(X_i=1\mid X_{i-1}=0)\), initial \(\pi_1,\pi_0\). (i) Stationarity \(\Rightarrow\pi_1=p_0/(p_0+q_1)\), etc. (ii) Sequence probability \(=p_0^v p_1^{n-v}q_1^u q_0^{m-u}/(p_0+q_1)\), where \(m,n\) are the numbers of 0s/1s and \(u,v\) the numbers of 0/1 runs.

Proof.

(i) Stationarity: \(\pi_1=\pi_1 p_1+\pi_0 p_0\), \(\pi_0=1-\pi_1\). Then \(\pi_1 q_1=(1-\pi_1)p_0\), so \[ \pi_1=\frac{p_0}{p_0+q_1},\quad\pi_0=\frac{q_1}{p_0+q_1}. \]

(ii) Write \(P(x_1,\ldots,x_N)=\pi_{x_1}\prod_{i=2}^N P(x_i\mid x_{i-1})\). Transition contributions: - \(1\to 1\): \(p_1\), count \(=n-v\) (\(n\) ones in \(v\) runs give \(n-v\) internal transitions); - \(0\to 0\): \(q_0\), count \(m-u\); - \(0\to 1\): \(p_0\); \(1\to 0\): \(q_1\), counts related to run structure by \(v\) or \(v-1\) and \(u\) or \(u-1\).

Under stationarity, \(\pi_{x_1}\) merges with the boundary run factor \(1/(p_0+q_1)\), yielding \[ P=\frac{1}{p_0+q_1}\,p_0^v p_1^{n-v}q_1^u q_0^{m-u}. \]

Problem 4.30 Run test

NoteProblem statement

Test \(H:p_0=p_1\) (independence) vs \(K:p_0<p_1\). The run test: given \(m\) zeros, reject small \(R=U+V\). Show (i) the MP similar test agrees with the run test on \(\{R<C(m)\}\); (ii) unbiasedness; (iii) the conditional distribution of \(R\) under \(H\).

Proof.

(i) Unbiasedness \(\Rightarrow\) conditional level \(\alpha\) given \(m\) (Neyman structure; completeness of \(m\) on the boundary). Conditional NP ratio: \[ \Lambda=(p_0/p_1)^v (q_1/q_0)^u. \] Under \(K\): \(p_0<p_1\), \(q_1<q_0\), so \(\Lambda\) increases as the number of runs decreases. Since \(|u-v|\in\{0,1\}\), ordering gives rejection for small \(R\); only randomization at \(R=C\) may depend on the specific \((p_0,p_1)\).

(ii) For each \(m\) the conditional test is UMP one-sided under an exponential family / MLR, hence conditionally unbiased; overall power \(E[\beta(p_0,p_1\mid M)]\ge\alpha\).

(iii) Under \(H\), given \(m\) zeros and \(n=N-m\) ones, sequences are equally likely with probability \(\binom{N}{m}^{-1}\). Partitioning \(n\) ones into \(r\) groups: \(\binom{n-1}{r-1}\) ways; \(m\) zeros into \(r\) groups: \(\binom{m-1}{r-1}\). \(R=2r\): \(u=v=r\), \[ P(R=2r\mid m)=\frac{2\binom{m-1}{r-1}\binom{n-1}{r-1}}{\binom{m+n}{m}}. \] \(R=2r+1\): \((u,v)=(r+1,r)\) or \((r,r+1)\), \[ P(R=2r+1\mid m)=\frac{\binom{m-1}{r}\binom{n-1}{r-1}+\binom{m-1}{r-1}\binom{n-1}{r}}{\binom{m+n}{m}}. \]

Problem 4.31 UMPU for Markov dependence

NoteProblem statement
  1. In the model of Problem 4.29, given \(X_1=x_1\), a UMPU test of \(H:p_0=p_1\) vs \(p_0>p_1\) exists (any \(\alpha\)).
  2. Without conditioning on \(X_1\), and with \(\pi_1\) fully unknown, UMPU still exists.

Proof.

(i) Conditionally on \(X_1=x_1\), the law of \(X_2,\ldots,X_n\) is an exponential family with sufficient statistics the transition counts \((y_1,y_0,z_1,z_0)\). \(H:p_0=p_1\) is a linear constraint on natural parameters; Thm 4.4.1 yields UMPU.

(ii) With \(\pi_1\) unknown, the joint law of \((X_1,\ldots,X_n)\) is still exponential with nuisance parameters including \(\pi_1\) and a common success probability; similarity on a complete sufficient statistic yields Neyman structure, and the conditional problem is as in (i), so UMPU exists.

Problem 4.32 Rank-sum (logistic dose-response)

NoteProblem statement

\(Y_i\sim b(p_i,n_i)\) with \(p_i=1/(1+e^{-(\alpha+\beta x_i)})\). (i) Exponential family; UMPU exists for the four hypothesis types in \(\alpha,\beta\). (ii) \(x_i=\Delta\cdot i\), \(n_i=1\): testing \(\beta=0\) vs \(>0\) rejects large rank sum \(\sum s_j\) given total successes \(n\). (iii) Two logistic groups: UMPU for \(\gamma-\alpha\), \(\delta-\beta\).

Proof.

(i) \[ \prod_i\binom{n_i}{y_i}p_i^{y_i}(1-p_i)^{n_i-y_i}=\exp\bigl(\alpha\textstyle\sum y_i+\beta\textstyle\sum x_i y_i+\cdots\bigr), \] an exponential family in \((\alpha,\beta)\). Thm 4.4.1 gives UMPU of types \(H_1\)–\(H_4\) for \(\alpha\) or \(\beta\).

(ii) With \(n_i=1\), \(x_i=\Delta i\): \(\sum x_i Y_i=\Delta\sum i Y_i\). Under \(H:\beta=0\), the \(Y_i\) are i.i.d. Bernoulli\((p)\) and \(T=\sum Y_i=n\) is complete sufficient. Given \(n\) success positions \((s_1,\ldots,s_n)\) uniform among \(\binom{N}{n}\) subsets, UMPU rejects large \(\sum s_j\) (\(\beta>0\) means higher dose more often successful)—a Wilcoxon / rank-sum type test.

(iii) Two groups form a joint exponential family in \((\alpha,\beta,\gamma,\delta)\); linear reparametrization for \(\gamma-\alpha\) or \(\delta-\beta\) puts the problem under Thm 4.4.1.

Section 4.8

Problem 4.33 \(2\times 2\times 2\) null probabilities

NoteProblem statement

In a \(2\times 2\times 2\) table with \(m_1=3\), \(n_1=4\); \(m_2=4\), \(n_2=4\); and \(t_1=3\), \(t_1'=4\), \(t_2=t_2'=4\), find \(P(Y_1+Y_2\le k\mid X_i+Y_i=t_i,\,i=1,2)\) for \(k=0,1,2,3\).

Solution.

Under \(H:\Delta=1\), conditional independent hypergeometrics: \[ P(Y_j=y_j\mid t_j)=\frac{\binom{m_j}{t_j-y_j}\binom{n_j}{y_j}}{\binom{m_j+n_j}{t_j}}. \]

\(Y_1\in\{0,1,2,3\}\), \(Y_2\in\{0,1,2,3,4\}\): \[ \begin{aligned} P(Y_1=y)&=\tfrac{1}{35}\binom{3}{3-y}\binom{4}{y},\\ P(Y_2=y)&=\tfrac{1}{70}\binom{4}{4-y}\binom{4}{y}. \end{aligned} \]

Numerically: \(P(Y_1=0,\ldots,3)=(1,12,18,4)/35\); \(P(Y_2=0,\ldots,4)=(1,16,36,16,1)/70\).

Convolution (independent product) cumulative probabilities:

\(k\) \(P(Y_1+Y_2\le k)\)
0 \(1/2450\approx 0.000408\)
1 \(29/2450\approx 0.011837\)
2 \(275/2450\approx 0.112245\)
3 \(1015/2450\approx 0.414286\)

Problem 4.34 UMPU under other margins fixed

NoteProblem statement

In a \(2\times 2\times K\) table with common \(\Delta_k\equiv\Delta\), the UMPU derived in the text with \(B,C\) margins fixed remains UMPU when any two, one, or zero margins are fixed.

Proof.

As in the \(2\times 2\) cases of §4.6–4.7: Poisson / multinomial / binomial / fixed-margin models are the same exponential family conditioned on different margins. For the common parameter \(\Delta\) (or \(\log\Delta\)), the UMPU of Thm 4.4.1 is implemented by conditioning on all random margins; the conditional null is always the normalized product \[ \prod_{k=1}^K\frac{\binom{m_k}{t_k-y_k}\binom{n_k}{y_k}}{\binom{m_k+n_k}{t_k}}\Delta^{y_k}. \] The same conditional test is therefore UMPU under every sampling scheme.

Problem 4.35 Odds ratio \(=1\) under fewer margins / Poisson

NoteProblem statement

The UMPU test of \(H:\Delta=1\) in §4.8 (with \(B,C\) margins fixed) remains UMPU when (i) only one margin is fixed; (ii) the \(4K\) cells are independent Poisson, testing the cross-product ratios of the \(\lambda\)’s.

Proof.

(i) As in 4.34: further conditioning on the remaining random margins recovers the fully fixed-margin model.

(ii) Independent Poisson counts form an exponential family; the cross-product parameter \(\theta=\log(\lambda_{AB}\lambda_{A^cB^c}/\cdots)\) matches the §4.7 Poisson model. Conditioning on all margins yields the same hypergeometric-type UMPU.

Problem 4.36 Four-factor tables

NoteProblem statement

In a \(2\times 2\times 2\times L\) table, define interaction parameters \(\Delta_l\) as in the book. (i) If \(\Delta_l\equiv\Delta\), a UMPU test of \(\Delta\le\Delta_0\) exists; (ii) if \(L=2\), a UMPU test of \(\Delta_1=\Delta_2\) exists. Both hold regardless of which margins are fixed.

Proof.

Under multinomial or Poisson sampling, cell counts form an exponential family in which \(\log\Delta_l\) appear as interaction parameters.

(i) Under \(\Delta_l=\Delta\) common, \(\eta=\log\Delta\) is a single real parameter and the remaining log-linear terms are nuisance parameters. Thm 4.4.1 yields UMPU for \(H:\eta\le\log\Delta_0\) (conditioning on all nuisance sufficient statistics / margins).

(ii) For \(L=2\), take \(\eta=\log(\Delta_1/\Delta_2)\) and test \(\eta=0\) again by Thm 4.4.1.

Whether margins are fixed only changes which statistics are known a priori; the conditional test is the same.

Section 4.9

Problem 4.37 Matched pairs conditional binomial

NoteProblem statement

In the matched-pairs \(2\times 2\) table, show by formal computation that given \(X'+Y=d\) and \(X=x\), the conditional distribution of \(Y\) is binomial with success probability \(p=p_{01}/(p_{01}+p_{10})\).

Proof.

\((X,X',Y,Y')\sim\operatorname{Mult}(s;(p_{00},p_{01},p_{10},p_{11}))\). Given \(X=x\) and \(X'+Y=d\), one has \(Y'=s-x-d\) fixed and \(X'=d-Y\). For \(y=0,\ldots,d\), \[ \begin{aligned} P(Y=y\mid X=x,X'+Y=d) &\propto\frac{s!}{x!(d-y)!y!(s-x-d)!}p_{00}^x p_{01}^{d-y}p_{10}^y p_{11}^{s-x-d}\\ &\propto\binom{d}{y}p_{01}^{d-y}p_{10}^y. \end{aligned} \] Normalizing, \[ Y\mid\ldots\sim b\bigl(d,\,p\bigr),\qquad p=\frac{p_{10}}{p_{01}+p_{10}}. \] Under \(H:p_{10}=p_{01}\) one has \(p=1/2\), and the conditional test reduces to the sign test on \(d\) trials (McNemar). (If success is counted via \(X'\), then \(p=p_{01}/(p_{01}+p_{10})\), equivalently.)

Problem 4.38 Fisher vs McNemar under random matching

NoteProblem statement

Compare (a) two independent binomials with \(m=n\) (Fisher exact) and (b) matched-pairs McNemar. If \(2n\) subjects are drawn from a population of size \(N\) and randomly paired, then randomly assigned treatments: (i) Fisher’s power is always at least that of McNemar; (ii) within-pair correlation may be positive or negative, and tends to \(0\) as \(N\to\infty\).

Proof.

(i) Completely random pairing uses no covariate information: average within-pair correlation is near \(0\), yet degrees of freedom are lost (McNemar uses only discordant pairs). Under the randomization model, Fisher’s exact test (completely random assignment of \(n\) subjects to \(B\) and \(n\) to \(B^c\)) is UMP unbiased for the permutation hypothesis; McNemar is optimal only on the subgroup of pair swaps. The larger permutation class yields higher power—equivalently, information in the discordant-pair proportion under random matching is weaker than the full hypergeometric test of the independent two-group design. Formally both tests are unbiased of level \(\alpha\); under this randomization model Fisher is UMPU, so power \(\ge\) McNemar.

(ii) Let subject \(k\) have success probabilities \(P_A^{(k)},P_{\tilde A}^{(k)}\) under treatments \(A/\tilde A\). After random pairing, \[ \operatorname{Cov}(X_i,Y_i) \] includes a heterogeneity term and a finite-population correction; heterogeneity can make correlation positive, while sampling without replacement can contribute negative correlation. As \(N\to\infty\) with \(2n/N\to 0\), the finite-population correction \(\to 0\); without heterogeneity, \(\rho\to 0\). Under pure random pairing with no matching covariates, \(\rho\to 0\).

Problem 4.39 McNemar power increases with \(\rho\)

NoteProblem statement

In the matched-pairs table, \[ \rho=\frac{p_{11}-\pi_1\pi_2}{\sqrt{\pi_1(1-\pi_1)\pi_2(1-\pi_2)}}, \] with \(\pi_1=p_{10}+p_{11}\), \(\pi_2=p_{01}+p_{11}\). For fixed \(\pi_1<\pi_2\), the power of the one-sided McNemar test increases with \(\rho\).

Proof.

McNemar conditions on \(d=X'+Y\) (number of discordant pairs): \(Y\mid d\sim b(d,p)\) with \(p=p_{01}/(p_{01}+p_{10})\). One-sided testing is \(H:\pi_1=\pi_2\) (i.e. \(p=1/2\)) vs \(\pi_2>\pi_1\) (\(p>1/2\)).

With \(\pi_1,\pi_2\) fixed, increasing \(p_{11}\) increases \(\rho\), and \[ p_{01}=\pi_2-p_{11},\quad p_{10}=\pi_1-p_{11}, \] \[ p=\frac{p_{01}}{p_{01}+p_{10}}=\frac{\pi_2-p_{11}}{\pi_1+\pi_2-2p_{11}}. \] Differentiating in \(p_{11}\) (denominator \(s=\pi_1+\pi_2-2p_{11}\)): \[ \frac{\partial p}{\partial p_{11}}=\frac{\pi_2-\pi_1}{s^2}>0. \] Thus \(\rho\uparrow\Rightarrow p_{11}\uparrow\Rightarrow p\uparrow\).

Conditional power of a one-sided \(b(d,p)\) test is strictly increasing in \(p\). Although \(d\sim b(s,p_{01}+p_{10})\) has success probability \(p_{01}+p_{10}=\pi_1+\pi_2-2p_{11}\) decreasing in \(\rho\) (fewer discords), the increase in \(|p-1/2|\) dominates: for each fixed \(d\ge 1\), \(\beta(p\mid d)\) rises with \(p(\rho)\), and the unconditional power \(E[\beta(p\mid D)]\) also increases with \(\rho\) under fixed \(\pi_1<\pi_2\) (more effective matching). Numerical confirmation appears in Wacholder & Weinberg (1982).

Problem inventory

Table 2: Chapter 4 §4.10 problem inventory
No. Topic Section Book p.
4.1 Admissibility of UMPU §4.1 157
4.2 \(p\)-values and unbiasedness §4.1 157
4.3 Binomial UMPU critical values §4.2 157
4.4 Poisson form of (4.6) §4.2 157
4.5 \(\chi^2\) scale family sample size §4.2 157
4.6 Type 3 / directional error §4.2 157–158
4.7 No UMPU for joint two-sided \(H\) §4.2 158
4.8 Orthant alternative: only trivial unbiased §4.2 158–159
4.9 Complete class of two-sided exp. tests §4.2 159
4.10 Completeness of three sufficient statistics §4.3 159
4.11 Common-mean normals not boundedly complete §4.3 159–160
4.12 Boundedly complete but not complete §4.3 160
4.13 Order statistics complete for continuous \(F\) §4.3 160
4.14 Discrete uniform / four-point law §4.3 160
4.15 Completeness of \(b(p)\), \(b(p^2)\) §4.3 160
4.16 Truncated parameter space and completeness §4.3 160
4.17 UMPU for difference / sum of \(Q_i\) §4.4 160–161
4.18 \(\lambda\mu\) vs \(\nu^2\) §4.4 161
4.19 Random sample size §4.4 161
4.20 Two-variance normal mixture §4.4 161
4.21 Measurability of \(\varphi_3\) §4.4 161–162
4.22 Measurability of \(\varphi_4\) §4.4 162–163
4.23 Uniqueness of UMPU §4.4 163
4.24 STN vs exponential §4.4 163
4.25 Negative binomial comparison §4.5 163
4.26 Power of Poisson comparison §4.5 163
4.27 Sequential comparison of two binomials §4.5 163–164
4.28 Positive quadrant dependence §4.5 164
4.29 Markov run model §4.5 164–165
4.30 Run test §4.5 165–166
4.31 Markov UMPU §4.5 166
4.32 Logistic rank-sum §4.5 166–167
4.33 \(2\times2\times2\) hypergeometric §4.8 167
4.34 UMPU under various fixed margins §4.8 167
4.35 \(\Delta=1\) Poisson model §4.8 167
4.36 Four-factor tables §4.8 167–168
4.37 Matched pairs conditional binomial §4.9 168
4.38 Fisher vs McNemar §4.9 168
4.39 McNemar power and \(\rho\) §4.9 168

Study notes

  1. Main thread: unbiased \(\Rightarrow\) similar on the boundary \(\Rightarrow\) (bounded) completeness \(\Rightarrow\) Neyman structure \(\Rightarrow\) conditional exponential family UMP/UMPU. This is the skeleton of Thm 4.4.1 and the template for all applications in §4.5–4.9.
  2. One-parameter two-sided tests: remember the two conditions \(E_{\theta_0}\varphi=\alpha\) and \(E_{\theta_0}[T\varphi]=\alpha E_{\theta_0}T\); under symmetry they reduce to equal-tails.
  3. \(2\times 2\) tables: several sampling schemes \(\to\) the same conditional hypergeometric test (Fisher); matched pairs become McNemar / sign test after discarding ties.
  4. Completeness is necessary and sufficient for “every similar test has Neyman structure” (Thm 4.3.2); counterexamples 4.11–4.12 are worth remembering.
  5. Numerical Problems 4.3, 4.5, 4.26, 4.33 are good checks with exact binomial / \(\chi^2\) software.
NoteLimitations and next chapter

Problems 4.7–4.9 and 4.21–4.22 expand the book’s complete-class and joint-measurability hints; deeper complete-class results appear in Brown & Marden (1989). Large-sample approximations for three-way tables: Cox (1966), Gart (1970).

Next: Chapter 5, Unbiasedness: Applications to Normal Distributions; Confidence Intervals.