Chapter 7 Solutions — Linear Hypotheses

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

Full English solutions to all problems in §7.10 (Problems 7.1–7.45).
Author

Companion solutions

How to use these notes

Item Content
Source E. L. Lehmann & J. P. Romano, Testing Statistical Hypotheses, 4th ed.
Problems location §7.10 Problems (printed pages 348–361)
Prerequisites Chapters 5–6: normal UMPU, \(t\)/\(F\), invariance and UMPI
Notation As in Chapter 7; English exposition
Scope Problems 7.1–7.45 (all problems)

Solution strategy: derive from the canonical form (7.2)–(7.3), least-squares representation (7.14)–(7.15), random-effects canonical densities (7.40)/(7.45), and Hotelling \(T^2\). Bracketed hints from the book are expanded. No official solution manual was used as an authority.

Chapter blueprint

Table 1: Quick reference before solving
Concept Definition / key points Book location
Linear hypothesis \(\xi\in\Omega\) (\(s\)-dim) vs \(\xi\in\omega\) (\(s-r\)-dim) §7.1
Canonical form \(Y=CX\) orthogonal; \(H:\eta_1=\cdots=\eta_r=0\) (7.2)–(7.3)
\(W\), \(W^*\), \(\psi^2\) \(W=U/V\); \(W^*=(U/r)/(V/(n-s))\); \(\psi^2=\sum_1^r\eta_i^2/\sigma^2\) (7.4)–(7.7)
Noncentral \(\chi^2\), \(F\), beta Poisson mixture; MLR \(\Rightarrow\) UMPI rejects large \(W\) (7.6), (7.60)–(7.61)
Least squares form \(W^*=(\|\hat\xi-\hat{\hat\xi}\|^2/r)/(\|X-\hat\xi\|^2/(n-s))\) (7.14)–(7.15)
One-way ANOVA Between/within SS; \(F_{s-1,n-s}\) §7.3, (7.19)
Two-way layout Main effects, interaction; zero-sum constraints §7.4–7.5
Regression \(\xi_i=\alpha+\beta t_i\); slope/intercept \(t\) and joint \(F\) §7.6
Model II (random effects) \(\sigma_A^2/\sigma^2\); variance-ratio \(F\); UMPU §7.7–7.8
Hotelling \(T^2\) \(W=\bar X'S^{-1}\bar X\); \((n-p)W/p\sim F_{p,n-p}\) §7.9

Problem inventory (locked)

Table 2: Chapter 7 §7.10 problem inventory
No. Topic § Page
7.1 Expected numerator/denominator of \(W^*\) §7.1 348–349
7.2 Noncentral \(\chi^2\) density §7.1 349
7.3 Noncentral \(F\) and beta §7.1 349–350
7.4 MLR; UMPI for \(H':\psi^2\le\psi_0^2\) §7.1 350
7.5 Best average power on the sphere §7.1 350–351
7.6–7.7 Admissibility of \(F\) (distant/nearby alternatives) §7.1 351
7.8 Linear parametric function \(\theta=e'\beta\) §7.2 351–352
7.9 Constant difference \(\Delta\) across strata §7.2 352–353
7.10 Known variance: \(\chi^2\) test §7.2 353
7.11 One-way ANOVA expected SS §7.3 353
7.12 Known heteroscedastic variances §7.3 353–354
7.13 Interaction test (7.28) §7.5 354
7.14 \(2\times 2\) interaction and recoding §7.5 354
7.15 Stochastic ordering of noncentral \(\chi^2\) §7.5 354
7.16 Three-factor additive main-effect test §7.5 354
7.17 Latin square §7.5 354–355
7.18 Errors-in-variables reduced to regression §7.6 355
7.19 Comparing two regression lines §7.6 356
7.20 Quadratic regression \(\gamma=0\) §7.6 356
7.21 Model II: UMPU and CIs for \(\epsilon\) §7.7 356
7.22 Intraclass correlation \(\rho\) §7.7 356
7.23 Nested ANOVA tests UMPU §7.8 356
7.24 Unequal \(n_i\) canonical form §7.8 356
7.25 General nested Model II §7.8 356–357
7.26–7.27 Two-way Model II / mixed §7.8 357–358
7.28–7.29 Spherical-errors linear model §7.8 358
7.30–7.37 Additive/interaction random and mixed models §7.8 358–360
7.38–7.45 Multivariate mean, \(T^2\), two-sample §7.9 360–361

Section 7.1

Problem 7.1 Expected sums of squares

NoteProblem statement

Show that the expected values of the numerator and denominator of \(W^*\) in (7.7) are \[ E\Bigl(\frac1r\sum_{i=1}^r Y_i^2\Bigr)=\sigma^2+\frac1r\sum_{i=1}^r\eta_i^2,\qquad E\Bigl(\frac1{n-s}\sum_{i=s+1}^n Y_i^2\Bigr)=\sigma^2. \]

Proof. In canonical form, \(Y_i\sim N(\eta_i,\sigma^2)\) are independent for \(i=1,\ldots,s\), and \(Y_i\sim N(0,\sigma^2)\) are independent for \(i=s+1,\ldots,n\).

For \(i=1,\ldots,r\): \(E(Y_i^2)=\mathrm{Var}(Y_i)+(E Y_i)^2=\sigma^2+\eta_i^2\), so \[ E\Bigl(\frac1r\sum_{i=1}^r Y_i^2\Bigr)=\sigma^2+\frac1r\sum_{i=1}^r\eta_i^2. \] For \(i=s+1,\ldots,n\): \(E(Y_i^2)=\sigma^2\), and there are \(n-s\) such terms, so \[ E\Bigl(\frac1{n-s}\sum_{i=s+1}^n Y_i^2\Bigr)=\sigma^2. \]

TipKey points

The numerator expectation is “effect + error”; the denominator is the unbiased error mean square.

Problem 7.2 Noncentral \(\chi^2\)-distribution

NoteProblem statement
  1. If \(X\sim N(\psi,1)\), show that the density of \(V=X^2\) is a Poisson mixture of central \(\chi^2_{2k+1}\) densities.
  2. If \(Y_i\sim N(\eta_i,1)\) are independent, show \(U=\sum Y_i^2\) is noncentral \(\chi^2_r(\psi^2)\) with \(\psi^2=\sum\eta_i^2\).

(i)

The density of \(X\) is \((2\pi)^{-1/2}\exp\bigl(-(x-\psi)^2/2\bigr)\). For \(V=X^2\) and \(v>0\), \[ p_\psi^V(v)=\frac{e^{-(\psi^2+v)/2}}{\sqrt{2\pi v}}\bigl(e^{\psi\sqrt v}+e^{-\psi\sqrt v}\bigr) =\frac{e^{-(\psi^2+v)/2}}{\sqrt{2\pi v}}\cdot 2\cosh(\psi\sqrt v). \] Expanding \(\cosh\) in power series and using the Gamma identities for half-integers yields \[ p_\psi^V(v)=\sum_{k=0}^\infty P_k(\psi)\,f_{2k+1}(v),\qquad P_k(\psi)=\frac{(\psi^2/2)^k e^{-\psi^2/2}}{k!}, \] where \(f_{2k+1}\) is the central \(\chi^2_{2k+1}\) density: a Poisson(\(\psi^2/2\)) mixture of odd-df chi-squares.

(ii)

Choose an orthogonal transformation \(Z=QY\) so that \(Z_1=\sum_i\eta_i Y_i/\psi\) when \(\psi=\sqrt{\sum\eta_i^2}>0\) (the case \(\psi=0\) is already central). Then the \(Z_i\) are independent \(N(0,1)\) except \(E(Z_1)=\psi\), and \[ U=\sum Y_i^2=\sum Z_i^2=Z_1^2+\sum_{i=2}^r Z_i^2. \] Here \(\sum_{i=2}^r Z_i^2\sim\chi^2_{r-1}\) is independent of \(Z_1^2\). By (i), \(Z_1^2\) is a Poisson mixture of \(\chi^2_{2k+1}\), so \(U\) is the same mixture of \(\chi^2_{r+2k}\): \[ p_\psi^U(u)=\sum_{k=0}^\infty P_k(\psi)\,f_{r+2k}(u), \] with noncentrality \(\psi^2=\sum_{i=1}^r\eta_i^2\).

Problem 7.3 Noncentral \(F\)- and beta-distribution

NoteProblem statement

Let \(Y_1,\ldots,Y_r;Y_{s+1},\ldots,Y_n\) be independent normals with variance \(\sigma^2\), means \(\eta_i\) for \(i\le r\) and \(0\) for \(i>s\).
(i) The density of \(W=\sum_1^r Y_i^2\big/\sum_{s+1}^n Y_i^2\) is (7.6); \((n-s)W/r\) is noncentral \(F\).
(ii) \(B=\sum_1^r Y_i^2\big/\bigl(\sum_1^r Y_i^2+\sum_{s+1}^n Y_i^2\bigr)\) is noncentral beta with density (7.61).

(i)

Write \(U=\sum_1^r Y_i^2/\sigma^2\sim\chi'^2_r(\psi^2)\) with \(\psi^2=\sum\eta_i^2/\sigma^2\) and \(V=\sum_{s+1}^n Y_i^2/\sigma^2\sim\chi^2_{n-s}\), independent. Then \(W=U/V\).

Condition on the Poisson mixture index \(K=k\) so \(U\mid K=k\sim\chi^2_{r+2k}\). Then \[ \frac{U/(r+2k)}{V/(n-s)}\sim F_{r+2k,\,n-s}, \] and transforming to \(W=U/V\) and mixing over \(P_k(\psi)\) yields (7.6). The noncentral \(F\) is \[ F'=\frac{U/r}{V/(n-s)}=\frac{n-s}{r}\,W\sim F_{r,n-s}(\psi^2). \]

(ii)

\(B=U/(U+V)=W/(1+W)\). In the central case \(B\sim\mathrm{Beta}(r/2,(n-s)/2)\). Under the mixture, \[ p_\psi^B(b)=\sum_{k=0}^\infty P_k(\psi)\,g_{\frac r2+k,\,\frac{n-s}2}(b), \] which is (7.61)–(7.62).

Problem 7.4 MLR and \(H':\psi^2\le\psi_0^2\)

NoteProblem statement
  1. The noncentral \(\chi^2\) and \(F\) distributions have strictly monotone likelihood ratio.
  2. Under the assumptions of §7.1, \(H':\psi^2\le\psi_0^2\) is invariant under \(G_1,G_2,G_3\), and the UMPI test rejects \(W>C'\) with \(C'\) determined at \(\psi=\psi_0\).

(i)

General lemma (book hint). If \(f(z)=(\sum b_k z^k)/(\sum a_k z^k)\) with \(a_k,b_k>0\) and \(b_k/a_k\) strictly increasing, then \(f'(z)>0\) because for \(k<n\) one has \(a_k b_n-a_n b_k>0\).

Noncentral \(\chi^2\). From (7.60), the ratio \(p_{\psi_1}(u)/p_{\psi_0}(u)\) is of the form above in the mixture weights, so MLR in \(u\).
Noncentral \(F\)/beta. Formulas (7.6) and (7.61) are Poisson mixtures of the same type, so \(W\) or \(B\) has MLR in the noncentrality (Karlin / the lemma).

(ii)

The groups \(G_1,G_2,G_3\) induce a maximal invariant depending on the parameter only through \(\psi^2\). Both \(H'\) and \(K':\psi^2>\psi_0^2\) are described by \(\psi^2\), so the problem is invariant. The maximal invariant \(W\) has MLR in \(\psi^2\), hence UMPI rejects large \(W\) with \(P_{\psi_0}\{W>C'\}=\alpha\).

TipRemark

The book notes that noncentral \(\chi^2\) and \(F\) are in fact \(\mathrm{STP}_\infty\), so a UMP unbiased+invariant two-sided test exists for \(H:\psi=\psi_0\) vs \(\psi\neq\psi_0\).

Problem 7.5 Best average power

NoteProblem statement
  1. On the sphere \(S=\{\eta:\sum_1^r\eta_i^2/\sigma^2=\rho^2\}\), the \(F\)-test (7.9) maximizes average power for each \((\eta_{r+1},\ldots,\eta_s,\sigma,\rho)\).
  2. Consequently, among tests whose power depends only on \(\psi^2\), (7.9) is UMP.

(i)

Unbiasedness (or similarity) implies that, given \(Y_{r+1},\ldots,Y_s\) and \(U+V=u+v\), the conditional rejection probability equals \(\alpha\) a.e. Fixing \((\eta_{r+1},\ldots,\eta_s,\sigma,\rho)\), maximizing average power over \(S\) reduces to a Neyman–Pearson problem between the spherical average of the density under alternatives and the null density. The likelihood-ratio kernel is \[ g(y_1,\ldots,y_r)=\int_S\exp\Bigl(\sum_{i=1}^r\frac{\eta_i y_i}{\sigma^2}\Bigr)\,dA. \] With \(u=\sum_1^r y_i^2\) and \(\sum\eta_i y_i/\sigma^2=(\rho\sqrt u\cos\beta)/\sigma\), spherical symmetry shows the integral depends on the data only through \(u\), say \(h(u)\). On the hemisphere \(S'=\{0\le\gamma\le\pi/2\}\), \[ h(u)=\int_{S'}\Bigl[\exp\bigl(\tfrac{\rho\sqrt u\cos\gamma}{\sigma}\bigr)+\exp\bigl(-\tfrac{\rho\sqrt u\cos\gamma}{\sigma}\bigr)\Bigr]dA \] is strictly increasing in \(u\). Hence NP rejects large \(u\), i.e. large \(U/(U+V)\), giving (7.9). Under \(H\), \(U/(U+V)\) is independent of \((Y_{r+1},\ldots,Y_s,U+V)\), so the critical value may be taken constant.

(ii)

If the power of \(\phi\) depends only on \(\psi^2\), then on each sphere \(S\) the power is constant and equals its average. By (i), (7.9) maximizes average power on every sphere, hence maximizes power at every \(\psi^2\) in the class of tests with power depending only on \(\psi^2\).

Problem 7.6 \(\alpha\)-admissibility of \(F\) against distant alternatives

NoteProblem statement

Use Theorem 6.7.1 to show that the \(F\)-test (7.7) is \(\alpha\)-admissible against \(\Omega':\psi\ge\psi_1\) for any \(\psi_1>0\).

Proof. In canonical form the acceptance region is \(\sum_1^r Y_i^2\le C\sum_{s+1}^n Y_i^2\) (equivalent to (7.7)). Fixing \((Y_{r+1},\ldots,Y_s)\) and using scale reduces the problem to a spherically symmetric acceptance region in \((Y_1,\ldots,Y_r)\).

After absorbing \(\sigma\) into the scale, the exponential-family density in \((\eta_1,\ldots,\eta_r)\) has a convex acceptance set in the sufficient-statistic space (a ball centered at the origin is convex). Theorem 6.7.1: for exponential families, tests with convex acceptance regions are \(\alpha\)-admissible against “distant” alternatives (here \(\psi\ge\psi_1\)). Thus the \(F\)-test is admissible for \(\Omega'\).

Problem 7.7 Bayes character against nearby alternatives

NoteProblem statement

Given any \(\psi_2>0\), apply Theorem 6.7.2 and Lemma 6.7.1 to obtain the \(F\)-test (7.7) as a Bayes test against a set of alternatives contained in \(\{0<\psi\le\psi_2\}\).

Solution. In canonical form, place a spherically symmetric prior on \(\eta=(\eta_1,\ldots,\eta_r)\) supported in the ball of radius \(\psi_2\sigma\), and a prior \(\Lambda_0\) on the null \(\eta=0\). By Lemma 6.7.1 (Kiefer–Schwartz construction) and spherical symmetry, the Bayes ratio depends on the data through \(\sum_1^r Y_i^2\) and the error sum \(\sum_{s+1}^n Y_i^2\), and the rejection region is \(W^*>C\), i.e. the \(F\)-test.

Theorem 6.7.2: a Bayes test is admissible for alternatives in the support of its prior; hence one obtains admissibility against nearby alternatives \(\psi\le\psi_2\) (as in Lehmann–Stein).

Section 7.2

Problem 7.8 Linear parametric function \(\theta=e'\beta\)

NoteProblem statement

Under the assumptions of §7.1, suppose \(\xi_i=\sum_{j=1}^s a_{ij}\beta_j\) with \(A=(a_{ij})\) of full rank, and let \(\theta=\sum e_j\beta_j\).
(i) The rejection region for \(H:\theta=\theta_0\) is (7.63) (\(|t|\)-form).
(ii) The confidence interval (7.64) is UMA equivariant under a suitable group.

(i)

Without loss of generality \(\theta=\beta_1\) (apply an invertible linear reparametrization of \(\beta\)). The space \(\Omega\) is spanned by the columns \(a_1,\ldots,a_s\) of \(A\); \(\omega=\{\beta_1=0\}\) is spanned by \(a_2,\ldots,a_s\). In orthogonal canonical form, \(c_1\perp\omega\) and \[ \xi=\sum_{j=1}^s\beta_j a_j,\qquad\hat\xi=\sum_{j=1}^s\hat\beta_j a_j=\sum_{i=1}^s Y_i c_i. \] Taking the inner product with \(c_1\) gives \(Y_1\propto\hat\beta_1\). With \(\mathrm{Var}(Y_1)=\sigma^2=\mathrm{Var}(\hat\theta/\sqrt{\sum d_i^2})\) where \(\hat\theta=\sum d_i X_i\), \[ |Y_1|=\frac{|\hat\theta|}{\sqrt{\sum d_i^2}}. \] From the \(r=1\) case of (7.12)–(7.13), \[ \frac{|\hat\theta-\theta_0|/\sqrt{\sum d_i^2}}{\sqrt{\sum(X_i-\hat\xi_i)^2/(n-s)}}>C_0 \] is (7.63); under \(H\) the left side is \(|t_{n-s}|\). A general \(\theta_0\) is reduced to \(\theta=0\) by \(X_i^*=X_i-a_{i1}\theta_0\).

(ii)

In canonical form \(\eta_1=\lambda\beta_1\) with \(|\lambda|=1/\sqrt{\sum d_i^2}\). Testing \(\eta_1=\eta_{10}\) is invariant under:
(a) translations \(Y_i\mapsto Y_i+c_i\) (\(i=2,\ldots,s\));
(b) reflection \(Y_1\mapsto -(Y_1-\eta_{10})+\eta_{10}\);
(c) scale \(c\neq 0\) acting on \((Y_1-\eta_{10},Y_2,\ldots,Y_n)\).
Inverting the UMPI acceptance region yields (7.64); as \(\eta_{10}\) varies, the resulting intervals are UMA equivariant (Lemma 6.11.1).

Problem 7.9 Constant difference \(\Delta\) across strata

NoteProblem statement

Let \(X_{ij}\sim N(\xi_i,\sigma^2)\) and \(Y_{ik}\sim N(\xi_i+\Delta,\sigma^2)\) be independent. Find the UMPI test of \(H:\Delta=0\).

Solution. The parameter \(\theta=\Delta\) is a linear function of the regression coefficients. By Problem 7.8, \[ \hat\theta=\hat\Delta=\frac{\sum_i\frac{m_i n_i}{N_i}(Y_{i\cdot}-X_{i\cdot})}{\sum_i\frac{m_i n_i}{N_i}},\qquad N_i=m_i+n_i. \] Under \(\Delta=\theta\), the stratum means are estimated by pooling after adjusting by \(\hat\theta\), and the residual SS has \(n-s=\sum N_i-(s+1)\) degrees of freedom (\(s\) stratum means plus \(\Delta\)). The rejection region is (7.63) with \(\theta=\Delta\) and \(\theta_0=0\).

Equivalently: the stratum differences \(Y_{i\cdot}-X_{i\cdot}\) have variances \(\sigma^2(1/m_i+1/n_i)\); the optimal combination uses weights \(m_in_i/N_i\), recovering \(\hat\Delta\).

Problem 7.10 Known variance \(\sigma_0^2\)

NoteProblem statement

If \(\sigma=\sigma_0\) is known and \(s\le n\), the UMPI test rejects \[ \sum\bigl(\hat\xi_i-\hat{\hat\xi}_i\bigr)^2>C\sigma_0^2, \] with \(C\) the upper \(\alpha\) quantile of \(\chi^2_r\).

Proof. With \(\sigma\) known the group is reduced: drop the scale group \(G_3\), retain \(G_1\) (translations of nuisance means) and \(G_2\) (rotations of \(Y_1,\ldots,Y_r\)). The maximal invariant is \(U=\sum_1^r Y_i^2\). Under \(H\), \(U/\sigma_0^2\sim\chi^2_r\); under alternatives it is noncentral \(\chi^2_r(\psi^2)\) with MLR in \(U\). Hence UMPI rejects large \(U\), which is (7.65)–(7.66). In least-squares form, \(\sum_1^r Y_i^2=\|\hat\xi-\hat{\hat\xi}\|^2\).

Section 7.3

Problem 7.11 One-way ANOVA expected SS

NoteProblem statement

If \(X_{ij}\sim N(\mu_i,\sigma^2)\) are independent, show \[ E\sum_i n_i(X_{i\cdot}-X_{\cdot\cdot})^2=(s-1)\sigma^2+\sum_i n_i(\mu_i-\mu_\cdot)^2, \] \[ E\sum_i\sum_j(X_{ij}-X_{i\cdot})^2=(n-s)\sigma^2. \]

Proof.
Within groups: for each \(i\), \(\sum_j(X_{ij}-X_{i\cdot})^2/\sigma^2\sim\chi^2_{n_i-1}\), so the expectation is \((n_i-1)\sigma^2\). Summing over \(i\) gives \((n-s)\sigma^2\).

Between groups: write \(Z_i=\sqrt{n_i}X_{i\cdot}\sim N(\sqrt{n_i}\mu_i,\sigma^2)\) independent and \(X_{\cdot\cdot}=\sum n_i X_{i\cdot}/n\). Expanding \[ \sum n_i(X_{i\cdot}-X_{\cdot\cdot})^2=\sum n_i\bigl[(X_{i\cdot}-\mu_i)-(X_{\cdot\cdot}-\mu_\cdot)+(\mu_i-\mu_\cdot)\bigr]^2 \] and taking expectations, cross terms vanish; the random part contributes \((s-1)\sigma^2\) and the deterministic part is \(\sum n_i(\mu_i-\mu_\cdot)^2\). Equivalently, after an orthogonal Helmert transform the between-group coordinates are \(s-1\) independent \(N(0,\sigma^2)\) plus the mean-square contribution of the \(\mu_i\).

Problem 7.12 Heteroscedastic known variances

NoteProblem statement

Let \(Z_i\sim N(\zeta_i,a_i^2)\) be independent with \(a_i\) known.
(i) The UMPI test of \(H:\zeta_1=\cdots=\zeta_s\) rejects for large (7.67).
(ii) The power is the upper tail of noncentral \(\chi^2_{s-1}(\lambda^2)\), with \(\lambda^2\) obtained by replacing \(Z_i\) by \(\zeta_i\) in the left side of (7.67).

(i)

Set \(W_i=Z_i/a_i\sim N(\zeta_i/a_i,1)\). The hypothesis \(H\) is a linear constraint on the means. Weighted GLS gives \[ \hat\zeta=\frac{\sum Z_j/a_j^2}{\sum 1/a_j^2}, \] and the residual \[ \sum_i\frac1{a_i^2}(Z_i-\hat\zeta)^2 \] is the left side of (7.67). With unit known variance this is a Problem 7.10-type \(\chi^2_{s-1}\) test after reducing by the common-translation group.

(ii)

Under alternatives the same quadratic form is noncentral \(\chi^2_{s-1}\) with \[ \lambda^2=\sum_i\frac1{a_i^2}(\zeta_i-\bar\zeta_w)^2,\quad \bar\zeta_w=\frac{\sum\zeta_j/a_j^2}{\sum 1/a_j^2}. \] Power is \(\int_C^\infty d\chi'^2_{s-1}(\lambda^2)\).

Section 7.5

Problem 7.13 Interaction test (7.28)

NoteProblem statement

Verify that the linear-hypothesis test of no interaction in a two-way layout with \(m\) replications is (7.28).

Proof. Model \(\xi_{ij}=\mu+\alpha_i+\beta_j+\gamma_{ij}\) with zero-sum constraints. Full model: \(\dim\Omega=ab\), \(n=abm\), error df \(=(m-1)ab\). Under \(H':\gamma_{ij}=0\), \(\dim\omega=a+b-1\) and \(r=(a-1)(b-1)\). Least squares gives \[ \hat\gamma_{ij}=X_{ij\cdot}-X_{i\cdot\cdot}-X_{\cdot j\cdot}+X_{\cdot\cdot\cdot}, \] \[ \sum_{i,j,k}(\hat\xi_{ij}-\hat{\hat\xi}_{ij})^2=m\sum_{i,j}\hat\gamma_{ij}^2, \] with error SS \(\sum_{ijk}(X_{ijk}-X_{ij\cdot})^2\). Hence \[ W^*=\frac{m\sum_{ij}(X_{ij\cdot}-X_{i\cdot\cdot}-X_{\cdot j\cdot}+X_{\cdot\cdot\cdot})^2/[(a-1)(b-1)]} {\sum_{ijk}(X_{ijk}-X_{ij\cdot})^2/[(m-1)ab]}, \] which is (7.28). Under \(H'\), \(F_{(a-1)(b-1),(m-1)ab}\); noncentrality \(\psi^2=m\sum\gamma_{ij}^2/\sigma^2\).

Problem 7.14 \(2\times 2\) recoding of interaction

NoteProblem statement

For \(a=b=2\), define factor \(B'\) by level 1 when \(A\) and \(B\) are at the same level and level 2 when they differ. Show \(H_{B'}=H_{AB}\) and \(S_{B'}^2=S_{AB}^2\) (and the dual relations).

Proof. In \(2\times 2\) the interaction space is one-dimensional: \(\gamma_{11}=-\gamma_{12}=-\gamma_{21}=\gamma_{22}=\gamma\). The contrast \[ \frac12\bigl[(\xi_{11}+\xi_{22})-(\xi_{12}+\xi_{21})\bigr]=2\gamma \] is exactly the \(AB\) interaction contrast; under the \(A\times B'\) coding it becomes a \(B'\) main-effect contrast. Sums of squares are the same contrast squared (up to a constant factor), so \(S_{B'}^2=S_{AB}^2\), \(H_{B'}=H_{AB}\), and dually \(H_{AB'}=H_B\), \(S_{AB'}^2=S_B^2\).

TipInterpretation

In \(2\times 2\) designs, “main effect vs interaction” depends on the coding of factors (aliasing; Shaffer 1977b).

Problem 7.15 Stochastic ordering of noncentral \(\chi^2\)

NoteProblem statement

If \(\lambda<\lambda'\), then \(X_{\lambda'}\ge_{\mathrm{st}} X_\lambda\) for noncentral \(\chi^2_f\).

Proof. Write noncentral \(\chi^2_f(\lambda^2)=Z_1^2+\sum_2^f Z_i^2\) with \(Z_1\sim N(\lambda,1)\) and \(Z_i\sim N(0,1)\). It suffices that \((Y+\lambda')^2\ge_{\mathrm{st}}(Y+\lambda)^2\) for \(Y\sim N(0,1)\). For \(z>0\), \[ P\{|Y+\lambda'|\le z\}=\Phi(z-\lambda')-\Phi(-z-\lambda') \] decreases in \(|\lambda|\) (unimodal symmetric normal density: coverage of \([-z,z]\) falls as the center moves away from 0). Hence for \(\lambda<\lambda'\) (taken nonnegative), \(P\{X_{\lambda'}\le t\}\le P\{X_\lambda\le t\}\).

Alternatively: MLR from Problem 7.4 plus Lemma 3.4.2 (stochastic order increases with the parameter in an MLR family).

TipApplication

If an additive model is misspecified and error SS absorbs interaction, the error becomes noncentral \(\chi^2\) and is stochastically larger, so the nominal \(F\) test has Type I error \(\le\alpha\), but power decreases as \(\sum\gamma^2\) grows (§7.5).

Problem 7.16 Three-factor additive model

NoteProblem statement

Let \(E(X_{ijk})=\mu+\alpha_i+\beta_j+\gamma_k\) with zero-sum effects. Find the linear-hypothesis test of \(H:\alpha_1=\cdots=\alpha_a=0\).

Solution. Here \(n=abm\), \(s=a+b+m-2\), \(r=a-1\), error df \(=abm-a-b-m+2\). Least squares: \(\hat\alpha_i=X_{i\cdot\cdot}-X_{\cdot\cdot\cdot}\), etc. The hypothesis SS is \(bm\sum_i(X_{i\cdot\cdot}-X_{\cdot\cdot\cdot})^2\), and \[ \text{error SS}=\sum_{ijk}(X_{ijk}-X_{i\cdot\cdot}-X_{\cdot j\cdot}-X_{\cdot\cdot k}+2X_{\cdot\cdot\cdot})^2. \] Reject for large \[ W^*=\frac{bm\sum_i(X_{i\cdot\cdot}-X_{\cdot\cdot\cdot})^2/(a-1)}{\mathrm{error\,SS}/(abm-a-b-m+2)}, \] which is \(F_{a-1,\,abm-a-b-m+2}\) under \(H\), with \(\psi^2=bm\sum\alpha_i^2/\sigma^2\).

Problem 7.17 Latin square

NoteProblem statement

For an \(a=b=m\) Latin square with \(E(X_{ij(k)})=\mu+\alpha_i+\beta_j+\gamma_k\):
(i) parameters are determined by marginal means;
(ii) the least-squares identity;
(iii) \(W^*\), df, and \(\psi^2\) for \(H:\alpha_i=0\).

(i)

Averaging over \(j\) (hence over \(k\)) at fixed \(i\): \(\xi_{i\cdot(\cdot)}=\mu+\alpha_i\). Similarly for columns and letters, and \(\xi_{\cdot\cdot(\cdot)}=\mu\). Thus \(\alpha_i=\xi_{i\cdot(\cdot)}-\xi_{\cdot\cdot(\cdot)}\), etc.

(ii)

Expand \(\sum_{i,j}(x_{ij(k)}-\mu-\alpha_i-\beta_j-\gamma_k)^2\); under the Latin constraints cross terms vanish, giving the orthogonal decomposition into row, column, letter, and residual sums of squares.

(iii)

\(\hat\alpha_i=X_{i\cdot(\cdot)}-X_{\cdot\cdot(\cdot)}\). Numerator \(m\sum_i\hat\alpha_i^2\) with \(m-1\) df; residual SS has df \((m-1)(m-2)\) (total \(m^2-1\) minus three groups of main effects each of df \(m-1\)). Hence \[ W^*=\frac{m\sum_i(X_{i\cdot(\cdot)}-X_{\cdot\cdot(\cdot)})^2/(m-1)}{\mathrm{residual}/(m-1)(m-2)}, \] with \(\psi^2=m\sum\alpha_i^2/\sigma^2\).

Section 7.6

Problem 7.18 Errors-in-variables reduced to regression

NoteProblem statement

True values satisfy \(Y_j'=\alpha+\beta X_j'\); observations are \(x_j=X_j'+U_j\), \(Y_j=Y_j'+V_j\). Show the problem reduces to the regression model of §7.6 when the observed \(x_j\) are treated as fixed.

Solution. Treating observed \(x_j\) as fixed constants, \[ Y_j=\alpha+\beta x_j+W_j,\qquad W_j=V_j-\beta U_j. \] If \(U_j,V_j\) are i.i.d. normal mean zero, then \(W_j\sim N(0,\sigma_V^2+\beta^2\sigma_U^2)\) i.i.d., which is classical linear regression (§7.6). Tests of \(\beta=\beta_0\) or \(\alpha+\beta x_0=c\) follow (7.33) etc.
Note: if interest is in the slope for latent \(X'\) with classical measurement error, the structural model differs; the reduction above is the Berkson / controlled-\(x\) setup.

Problem 7.19 Two regression lines

NoteProblem statement

\(E X_i=\alpha+\beta(u_i-\bar u)\), \(E Y_j=\gamma+\delta(v_j-\bar v)\), common \(\sigma^2\). Find UMPI tests of \(H_1:\beta=\delta\) and \(H_2:\alpha=\gamma,\beta=\delta\).

Solution. Joint model is a linear hypothesis with \(s=4\) parameters and \(n=m+n_{\mathrm{obs}}\) observations.

\(H_1:\beta=\delta\): \(r=1\). Slope estimators \(\hat\beta,\hat\delta\) are independent OLS, and \[ \hat\beta-\hat\delta\sim N\Bigl(0,\sigma^2\bigl(\tfrac1{S_{uu}}+\tfrac1{S_{vv}}\bigr)\Bigr),\quad S_{uu}=\sum(u_i-\bar u)^2. \] Pooled residual \(\mathrm{SSE}_X+\mathrm{SSE}_Y\) has df \(m+n-4\). Reject \[ \frac{|\hat\beta-\hat\delta|}{\hat\sigma\sqrt{1/S_{uu}+1/S_{vv}}}>t_{m+n-4;1-\alpha/2}. \]

\(H_2:\alpha=\gamma,\beta=\delta\): \(r=2\). Under \(H_2\) fit a single regression to the pooled data; the numerator is (unrestricted SSE \(-\) restricted SSE)\(/2\), denominator unrestricted MSE — equivalently the canonical \(W^*\).

Problem 7.20 Quadratic regression \(\gamma=0\)

NoteProblem statement

\(\xi_i=\alpha+\beta t_i+\gamma t_i^2\) with \((t_i^k)_{i=1}^n\) (\(k=0,1,2\)) linearly independent. Write the test of \(\gamma=0\).

Solution. Here \(s=3\), \(r=1\). Normal equations \[ \alpha\sum t_i^k+\beta\sum t_i^{k+1}+\gamma\sum t_i^{k+2}=\sum t_i^k X_i,\quad k=0,1,2 \] determine unique \(\hat\alpha,\hat\beta,\hat\gamma\) as linear functions of \(X\); \(\hat\gamma=\sum c_i X_i\) with \(\sum c_i^2\) from the \((3,3)\) entry of the inverse information matrix. Reject \[ \frac{|\hat\gamma|/\sqrt{\sum c_i^2}}{\sqrt{\sum(X_i-\hat\alpha-\hat\beta t_i-\hat\gamma t_i^2)^2/(n-3)}}>C_0, \] which is \(|t_{n-3}|\) under \(H\) — the special case of Problem 7.8 with \(e=(0,0,1)\).

Section 7.7

Problem 7.21 Model II: UMPU and confidence sets for \(\epsilon=\sigma_A^2/\sigma^2\)

NoteProblem statement
  1. The test (7.41) of \(H:\epsilon\le\epsilon_0\) is UMP unbiased.
  2. Find the UMPU test of \(H:\epsilon=\epsilon_0\) and UMA unbiased confidence sets for \(\epsilon\).

(i)

Canonical form (7.40): \(S_A^2/\tau^2\sim\chi^2_{s-1}\), \(S^2/\sigma^2\sim\chi^2_{(n-1)s}\) independent, \(\tau^2=\sigma^2+n\sigma_A^2\). Testing \(\tau^2/\sigma^2\le 1+n\epsilon_0\) is a two-variance problem. Exponential-family structure yields a UMPU test, which coincides with the UMPI test (7.41) (Ch.5 variance ratio; for \(r=1\), invariant \(\Leftrightarrow\) unbiased by Thm 6.6.1).

(ii)

Two-sided \(H:\epsilon=\epsilon_0\): equal-tailed or UMPU two-sided \(F\) test based on \(F=S_A^2(n-1)s\big/\bigl[S^2(s-1)\bigr]\).

Confidence sets: invert \(H:\epsilon\le\epsilon_0\) for lower bounds (7.42); invert \(H:\epsilon\ge\epsilon_0\) for upper bounds (7.43); invert the two-sided UMPU test for intervals. All are UMA unbiased by the Ch.5 variance-ratio theory.

Problem 7.22 Intraclass correlation

NoteProblem statement

In model (7.39), the correlation between two observations in the same class is \(\rho=\sigma_A^2/(\sigma_A^2+\sigma^2)\).

Proof. \(X_{ij}=\mu+A_i+U_{ij}\). For \(j\neq k\), \[ \mathrm{Cov}(X_{ij},X_{ik})=\mathrm{Var}(A_i)=\sigma_A^2,\qquad \mathrm{Var}(X_{ij})=\sigma_A^2+\sigma^2. \] Hence \(\rho=\sigma_A^2/(\sigma_A^2+\sigma^2)\). With \(\epsilon=\sigma_A^2/\sigma^2\), \(\rho=\epsilon/(1+\epsilon)\).

Section 7.8

Problem 7.23 Nested ANOVA tests UMPU

NoteProblem statement

Show that (7.46) and (7.47) are UMP unbiased.

Proof. The canonical density (7.45) is an exponential family in the reciprocal variances (and mean).

\(H_1\): \(\sigma_A^2/(\sigma^2+n\sigma_B^2)\le\epsilon_0\). Unbiasedness implies Neyman structure: conditional level \(\alpha\) given \(S^2\) a.e. Conditionally, \(S_A^2\) and \(S_B^2\) form a two-variance problem whose UMPU test is (7.46); the critical value does not depend on \(S^2\), so the unconditional test is UMPU.

\(H_2\): \(\sigma_B^2/\sigma^2\le\epsilon_0\) likewise yields (7.47).

Alternatively: relaxing \(\tau^2\ge\sigma^2\), (7.46) is UMPI and Thm 6.6.1 gives UMPU.

Problem 7.24 Unequal \(n_i\)

NoteProblem statement

If the \(n_i\) are not all equal, set \(Y_{i1}=\sqrt{n_i}X_{i\cdot}\) and write a canonical form analogous to (7.40); note that the dimension of the sufficient statistic increases.

Solution. Orthogonal transformation within each group with \(Y_{i1}=\sqrt{n_i}X_{i\cdot}\) gives \[ Y_{i1}\sim N\bigl(\sqrt{n_i}\mu,\,\sigma^2+n_i\sigma_A^2\bigr) \] independent, and within-group \(Y_{ij}\) (\(j\ge 2\)) are \(N(0,\sigma^2)\), all independent.

Because \(\mathrm{Var}(Y_{i1})=\sigma^2+n_i\sigma_A^2\) depends on \(i\), one cannot reduce \((Y_{11},\ldots,Y_{s1})\) by a single orthogonal transform to “one grand mean + one common-\(\tau^2\) chi-square.” The sufficient statistic includes all \(Y_{i1}\) (or \(\bar X_{i\cdot}\)) and the total within SS — higher dimension than in the balanced case (where \((S_A^2,S^2,\bar X_{\cdot\cdot})\) is three-dimensional). No UMPI test depending on a single \(F\) ratio exists.

Problem 7.25 General nested Model II

NoteProblem statement

\(X_{ijk\cdots}=\mu+A_i+B_{ij}+C_{ijk}+\cdots+U\).
(i) Reduce to a generalization of (7.45).
(ii) UMPU tests of successive variance ratios \(\le\epsilon_0\).

(i)

Starting from the innermost level, apply successive orthogonal transforms (cell mean \(\times\sqrt{\text{reps}}\)). Variances accumulate: \[ \sigma^2,\quad \sigma^2+n\sigma_C^2,\quad \sigma^2+n\sigma_C^2+cn\sigma_B^2,\quad\ldots \] yielding independent chi-square sums of squares \(S_U^2,S_C^2,S_B^2,S_A^2,\ldots\) and a grand-mean term.

(ii)

Adjacent mean squares have \(F\) ratios under suitable scaling. Tests such as \[ H_A:\frac{cd\cdots\sigma_A^2}{d\cdots\sigma_B^2+\cdots+\sigma^2}\le\epsilon_0 \] are UMPU and reject for large \(F=\mathrm{MS}_A/\mathrm{MS}_{B}\) with critical values from the boundary central \(F\) — isomorphic to (7.46)–(7.47). Induct on the number of nesting levels.

Problem 7.26 Two-way Model II

NoteProblem statement

\(X_{ijk}=\mu+A_i+B_j+C_{ij}+E_{ijk}\). Find UMP invariant+unbiased tests of
(i) \(\sigma_C^2/\sigma^2\le\) const; (ii) \(\sigma_A^2/(n\sigma_C^2+\sigma^2)\le\) const; (iii) the \(B\)-analogue.

Solution. Define the usual ANOVA sums of squares \(S_A^2,S_B^2,S_C^2,S^2\). An orthogonal transform to \(Z_{ijk}\) yields independent zero-mean normals (except the grand mean) with variances \(\sigma^2\), \(n\sigma_C^2+\sigma^2\), \(nb\sigma_A^2+n\sigma_C^2+\sigma^2\), etc.

Hypothesis Statistic Null distribution
(i) \(\sigma_C^2/\sigma^2\le\epsilon_0\) \(\dfrac{S_C^2/[(a-1)(b-1)]}{(1+n\epsilon_0)S^2/[ab(n-1)]}\) \(F_{(a-1)(b-1),ab(n-1)}\)
(ii) \(\sigma_A^2/(n\sigma_C^2+\sigma^2)\le\epsilon_0\) \(\dfrac{S_A^2/(a-1)}{(1+nb\epsilon_0)S_C^2/[(a-1)(b-1)]}\) \(F_{a-1,(a-1)(b-1)}\)
(iii) for \(B\) symmetric in \(S_B^2,S_C^2\) \(F_{b-1,(a-1)(b-1)}\)
  1. requires \(n>1\); (ii)(iii) use \(S_C^2\) as “error” and work for \(n=1\). All are UMP in the invariant+unbiased class.

Problem 7.27 Mixed model: fixed \(A\), random \(B,C\)

NoteProblem statement

\(\alpha_i\) fixed (\(\sum\alpha_i=0\)), otherwise as in 7.26. Optimal tests for (ii\('\)) \(\sum\alpha_i^2/(n\sigma_C^2+\sigma^2)\) and for (i)(iii).

Solution.
(i)(iii) involve only random variance ratios; the same statistics as Problem 7.26 apply.

(ii\('\)) Testing \(\alpha_i\equiv 0\) (or \(\sum\alpha_i^2/(n\sigma_C^2+\sigma^2)\le c\)) uses the Model I-type \(F\) with interaction as error: \[ \frac{S_A^2/(a-1)}{S_C^2/[(a-1)(b-1)]}>C \] (central \(F\) when \(c=0\); noncentral critical values for general \(c\)). UMP in the invariant+unbiased class.

Problem 7.28 Spherical errors linear model

NoteProblem statement

\(X_i=\xi_i+U_i\) with \(f(u)=q(\sum u_i^2)\) spherical; \(\Omega,\omega,H\) as in §7.1.
(i) After orthogonal transform, \(Y_i=\eta_i+V_i\) with \(V\) still spherical.
(ii) Under \(G_1,G_2,G_3\), \(W^*\) is maximal invariant.

(i)

Orthogonal \(C\) preserves \(\|U\|=\|V\|\), so \(V=CU\) has density \(q(\sum v_i^2)\). Means transform as \(\eta=C\xi\): \(\xi\in\Omega\Rightarrow\eta_{s+1}=\cdots=\eta_n=0\); under \(H\) also \(\eta_1=\cdots=\eta_r=0\).

(ii)

\(G_1\): translate \(Y_{r+1},\ldots,Y_s\); \(G_2\): rotate \((Y_1,\ldots,Y_r)\); \(G_3\): scale. The same orbit argument as in the normal case yields maximal invariant \[ W^*=\bigl(\sum_1^r Y_i^2/r\bigr)\big/\bigl(\sum_{s+1}^n Y_i^2/(n-s)\bigr). \] Spherical symmetry ensures these transformations preserve the model class.

Problem 7.29 Null distribution free of \(q\)

NoteProblem statement

Under Problem 7.28, the null distribution of \(W^*\) does not depend on \(q\) and is the same as normal \(F_{r,n-s}\).

Proof. Under \(H\), \(\eta_1=\cdots=\eta_r=\eta_{s+1}=\cdots=\eta_n=0\), so \((Y_1,\ldots,Y_r,Y_{s+1},\ldots,Y_n)\) are coordinates of a spherical vector (middle coordinates eliminated by \(G_1\)). Direction on the sphere is uniform (Problem 5.11): \[ \sum_1^r Y_i^2\big/\bigl(\sum_1^r Y_i^2+\sum_{s+1}^n Y_i^2\bigr)\sim\mathrm{Beta}(r/2,(n-s)/2), \] independent of \(q\). Hence \(W^*\sim F_{r,n-s}\).

Problem 7.30 Additive two-way random effects

NoteProblem statement

\(X_{ijk}=\mu+A_i+B_j+U_{ijk}\).
(i) Joint density;
(ii) UMPU test of \(H:\sigma_B^2/\sigma^2\le\delta\).

(i)

\(X\) is multivariate normal with mean \(\mu\mathbf{1}\) and \[ \mathrm{Cov}(X_{ijk},X_{i'j'k'})= \sigma_A^2\mathbf{1}_{i=i'}+\sigma_B^2\mathbf{1}_{j=j'}+\sigma^2\mathbf{1}_{(i,j,k)=(i',j',k')}. \] Density \((2\pi)^{-N/2}|\Sigma|^{-1/2}\exp\bigl(-\frac12(x-\mu\mathbf{1})'\Sigma^{-1}(x-\mu\mathbf{1})\bigr)\), \(N=abn\).

(ii)

Without interaction, \(S_B^2=na\sum_j(X_{\cdot j\cdot}-X_{\cdot\cdot\cdot})^2\) and \(S_E^2=\sum_{ijk}(X_{ijk}-X_{i\cdot\cdot}-X_{\cdot j\cdot}+X_{\cdot\cdot\cdot})^2\) are independent, with \(E\,S_B^2/(b-1)=an\sigma_B^2+\sigma^2\) and \(E\,S_E^2/\nu=\sigma^2\). The UMPU variance-ratio test rejects \[ \frac{S_B^2/(b-1)}{(1+an\delta)\,S_E^2/\nu}>C. \]

Problem 7.31 Mixed: fixed rows, random columns

NoteProblem statement

\(X_{ij}=\mu+\alpha_i+B_j+U_{ij}\), \(\sum\alpha_i=0\). Find UMPI tests of
(i) \(H:\alpha_1=\cdots=\alpha_a\);
(ii) \(H:\xi_1=\cdots=\xi_a=0\) (\(\xi_i=\mu+\alpha_i\));
(iii) \(H:\sigma_B^2/\sigma^2\le\delta\) (also UMPU).

Solution. ANOVA: \(S_A=n\sum_i(X_{i\cdot}-X_{\cdot\cdot})^2\), \(S_B=a\sum_j(X_{\cdot j}-X_{\cdot\cdot})^2\), \(S_E=\sum_{ij}(X_{ij}-X_{i\cdot}-X_{\cdot j}+X_{\cdot\cdot})^2\).

(i)

\(H:\alpha_i=0\) (already sum to 0). Use \(S_E\) as error: \[ W^*=\frac{S_A/(a-1)}{S_E/[(a-1)(n-1)]}>C\sim F_{a-1,(a-1)(n-1)}. \] UMPI under translations of \(\alpha\), scale, and the group induced by random column effects.

(ii)

\(H:\xi_i=0\) all \(i\) forces \(\mu=\alpha_i=0\). Numerator uses \(na\bar X_{\cdot\cdot}^2+S_A\) type (\(r=a\)) over \(S_E\).

(iii)

\(\sigma_B^2/\sigma^2\le\delta\): use \(S_B\) and \(S_E\), \[ \frac{S_B/(n-1)}{(1+a\delta)S_E/[(a-1)(n-1)]}>C. \] Exponential family \(\Rightarrow\) UMPU; scale group \(\Rightarrow\) UMPI.

Problem 7.32 Equicorrelation matrix PD

NoteProblem statement

\(\Sigma\) has diagonal \(\sigma^2\) and off-diagonal \(\rho\sigma^2\). Show PD \(\Leftrightarrow\) \(-1/(p-1)<\rho<1\).

Proof. \(\Sigma=\sigma^2\bigl[(1-\rho)I+\rho\mathbf{1}\mathbf{1}'\bigr]\). Eigenvalues:
- \(1-\rho\) (multiplicity \(p-1\)), eigenvectors \(\perp\mathbf{1}\);
- \(1+(p-1)\rho\) (multiplicity 1), eigenvector \(\mathbf{1}\).

PD \(\Leftrightarrow\) \(1-\rho>0\) and \(1+(p-1)\rho>0\), i.e. \(-1/(p-1)<\rho<1\).

Book hint: for \(\rho<0\), on \(\sum y_i^2=1\) the form \(y'\Sigma y/\sigma^2=1+\rho\bigl((\sum y_i)^2-1\bigr)\) is minimized at equal weights \(y_i=p^{-1/2}\), value \(1+(p-1)\rho\).

Problem 7.33 Equicorrelated multivariate mean equality

NoteProblem statement

Under Problem 7.32, find the UMPI test of \(H:\xi_1=\cdots=\xi_p\).

Solution. With \(X_{ij}\) the \(i\)th component of observation \(j\), the model is isomorphic to Problem 7.31 with \(\rho=\sigma_B^2/(\sigma_B^2+\sigma^2)\), except \(\rho\) may be negative down to \(-1/(p-1)\).

Test of equal means under compound symmetry: \[ \frac{n\sum_i(\bar X_{i\cdot}-\bar X_{\cdot\cdot})^2/(p-1)}{\sum_{ij}(X_{ij}-\bar X_{i\cdot}-\bar X_{\cdot j}+\bar X_{\cdot\cdot})^2/[(p-1)(n-1)]}>C, \] which is \(F_{p-1,(p-1)(n-1)}\) under \(H\) (Hotelling-type statistic reduced by equicorrelation).

Problem 7.34 Two-way random with interaction

NoteProblem statement

\(X_{ijk}=\mu+A_i+B_j+C_{ij}+U_{ijk}\).
(i) Application setting; (ii) canonical form; (iii) UMPU tests of \(\sigma_B^2=0\) and \(\sigma_C^2=0\).

(i)

Example: random batches of raw material (\(A\)), random machines (\(B\)), with replications in each combination; batch, machine, and interaction treated as random samples from populations.

(ii)

Same \(Z\)-transform and \(S_A^2,S_B^2,S_C^2,S^2\) as Problem 7.26.

(iii)

  • \(H_2:\sigma_C^2=0\): 7.26(i) with \(\epsilon_0=0\); reject large \(S_C^2/S^2\).
  • \(H_1:\sigma_B^2=0\): use \(S_B^2/S_C^2\) (7.26(iii) with \(\epsilon_0=0\)); UMPU for the one-sided hypothesis even when \(\sigma_C^2>0\) is allowed.

Problem 7.35 Mixed model canonical form

NoteProblem statement

\(X_{ijk}=\mu+\alpha_i+B_j+C_{ij}+U_{ijk}\). Reduce to the canonical form involving \(X_{\cdot\cdot\cdot}\) and the four sums of squares in the problem.

Solution. Successive orthogonal transforms yield independent normal coordinates (means only in directions involving \(\alpha_i\) and \(\mu\)): \[\begin{align*} \frac{\sum_i(X_{i\cdot\cdot}-X_{\cdot\cdot\cdot}-\alpha_i)^2}{n\sigma_C^2+\sigma^2} &\sim\chi'^2_{a-1}\ \text{(noncentrality depends on $\alpha$)},\\ \frac{\sum_j(X_{\cdot j\cdot}-X_{\cdot\cdot\cdot})^2}{an\sigma_B^2+n\sigma_C^2+\sigma^2} &\sim\chi^2_{b-1},\\ \frac{\sum_{ij}(X_{ij\cdot}-X_{i\cdot\cdot}-X_{\cdot j\cdot}+X_{\cdot\cdot\cdot})^2}{n\sigma_C^2+\sigma^2} &\sim\chi^2_{(a-1)(b-1)},\\ \frac{\sum_{ijk}(X_{ijk}-X_{ij\cdot})^2}{\sigma^2} &\sim\chi^2_{ab(n-1)}. \end{align*}\] Grand mean \(X_{\cdot\cdot\cdot}\) has variance of the usual form. This is the stated canonical form.

Problem 7.36 UMP invariant+unbiased tests in mixed model

NoteProblem statement

Under 7.35, give UMP (invariant+unbiased) tests of
(i) \(H_1:\alpha_i=0\);
(ii) \(H_2:\sigma_B^2/(n\sigma_C^2+\sigma^2)\le C\);
(iii) \(H_3:\sigma_C^2/\sigma^2\le C\).

Solution. With \(S_A,S_B,S_C,S_E\) as in 7.26:

Hypothesis Rejection region
(i) \(\alpha_i\equiv 0\) \(\dfrac{S_A/(a-1)}{S_C/[(a-1)(b-1)]}>F^\alpha\)
(ii) \(\sigma_B^2/(n\sigma_C^2+\sigma^2)\le C\) \(\dfrac{S_B/(b-1)}{(1+anC)\,S_C/[(a-1)(b-1)]}>F^\alpha\)
(iii) \(\sigma_C^2/\sigma^2\le C\) \(\dfrac{S_C/[(a-1)(b-1)]}{(1+nC)\,S_E/[ab(n-1)]}>F^\alpha\)
  1. uses interaction MS as error (random columns induce dependence among row means). (ii)(iii) are the variance-ratio tests of 7.26.

Problem 7.37 Multivariate equicorrelation and mixed model

NoteProblem statement

\(an\)-variate normal sample structure: \(E X_{ijk}=\xi_i\); within-group covariances \(\tau^2,\rho_1\tau^2\); between-group covariances all \(\rho_2\tau^2\).
(i) Conditions on \(\rho_1,\rho_2\) for PD of the total covariance;
(ii) correspondence with 7.35.

(i)

Block-diagonalize \(\Sigma\) by Kronecker/compound-symmetry structure. Eigenvalue types:
1. within-group deviations: \(\tau^2(1-\rho_1)\);
2. between–within mix: \(\tau^2\bigl(1-\rho_1+n(\rho_1-\rho_2)\bigr)\);
3. grand-mean direction: \(\tau^2\bigl(1-\rho_1+n(\rho_1-\rho_2)+an\rho_2\bigr)\).

PD \(\Leftrightarrow\) all eigenvalues \(>0\): \[\begin{align*} 1-\rho_1&>0,\\ 1-\rho_1+n(\rho_1-\rho_2)&>0,\\ 1-\rho_1+n(\rho_1-\rho_2)+an\rho_2&>0. \end{align*}\]

(ii)

Matching \(\tau^2=\sigma^2+n\sigma_C^2+\cdots\) and \[ \rho_1=\frac{n\sigma_C^2+\sigma_B^2+\cdots}{\tau^2},\quad \rho_2=\frac{\sigma_B^2+\cdots}{\tau^2} \] yields the covariance structure of the mixed model 7.35.

Section 7.9

Problem 7.38 Singularity of \(S\) and invariant tests

NoteProblem statement

If \(n\le p\) then \(S\) is singular; if \(n>p\) then \(S\) is a.s. nonsingular. When \(n\le p\), the only invariant test under the nonsingular linear group is \(\phi\equiv\alpha\).

Proof. \(S=\sum_{k=1}^n(X_k-\bar X)(X_k-\bar X)'\) is \(p\times p\), spanned by (effectively) \(n-1\) centered vectors, so \(\mathrm{rank}(S)\le\min(p,n-1)\).

  • \(n\le p\Rightarrow n-1<p\Rightarrow S\) singular a.s.
  • \(n>p\Rightarrow n-1\ge p\); under continuous distributions \(n-1\) vectors a.s. span \(\mathbb{R}^p\), so \(S\) is nonsingular a.s.

Invariant tests: the group \(X_k\mapsto C X_k\) (\(C\) nonsingular) acts transitively on almost all sample configurations when \(n\le p\), so the maximal invariant is constant. Hence every invariant test is the constant level-\(\alpha\) test.

Problem 7.39 Maximal invariance of \(W=\bar X'S^{-1}\bar X\)

NoteProblem statement

Show that \(W\) in (7.55) is maximal invariant under the group (7.54).

Proof.
Invariance: \(\bar X^*=C\bar X\), \(S^*=CSC'\) implies \[ W^*=\bar X^{*'}(S^*)^{-1}\bar X^*=\bar X'C'(C')^{-1}S^{-1}C^{-1}C\bar X=W. \]

Maximality: if \(\bar X'S^{-1}\bar X=\bar Y'T^{-1}\bar Y\), standardize by \(S^{-1/2}\) (resp. \(T^{-1/2}\)) and rotate so the mean vector lies along \(e_1\) with length \(\sqrt W\). The two standardized configurations coincide, so some \(C\) connects \((\bar X,S)\) to \((\bar Y,T)\). (If \(\bar X=\bar Y=0\), take \(C=T^{1/2}S^{-1/2}\).)

Problem 7.40 Density of \(W\)

NoteProblem statement

Verify that the density of \(W\) is (7.57).

Proof. When \(\xi=0\), \(n\bar X'S^{-1}\bar X\cdot(n-p)/p\sim F_{p,n-p}\), so the density of \(W\) is the central case of (7.6) with \(r=p\) and error df \(n-p\).

In general \(\psi^2=\xi'\Sigma^{-1}\xi\). As in §7.1, a linear transform reduces to \(\Sigma=I\) with noncentrality in one coordinate; the Hotelling structure yields the same Poisson-mixture density (7.57) as univariate noncentral \(F\). (Alternatively, integrate the joint density of the noncentral Wishart and \(\bar X\).)

Problem 7.41 Equivariance of confidence ellipsoids

NoteProblem statement

The confidence ellipsoids (7.59) are equivariant under the group of §7.9.

Proof. The group \(X_k\mapsto C X_k\) induces \(\xi\mapsto C\xi\), \(\bar X\mapsto C\bar X\), \(S\mapsto CSC'\). The ellipsoid \[ n(\xi-\bar X)'(n-1)S^{-1}(\xi-\bar X)\le C \] transforms as \[ n(C\xi-C\bar X)'(n-1)(CSC')^{-1}(C\xi-C\bar X) =n(\xi-\bar X)'(n-1)S^{-1}(\xi-\bar X), \] so \(\xi\in S(x)\Leftrightarrow C\xi\in S(Cx)\): equivariance. By Lemma 6.11.1 the sets are UMA equivariant.

Problem 7.42 Known \(\Sigma\): UMPI for \(H:\xi=0\)

NoteProblem statement

If \(\Sigma=A^{-1}\) is known, find the UMPI test of \(\xi=0\).

Solution. After whitening \(Z=\Sigma^{-1/2}X\), the group is \(O(p)\) acting on \(\bar Z\). The maximal invariant is \(\|\Sigma^{-1/2}\bar X\|^2=n\bar X'\Sigma^{-1}\bar X\).

Under \(H\), \(n\bar X'\Sigma^{-1}\bar X\sim\chi^2_p\); under alternatives \(\chi'^2_p(n\xi'\Sigma^{-1}\xi)\) with MLR, so UMPI rejects \[ n\bar X'\Sigma^{-1}\bar X>C=\chi^2_{p;1-\alpha}. \] Power is the upper tail of noncentral \(\chi^2_p(n\psi^2)\), \(\psi^2=\xi'\Sigma^{-1}\xi\).

Problem 7.43 Two-sample \(T^2\)

NoteProblem statement

Two independent \(p\)-variate normal samples with common unknown \(\Sigma\); test \(H:\xi=\eta\).

Solution. Sample sizes \(n_1,n_2\), means \(\bar X,\bar Y\), SSP matrices \(S_1,S_2\), \(S=S_1+S_2\), \(N=n_1+n_2\). \[ T^2=\frac{n_1 n_2}{N}(\bar X-\bar Y)'\Bigl(\frac{S}{N-2}\Bigr)^{-1}(\bar X-\bar Y). \] UMPI under \(X_{ki}\mapsto C X_{ki}+a\), same for \(Y\) (common nonsingular \(C\), common \(a\in\mathbb{R}^p\)), rejects large \(T^2\), or \[ \frac{N-p-1}{p(N-2)}T^2>F_{p,N-p-1;1-\alpha}. \] Under \(H\) this is \(F_{p,N-p-1}\); noncentrality \[ \psi^2=\frac{n_1 n_2}{N}(\xi-\eta)'\Sigma^{-1}(\xi-\eta). \]

Problem 7.44 Bayes character of Hotelling \(T^2\)

NoteProblem statement
  1. \(T^2\) is Bayes for the priors \(\Lambda_0,\Lambda_1\) in the problem.
  2. It is admissible against alternatives with \(\psi^2\le c\).

(i)

Prior support:
- on \(\omega\): \((\xi,\Sigma)\) with \(\Sigma^{-1}=A+\eta'\eta\), \(\xi=0\); density \(\lambda_0(\eta)\propto|A+\eta'\eta|^{-n/2}\);
- on \(\Omega'_{A,b}\): \(\Sigma^{-1}=A+\eta'\eta\), \(\xi'=b\Sigma\eta'\); density \(\lambda_1\) includes the extra factor \(\exp\bigl(\tfrac{nb^2}{2}\eta(A+\eta'\eta)^{-1}\eta'\bigr)\).

The marginal likelihood ratio after integrating is an increasing function of \(\bar X'S^{-1}\bar X\) (Kiefer–Schwartz 1965; generalization of Ex.6.7.3), so the Bayes test is the \(T^2\) test.

(ii)

Theorem 6.7.2: a Bayes test is admissible for alternatives in the support of its prior. That support lies in \(\psi^2=\xi'\Sigma^{-1}\xi\le c\) (choose \(b\) so \(b^2\eta(A+\eta'\eta)^{-1}\eta'\le c\) on a compact set and pass to the limit), giving admissibility for \(\{\psi^2\le c\}\).

Problem 7.45 Multivariate linear hypothesis, \(\Sigma\) known

NoteProblem statement

\((X_1,\ldots,X_p)\) has multivariate normal density (7.51); \(\xi\in\Omega\) (\(s\)-dim), \(H:\xi\in\omega\) (\(s-r\)-dim); \(\Sigma\) known.
(i) UMPI and power;
(ii) simple \(H_0\).

(i)

Whiten \(Z=\Sigma^{-1/2}X\sim N_p(\mu,I)\), \(\mu=\Sigma^{-1/2}\xi\). Linear subspaces transform to \(\Omega^*,\omega^*\). The subgroup of the orthogonal group that preserves \(\omega^*\) and rotates in \(\Omega^*\ominus\omega^*\) has maximal invariant \[ U=\|\hat\mu_{\Omega^*}-\hat\mu_{\omega^*}\|^2=(\hat\xi_\Omega-\hat\xi_\omega)'\Sigma^{-1}(\hat\xi_\Omega-\hat\xi_\omega) \] (single observation; for sample size \(n\) multiply by \(n\) or use the mean). UMPI rejects \[ n(\hat\xi_\Omega-\hat\xi_\omega)'\Sigma^{-1}(\hat\xi_\Omega-\hat\xi_\omega)>C=\chi^2_{r;1-\alpha}. \] Under \(H\): \(\chi^2_r\); under alternatives noncentral \(\chi^2_r(\psi^2)\) with \[ \psi^2=n(\xi_\Omega-\xi_\omega)'\Sigma^{-1}(\xi_\Omega-\xi_\omega). \] Power \(P\{\chi'^2_r(\psi^2)>C\}\).

(ii)

Simple \(H_0:\xi=\xi_0\) (\(\omega=\{\xi_0\}\), \(r=s=\dim\Omega\)): if \(\Omega=\mathbb{R}^p\), \[ n(\bar X-\xi_0)'\Sigma^{-1}(\bar X-\xi_0)>\chi^2_{p;1-\alpha}, \] as in Problem 7.42. If \(\xi\) is restricted to \(\Omega\), replace \(\bar X\) by the projection \(\hat\xi_\Omega\) within \(\Omega\), with \(r=\dim\Omega\).

Problem inventory (review)

Table 3: Chapter 7 all 45 problems
Problems Status
7.1–7.7 Complete
7.8–7.10 Complete
7.11–7.17 Complete
7.18–7.20 Complete
7.21–7.22 Complete
7.23–7.37 Complete
7.38–7.45 Complete