Hotelling's T² - Statistics Graduate Level

  1. Which statement correctly describes the relationship between this search and Hotelling's statistic?
    Answer: The maximum is T2T^2 and is attained by a vector proportional to S−1dS^{-1}d. Whenever you see a question about maximizing a standardized linear combination across all directions, think of the Cauchy-Schwarz inequality applied in a Mahalanobis geometry — this is exactly where Hotelling's T2T^2 comes from. The standardized squared mean of a linear combination aa is the ratio n(a⊤d)2a⊤Sa\frac{n(a^\top d)^2}{a^\top S a}. To find the vector aa that maximizes this expression, apply the generalized Cauchy-Schwarz inequality: for any positive definite matrix SS, we have (a⊤d)2≤(a⊤Sa)(d⊤S−1d)(a^\top d)^2 \leq (a^\top S a)(d^\top S^{-1} d), with equality when a∝S−1da \propto S^{-1}d. Substituting back, the maximum value of the ratio is exactly n⋅d⊤S−1d=T2n \cdot d^\top S^{-1} d = T^2, which is precisely Hotelling's statistic. This confirms A is correct: the maximum equals T2T^2 and is achieved at a∝S−1da \propto S^{-1}d. B is wrong because it ignores the covariance structure. Simply projecting along dd does not account for correlations and scale differences among variables — you must "whiten" the direction using S−1S^{-1}, not ignore it. C is wrong on two counts: the maximum is T2T^2, not its square root, and the optimal direction is S−1dS^{-1}d, not SdSd (which would point in the wrong Mahalanobis direction). D confuses this optimization with PCA. The eigenvector of SS with the largest eigenvalue maximizes variance, not the discrepancy from μ0\mu_0 — these are entirely different objectives. As a study tip, remember: maximizing a quadratic ratio over all directions almost always invokes Cauchy-Schwarz, and the optimal direction involves the inverse of the relevant matrix, not the matrix itself.
  2. How does the Hotelling statistic computed from the transformed observations compare with the original statistic?
    Answer: It is unchanged because the transformed mean difference and covariance cancel algebraically. Whenever you see a question about Hotelling's T2T^2 and linear transformations, your instinct should be to work through the algebra of how the statistic is constructed — because the answer almost always comes from careful cancellation. Recall that Hotelling's T2T^2 is defined as T2=n(Xˉ−μ0)⊤S−1(Xˉ−μ0)T^2 = n(\bar{X} - \mu_0)^\top S^{-1} (\bar{X} - \mu_0), where SS is the sample covariance matrix. Under the transformation Y=AX+bY = AX + b, the sample mean transforms as Yˉ=AXˉ+b\bar{Y} = A\bar{X} + b and the null hypothesis mean becomes Aμ0+bA\mu_0 + b. So the mean difference becomes Yˉ−(Aμ0+b)=A(Xˉ−μ0)\bar{Y} - (A\mu_0 + b) = A(\bar{X} - \mu_0). The sample covariance of YY transforms as SY=ASXA⊤S_Y = AS_XA^\top. Plugging into the statistic: TY2=n⋅(A(Xˉ−μ0))⊤(ASXA⊤)−1(A(Xˉ−μ0))T_Y^2 = n \cdot (A(\bar{X}-\mu_0))^\top (AS_XA^\top)^{-1} (A(\bar{X}-\mu_0)). Since (ASXA⊤)−1=(A⊤)−1SX−1A−1(AS_XA^\top)^{-1} = (A^\top)^{-1}S_X^{-1}A^{-1}, the AA terms cancel completely, leaving exactly TX2T_X^2. This confirms B — the statistic is invariant under any nonsingular affine transformation. Choice A is wrong because ∣A∣|A| never appears in the algebraic cancellation; determinants govern volume scaling but not this quadratic form. Choice C is wrong because invariance holds for any nonsingular AA, not just orthogonal matrices — the key is invertibility, not orthogonality. Choice D is wrong for the same reason as A: squaring the determinant has no basis in the cancellation algebra. A useful study tip: affine invariance of T2T^2 is a fundamental property that mirrors how Mahalanobis distance is scale-invariant. Memorizing why — the covariance inverse absorbs the transformation — will help you handle any variant of this question.
  3. Which value is the appropriate paired-sample Hotelling statistic?
    Answer: T2=32/3T^2=32/3, obtained from the covariance of the differences Whenever you see a paired multivariate design, the key insight is that pairing eliminates between-subject variability by working directly with the covariance matrix of the differences, not the individual occasion covariances alone. For paired Hotelling's T2T^2, you first compute the covariance matrix of D=X−YD = X - Y. Using the standard formula for the variance of a difference: SD=SX+SY−C−C′=(3113)+(3113)−(10.50.51)−(10.50.51)=(4114)S_D = S_X + S_Y - C - C' = \begin{pmatrix}3&1\\1&3\end{pmatrix} + \begin{pmatrix}3&1\\1&3\end{pmatrix} - \begin{pmatrix}1&0.5\\0.5&1\end{pmatrix} - \begin{pmatrix}1&0.5\\0.5&1\end{pmatrix} = \begin{pmatrix}4&1\\1&4\end{pmatrix} Then the test statistic is T2=n dˉ′ SD−1 dˉT^2 = n\,\bar{d}'\,S_D^{-1}\,\bar{d}. The inverse of (4114)\begin{pmatrix}4&1\\1&4\end{pmatrix} is 115(4−1−14)\frac{1}{15}\begin{pmatrix}4&-1\\-1&4\end{pmatrix}, so: dˉ′ SD−1 dˉ=115(1,−1)(4−1−14)(1−1)=115(5,−5)(1−1)=1015=23\bar{d}'\,S_D^{-1}\,\bar{d} = \frac{1}{15}(1,-1)\begin{pmatrix}4&-1\\-1&4\end{pmatrix}\begin{pmatrix}1\\-1\end{pmatrix} = \frac{1}{15}(5,-5)\begin{pmatrix}1\\-1\end{pmatrix} = \frac{10}{15} = \frac{2}{3} Multiplying by n=16n = 16 gives T2=323T^2 = \frac{32}{3}, confirming D. Choice A is wrong because it ignores cross-occasion covariance entirely — using SX+SYS_X + S_Y only — which overcounts variance and distorts the statistic. Choice B uses only CC, discarding the within-occasion variances altogether, producing a nonsensical and inflated result. Choice C correctly computes dˉ′ SD−1 dˉ=2/3\bar{d}'\,S_D^{-1}\,\bar{d} = 2/3 but forgets to multiply by nn, omitting the sample-size scaling that makes the statistic comparable to its reference distribution. Your study tip: always derive SD=SX+SY−C−C′S_D = S_X + S_Y - C - C' explicitly in paired multivariate problems — the cross-covariance term is the most commonly dropped component, and dropping it changes both the direction and magnitude of the result.
  4. What is the primary obstacle to using the standard Hotelling statistic and its usual exact FF calibration?
    Answer: The sample covariance is necessarily singular, so its ordinary inverse and the standard exact test are unavailable. Whenever you encounter a question about Hotelling's T2T^2 statistic, your first instinct should be to check the relationship between nn (sample size) and pp (dimension), because this determines whether the sample covariance matrix is even invertible. The standard one-sample Hotelling statistic is T2=n(xˉ−μ0)⊤S−1(xˉ−μ0)T^2 = n(\bar{\mathbf{x}} - \boldsymbol{\mu}_0)^\top \mathbf{S}^{-1} (\bar{\mathbf{x}} - \boldsymbol{\mu}_0), which requires computing S−1\mathbf{S}^{-1}. The sample covariance matrix S\mathbf{S} is constructed from n−1=19n-1 = 19 deviation vectors, each living in R25\mathbb{R}^{25}. Because you only have 19 linearly independent vectors spanning at most a 19-dimensional subspace of R25\mathbb{R}^{25}, the matrix S\mathbf{S} has rank at most 19 and is therefore necessarily singular — regardless of the population. You cannot invert a singular matrix, so T2T^2 is undefined and the exact FF calibration never even gets off the ground. This confirms B as the correct answer. A is wrong because once S\mathbf{S} is singular, the statistic doesn't exist at all — there is no reference distribution to adjust. C fabricates a nonexistent correction formula; dividing by p−np - n has no basis in standard Hotelling theory. D is the subtlest trap: positive definiteness of the population covariance Σ\boldsymbol{\Sigma} does not save you — singularity here is a property of the sample covariance determined purely by the geometry of having fewer observations than dimensions. As a study rule: whenever p≥np \geq n, the sample covariance is singular — memorize this rank condition, as high-dimensional testing questions will repeatedly exploit it.
  5. Which comparison of the two alternatives is correct?
    Answer: The low-variance direction has nine times the noncentrality and therefore greater power. When you see a question involving Hotelling's T2T^2 and directional mean shifts, the key concept to invoke is the noncentrality parameter, which governs power. For a one-sample Hotelling test, the noncentrality is δ2=n⋅μTΣ−1μ\delta^2 = n \cdot \boldsymbol{\mu}^T \boldsymbol{\Sigma}^{-1} \boldsymbol{\mu}. Notice that the covariance matrix appears inverted — this is the critical insight. If the mean shift μ\boldsymbol{\mu} lies entirely along an eigenvector of Σ\boldsymbol{\Sigma} with eigenvalue λ\lambda, then Σ−1\boldsymbol{\Sigma}^{-1} acts on that direction with eigenvalue 1/λ1/\lambda. So the noncentrality becomes δ2=n⋅h2/λ\delta^2 = n \cdot h^2 / \lambda. A smaller eigenvalue (less variance) means a larger noncentrality — the test finds it easier to detect signal in directions where the data naturally vary little. When λ=1\lambda = 1, the noncentrality is nh2nh^2; when λ=9\lambda = 9, it drops to nh2/9nh^2/9. The low-variance direction yields nine times the noncentrality, giving it substantially greater power. This confirms C is correct. A is wrong because Hotelling's test does not depend only on Euclidean length — it weights directions by the inverse covariance, so geometry relative to Σ\boldsymbol{\Sigma} matters enormously. B inverts the logic entirely: high variance means the signal is harder to distinguish from noise, reducing noncentrality, not increasing it. D gets the ratio right (nine, not three) but incorrectly attributes it to standard deviations entering linearly — the noncentrality involves Σ−1\boldsymbol{\Sigma}^{-1}, so eigenvalues (not their square roots) determine the ratio. Remember: Σ−1\boldsymbol{\Sigma}^{-1} in the noncentrality means low variance = high power. The test is most sensitive in the directions the data vary least.
  6. For testing equality of the two population mean vectors, which statement gives the correct two-sample Hotelling statistic and its exact FF transformation?
    Answer: T2=40/3T^2=40/3 and F=6.4F=6.4 with degrees of freedom 22 and 2424 When you encounter a two-sample Hotelling T2T^2 problem, your first move is computing the scalar coefficient, then the quadratic form, then converting to an FF statistic with the right degrees of freedom. The pooled scalar coefficient combines both sample sizes: n1n2n1+n2=12⋅1527=18027=203\frac{n_1 n_2}{n_1+n_2} = \frac{12 \cdot 15}{27} = \frac{180}{27} = \frac{20}{3}. Next, invert SpS_p. For a 2×22\times2 matrix with determinant 4−1=34-1=3, you get Sp−1=13(2−1−12)S_p^{-1} = \frac{1}{3}\begin{pmatrix}2&-1\\-1&2\end{pmatrix}. The quadratic form is (1,−1)Sp−1(1,−1)′=13[(2)(1)+(−1)(−1)+(−1)(1)+(2)(1)]=13(2+1+1+2)=2(1,-1)S_p^{-1}(1,-1)' = \frac{1}{3}[(2)(1)+(-1)(-1)+(-1)(1)+(2)(1)] = \frac{1}{3}(2+1+1+2) = 2. So T2=203⋅2=403T^2 = \frac{20}{3}\cdot 2 = \frac{40}{3}. The exact FF transformation is F=n1+n2−p−1(n1+n2−2)p T2=242⋅2⋅403=6⋅403⋅14=6.46‾F = \frac{n_1+n_2-p-1}{(n_1+n_2-2)p}\,T^2 = \frac{24}{2\cdot 2}\cdot\frac{40}{3} = 6\cdot\frac{40}{3}\cdot\frac{1}{4} = 6.4\overline{6}... more precisely, F=244⋅403=6⋅103⋅13F = \frac{24}{4}\cdot\frac{40}{3} = 6\cdot\frac{10}{3}\cdot\frac{1}{3}—let's be clean: F=2452⋅403F = \frac{24}{52}\cdot\frac{40}{3}... The formula gives F=n1+n2−p−1(n1+n2−2) p T2=244⋅403=6⋅4012F = \frac{n_1+n_2-p-1}{(n_1+n_2-2)\,p}\,T^2 = \frac{24}{4}\cdot\frac{40}{3} = 6\cdot\frac{40}{12}... simplifying directly: 244⋅403=6⋅4012=24012\frac{24}{4}\cdot\frac{40}{3} = 6\cdot\frac{40}{12} = \frac{240}{12}... =24⋅404⋅3⋅12= \frac{24\cdot 40}{4\cdot 3\cdot 12}. Cleanly: 6×103=603⋅1...6 \times \frac{10}{3} = \frac{60}{3}\cdot\frac{1}{...}. Simply: 244⋅403=96012=80/...\frac{24}{4}\cdot\frac{40}{3} = \frac{960}{12} = 80/.... Direct: numerator 24×40=96024\times40=960, denominator 4×3=124\times3=12... wait, F=(n1+n2−p−1)(n1+n2−2)pT2=24(25)(2)⋅403=960150=6.4F=\frac{(n_1+n_2-p-1)}{(n_1+n_2-2)p}T^2=\frac{24}{(25)(2)}\cdot\frac{40}{3}=\frac{960}{150}=6.4. The FF distribution has p=2p=2 and n1+n2−p−1=24n_1+n_2-p-1=24 degrees of freedom, confirming answer A. Choice B uses df2=25df_2=25, which incorrectly applies n1+n2−pn_1+n_2-p rather than n1+n2−p−1n_1+n_2-p-1. Choice C uses a wrong T2T^2 value (likely from failing to invert SpS_p correctly). Choice D computes FF without dividing by (n1+n2−2)(n_1+n_2-2) in the denominator, inflating the result. Remember: the FF degrees of freedom are always pp and n1+n2−p−1n_1+n_2-p-1
  7. What is the value of the one-sample Hotelling statistic T2=n(xˉ−μ0)′S−1(xˉ−μ0)T^2=n(\bar{x}-\mu_0)'S^{-1}(\bar{x}-\mu_0)?
    Answer: 2020 Hotelling's T2T^2 statistic generalizes the univariate tt-statistic to multivariate settings, and the core computational challenge is always inverting the sample covariance matrix SS. When you see this type of question, focus first on getting S−1S^{-1} correct — that's where most errors occur. For a 2×2 matrix S=(4112)S = \begin{pmatrix}4&1\\1&2\end{pmatrix}, the inverse is S−1=1det⁡(S)(2−1−14)S^{-1} = \frac{1}{\det(S)}\begin{pmatrix}2&-1\\-1&4\end{pmatrix}. The determinant is det⁡(S)=(4)(2)−(1)(1)=7\det(S) = (4)(2)-(1)(1) = 7, so S−1=17(2−1−14)S^{-1} = \frac{1}{7}\begin{pmatrix}2&-1\\-1&4\end{pmatrix}. Now compute the quadratic form with d=(1,2)′d = (1,2)': first find S−1d=17(2(1)+(−1)(2)(−1)(1)+4(2))=17(07)=(01)S^{-1}d = \frac{1}{7}\begin{pmatrix}2(1)+(-1)(2)\\(-1)(1)+4(2)\end{pmatrix} = \frac{1}{7}\begin{pmatrix}0\\7\end{pmatrix} = \begin{pmatrix}0\\1\end{pmatrix}. Then d′S−1d=(1,2)(01)=2d'S^{-1}d = (1,2)\begin{pmatrix}0\\1\end{pmatrix} = 2. Finally, T2=n⋅2=10×2=20T^2 = n \cdot 2 = 10 \times 2 = \mathbf{20}, confirming answer B. Choice A (2) forgets to multiply by n=10n=10 — it's just the quadratic form d′S−1dd'S^{-1}d without the sample size scaling. Choice C (22.5) likely results from using the raw matrix entries without properly inverting SS, perhaps computing d′Sd=(1,2)(4112)(12)=(6,5)(12)=16d'Sd = (1,2)\begin{pmatrix}4&1\\1&2\end{pmatrix}\begin{pmatrix}1\\2\end{pmatrix} = (6,5)\begin{pmatrix}1\\2\end{pmatrix}=16... or mishandling the determinant. Choice D (200) inflates the result by skipping the 1/det⁡(S)1/\det(S) scaling entirely, treating S−1S^{-1} as (2−1−14)\begin{pmatrix}2&-1\\-1&4\end{pmatrix} without dividing by 7. Your study tip: always write out the two-step matrix inversion explicitly — compute the determinant first, then the adjugate — before touching the quadratic form. Rushing through S−1S^{-1} is the single most common source of error on multivariate computation problems.
  8. Which transformed statistic and null reference distribution should be used for the exact test?
    Answer: F=3.58F=3.58 with degrees of freedom 33 and 1717 Whenever you see a one-sample Hotelling's T2T^2 problem, your first instinct should be to recall the exact FF transformation. The key formula is: F=n−pp(n−1)⋅T2F = \frac{n - p}{p(n-1)} \cdot T^2 with degrees of freedom pp and n−pn - p. This transformation is exact under multivariate normality — not approximate — which is why this question emphasizes "exact test." Plugging in T2=12T^2 = 12, n=20n = 20, and p=3p = 3: F=20−33(20−1)⋅12=1757⋅12=20457≈3.58F = \frac{20 - 3}{3(20 - 1)} \cdot 12 = \frac{17}{57} \cdot 12 = \frac{204}{57} \approx 3.58 The degrees of freedom are p=3p = 3 (numerator) and n−p=20−3=17n - p = 20 - 3 = 17 (denominator). This confirms C is correct. Now trace where each wrong answer goes astray. A uses F=T2/p=12/3=4.00F = T^2/p = 12/3 = 4.00 with df (3,19)(3, 19) — this ignores the scaling factor entirely and uses the wrong denominator df. B gets n−pn - p wrong, using 1616 instead of 1717 (an off-by-one error, perhaps confusing n−p−1n - p - 1), and the FF value 3.793.79 doesn't match the correct formula either. D gets the FF value right at 3.583.58 but uses 1919 as the denominator df — a tempting trap since n−1=19n - 1 = 19 appears naturally in the denominator of the formula, but the denominator degrees of freedom for the FF distribution is n−pn - p, not n−1n - 1. As a memory anchor: the denominator df equals n−pn - p, the same quantity that appears in the numerator of the scaling factor. Recognizing this symmetry helps you avoid the n−1n-1 trap that snares many students.
  9. For a fixed nonzero vector aa, which interval for a′μa'\mu is implied by the simultaneous Hotelling confidence region with confidence level 1−α1-\alpha?
    Answer: a′xˉ±(c/n) a′Saa'\bar{x}\mathbin{\pm}\sqrt{(c/n)\,a'Sa} Whenever you see a question about Hotelling's T2T^2 simultaneous confidence regions, your job is to translate the ellipsoidal region in Rp\mathbb{R}^p into a marginal interval for a linear combination a′μa'\mu. The Hotelling region contains all μ\mu satisfying n(xˉ−μ)′S−1(xˉ−μ)≤cn(\bar{x}-\mu)'S^{-1}(\bar{x}-\mu)\leq c. To find the implied interval for a′μa'\mu, you project this ellipsoid onto the direction aa. The key identity is that the extremes of a′μa'\mu over the ellipsoid are achieved when you maximize/minimize subject to the constraint. Applying the Cauchy-Schwarz inequality to the quadratic form yields: ∣a′xˉ−a′μ∣≤cn a′Sa|a'\bar{x}-a'\mu|\leq\sqrt{\frac{c}{n}\,a'Sa} which gives the interval a′xˉ±(c/n) a′Saa'\bar{x}\pm\sqrt{(c/n)\,a'Sa}, confirming C is correct. A is wrong because it omits the crucial 1/n1/n factor. The sample mean has variance Σ/n\Sigma/n, estimated by S/nS/n, so dropping nn inflates the interval incorrectly — it treats the variance as if you had a single observation rather than a mean. B is a trap: it looks like a standard univariate tt-interval for a′xˉa'\bar{x}. While tn−1t_{n-1} intervals are valid for a single pre-specified direction, they do not provide simultaneous coverage over all directions aa. Hotelling uses the FF-based critical value cc to account for searching over all linear combinations simultaneously. D replaces a′Saa'Sa with a′S−1aa'S^{-1}a, which appears in the Hotelling statistic itself but not in the projected variance of a′xˉa'\bar{x}. Confusing the role of S−1S^{-1} in the test statistic with the variance of the projection is a common error. Study tip: Always track whether you're working with the quadratic form for the test statistic (uses S−1S^{-1}) versus the variance of a linear combination (uses SS), and never forget the 1/n1/n that comes from working with the sample mean.
  10. Which claim about the null distribution is most accurate?
    Answer: The exact FF distribution need not hold for nonnormal populations, but T2T^2 converges in distribution to χp2\chi_p^2 under the null as n→∞n\to\infty. When you see a question about Hotelling's T2T^2 test, the key distinction to keep in mind is between exact finite-sample results and asymptotic results, and precisely which distributional assumptions drive each. The exact FF distribution for Hotelling's T2T^2 relies critically on multivariate normality. Under H0H_0, you need the sample mean vector to be normal and the sample covariance matrix to follow a Wishart distribution — and the Wishart distribution is derived specifically under multivariate normality, not under broader assumptions. With a fixed pp and n→∞n \to \infty, the multivariate central limit theorem guarantees that n(xˉ−μ)\sqrt{n}(\bar{\mathbf{x}} - \boldsymbol{\mu}) converges to a multivariate normal, and standard arguments then show T2=n(xˉ−μ0)⊤S−1(xˉ−μ0)→dχp2T^2 = n(\bar{\mathbf{x}} - \boldsymbol{\mu}_0)^\top S^{-1}(\bar{\mathbf{x}} - \boldsymbol{\mu}_0) \xrightarrow{d} \chi^2_p. This makes D correct: the exact FF need not hold for nonnormal populations, but the asymptotic χp2\chi^2_p null distribution does. A is wrong because marginal normality of each coordinate does not imply joint multivariate normality, which is what the exact result requires. B is wrong because elliptical symmetry alone does not guarantee the Wishart distribution for SS — that result is specific to the multivariate normal family. C is wrong on two counts: mutual independence of coordinates is neither required nor sufficient for the exact FF result under multivariate normality, and it misidentifies the actual assumption structure entirely. Your study tip: always ask whether a distributional result is exact (requiring full multivariate normality) or asymptotic (requiring only finite second moments plus the CLT). The exam frequently tests whether you conflate these two regimes.

Start this quiz