Chapter 16 Solutions — Testing Goodness of Fit
Lehmann & Romano, Testing Statistical Hypotheses, 4th ed.
How to use these solutions
| Item | Content |
|---|---|
| Source | E. L. Lehmann & J. P. Romano, Testing Statistical Hypotheses, 4th ed. |
| Problems | §16.7 Problems (print pp. 820–827) |
| Prerequisites | Chapters 11–15: empirical processes, q.m.d., local power, and \(\chi^2\) limits |
| Notation | As in Chapter 16 |
| Coverage | Problems 16.1–16.43 (complete) |
Strategy: derive from Theorems 16.2.1–16.2.3 (KS), 16.3.1–16.3.2 (Pearson \(\chi^2\)), 16.4.1–16.4.2 (Neyman smooth), 16.5.1 (weighted quadratic forms), and the global-power discussion in §16.6.
Chapter blueprint
| Concept | Definition / key point | Location |
|---|---|---|
| EDF / KS statistic | \(T_n=n^{1/2}d_K(\hat F_n,F_0)\); Brownian-bridge limit | §16.2, (16.3) |
| Consistency of KS | \(n^{1/2}d_K(F,F_0)\to\infty\Rightarrow\) power \(\to 1\) | Thm 16.2.2 |
| Composite KS | Location-scale; Lilliefors type (16.13) | §16.2.2 |
| Pearson \(Q_n\) | \(\sum (N_i-n\pi_i)^2/(n\pi_i)\Rightarrow\chi^2_k\) | §16.3, Thm 16.3.1 |
| Estimated cells | Chernoff–Lehmann: limit is not pure \(\chi^2\) | §16.3.3 |
| Neyman smooth | Exponential family (16.35); \(S_{n,k}\Rightarrow\chi^2_k(\|h\|^2)\) | §16.4 |
| Weighted quadratic | \(W_n=\sum a_j Z_{n,j}^2\Rightarrow\sum a_j Z_j^2\) | §16.5, CvM / AD |
| Global power | Maximin on density \(L_2\) balls; smoothness tradeoff | §16.6 |
Problem inventory
| Problems | Topics | Section |
|---|---|---|
| 16.1–16.11 | KS power bounds, contiguity, composite, consistent estimation | §16.2 |
| 16.12–16.24 | Multinomial \(\chi^2\), information, Hardy–Weinberg, estimated parameters | §16.3 |
| 16.25–16.32 | Neyman smooth, average power, large \(k\) | §16.4 |
| 16.33–16.41 | CvM / AD / characteristic function / local power | §16.5 |
| 16.42–16.43 | Global power and maximin rates | §16.6 |
Section 16.2
Problem 16.1 Verify (16.3)
Verify the finite-dimensional convergence (16.3): \([B_n(t_1),\ldots,B_n(t_k)]\Rightarrow[B(t_1),\ldots,B(t_k)]\).
Proof. Set \(B_n(t)=n^{1/2}(\hat F_n(t)-F_0(t))\) (for continuous \(F_0\), reduce via \(U_i=F_0(X_i)\) to the uniform case). Then \[ B_n(t)=n^{-1/2}\sum_{i=1}^n\bigl(I\{X_i\le t\}-F_0(t)\bigr). \] The vector \((B_n(t_1),\ldots,B_n(t_k))\) is a sum of i.i.d. centered Bernoulli vectors. Mean \(0\); covariance \[ \mathrm{Cov}(I\{X\le t_i\},I\{X\le t_j\})=F_0(t_i\wedge t_j)-F_0(t_i)F_0(t_j), \] which is the Brownian-bridge covariance. The multivariate CLT yields (16.3).
Problem 16.2 Lower bounds on KS power
- Let \(X_1,\ldots,X_n\) be i.i.d. with c.d.f. \(F\). For testing \(F=F_0\) against \(F\neq F_0\) by the Kolmogorov–Smirnov test, fix \(F\) with \(n^{1/2}d_K(F,F_0)>s_{n,1-\alpha}\). Show \[ P_F\{T_n>s_{n,1-\alpha}\}\ge 1-\frac{1}{4|n^{1/2}d_K(F,F_0)-s_{n,1-\alpha}|^2}. \] Hint: use (16.6) and Chebyshev’s inequality.
- Derive the alternative lower bound (16.8). Compare the two bounds.
(i) Choose \(t\) with \(|F(t)-F_0(t)|=d_K(F,F_0)\). From (16.6), \[ \mathrm{P}_F\{T_n>s_{n,1-\alpha}\} \ge\mathrm{P}_F\bigl\{n^{1/2}(\hat F_n(t)-F(t))\ge s_{n,1-\alpha}-n^{1/2}(F(t)-F_0(t))\bigr\}. \] Set \(\delta_n=n^{1/2}d_K(F,F_0)>s_{n,1-\alpha}\), \(Y_n=n^{1/2}(\hat F_n(t)-F(t))\), \(\mathrm{Var}(Y_n)\le 1/4\). Chebyshev gives \[ \mathrm{P}\{|Y_n|\ge \delta_n-s_{n,1-\alpha}\}\le \frac{1/4}{(\delta_n-s_{n,1-\alpha})^2}, \] so the power is at least \(1-\frac{1}{4(\delta_n-s_{n,1-\alpha})^2}\).
(ii) By the DKW inequality (Theorem 11.4.3), \(\mathrm{P}\{n^{1/2}d_K(\hat F_n,F)\ge x\}\le 2e^{-2x^2}\). When \(n^{1/2}d_K(F,F_0)\ge\eta_n>s_{n,1-\alpha}\), \[ \mathrm{P}\{T_n>s_{n,1-\alpha}\} \ge 1-2\exp\bigl[-2(\eta_n-s_{n,1-\alpha})^2\bigr], \] which is the form (16.8). The DKW bound decays exponentially and typically dominates the polynomial Chebyshev bound.
Problem 16.3 Local power against mixture alternatives
For testing \(F=F_0\) with \(F_0\) the uniform\((0,1)\) c.d.f., consider alternatives \(F_n=(1-\lambda n^{-1/2})F_0+\lambda n^{-1/2}G\) with \(G\neq F_0\) fixed. Show that if \(\lambda\) is large enough, the limiting power of the Kolmogorov–Smirnov test is bounded away from \(\alpha\).
Proof. \(n^{1/2}d_K(F_n,F_0)=\lambda\,d_K(G,F_0)\). Under the contiguous structure of Theorem 16.2.1, the empirical process converges to a Brownian bridge plus drift \(\lambda(G-F_0)\), so \[ T_n\Rightarrow \sup_t\bigl|B(t)+\lambda(G(t)-F_0(t))\bigr|. \] As \(\lambda\to\infty\) this limiting random variable tends to \(\infty\) a.s., so \(\mathrm{P}\{T_n>s_{n,1-\alpha}\}\to 1>\alpha\). For fixed sufficiently large \(\lambda\), the limiting power exceeds \(\alpha+\varepsilon\).
Problem 16.4 Power when \(n^{1/2}d_K(F_n,F_0)\to 0\)
Suppose \(n^{1/2}d_K(F_n,F_0)\to 0\). For testing \(F=F_0\) at level \(\alpha\), show that the limiting power of the Kolmogorov–Smirnov test against \(F_n\) is no better than \(\alpha\). If each \(F_n\) is continuous, show that the limiting power equals \(\alpha\).
Proof. By the triangle inequality, \[ \bigl|T_n-n^{1/2}d_K(\hat F_n,F_n)\bigr| \le n^{1/2}d_K(F_n,F_0)\to 0. \] Under \(F_n\), \(n^{1/2}d_K(\hat F_n,F_n)\) has the same law as the null KS statistic under continuous \(F_0\) (when \(F_n\) is continuous), or is stochastically controlled by it. Hence \[ \limsup \mathrm{P}_{F_n}\{T_n>s_{n,1-\alpha}\} \le\limsup \mathrm{P}\{n^{1/2}d_K(\hat F_n,F_n)>s_{n,1-\alpha}-\varepsilon_n\}=\alpha \] (using \(s_{n,1-\alpha}\to s_{1-\alpha}\)). When \(F_n\) is continuous, \(T_n\) differs from the null statistic by \(o_P(1)\), so equality holds and the limiting power is exactly \(\alpha\).
Problem 16.5 q.m.d. and Hellinger–KS
- Suppose \(\{P_\theta\}\) is q.m.d. at \(\theta_0\), with c.d.f.s \(F_\theta\). Show there exists \(B=B_{\theta_0}(h)<\infty\) such that \(\limsup_n n\,d_K^2(F_{\theta_0+hn^{-1/2}},F_{\theta_0})\le B_{\theta_0}(h)\) and \(B_{\theta_0}(h)\to 0\) as \(h\to 0\).
- Construct \(P_n\) with \(d_K(F_n,F_0)\to 0\) but \(H(P_n,P_0)\) bounded away from \(0\). Conversely, show \(H(P_n,P_0)\to 0\) implies \(d_K(F_n,F_0)\to 0\).
(i) q.m.d. implies \(H(P_{\theta_0+hn^{-1/2}},P_{\theta_0})\sim |h|\,\|\dot\ell\|/2\cdot n^{-1/2}\). Using \[ d_K(F,G)\le \|F-G\|_\infty\le \sqrt{2}\,H(P_F,P_G) \] (Scheffé / total variation \(\le\sqrt2 H\) and \(d_K\le\|\,\cdot\,\|_{\mathrm{TV}}\)), \[ \limsup n\,d_K^2(F_{\theta_0+hn^{-1/2}},F_{\theta_0})\le B_{\theta_0}(h)<\infty, \] with \(B_{\theta_0}(h)\to 0\) as \(h\to 0\).
(ii) Counterexample: let \(P_0=\mathrm{Unif}(0,1)\) and let \(P_n\) put high-frequency density spikes of height \(n^{1/4}\) on \(k_n\) intervals of width \(n^{-1}\) so that \(\|F_n-F_0\|_\infty\to 0\) while \(\int(\sqrt{f_n}-1)^2\not\to 0\).
Conversely, \(H\to 0\Rightarrow\|P_n-P_0\|_{\mathrm{TV}}\to 0\Rightarrow d_K(F_n,F_0)\to 0\).
Problem 16.6 Power can be \(\alpha\) or \(1\) for fixed \(\delta\)
Let \(F_0\) be uniform\((0,1)\) and test \(F=F_0\) by KS. (i) Construct \(F_n\) with \(n^{1/2}d_K(F_n,F_0)\to\delta\in(0,\infty)\) such that the limiting power against \(F_n\) is \(\alpha\), even though other tests have limiting power \(>\alpha\). (ii) Construct \(F_n\) with the same \(n^{1/2}d_K\) limit such that the limiting power is \(1\). Hint: use (16.81)–(16.82).
(i) Fix \(\gamma_n\) with \(n^{1/2}\gamma_n\to\delta\) and define \(F_n\) by (16.81): \(F_n(t)=0\) for \(t<\gamma_n\) and \(F_n(t)=t\) for \(\gamma_n\le t\le 1\), so \(d_K(F_n,F_0)=\gamma_n\). With \(X_i\) as in (16.82), \[ \sup_t|\hat F_n(t)-t|\le\max\bigl(\sup_t|\hat G_n(t)-t|,\gamma_n\bigr). \] If \(\delta<s_{1-\alpha}\), then for large \(n\) one has \(n^{1/2}\gamma_n<s_{n,1-\alpha}\), so \[ \mathrm{P}_{F_n}\{T_n>s_{n,1-\alpha}\}\le\mathrm{P}\{n^{1/2}\sup|\hat G_n-t|>s_{n,1-\alpha}\}=\alpha. \] Nevertheless tests such as “is \(\hat F_n(\gamma_n/2)=0\)?” can have power \(\to 1-e^{-\delta'}>\alpha\) (mass piles up near \(0\)).
(ii) Take \(F_n(t)=F_0(t)+\delta n^{-1/2}t(1-t)\) (truncated to keep monotonicity): the drift is of order \(\delta n^{-1/2}\) on the whole interval, so \[ T_n\Rightarrow\sup|B(t)+\delta t(1-t)|. \] For large \(\delta\) this exceeds \(s_{1-\alpha}\) with probability tending to \(1\). More extremely, concentrate the \(\delta n^{-1/2}\) mass near a single point so that \(n^{1/2}(\hat F_n-F_0)\to\infty\) in probability at that point.
Problem 16.7 Density \(\sup\) (and \(L^2\)) departures: infimum KS power \(\le\alpha\)
Notation (easy to confuse in the book)
| Symbol | Acts on | Meaning |
|---|---|---|
| \(d_K(F,G)=\sup_t|F(t)-G(t)|\) | c.d.f.s | Classical Kolmogorov distance; this is what the KS statistic measures |
| \(d_k(f,f_0)\) (book: sup distance between densities) | densities | \(\|f-f_0\|_\infty=\sup_t|f(t)-f_0(t)|\), the \(L^\infty\) distance between densities |
| \(d_K(F',f_0)\) in (16.83) | density \(F'=f\) | Same as the previous row; not Kolmogorov distance between cdfs |
Below we write the density \(\sup\) distance as \(\|f-f_0\|_\infty\) to avoid clashing with \(d_K(F,F_0)\).
Problem statement (book English)
Let \(\mathcal F\) be the family of distributions on \((0,1)\) having density \(f=F'\), and let \(f_0\) be the uniform density. Consider testing the null hypothesis \(F=F_0\) based on the Kolmogorov–Smirnov test. Show that, if \(d_k(f,f_0)\) is the sup distance between densities and \(0<c<1\), then for every \(n\), \[ \inf\bigl\{ P_F\{T_n\ge s_{n,1-\alpha}\}: F\in\mathcal F,\ d_k(f,f_0)\ge c\bigr\}\le\alpha. \tag{16.83} \] Argue that the same holds if \(d_k\) is replaced by the \(L^2\) distance between densities. Hint: consider densities of the form \(f_\theta(t)=1+c\sin(2\pi\theta t)\). Compare with Theorem 16.2.2.
In words: among all alternatives whose density stays at least distance \(c\) from uniform in \(L^\infty\) (resp. \(L^2\)), the infimum of the power of KS is at most \(\alpha\). This is a statement about worst-case power, not about every alternative (many alternatives in the class can have large power).
Comparison with Theorem 16.2.2
- Theorem 16.2.2: if \(n^{1/2}d_K(F,F_0)\to\infty\) (c.d.f. Kolmogorov distance after \(\sqrt n\) scaling), then KS power \(\to 1\).
- This problem: alternatives are classified by a density distance \(\ge c\). That class contains many \(F_\theta\) for which \(d_K(F_\theta,F_0)\) is arbitrarily small, so for fixed \(n\) the KS statistic behaves almost as under the null and power can be arbitrarily close to \(\alpha\).
- There is no contradiction with Theorem 16.2.2: a large density distance does not imply a large \(d_K(F,F_0)\).
Proof
Step 1 — Alternatives with density departure \(\ge c\) but cdfs arbitrarily close to uniform. Fix \(0<c<1\) and an integer \(\theta\ge 1\), and set \[ f_\theta(t)=1+c\sin(2\pi\theta t),\qquad t\in(0,1). \] Then \(f_\theta(t)\in[1-c,1+c]\subset(0,2)\), so \(f_\theta\) is a valid density, and \[ \|f_\theta-f_0\|_\infty=c \quad\Rightarrow\quad \|f_\theta-f_0\|_\infty\ge c\quad\text{for every $\theta$}. \] Integrating gives the cdf \[ F_\theta(t)=t+\frac{c}{2\pi\theta}\bigl(1-\cos(2\pi\theta t)\bigr). \] Hence \[ d_K(F_\theta,F_0) =\sup_{t\in[0,1]}|F_\theta(t)-t| =\frac{c}{2\pi\theta}\sup|1-\cos(2\pi\theta t)| =\frac{c}{\pi\theta}. \] As \(\theta\to\infty\), \(d_K(F_\theta,F_0)\to 0\), even though the density \(L^\infty\) departure remains equal to \(c\). (Picture: the density oscillates rapidly; after integration the cdf oscillation is damped by the factor \(1/\theta\).)
Step 2 — For fixed \(n\), \(P_{F_\theta}(T_n\ge s_{n,1-\alpha})\to\alpha\) as \(\theta\to\infty\). (Here \(n\) is fixed; only the frequency \(\theta\to\infty\). Do not confuse this with limiting power as \(n\to\infty\).)
Write \(\|\cdot\|_\infty\) for \(\sup_t|\,\cdot\,|\). The triangle inequality yields \[ \bigl|\ \|\hat F_n-F_0\|_\infty-\|\hat F_n-F_\theta\|_\infty\ \bigr| \le \|F_\theta-F_0\|_\infty=d_K(F_\theta,F_0). \] Multiplying by \(n^{1/2}\), \[ \bigl|\,T_n-n^{1/2}\|\hat F_n-F_\theta\|_\infty\,\bigr| \le n^{1/2}d_K(F_\theta,F_0)=\frac{c\,n^{1/2}}{\pi\theta}. \] Under \(F_\theta\) (continuous), \[ n^{1/2}\|\hat F_n-F_\theta\|_\infty \quad\text{has the same distribution as $T_n$ under $F_0$} \] (KS is distribution-free for continuous cdfs; or reduce via \(U_i=F_\theta(X_i)\) to the uniform case). Write the critical value so that \(P_{F_0}(T_n\ge s_{n,1-\alpha})=\alpha\) (exact level; if only an asymptotic critical value is used, the displays below become \(\to\alpha\) and the conclusion has the same form). Set \(\varepsilon_\theta=c n^{1/2}/(\pi\theta)\to 0\) as \(\theta\to\infty\). Then \[ \begin{aligned} P_{F_\theta}(T_n\ge s_{n,1-\alpha}) &\le P_{F_\theta}\bigl(n^{1/2}\|\hat F_n-F_\theta\|_\infty\ge s_{n,1-\alpha}-\varepsilon_\theta\bigr)\\ &= P_{F_0}(T_n\ge s_{n,1-\alpha}-\varepsilon_\theta), \end{aligned} \] \[ P_{F_\theta}(T_n\ge s_{n,1-\alpha}) \ge P_{F_0}(T_n\ge s_{n,1-\alpha}+\varepsilon_\theta). \] Since \(\varepsilon_\theta\to 0\) and \(T_n\) under \(H_0\) has a continuous limiting distribution (or, at finite \(n\), the c.d.f. may be sandwiched at the critical value), \[ \lim_{\theta\to\infty}P_{F_\theta}(T_n\ge s_{n,1-\alpha}) =P_{F_0}(T_n\ge s_{n,1-\alpha})=\alpha. \]
Step 3 — Take the infimum. For every \(\theta\), \(F_\theta\) lies in the constraint set \(\{\|f-f_0\|_\infty\ge c\}\), so \[ \inf\{\text{power}:\|f-f_0\|_\infty\ge c\} \le P_{F_\theta}(T_n\ge s_{n,1-\alpha}) \quad\text{for all $\theta$.} \] Letting \(\theta\to\infty\), the right-hand side tends to \(\alpha\), which is (16.83).
Step 4 — \(L^2\) distance. For the same family, \[ \|f_\theta-f_0\|_2^2 =\int_0^1 c^2\sin^2(2\pi\theta t)\,dt =\frac{c^2}{2}, \] so \(\|f_\theta-f_0\|_2=c/\sqrt2\) for every \(\theta\), and is strictly positive. Thus for any \(c'\in(0,c/\sqrt2]\), the set \(\{\|f-f_0\|_2\ge c'\}\) still contains all \(F_\theta\), Steps 2–3 are unchanged, and \[ \inf\{\text{power}:\|f-f_0\|_2\ge c'\}\le\alpha. \] (The restriction \(0<c<1\) for \(L^\infty\) ensures densities are nonnegative; for \(L^2\) one may take any \(c'>0\) by choosing a large enough amplitude, or rephrase with fixed amplitude.)
Remarks from the book
- Ingster–Suslina argue that alternatives based on the sup distance between cdfs are less natural than metrics between densities.
- This problem shows that KS cannot keep power bounded away from \(\alpha\) uniformly over the class of density \(\sup\) (or \(L^2\)) departures of size \(\ge c\).
- Stronger still: without smoothness restrictions, any level-\(\alpha\) test has maximin power collapsing to \(\alpha\) on such classes (Ingster 1993; §16.6); imposing smoothness yields positive results.
Densities may oscillate violently (\(L^\infty\)/\(L^2\) fixed away from \(0\)), yet the integrated cdf can remain nearly uniform; KS only sees the cdf, so on this class the worst-case (infimum) power can hug \(\alpha\).
Problem 16.8 EDF metrics weaker than KS
Generalize Theorem 16.2.2 to any EDF statistic \(n^{1/2}d(\hat F_n,F_0)\) if \(d\) is a metric weaker than Kolmogorov–Smirnov in the sense \(d(F,G)\le C d_K(F,G)\). In particular, include the Cramér–von Mises test.
Proof. The key of Theorem 16.2.2 is \(n^{1/2}d_K(F,F_0)\to\infty\Rightarrow\) power \(\to 1\). Because \[ n^{1/2}d(\hat F_n,F_0)\ge n^{1/2}d(F,F_0)-n^{1/2}d(\hat F_n,F) \ge C^{-1}n^{1/2}d_K(F,F_0)-O_P(1) \] (the second term is controlled by KS tightness when \(d\le C d_K\)), one likewise has \(n^{1/2}d(\hat F_n,F_0)\to_p\infty\). For CvM, \[ \Bigl(\int(\hat F_n-F_0)^2\,dF_0\Bigr)^{1/2}\le d_K(\hat F_n,F_0), \] so \(C=1\) works.
Problem 16.9 Null distribution of composite normal KS
For testing that \(X_1,\ldots,X_n\) are i.i.d. \(N(\mu,\sigma^2)\) with \((\mu,\sigma)\) unknown, show that the null distribution of (16.13) does not depend on \((\mu,\sigma)\) (but does depend on \(n\)). Describe a simulation method to approximate this null distribution and an exact level \(\alpha=0.05\) test based on simulation. Generalize to a general location-scale family.
Proof. Write \(X_i=\mu+\sigma Z_i\) with \(Z_i\sim N(0,1)\). Then \(\bar X=\mu+\sigma\bar Z\), \(\hat\sigma_X=\sigma\hat\sigma_Z\), and \[ \frac{x-\bar X}{\hat\sigma_X}=\frac{(x-\mu)/\sigma-\bar Z}{\hat\sigma_Z}. \] The transformed EDF of \(X\) matches that of \(Z\), so \[ \sup_x\bigl|\hat F_n^X(x)-\Phi((x-\bar X)/\hat\sigma_X)\bigr| =\sup_z\bigl|\hat F_n^Z(z)-\Phi((z-\bar Z)/\hat\sigma_Z)\bigr| \] depends only on the \(Z\)-sample, not on \((\mu,\sigma)\).
Simulation: generate \(B\) samples from \(N(0,1)\), compute (16.13), and take the empirical \(1-\alpha\) quantile as critical value; or for an observed \(T_{\mathrm{obs}}\) use \[ \tilde p=\frac{1+\#\{T_b^*\ge T_{\mathrm{obs}}\}}{B+1} \] and reject when \(\tilde p\le\alpha\). Exchangeability (Problem 17.3) gives exact level \(\le\alpha\).
Generalization: for density \(\sigma^{-1}f_0((x-\mu)/\sigma)\) with \(f_0\) known, MLE or equivariant estimates \((\hat\mu,\hat\sigma)\) make the residual EDF distance to \(f_0\) invariant under location-scale transformations.
Problem 16.10 KS for uniform \((0,\theta]\)
Suppose \(X_1,\ldots,X_n\) are i.i.d. with c.d.f. \(F\) on the real line. Let \(T_n=n^{1/2}d_K(\hat F_n,F_{\hat\theta})\) with \(\hat\theta=\max X_i\) for testing uniformity on \((0,\theta]\). Find the limiting null distribution of \(T_n\).
Solution. Under \(H_0\): \(X_i\sim\mathrm{Unif}(0,\theta)\). Set \(U_i=X_i/\theta\sim\mathrm{Unif}(0,1)\) and \(\hat\theta/\theta=U_{(n)}\). Then \[ T_n\stackrel{d}{=}n^{1/2}\sup_{0\le u\le U_{(n)}}\bigl|\hat G_n(u)-u/U_{(n)}\bigr|. \] Since \(n(1-U_{(n)})\Rightarrow\mathrm{Exp}(1)\) and \(U_{(n)}=1-O_P(n^{-1})\), \[ n^{1/2}\sup_u\bigl|\hat G_n(u)-u/U_{(n)}\bigr| =n^{1/2}\sup_u\bigl|\hat G_n(u)-u\bigr|+o_P(1) \] (\(u(1/U_{(n)}-1)=O_P(n^{-1})\) and \(n^{1/2}O_P(n^{-1})=o_P(1)\)). Thus \(T_n\) has the same limit as classical uniform KS: the law of \(\sup_{0\le t\le1}|B(t)|\).
The boundary estimator is \(n\)-consistent (super-efficient relative to \(n^{1/2}\)), so it does not disturb the \(n^{1/2}\)-scale EDF limit—unlike estimating interior parameters at \(n^{1/2}\) rate (Chernoff–Lehmann).
Problem 16.11 Minimum-distance estimation and GOF testing
Let \(\hat\theta_n\) minimize \(\|\hat F_n-F_\theta\|_\infty\). (i) Consistency. (ii) Under normality, \(T_n\) is free of \(\theta\). (iii) Under non-normal \(F\), \(T_n\to_p\gamma_F>0\). (iv) Choice of \(c_n\) for a consistent test.
(i) By DKW, \(\|\hat F_n-F_\theta\|_\infty\to_p 0\). If \(\theta'\ne\theta\) then \(\|F_{\theta'}-F_\theta\|_\infty>0\). Standard argmin arguments give \(\hat\theta_n\to_p\theta\).
(ii) For \(X_i=\theta+Z_i\) with \(Z_i\sim N(0,1)\), translation equivariance shows that \(T_n\) depends only on the \(Z\)-sample.
(iii) \(\|\hat F_n-F\|\to_p 0\), so \(T_n\to_p\inf_\theta\|F-F_\theta\|=\gamma_F\). If \(F\) is not \(N(\cdot,1)\), then \(\gamma_F>0\).
(iv) Under the null, \(n^{1/2}T_n=O_P(1)\) (the EDF process with estimated parameters remains tight). Take \(c_n=n^{-1/2}\log n\) (or any sequence with \(n^{-1/2}\ll c_n\to 0\)): Type I error \(\to 0\), while under alternatives \(T_n\to_p\gamma_F>0\), so power \(\to 1\).
Section 16.3
Problem 16.12 Verify (16.19)
Verify the multinomial covariance (16.19) and its inverse (16.20).
Proof. \(V_n=n^{-1/2}(N_1-n\pi_1,\ldots,N_k-n\pi_k)\). \(\mathrm{Var}(N_i)=n\pi_i(1-\pi_i)\), \(\mathrm{Cov}(N_i,N_j)=-n\pi_i\pi_j\), giving (16.19). Let \(A\) be (16.20): diagonal \(1/\pi_i+1/\pi_{k+1}\), off-diagonal \(1/\pi_{k+1}\). Direct multiplication using \(\sum_{j=1}^{k+1}\pi_j=1\) yields \(\Sigma A=I\), so \(\Sigma^{-1}=A\).
Problem 16.13 Prove (16.21)
Prove the convergence \(V_n\Rightarrow N(h,\Sigma)\) under local alternatives \(\pi_{n,i}=\pi_i+h_i n^{-1/2}\).
Proof. \(N\sim\mathrm{Mult}(n,\pi_n)\), \(V_n=n^{-1/2}(N-n\pi)\). Then \(\mathbb{E}V_n=n^{1/2}(\pi_n-\pi)\to h\) and \(\mathrm{Cov}(V_n)=\Sigma(\pi_n)\to\Sigma(\pi)\). The multivariate CLT (or Lindeberg) yields \(V_n\Rightarrow N(h,\Sigma)\).
Problem 16.14 Information matrix \(I(p)\)
In the multinomial goodness-of-fit problem, compute the Fisher information matrix (16.22).
Solution. For \(p=(p_1,\ldots,p_k)\) with \(p_{k+1}=1-\sum_{j=1}^k p_j\), the log-likelihood is \(\ell=\sum_{i=1}^{k+1} N_i\log p_i\). Second derivatives and expectation give \[ I(p)_{ij}=\frac{n}{p_i}\delta_{ij}+\frac{n}{p_{k+1}}, \] i.e. \(I(p)=nA\) with \(A\) as in Problem 16.12 (up to the book’s normalization convention).
Problem 16.15 Theorem 16.3.1(iii)
Prove part (iii) of Theorem 16.3.1 (local power / noncentral \(\chi^2\)).
Proof. From (16.21), \(V_n\Rightarrow N(h,\Sigma)\). Continuous mapping gives \(Q_n=V_n^\top A V_n\Rightarrow Z^\top A Z\) with \(Z\sim N(h,\Sigma)\). Since \(A=\Sigma^{-1}\) on the \(k\)-dimensional simplex chart, \(Z^\top A Z\sim\chi^2_k(\lambda)\) with \(\lambda=h^\top A h\). The limiting power is \(P\{\chi^2_k(h^\top A h)>c_{k,1-\alpha}\}\).
Problem 16.16 Likelihood ratio under Theorem 16.3.2(ii)
Show that the likelihood-ratio statistic satisfies the same limit as in Theorem 16.3.2(ii).
Proof. \(2\log R_n=2\sum N_i\log(N_i/(n\pi_i))\). With \(\delta_i=(N_i-n\pi_i)/(n\pi_i)=O_P(n^{-1/2})\) under \(H_0\) and local alternatives, Taylor expansion yields \(2\log R_n=Q_n+o_P(1)\), so the same limit as \(Q_n\) holds.
Problem 16.17 Lemma 16.3.1(i)
Prove Lemma 16.3.1(i): \(M(k,h)=P\{\chi^2_k(h^2)>c_{k,1-\alpha}\}\) is nonincreasing in \(k\) for fixed \(h\).
Proof. Write \(\chi^2_{k+1}(\lambda)=\chi^2_k(\lambda)+Y\) with \(Y\sim\chi^2_1\) independent. Using the Poisson mixture \(\chi^2_k(\lambda)\stackrel{d}{=}\chi^2_{k+2N}\), \(N\sim\mathrm{Poisson}(\lambda/2)\), increasing the degrees of freedom moves the central critical value \(c_{k,1-\alpha}\) to the right faster than the noncentral mass, yielding \[ P\{\chi^2_{k+1}(\lambda)>c_{k+1,1-\alpha}\} \le P\{\chi^2_k(\lambda)>c_{k,1-\alpha}\}. \] For fixed \(\lambda=h^2\), \(M(k,h)\) is strictly decreasing in \(k\).
Problem 16.18 Expansion of \(M(k,h)\) in \(h^2\)
Recall \(M(k,h)\) from (16.27) and let \(F_k\) be the c.d.f. of \(\chi^2_k\). Show \(M(k,h)=\alpha+\gamma_k h^2/2+o(h^2)\) with \(\gamma_k=F_k(c)-F_{k+2}(c)\).
Proof. Poisson mixture: \[ P\{\chi^2_k(\lambda)>c\}=\sum_{j=0}^\infty e^{-\lambda/2}\frac{(\lambda/2)^j}{j!}P\{\chi^2_{k+2j}>c\}. \] Differentiating in \(\lambda\) at \(0\), \[ \frac{\partial}{\partial\lambda}\Big|_0=\frac12\bigl(P\{\chi^2_{k+2}>c\}-P\{\chi^2_k>c\}\bigr) =\frac12\bigl(F_k(c)-F_{k+2}(c)\bigr). \] With \(\lambda=h^2\), \(c=c_{k,1-\alpha}\), and \(M(k,0)=\alpha\), \[ M(k,h)=\alpha+\frac{h^2}{2}(F_k(c)-F_{k+2}(c))+o(h^2). \]
Problem 16.19 Local maximin power collapses for large \(k\)
As in Section 16.3.2, for local alternatives (16.25) with \(\|u\|^2\le B\), show that for sufficiently large \(k\), \(\limsup\sup E_{f_n}\phi^*_{n,k}\le\alpha+\varepsilon\).
Proof. By Lemma 16.3.1, \(M(k,h)\downarrow\alpha\) as \(k\to\infty\) for \(h^2\le B\). The noncentrality is at most \(B\), so \[ \sup_{u\in U_B}P\{\chi^2_k(\|u\|^2)>c_{k,1-\alpha}\}=M(k,\sqrt B)\to\alpha. \] For fixed large \(k\) this is \(\le\alpha+\varepsilon\); local-power convergence from Theorem 16.3.1 finishes the argument.
Problem 16.20 Verify (16.33)
Verify that under \(H_0\), \(2\log R_n-Q_n(\hat\beta_n)\to_p 0\).
Proof. Same Taylor expansion as in Problem 16.16 with \(\pi_i\) replaced by \(\pi_i(\hat\beta_n)\). Under \(H_0\) and \(n^{1/2}\)-consistency of the MLE, cubic remainders are \(o_P(1)\), so \(2\log R_n=Q_n(\hat\beta_n)+o_P(1)\).
Problem 16.21 Chi-squared test of independence
Under the setup of Problem 14.63, determine a chi-squared test of independence and its null limit.
Solution. For an \(I\times J\) table, \((N_{ij})\sim\mathrm{Mult}(n,\{p_{ij}\})\). Independence \(H_0:p_{ij}=p_{i\cdot}p_{\cdot j}\) has MLE \(\hat p_{i\cdot}=N_{i\cdot}/n\), \(\hat p_{\cdot j}=N_{\cdot j}/n\). Pearson’s statistic \[ Q_n=\sum_{i,j}\frac{(N_{ij}-n\hat p_{i\cdot}\hat p_{\cdot j})^2}{n\hat p_{i\cdot}\hat p_{\cdot j}} \] satisfies \(Q_n\Rightarrow\chi^2_{(I-1)(J-1)}\) under \(H_0\) (estimate \((I-1)+(J-1)\) free parameters; saturated model has \(IJ-1\) free dimensions).
Problem 16.22 Hardy–Weinberg
The Hardy–Weinberg law: gene frequencies \(p_1=\theta^2\), \(p_2=2\theta(1-\theta)\), \(p_3=(1-\theta)^2\). Find the MLE, limiting distribution, and LR / \(\chi^2\) tests of HW.
Solution. The likelihood is proportional to \((\theta^2)^{x_1}[2\theta(1-\theta)]^{x_2}[(1-\theta)^2]^{x_3}\). Gene-counting yields \(\hat\theta_n=(2X_1+X_2)/(2n)\). At the true \(\theta_0\), \[ \sqrt n(\hat\theta_n-\theta_0)\Rightarrow N\bigl(0,I(\theta_0)^{-1}\bigr),\qquad I(\theta)=\frac{2}{\theta(1-\theta)}. \] Testing HW: saturated trinomial vs one-parameter HW. \[ Q_n=\sum_{i=1}^3\frac{(X_i-n\hat p_i)^2}{n\hat p_i},\qquad 2\log R_n=2\sum X_i\log\bigl(X_i/(n\hat p_i)\bigr), \] with \(\hat p_i\) evaluated at \(\hat\theta_n\). Both converge to \(\chi^2_1\) (dimension gap \(2-1=1\)).
Problem 16.23 Linked submodel in Example 16.3.1
In Example 16.3.1, verify (16.32) and determine the MLE \(\hat\beta_n\) and the limit of \(Q_n(\hat\beta_n)\).
Solution. Cell probabilities are a smooth function \(\pi(\beta)\) of \(\beta\). Under regularity, (16.32) is the score/information identity and \(\sqrt n(\hat\beta_n-\beta)\Rightarrow N(0,I(\beta)^{-1})\). Under \(H_0\), \(Q_n(\hat\beta_n)\Rightarrow\chi^2_{k-\dim\beta}\) when an efficient estimator is used (standard parametric \(\chi^2\)). Inefficient estimators produce a Chernoff–Lehmann mixture of \(\chi^2\) with extra normal squares.
Problem 16.24 Two-cell normal GOF: non-\(\chi^2\) limit
Consider the limit of the chi-squared GOF statistic for \(N(\theta,1)\) with cells \(\{X>0\}\) and \(\{X\le 0\}\), estimating \(\theta\) by \(\bar X\). Show the limit is not \(\chi^2\).
Proof. Let \(p(\theta)=P_\theta(X>0)=\Phi(\theta)\), \(N_+=\#\{X_i>0\}\), and \(Q_n=(N_+-n\hat p)^2/(n\hat p(1-\hat p))\) with \(\hat p=\Phi(\bar X)\).
At \(\theta=0\), \(p=1/2\), \(\sqrt n\bar X\Rightarrow N(0,1)\), \(\sqrt n(N_+/n-1/2)\Rightarrow N(0,1/4)\), and the two are correlated: \(\mathrm{Cov}(I\{X>0\},X)=\mathbb{E}[X_+]>0\). Also \(\sqrt n(\hat p-1/2)=\phi(0)\sqrt n\bar X+o_P(1)\). Hence \[ \sqrt n\bigl(N_+/n-\hat p\bigr) =\sqrt n(N_+/n-1/2)-\phi(0)\sqrt n\bar X+o_P(1) \] is a linear combination of jointly normal variables with variance \(\sigma^2<1/4\) (the \(\bar X\) component has been partialled out). Therefore \(Q_n\) converges to a scaled \(\chi^2_1\), not \(\chi^2_1\) itself—the Chernoff–Lehmann phenomenon for grouping after an ungrouped MLE.
Section 16.4
Problem 16.25 No simultaneous UMP in two-parameter smooth models
Let \(X_1,\ldots,X_n\) be i.i.d. \(F\) and test the null in a two-parameter exponential family of densities. Show that the optimal local power in each one-dimensional direction cannot be attained by a single test sequence simultaneously.
Proof. At \(\theta=0\) the model is q.m.d. with information \(I(0)\). Against \(\theta=(h_1 n^{-1/2},0)\) the optimal limiting power is of the form \(1-\Phi(z_{1-\alpha}-h_1\sqrt{I^{11}})\) (or the corresponding \(\chi^2_1\) form); similarly for the second axis. A single level-\(\alpha\) sequence attaining both would induce, in the two-dimensional normal mean experiment, a test that is UMP along both axes. But for testing \((0,0)\) against general \((h_1,h_2)\) no UMP exists (the LR depends on direction)—a contradiction.
Problem 16.26 Multinomial as exponential family (16.35)
In Example 16.4.3, show that the multinomial can be written in the form (16.35) with orthogonal \(T_j\).
Proof. Cell probabilities \(p_j(\theta)\propto\exp(\sum_m\theta_m T_m(j))\) with normalizing constant \(C_k(\theta)\). Taking \(\{T_m\}\) orthonormal in \(L^2(P_0)\) for discrete uniform \(P_0\) gives \[ p_\theta(j)=C_k(\theta)\exp\Bigl(\sum_{m=1}^k\theta_m T_m(j)\Bigr), \] which is (16.35). Multinomial counts arise from i.i.d. sampling from this density.
Problem 16.27 Equation (16.42) when \(B=\infty\)
Show that (16.42) holds with \(B=\infty\) if \(\mathrm{Var}_\theta[T_j(X_1)]\) is uniformly bounded.
Proof. If some sequence with \(|h_n|\ge b\) had limiting power strictly below \(P\{\chi^2_k(b^2)>c_{k,1-\alpha}\}\), one would contradict maximinity on compact shells. If \(|h_n|\to\infty\) along a coordinate, exponential-family moments force \(|Z_{n,j}|\to_p\infty\) under the uniform variance bound, so \(S_{n,k}\ge Z_{n,j}^2\to_p\infty\) and power \(\to 1\). On compact annuli away from \(0\), the finite-\(B\) case of (16.42) and continuous mapping give the maximin limit.
Problem 16.28 Consistency of smooth tests against moment departures
For testing \(P=P_0\) in the model (16.35) with \(T_j\) the Legendre system, show that if the first \(k\) moments differ from those of \(P_0\), then power \(\to 1\).
Proof. \(Z_{n,j}=n^{-1/2}\sum T_j(X_i)\). If \(\mathbb{E}_P T_j\ne 0=\mathbb{E}_{P_0}T_j\), then \(Z_{n,j}=n^{1/2}\mathbb{E}_P T_j+O_P(1)\to\infty\), so \(S_{n,k}\to_p\infty\) and power \(\to 1\). Under the Legendre system the first \(k\) polynomials span polynomials of degree \(\le k\), so \(\mathbb{E}_P T_j=0\) for all \(j\le k\) iff the first \(k\) moments match those of \(P_0\) (uniform).
Problem 16.29 Optimality for average power
Let \(X_1,\ldots,X_n\) be i.i.d. on \([0,1]\) with unknown density in the smooth family, and let \(\Pi_n=N(0,n^{-1}I_k)\). Maximize the limiting average power \(\lim A(\phi_n,\Pi_n)\) among tests with \(E_0\phi_n\to\alpha\).
Solution. The local experiment reduces to observing \(Z_n\Rightarrow N(h,I_k)\) with prior \(h\sim N(0,I_k)\) (since \(\theta\sim N(0,n^{-1}I)\) gives \(h=n^{1/2}\theta\sim N(0,I)\)). The Bayes test rejects for large \(\|Z\|^2\) (spherical symmetry). Thus Neyman smooth \(\phi_n^*=I\{S_{n,k}>c_{k,1-\alpha}\}\) is asymptotically Bayes, with average power \[ \lim A(\phi_n^*,\Pi_n)=P\{\chi^2_k(\Lambda)>c_{k,1-\alpha}\}, \] where \(\Lambda=\|h\|^2\sim\chi^2_k\). The mixture identity yields \(P\{\chi^2_{2k}>c_{k,1-\alpha}\}\).
Problem 16.30 Minkowski and (16.47)
Use Minkowski’s inequality to show (16.47).
Proof. Bound the Lyapunov quantity \(\beta=\mathbb{E}\|n^{-1/2}\sum_i \mathbf{T}(X_i)\|^3\). Minkowski gives \[ \Bigl(\mathbb{E}\Bigl\|\sum_{j=1}^k e_j Z_{n,j}\Bigr\|^3\Bigr)^{1/3} \le\sum_{j=1}^k\bigl(\mathbb{E}|Z_{n,j}|^3\bigr)^{1/3}. \] With \(\mathbb{E}|Z_{n,j}|^3\le n^{-1/2}C\mathbb{E}|T_j|^3\) and rearrangement, \[ \beta^{2/3}\le\sum_{j=1}^k\mathbb{E}[|T_j(X_i)|^3]^{2/3}, \] which is (16.47).
Problem 16.31 Show (16.49)
Show \(P\{|Z^{(k_n)}|^2\le t(2k_n)^{1/2}+k_n\}\to\Phi(t)\).
Proof. Under \(H_0\), \(S_{n,k_n}=\sum_{j=1}^{k_n}Z_{n,j}^2\) is approximately \(\chi^2_{k_n}\) when the vector is approximately \(N(0,I_{k_n})\). Standardization yields \[ \frac{S_{n,k_n}-k_n}{\sqrt{2k_n}}\Rightarrow N(0,1) \] as \(k_n\to\infty\) under Lyapunov conditions from (16.47) (e.g. \(k_n=o(n^{2/3})\)). Hence \[ P\{S_{n,k_n}\le k_n+t\sqrt{2k_n}\}\to\Phi(t), \] which is (16.49).
Problem 16.32 Argue (16.51)
Argue the validity of (16.51): under \(\theta_1=hn^{-1/2}\), \([S_{n,k_n}-k_n]/(2k_n)^{1/2}\Rightarrow N(0,1)\).
Proof. The local drift affects only a fixed-dimensional direction. As \(k_n\to\infty\), the noncentrality \(\|h\|^2\) contributes \(O(k_n^{-1/2})\to 0\) after \(\chi^2_{k_n}\) standardization. Thus the standardized \(S_{n,k_n}\) has the same \(N(0,1)\) limit under the null and under local alternatives, and limiting power is \(\alpha\).
Section 16.5
Problem 16.33 Continuous strictly increasing c.d.f. of \(W\)
In Theorem 16.5.1, show that \(W=\sum a_j Z_j^2\) has a continuous, strictly increasing c.d.f. on \((0,\infty)\).
Proof. Fix \(a_i>0\) and write \(W=a_i Z_i^2+R\) with \(R\) independent of \(Z_i\). The law of \(a_i Z_i^2\) is absolutely continuous on \((0,\infty)\) (scaled \(\chi^2_1\)). Convolution with \(R\) preserves absolute continuity on \((0,\infty)\). Strict increase: for \(0<x<y\), \[ P\{x<W\le y\}\ge P\{R\le x/2\}\,P\{x/2<a_i Z_i^2\le y-x/2\}>0, \] since \(P\{R\le x/2\}>0\) (\(R\) can be arbitrarily small) and the middle interval has positive probability.
Problem 16.34 CvM is distribution-free for continuous \(F_0\)
Show that the distribution of the Cramér–von Mises statistic (16.57) does not depend on continuous \(F_0\).
Proof. Set \(U_i=F_0(X_i)\sim\mathrm{Unif}(0,1)\) with EDF \(\hat G_n\). Then \[ C_n=n\int(\hat F_n-F_0)^2\,dF_0 =n\int_0^1(\hat G_n(u)-u)^2\,du, \] which depends only on the uniform sample.
Problem 16.35 Computational formula for CvM
Show that for uniform \(F_0\), \(C_n=\frac1{12n}+\sum_{i=1}^n\bigl(X_{(i)}-\frac{2i-1}{2n}\bigr)^2\).
Proof. Under the uniform law, \(\hat G_n(u)=i/n\) on \(X_{(i)}\le u<X_{(i+1)}\). Integrating piecewise with \(X_{(0)}=0\), \(X_{(n+1)}=1\) yields the displayed formula.
Problem 16.36 Cosine moments characterize the uniform
Let \(F\) be a c.d.f. on \((0,1)\). If \(\int_0^1\cos(\pi j x)\,dF=0\) for all \(j\ge 1\), show \(F=\mathrm{Unif}(0,1)\).
Proof. Set \(G(x)=F(x)-x\), so \(G(0)=G(1)=0\). Integration by parts gives \[ \int_0^1\cos(\pi j x)\,dF(x) =\pi j\int_0^1\sin(\pi j x)G(x)\,dx, \] hence \(\int_0^1 G(x)\sin(\pi j x)\,dx=0\) for all \(j\). Completeness of \(\{\sqrt2\sin(\pi j x)\}\) in \(L^2[0,1]\) forces \(G=0\) a.e., i.e. \(F(x)=x\).
Problem 16.37 Anderson–Darling as (16.59)
Show that the Anderson–Darling statistic (16.58) can be rewritten as \(A_n=\sum_{j=1}^\infty Z_{n,j}^2/(j(j+1))\).
Proof. For uniform data, \(A_n=n\int_0^1(\hat G_n-u)^2/(u(1-u))\,du\). Expanding the weight \(1/(u(1-u))\) in the orthonormal system \(T_j(u)=\sqrt{2}\cos(\pi j u)\) (or an equivalent Jacobi system) yields the spectral identity \[ \int_0^1\frac{B(u)^2}{u(1-u)}\,du=\sum_{j=1}^\infty\frac{Z_j^2}{j(j+1)}. \] The empirical version replaces \(Z_j\) by \(Z_{n,j}=n^{1/2}\int T_j\,d\hat G_n\), giving (16.59).
Problem 16.38 Limit of \(W_n\) under local alternatives
Consider \(W_n\) with \(T_j\) orthonormal and densities \(q_\theta\propto\exp(\theta\sum\gamma_j T_j)\). Under \(\theta=hn^{-1/2}\), show \(W_n\Rightarrow\sum a_j(Z_j+h\gamma_j)^2\).
Proof. The model is q.m.d. at \(0\) with score \(\sum\gamma_j T_j\). Empirical Fourier coefficients satisfy \[ Z_{n,j}=n^{-1/2}\sum_i T_j(X_i)\Rightarrow N(h\gamma_j,1) \] jointly (covariance \(\delta_{jk}\) by orthonormality). Continuous mapping gives \[ W_n=\sum a_j Z_{n,j}^2\Rightarrow\sum a_j(Z_j+h\gamma_j)^2. \]
Problem 16.39 Example 16.5.4
Verify the claims in Example 16.5.4 (local power for different weights \(a_j\)).
Solution. For drift \(c=(c_j)\), limiting power is \(P\{\sum a_j(Z_j+c_j)^2>w_{1-\alpha}\}\). With \(a_j=1/(j(j+1))\) (AD) the test is more sensitive to tail departures; CvM corresponds to \(a_j=1/(\pi j)^2\). Verify by checking the eigenvalue problem \(\int K(s,t)\phi_j(t)\,dt=a_j\phi_j(s)\) for \(T_j=\sqrt2\cos(\pi j x)\) against the book’s formulas.
Problem 16.40 Characteristic function of \(W\)
What is the characteristic function of \(W=\sum a_j Z_j^2\)? For CvM, \(\zeta(t)=\prod_j(1-2it/(\pi j)^2)^{-1/2}\).
Proof. Independent \(Z_j^2\sim\chi^2_1\) give \(\mathbb{E}e^{it a_j Z_j^2}=(1-2ita_j)^{-1/2}\), so \[ \mathbb{E}e^{itW}=\prod_{j=1}^\infty(1-2ita_j)^{-1/2}. \] For CvM, \(a_j=1/(\pi j)^2\), yielding \[ \zeta(t)=\prod_{j=1}^\infty\Bigl(1-\frac{2it}{\pi^2 j^2}\Bigr)^{-1/2}. \]
Problem 16.41 Monotonicity of (16.65)
Show that (16.65) exceeds \(\alpha\) if some \(a_j>0\) and \(c_j\ne 0\), and that the power is increasing in \(|c_j|\).
Proof. Write \(W(c)=\sum a_\ell(Z_\ell+c_\ell)^2\). At \(c=0\), \(P\{W(0)>w_{1-\alpha}\}=\alpha\). Fixing other coordinates, noncentral \(\chi^2\) in the \(j\)th term is stochastically increasing in \(|c_j|\), so \(P\{W(c)>w_{1-\alpha}\}\) is strictly increasing in \(|c_j|\) and exceeds \(\alpha\) whenever \(c_j\ne 0\).
Section 16.6
Problem 16.42 Verify (16.77)
Show why (16.77) is true: LAUMP power \(1-\Phi(z_{1-\alpha}-t|\theta|)\) in direction \(\theta\).
Proof. In a q.m.d. model along the path \(\theta_n=t\theta n^{-1/2}\) (with \(\|\theta\|\) absorbed into the normalization), the effective local parameter is \(t\|\theta\|\). The strongest local test is the score test, with limiting power \[ 1-\Phi(z_{1-\alpha}-t\|\dot\ell_{\theta\text{-direction}}\|). \] With the book’s normalization of unit information, this is (16.77): \(1-\Phi(z_{1-\alpha}-t|\theta|)\).
Problem 16.43 Rate of \(\delta_k\) for nontrivial maximin power
Consider the setting of Problem 8.35 with \(\delta=\delta_k\to 0\) as \(k\to\infty\). How fast must \(\delta_k\to 0\) so that the limiting maximin power lies strictly in \((\alpha,1)\)?
Solution. Maximin power is governed by noncentral \(\chi^2_k(\lambda_k)\) with \(\lambda_k\asymp n\delta_k^2\) (or the corresponding density \(L^2\)-ball radius). For \[ \alpha<\lim M(k,\sqrt{\lambda_k})<1, \] one needs \(\lambda_k\) of constant order: \(\lambda_k\to\lambda\in(0,\infty)\). With \(k\) fixed this means \(\delta_k\asymp n^{-1/2}\). If \(k\to\infty\), keeping a constant drift after standardizing \(\chi^2_k\) requires \(\lambda_k\asymp\sqrt k\), hence \(\delta_k\asymp n^{-1/2}k^{1/4}\) (Ingster-type rate). For the fixed-\(k\) variant of Problem 8.35: \(\delta_k\to 0\) with \(n\delta_k^2\to\delta^2\in(0,\infty)\) places the power in \((\alpha,1)\).
Three main threads in goodness of fit: (i) EDF distances (KS/CvM/AD)—consistent when \(d_K(F,F_0)\) is large, but for fixed density \(L^\infty\)/\(L^2\) departures the infimum power can be driven to \(\alpha\) (Problem 16.7); (ii) binned \(\chi^2\)—simple but loses information, and estimating parameters changes the limit; (iii) Neyman smooth—asymptotically maximin in finite-dimensional directions, with a smoothness tradeoff as \(k\) grows.