Chapter 17 Solutions — Permutation and Randomization Tests
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 | §17.6 Problems (print pp. 857–860) |
| Prerequisites | Chapter 5 permutation tests; Chapters 11–12 weak convergence and CLT; Chapter 15 ARE |
| Notation | As in Chapter 17 |
| Coverage | Problems 17.1–17.20 (complete) |
Strategy: derive from Definition 17.2.1 (randomization hypothesis), Theorems 17.2.1–17.2.4 and 17.3.1–17.3.2. Expand book hints into full arguments. Monte Carlo \(p\)-value arguments use exchangeability as in Hoeffding-type conditions.
Chapter blueprint
| Concept | Definition / key point | Location |
|---|---|---|
| Randomization hypothesis | Under \(H_0\), \(X\stackrel{d}{=}gX\) for all \(g\in G\) | Def 17.2.1 |
| Randomization test \(\phi\) | Reject using empirical quantiles of \(T(gx)\); \(\sum_g\phi(gx)=M\alpha\) | (17.1)–(17.2), Thm 17.2.1 |
| Orbit conditional | \(X\mid Gx\) is uniform on the orbit | Thm 17.2.2 |
| \(p\)-values \(\hat p,\tilde p\) | Full group / Monte Carlo; \(\mathrm{P}\{\hat p\le u\}\le u\) | (17.5)–(17.8) |
| Consistency of \(\hat R_n\) | \((T(G_n X),T(G_n'X))\to(T,T')\) independent \(\Rightarrow\hat R_n\to R\) | Thm 17.2.3 |
| One-sample signs | Sign flips; asymptotic linearity + odd influence | Thm 17.2.4, Ex 17.2.1 |
| Two-sample perm. | \(T_{m,n}=m^{1/2}(\bar Y-\bar Z)\); studentize for robustness | §17.3, Thm 17.3.1–17.3.2 |
| Independence / multi | Permute \(Z\) coordinates; Hotelling / \(\max|T_j|\) | §17.4 |
| Multiple testing | Stepdown + randomization critical values | §17.5 |
Problem inventory
| Problems | Topics | Section | Pages |
|---|---|---|---|
| 17.1 | Randomization test for infinite \(G\) | §17.2 | 857–858 |
| 17.2 | Superuniformity of \(\hat p\) (17.6) | §17.2 | 858 |
| 17.3 | Exchangeable \(q\)-value; MC with/without replacement | §17.2 | 858 |
| 17.4 | \(\hat p-\tilde p\to_p 0\) | §17.2 | 858 |
| 17.5 | MC approximation of \(\hat R_n\) is consistent | §17.2 | 858 |
| 17.6 | One-sample \(t\) vs sign randomization: ARE\(=1\) | §17.2 | 858 |
| 17.7 | Theorem 17.2.4 can fail if \(\psi_P\) is not odd | §17.2 | 858 |
| 17.8 | Verify (17.16)–(17.17) | §17.3 | 858–859 |
| 17.9 | Heterogeneous means: \(t\) and sign randomization | §17.2 | 859 |
| 17.10 | Two-sample permutation vs UMPU \(t\): local power | §17.3 | 859 |
| 17.11 | Permutation limit via Theorem 12.2.3 | §17.3 | 859 |
| 17.12 | Mixture variance (17.27); unequal means | §17.3 | 859 |
| 17.13 | Randomization law of classical \(t\) | §17.3 | 859 |
| 17.14 | Complete (17.34) for \(j=1,2\) | §17.3 | 859 |
| 17.15 | Randomization for equal Poisson means | §17.3 | 859 |
| 17.16 | Permutation test for \(\rho\) and local power | §17.4 | 859–860 |
| 17.17 | Continuous mapping for randomization distributions | §17.2 | 860 |
| 17.18 | Example 17.4.1 randomization asymptotics | §17.4 | 860 |
| 17.19 | Limit of the max statistic (17.41) | §17.4 | 860 |
| 17.20 | Joint limit (17.43) | §17.4 | 860 |
Section 17.2
Problem 17.1 Randomization tests for infinite groups
Generalize Theorem 17.2.1 to the case where \(G\) is an infinite (measurable) group.
Solution. Let \((G,\mathcal{G},\mu)\) be a compact measurable group equipped with a left Haar probability measure \(\mu\) (\(\mu(G)=1\)). For almost every \(x\), define \[ \hat R_x(t)=\mu\bigl(\{g\in G: T(gx)\le t\}\bigr),\qquad \hat r_x(1-\alpha)=\inf\{t:\hat R_x(t)\ge 1-\alpha\}. \] Set \[ \phi(x)= \begin{cases} 1, & T(x)>\hat r_x(1-\alpha),\\ a(x), & T(x)=\hat r_x(1-\alpha),\\ 0, & T(x)<\hat r_x(1-\alpha), \end{cases} \] where \(a(x)\in[0,1]\) is chosen so that \[ \int_G \phi(gx)\,d\mu(g)=\alpha \quad\text{for every $x$.} \] (When \(G\) is finite, \(\mu\) is normalized counting measure and this reduces to (17.2).)
Under the randomization hypothesis, \(X\) and \(gX\) are equal in distribution, so \[ \mathbb{E}_P\phi(X)=\int \mathbb{E}_P\bigl[\phi(gX)\bigr]\,d\mu(g) =\mathbb{E}_P\Bigl[\int\phi(gX)\,d\mu(g)\Bigr]=\alpha. \] Thus the test has exact level \(\alpha\). The essential points are that “uniformity on the orbit” is supplied by Haar measure, and that \(\phi\) averages to \(\alpha\) on every orbit under that measure.
If \(G\) is not compact, one may condition on the orbit (a generalization of Theorem 17.2.2): on each orbit choose a probability measure invariant under the group action; finite-sample level still holds.
Problem 17.2 Superuniformity of the \(p\)-value
With \(\hat p\) defined in (17.5), show that (17.6) holds: \(\mathrm{P}\{\hat p\le u\}\le u\).
Proof. Fix \(u\in[0,1]\). For any \(x\), write \[ \hat p(x)=M^{-1}\sum_{g\in G}I\{T(gx)\ge T(x)\}. \] On the orbit \(Gx\), the empirical law of \(\{T(gx):g\in G\}\) makes \(\hat p\) a rank-type statistic: as \(g\) runs through \(G\), \[ \hat p(gx)=\frac1M\sum_{h}I\{T(hx)\ge T(gx)} \] takes values in \(\{1/M,2/M,\ldots,1\}\) (with averaging at ties). Hence \[ \frac1M\sum_{g\in G}I\{\hat p(gx)\le u\} \le u \] (the standard property of discrete uniform ranks: \(\mathrm{P}\{R\le u\}\le u\)). Under the randomization hypothesis, \(X\) is conditionally uniform on its orbit, so \[ \mathrm{P}\{\hat p\le u\}=\mathbb{E}\bigl[\mathrm{P}\{\hat p\le u\mid\text{orbit}\}\bigr]\le u. \]
Problem 17.3 Exchangeability and Monte Carlo \(p\)-values
- If \(Y_1,\ldots,Y_B\) are exchangeable, show that \(\tilde q=B^{-1}\bigl(1+\sum_{i=1}^{B-1}I\{Y_i\ge Y_B\}\bigr)\) satisfies \(\mathrm{P}\{\tilde q\le u\}\le u\).
- With \(\tilde p\) as in (17.7), deduce (17.8).
- How would you construct a \(p\)-value based on sampling without replacement from \(G\)?
(i) Conditional on the order statistics \((Y_{(1)},\ldots,Y_{(B)})\), exchangeability makes \(Y_B\) equally likely to occupy any of the \(B\) positions among \(Y_1,\ldots,Y_B\). The conditional rank \[ R=1+\sum_{i=1}^{B-1}I\{Y_i\ge Y_B\} \] is therefore uniform on \(\{1,\ldots,B\}\) (with a suitable tie-break still yielding \(\mathrm{P}\{R/B\le u\mid\text{OS}\}\le u\)). Unconditionally, \(\mathrm{P}\{\tilde q\le u\}\le u\).
(ii) Set \(Y_i=T(g_i X)\) for \(i=1,\ldots,B-1\) and \(Y_B=T(X)\). Under \(H_0\), \(X\stackrel{d}{=}gX\) and the \(g_i\) are i.i.d. uniform on \(G\) and independent of \(X\), so \((Y_1,\ldots,Y_B)\) is exchangeable. Part (i) yields (17.8).
(iii) Without replacement: draw \(B-1\) distinct \(g_i\) from \(G\setminus\{e\}\) and set \[ \tilde p_{\mathrm{wor}}=\frac1B\Bigl(1+\sum_{i=1}^{B-1}I\{T(g_i X)\ge T(X)\}\Bigr). \] Under \(H_0\), the values of \(T\) on \(\{e,g_1,\ldots,g_{B-1}\}\) have the same law as drawing \(B\) group elements and designating one as the “observed” index, so exchangeability again gives \(\mathrm{P}\{\tilde p_{\mathrm{wor}}\le u\}\le u\).
Problem 17.4 \(\hat p-\tilde p\to_p 0\)
With \(\hat p\) and \(\tilde p\) as in (17.5) and (17.7), show that \(\hat p-\tilde p\to_p 0\).
Proof. Conditional on \(X=x\), let \(p_x=\hat p(x)=M^{-1}\sum_g I\{T(gx)\ge T(x)\}\). The Monte Carlo \(p\)-value \[ \tilde p=\frac1B\Bigl(1+\sum_{i=1}^{B-1}I\{T(g_i x)\ge T(x)\}\Bigr) \] is a (slightly biased, because of the added \(1\)) sampling estimator of \(p_x\): \[ \mathbb{E}[\tilde p\mid X=x]=\frac1B+\frac{B-1}{B}p_x,\qquad \mathrm{Var}(\tilde p\mid X=x)\le \frac{C}{B}. \] As \(B\to\infty\), \(\tilde p-p_x\to_p 0\) both conditionally and unconditionally, i.e. \(\tilde p-\hat p\to_p 0\).
Problem 17.5 Monte Carlo approximation of \(\hat R_n\)
As an approximation to (17.9), let \(g_1,\ldots,g_{B-1}\) be i.i.d. uniform on \(G\) and define the Monte Carlo c.d.f. \(\tilde R_{n,B}\). Show that \(\sup_t|\tilde R_{n,B}(t)-\hat R_n(t)|\to_p 0\) as \(B\to\infty\), and that this holds even off the null.
Proof. Fix \(X=x\). Then \(\tilde R_{n,B}(\,\cdot\,)\) is the empirical c.d.f. of \(B\) draws (with replacement) from the finite-support law \(\hat R_n(\,\cdot\,)\) (taking the \(B\)th draw as the identity transformation). Glivenko–Cantelli / DKW (Theorem 11.4.3) is elementary on a finite support: \[ \sup_t\bigl|\tilde R_{n,B}(t)-\hat R_n(t)\bigr|\to 0 \quad\text{a.s.\ (conditional on $X$) as $B\to\infty$.} \] Hence the convergence holds in probability both conditionally and unconditionally. The argument uses only that the \(g_i\) are uniform on \(G\) and independent of \(X\); it does not require the randomization hypothesis, and therefore remains valid under alternatives.
Problem 17.6 ARE of one-sample \(t\) versus sign randomization
Suppose \(X_1,\ldots,X_n\) are i.i.d. from a q.m.d. location model with finite variance. Show that the Pitman ARE of the one-sample \(t\)-test relative to the sign-randomization test based on \(t\) (or \(\bar X\)) is \(1\).
Proof. Write \(X_i\sim f(x-\theta)\), q.m.d. at \(\theta_0=0\), with \(\mathrm{Var}(X_1)=\sigma^2<\infty\). For the centered scores \[ Z_n=n^{-1/2}\sum_{i=1}^n \tilde\eta(X_i,0) \] with odd influence, Theorem 17.2.4 and Example 17.2.5 give that randomization critical values based on \(T_n=\bar X_n\) (or the \(t\)-statistic, which is equivalent under sign flips) satisfy \[ \hat r_n(1-\alpha)\to_p \sigma z_{1-\alpha}, \] while under \(\theta_n=hn^{-1/2}\) one has \(n^{1/2}\bar X_n\Rightarrow N(h,\sigma^2)\) (and the critical value has the same limit under contiguity). The local power is therefore \[ 1-\Phi\bigl(z_{1-\alpha}-h/\sigma\bigr). \] The ordinary one-sample \(t\)-test has the same local power (efficacy \(1/\sigma\)). By Corollary 15.2.1, the ARE equals \(1\). The argument does not require normality—only q.m.d. and finite variance—so the efficacies match for any such location model.
Problem 17.7 Theorem 17.2.4 can fail if \(\psi_P\) is not odd
In Theorem 17.2.4, show that the conclusion may fail if \(\psi_P\) is not an odd function.
Counterexample / argument. Under sign flips, \[ T_n(G_n X)=n^{-1/2}\sum_i \psi_P(\epsilon_i X_i)+o_P(1). \] If \(\psi_P\) is not odd, then \(\psi_P(\epsilon X)\) need not equal \(\epsilon\cdot\psi_P(X)\), and \[ \mathrm{Cov}\bigl(\psi_P(\epsilon X),\psi_P(\epsilon' X)\bigr) =\mathbb{E}\bigl[\psi_P(\epsilon X)\psi_P(\epsilon' X)\bigr] \] need not vanish when \(\epsilon\perp\epsilon'\) (if \(\psi\) has a nontrivial even part). For instance take \(\psi_P(x)=x^2-\sigma^2\) (even): then \(\psi_P(\epsilon_i X_i)=\psi_P(X_i)\) is invariant under signs, so the randomization distribution collapses to a point mass at \(T_n\), whereas the true null law (when \(EX^2=\sigma^2\)) is asymptotically \(N(0,\mathrm{Var}(X^2))\). The two disagree, so the conclusion of Theorem 17.2.4 fails.
Problem 17.8 Verify (17.16) and (17.17)
Verify (17.16) and (17.17). Hint: let \(S\) be the number of positive \(W_i\) among the first \(m\) coordinates and condition on \(S\).
Proof. In the construction of Theorem 17.3.1, let \((X_1,\ldots,X_N)\) be the pooled sample and let \(W_i\) indicate assignment of position \(i\) to the \(Y\)-sample under a random permutation, so \(\sum W_i=m\) and \((W_1,\ldots,W_N)\) is hypergeometric (draw \(m\) out of \(N\)).
Unconditionally (random permutation) one may write \[ T_{m,n}'=m^{-1/2}\sum_{i=1}^N X_i(W_i-m/N)\cdot c_{m,n} \] (equivalent to (17.13) up to a constant factor). As in the book, taking \(W_i\) i.i.d. Bernoulli\((m/N)\) independent of the data and then conditioning on \(\sum W_i=m\) recovers the exact permutation law; for asymptotics the unconditional Bernoulli scheme is equivalent.
Under \(\mu(P_Y)=\mu(P_Z)=0\), with \(W\) independent of \(X\) and \(\mathbb{E}W_i=m/N\), \[ \mathrm{Var}(T_{m,n})\to\sigma^2(P_Y)+\frac{m}{n}\sigma^2(P_Z) \] after collecting \(N^{-1}\) terms, which is the limiting form of (17.16). For two independent copies \(W,W'\), the cross term vanishes because \(\mathbb{E}[W_i W_j']=\mathbb{E}W_i\,\mathbb{E}W_j'\), so \[ \mathrm{Cov}(T_{m,n},T_{m,n}')=0, \] which is (17.17). Conditioning on \(S\) and using the finite-population sampling variance \[ \mathrm{Var}\Bigl(\sum X_i W_i\Bigm|S\Bigr) =\frac{S(N-S)}{N(N-1)}\sum (X_i-\bar X)^2 \] and letting \(S\sim\mathrm{Hypergeometric}\) (or \(m/N\to\lambda\)) likewise yields (17.16).
Problem 17.9 Heterogeneous means and sign randomization
- Assume \(X_1,X_2,\ldots\) are independent with \(X_i\sim N(\mu_i,1)\) and \(\sum\mu_i^2<\infty\). Find the limiting power of the one-sided \(t\)-test of “all means zero.”
- For independent observations with (possibly different) densities \(f_i\) symmetric about \(0\), construct a finite-sample level-\(\alpha\) randomization test, and compute its local power under normal heterogeneous means as in (i).
(i) Write \(t_n=\sqrt{n}\bar X_n/S_n\) and \(a_n=\sum_{i=1}^n\mu_i\). Then \[ n^{1/2}\bar X_n=n^{-1/2}a_n+n^{-1/2}\sum(X_i-\mu_i). \] The second term converges to \(N(0,1)\). Under \(\sum_{i=1}^\infty\mu_i^2<\infty\), Kronecker’s lemma gives \(a_n=o(n^{1/2})\), so \(n^{-1/2}a_n\to 0\) and \[ t_n\Rightarrow N(0,1). \] The limiting power is therefore \(\alpha\): square-summable sparse mean shifts are invisible at the usual \(\sqrt n\) scale.
(ii) Under the null that each \(X_i\) is symmetric about \(0\) (with possibly different \(f_i\)), the group \(G=\{\pm1\}^n\) acts by \(\epsilon\cdot X=(\epsilon_i X_i)\) and the randomization hypothesis holds. Taking \(T_n=\sum X_i\) or \(t_n\) and constructing \(\phi\) as in §17.2.1 yields \(\mathbb{E}\phi=\alpha\) exactly.
Under \(X_i\sim N(\mu_i,1)\) with \(\sum\mu_i^2<\infty\), the same CLT argument as in Theorem 17.2.3 gives randomization critical values \(\to z_{1-\alpha}\) while \(n^{-1/2}\sum X_i\Rightarrow N(0,1)\), so the limiting power is again \(\alpha\)—matching (i). The test has correct finite-sample level but no power against square-summable shifts.
Section 17.3
Problem 17.10 Local power of two-sample permutation versus UMPU \(t\)
In the two-sample problem of Section 17.3 with equal normal variances, show that the permutation test based on \(T_{m,n}\) has the same limiting local power against \(\mu_Y-\mu_Z=hn^{-1/2}\) as the optimal two-sample \(t\)-test, and that the two tests are asymptotically equivalent in the sense of Problem 15.25.
Solution. Let \(m/n\to\lambda\in(0,\infty)\) and \(N=m+n\). Under \(H_0\) with common variance \(\sigma^2\), Theorem 17.3.1 gives \[ \hat R_{m,n}(t)\to_p \Phi\bigl(t/\sigma\sqrt{1+\lambda}\bigr),\qquad \hat r(1-\alpha)\to_p \sigma\sqrt{1+\lambda}\,z_{1-\alpha}. \] Contiguity preserves the critical-value limit. Under \(\mu_Y=\mu_Z+hn^{-1/2}\) (with \(m\sim\lambda n\)), \[ T_{m,n}=m^{1/2}(\bar Y-\bar Z)\Rightarrow N\bigl(h\sqrt{\lambda/(1+\lambda)},\,\sigma^2(1+\lambda)\bigr) \] (after the book’s normalization), so the limiting power is \[ 1-\Phi\Bigl(z_{1-\alpha}-\frac{h}{\sigma}\sqrt{\frac{\lambda}{1+\lambda}}\Bigr), \] identical to that of the two-sample \(t\)-test (UMPU). Asymptotic equivalence: the rejection regions differ by \(o_P(1)\) for the studentized statistics (Problem 15.25), so the ARE is \(1\) and the local power functions agree.
Problem 17.11 Reprove the permutation limit via Theorem 12.2.3
In the two-sample problem of Section 17.3, reprove the limiting behavior of the permutation distribution using the finite-population CLT (Theorem 12.2.3).
Proof. Fix the pooled sample \((X_1,\ldots,X_N)\). The permutation statistic \[ T^\pi=m^{1/2}\Bigl(\frac1m\sum_{i=1}^m X_{\pi(i)}-\frac1n\sum_{i=m+1}^N X_{\pi(i)}\Bigr) \] is a simple-random-sample mean difference from the finite population \(\{X_1,\ldots,X_N\}\). By Theorem 12.2.3, conditional on the data, whenever \[ \frac1N\sum_{i=1}^N (X_i-\bar X_N)^2\to_p \sigma^2(\bar P),\qquad \max_i|X_i-\bar X_N|/\sqrt N\to_p 0 \] (which holds a.s./in probability under i.i.d. finite variance), \[ T^\pi\Bigm|\text{data}\ \Rightarrow\ N\bigl(0,\sigma^2(\bar P)(1+\lambda)\bigr). \] This is exactly \(\hat R_n\to\Phi(\,\cdot\,/\sigma(\bar P)\sqrt{1+\lambda})\), matching §17.3.
Problem 17.12 Mixture variance (17.27)
Show (17.27). Does it hold if \(\mu(P_Y)\ne\mu(P_Z)\)?
Proof. The mixture \(\bar P=\frac{m}{N}P_Y+\frac{n}{N}P_Z\to\frac{\lambda}{1+\lambda}P_Y+\frac{1}{1+\lambda}P_Z\). When \(\mu(P_Y)=\mu(P_Z)=\mu\), \[ \sigma^2(\bar P)=\frac{\lambda}{1+\lambda}\sigma^2(P_Y)+\frac{1}{1+\lambda}\sigma^2(P_Z), \] which is (17.27).
If \(\mu(P_Y)\ne\mu(P_Z)\), the mixture variance acquires an extra between-group term: \[ \sigma^2(\bar P) =\frac{\lambda}{1+\lambda}\sigma^2(P_Y)+\frac{1}{1+\lambda}\sigma^2(P_Z) +\frac{\lambda}{(1+\lambda)^2}(\mu_Y-\mu_Z)^2. \] Thus the “variance-weighted only” form (17.27) fails when means differ. The limiting permutation variance uses this larger \(\sigma^2(\bar P)\), while \(T_{m,n}\) itself also has a nonzero drift under unequal means.
Problem 17.13 Randomization distribution of classical \(t\)
Use Theorem 17.3.2 to deduce the limiting behavior of the randomization distribution of the classical \(t\)-statistic (cf. Example 17.2.4).
Solution. For the one-sample statistic \(t_n=\sqrt{n}\bar X_n/S_n\), the scale \(S_n\) is invariant under sign flips, so randomization tests based on \(t_n\) and on \(\sqrt{n}\bar X_n\) coincide (§17.2). By Theorems 17.2.3–17.2.4, \[ \hat R_n(t)\to_p\Phi(t),\qquad \hat r_n(1-\alpha)\to_p z_{1-\alpha}, \] whenever \(\mathrm{Var}(X_1)<\infty\) and the mean is \(0\) (exact level \(\alpha\) under symmetry). The studentization idea of Theorem 17.3.2 appears here as: the randomization law of the studentized root converges to \(N(0,1)\), matching the unconditional null limit.
Problem 17.14 Complete (17.34) for \(j=1,2\)
Complete the argument that \(m^{-1}\sum_{i=1}^m X_{\pi(i)}^j\to_p\mathbb{E}(M^j)\) for \(j=1,2\), where \(M\sim\bar P\).
Proof. Conditional on the pooled sample, the sample moment under simple random sampling is unbiased: \[ \mathbb{E}\Bigl[\frac1m\sum_{i=1}^m X_{\pi(i)}^j\Bigm|\mathbf{X}\Bigr] =\frac1N\sum_{k=1}^N X_k^j. \] By the LLN, \(N^{-1}\sum X_k^j\to\mathbb{E}_{\bar P}[M^j]\) (second moments for \(j=1,2\)). The conditional variance is \[ \mathrm{Var}\Bigl(\frac1m\sum X_{\pi(i)}^j\Bigm|\mathbf{X}\Bigr) =O\Bigl(\frac1m\cdot\frac1N\sum X_k^{2j}\Bigr)\to_p 0 \] (using fourth moments or truncation). Therefore both conditionally and unconditionally, \[ \frac1m\sum_{i=1}^m X_{\pi(i)}^j\to_p\mathbb{E}(M^j). \]
Problem 17.15 Randomization test for equal Poisson means
Under the setting of Problem 11.59, construct a randomization test for equality of the Poisson means based on a statistic \(T\), and discuss the limiting randomization distribution under the null and under contiguous alternatives.
Solution. Let \(X_i\sim\mathrm{Poisson}(\lambda_i)\) be independent and test \(H_0:\lambda_1=\cdots=\lambda_n=\lambda\). Under \(H_0\), conditional on \(S=\sum X_i=s\), the vector \((X_1,\ldots,X_n)\) is multinomial with equal cell probabilities (equivalently, \(s\) indistinguishable units randomly assigned to \(n\) bins). Take \(G\) to be the group of permutations of the \(n\) coordinates (or reassignments of the \(s\) units). The permutation/conditional test based on \(T\) has exact level \(\alpha\) under \(H_0\).
Limits: under \(H_0\), if \(T\) has a nondegenerate limit law \(R\), then Theorem 17.2.3 (with (17.10) for the permutation scheme) yields \(\hat R_n\to R\). Under contiguous alternatives \(\lambda_i=\lambda+h_i n^{-1/2}\), contiguity keeps the critical-value limit the same, and local power is determined by the drift of \(T\)—matching the local power of the conditional/unconditional LR tests in the exponential family.
Problem 17.16 Permutation test for correlation
- Under independence, construct a randomization test based on \(n^{1/2}|\hat\rho_n|\).
- For bivariate normal data with \(\rho=0\), find the limiting randomization distribution and local power; show asymptotic equivalence to the UMPU test (5.75).
- What happens if \(X\) and \(Y\) are uncorrelated but dependent?
(i) Let \(G\) act by permuting the \(Z\)-coordinates while holding \((Y_1,\ldots,Y_n)\) fixed (Example 17.2.3). Under independence the randomization hypothesis holds. Taking \(T_n=n^{1/2}|\hat\rho_n|\) and applying §17.2.1 yields an exact level-\(\alpha\) test.
(ii) For bivariate normal data with \(\rho=0\), the unconditional limit of \(\hat\rho_n\) is \(N(0,1)\) (Fisher), and the pair \((n^{1/2}\hat\rho(G_nX),n^{1/2}\hat\rho(G_n'X))\) converges jointly to i.i.d. standard normals (Hoeffding decomposition + CLT). Theorem 17.2.3 gives \(\hat R_n(t)\to_p\Phi(t)\) for the one-sided root (or the corresponding absolute-value law). Under the local alternative \(\rho=hn^{-1/2}\) the critical value has the same limit, \(n^{1/2}\hat\rho_n\Rightarrow N(h,1)\), and the power is \(1-\Phi(z_{1-\alpha}-h)\), matching the UMPU test (5.75). Asymptotic equivalence holds in the sense of Problem 15.25.
(iii) If only \(\mathrm{Corr}=0\) but \(X,Y\) are dependent, the randomization hypothesis fails, so finite-sample level need not be \(\alpha\). Asymptotically the permutation law still converges to \(N(0,1)\) under finite fourth moments, while the true limiting variance of \(n^{1/2}\hat\rho\) may differ from \(1\) (dependence enters the influence function). Level can then be asymptotically wrong; studentization or a bootstrap (Chapter 18) is needed.
Problem 17.17 Continuous mapping for randomization distributions
Prove a version of the Continuous Mapping Theorem for randomization distributions: if \(\hat R_n\to_p R\) at continuity points and \(g\) is a.s. continuous on the support of \(R\), deduce the limit of the randomization distribution based on \(g(T_n)\).
Proof. Let \(\hat R_n^T\) be the randomization c.d.f. of \(T_n\) and \(\hat R_n^{g\circ T}\) that of \(g(T_n)\). For bounded continuous \(f\), \[ \int f\,d\hat R_n^{g\circ T} =M_n^{-1}\sum_{g\in G_n} f\bigl(g\bigl(T_n(gX)\bigr)\bigr) =\int (f\circ g)\,d\hat R_n^T. \] If \(f\circ g\) is bounded and continuous on a set of \(R\)-probability one (by a.s. continuity of \(g\)), then \[ \int(f\circ g)\,d\hat R_n^T\to_p\int(f\circ g)\,dR=\mathbb{E}[f(g(T))], \] where \(T\sim R\). Hence \(\hat R_n^{g\circ T}\) converges weakly in probability to the law of \(g(T)\). If \(g\) is continuous and strictly increasing, quantiles satisfy \(\hat r_n^{g\circ T}(1-\alpha)\to_p g\bigl(r(1-\alpha)\bigr)\).
Section 17.4
Problem 17.18 Randomization limit in Example 17.4.1
In Example 17.4.1, for testing \(\mu_i=0\) (regression / orthogonal-design type), verify the asymptotic randomization distribution under the null. Hint: Problem 11.12.
Solution. In the typical setup of Example 17.4.1 the \(X_i\) are independent with means \(\mu_i\) and the group acts by sign flips. Under the null that all \(\mu_i=0\) and the coordinates are symmetric, the test has exact level \(\alpha\). Take \(T_n=\sum a_i X_i\) or a \(\|\hat\beta\|^2\)-type statistic. Under the null with finite variances, \[ \bigl(T_n(\epsilon X),T_n(\epsilon' X)\bigr) \] converges by a multivariate CLT (or Rademacher chaos as in Problem 11.12) to i.i.d. copies of a limit \(R\). Theorem 17.2.3 yields \(\hat R_n\to_p R\). For quadratic / \(\chi^2\)-type statistics the limit is a weighted \(\chi^2\) or \(\chi^2_p\).
Problem 17.19 Show (17.41)
Show that \(M_n=\max_j|T_{n,j}|\Rightarrow\max_j|Y_j|\) where \((Y_1,\ldots,Y_p)\sim N(0,\Gamma)\) (correlation matrix).
Proof. Let \(T_{n,j}=n^{1/2}\bar X_{n,j}/\hat\sigma_{n,j}\) be studentized coordinate means. Under \(H_0:\mu=0\) with finite variances, \[ (T_{n,1},\ldots,T_{n,p})\Rightarrow (Y_1,\ldots,Y_p)\sim N(0,\Gamma), \] where \(\Gamma\) is the correlation matrix (studentization forces unit diagonals). Continuous mapping \(x\mapsto\max_j|x_j|\) yields \[ M_n\Rightarrow\max_{1\le j\le p}|Y_j|, \] which is (17.41).
Problem 17.20 Prove (17.43)
Prove that \((M_n(\epsilon X),M_n(\epsilon'X))\Rightarrow(M,M')\) with \(M,M'\) i.i.d., so that Theorem 17.2.3 applies.
Proof. Let \(\epsilon_{i,j}\) and \(\epsilon'_{i,j}\) be independent Rademacher variables. The \(2p\)-dimensional sum \[ \bigl(n^{-1/2}\sum_i \epsilon_i X_i^{(j)},\, n^{-1/2}\sum_i \epsilon'_i X_i^{(j)}\bigr)_{j=1}^p \] has mean \(0\); within each copy the covariance is \(\mathrm{Cov}(X^{(j)},X^{(k)})\), while cross-covariance between the \(\epsilon\) and \(\epsilon'\) copies is \(0\). A multivariate CLT yields two i.i.d. \(N(0,\Sigma)\) vectors. After studentization the correlation-matrix version has the same limit (\(\hat\sigma\) is consistent under sign flips). Continuous mapping to \(\max|\,\cdot\,|\) gives (17.43). Theorem 17.2.3 then implies that the randomization distribution converges to the limit law of (17.41).
Core chain of Chapter 17: randomization hypothesis \(\Rightarrow\) exact finite-sample level \(\alpha\); the “two independent copies” condition of Theorem 17.2.3 \(\Rightarrow\) randomization law approximates the unconditional null law; studentization restores asymptotic level when the randomization hypothesis fails; local power matches UMPU/\(t\) in regular models (ARE\(=1\)).