Statistics Graduate Level Quiz: Hotellings T Squared
10 questions · exam conditions
0:00
Hotellings T SquaredQuestion 1 of 10

For a one-sample Hotelling test with dimension p=3p=3 and sample size n=20n=20, the observed statistic is T2=12T^2=12. Assume the observations are independent and multivariate normal.

Which transformed statistic and null reference distribution should be used for the exact test?

F=4.00F=4.00 with degrees of freedom 33 and 1919
F=3.79F=3.79 with degrees of freedom 33 and 1616
F=3.58F=3.58 with degrees of freedom 33 and 1717
F=3.58F=3.58 with degrees of freedom 33 and 1919
← Back to quizzes

Statistics Graduate Level Quiz

Statistics Graduate Level Quiz: Hotellings T Squared

Practice Hotellings T Squared in Statistics Graduate Level with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.

What this quiz covers

This quiz focuses on Hotellings T Squared, giving you a quick way to practice the rules, question types, and explanations that matter most for Statistics Graduate Level.

How to use this quiz

Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.

All questions

Question 1

For a one-sample Hotelling test with dimension p=3p=3 and sample size n=20n=20, the observed statistic is T2=12T^2=12. Assume the observations are independent and multivariate normal.

Which transformed statistic and null reference distribution should be used for the exact test?

  1. F=4.00F=4.00 with degrees of freedom 33 and 1919
  2. F=3.79F=3.79 with degrees of freedom 33 and 1616
  3. F=3.58F=3.58 with degrees of freedom 33 and 1717 (correct answer)
  4. F=3.58F=3.58 with degrees of freedom 33 and 1919
Explanation: 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=npp(n1)T2F = \frac{n - p}{p(n-1)} \cdot T^2 with degrees of freedom pp and npn - 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=2033(201)12=175712=204573.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 np=203=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 npn - p wrong, using 1616 instead of 1717 (an off-by-one error, perhaps confusing np1n - 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 n1=19n - 1 = 19 appears naturally in the denominator of the formula, but the denominator degrees of freedom for the FF distribution is npn - p, not n1n - 1. As a memory anchor: the denominator df equals npn - p, the same quantity that appears in the numerator of the scaling factor. Recognizing this symmetry helps you avoid the n1n-1 trap that snares many students.

Question 2

A one-sample Hotelling test is performed on pp variables. Before testing, each observation is transformed as Y=AX+bY=AX+b, where AA is a fixed nonsingular matrix. The transformed null mean is taken to be Aμ0+bA\mu_0+b.

How does the Hotelling statistic computed from the transformed observations compare with the original statistic?

  1. It is multiplied by A|A| because the covariance volume changes under the transformation.
  2. It is unchanged because the transformed mean difference and covariance cancel algebraically. (correct answer)
  3. It is unchanged only when AA is orthogonal, since general rescaling changes the statistic.
  4. It is multiplied by A2|A|^2 because the statistic is a squared multivariate distance.
Explanation: 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)S1(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=ASXAS_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)1SX1A1(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.

Question 3

A one-sample mean vector is estimated from nn independent multivariate normal observations of dimension pp. Define c=p(n1)npFp,np(1α)c=\frac{p(n-1)}{n-p}F_{p,n-p}(1-\alpha), where SS is the sample covariance matrix.

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?

  1. axˉ±caSaa'\bar{x}\mathbin{\pm}\sqrt{c\,a'Sa}
  2. axˉ±tn1(1α/2)aSa/na'\bar{x}\mathbin{\pm}t_{n-1}(1-\alpha/2)\sqrt{a'Sa/n}
  3. axˉ±(c/n)aSaa'\bar{x}\mathbin{\pm}\sqrt{(c/n)\,a'Sa} (correct answer)
  4. axˉ±(c/n)aS1aa'\bar{x}\mathbin{\pm}\sqrt{(c/n)\,a'S^{-1}a}
Explanation: 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ˉμ)S1(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: axˉaμcnaSa|a'\bar{x}-a'\mu|\leq\sqrt{\frac{c}{n}\,a'Sa} which gives the interval axˉ±(c/n)aSaa'\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 axˉa'\bar{x}. While tn1t_{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 aSaa'Sa with aS1aa'S^{-1}a, which appears in the Hotelling statistic itself but not in the projected variance of axˉa'\bar{x}. Confusing the role of S1S^{-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 S1S^{-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.

Question 4

An analyst applies the usual one-sample Hotelling test to independent observations from a nonnormal population having a finite, positive-definite covariance matrix. The dimension pp is fixed while the sample size increases.

Which claim about the null distribution is most accurate?

  1. The usual exact FF distribution remains valid whenever every coordinate is marginally normal.
  2. The usual exact FF distribution remains valid for any elliptically symmetric population, because the Wishart distribution applies to that entire class.
  3. The exact test additionally requires that all pp coordinates be mutually independent, even under multivariate normality.
  4. 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 nn\to\infty. (correct answer)
Explanation: 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 nn \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)S1(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.

Question 5

A researcher observes n=20n=20 independent subjects on p=25p=25 outcomes and proposes using the ordinary one-sample Hotelling test based on the sample covariance matrix.

What is the primary obstacle to using the standard Hotelling statistic and its usual exact FF calibration?

  1. The statistic exists, but its reference distribution changes to F25,19F_{25,19} because the dimension exceeds the sample size.
  2. The sample covariance is necessarily singular, so its ordinary inverse and the standard exact test are unavailable. (correct answer)
  3. The statistic exists after centering, but it must be divided by pnp-n before applying the standard calibration.
  4. The covariance is invertible whenever the population covariance is positive definite, so no obstacle arises.
Explanation: 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)S1(xˉμ0)T^2 = n(\bar{\mathbf{x}} - \boldsymbol{\mu}_0)^\top \mathbf{S}^{-1} (\bar{\mathbf{x}} - \boldsymbol{\mu}_0), which requires computing S1\mathbf{S}^{-1}. The sample covariance matrix S\mathbf{S} is constructed from n1=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 pnp - 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 pnp \geq n, the sample covariance is singular — memorize this rank condition, as high-dimensional testing questions will repeatedly exploit it.

Question 6

A bivariate normal population has covariance eigenvalues 11 and 99. Consider two alternatives to a one-sample Hotelling test. In the first, the mean shift has Euclidean length hh and lies entirely in the eigenvector direction corresponding to eigenvalue 11. In the second, it has the same length hh but lies in the direction corresponding to eigenvalue 99. The sample size is the same under both alternatives.

Which comparison of the two alternatives is correct?

  1. They have equal power because Hotelling's test depends only on the Euclidean length of the mean shift.
  2. The high-variance direction has nine times the noncentrality and therefore greater power.
  3. The low-variance direction has nine times the noncentrality and therefore greater power. (correct answer)
  4. The low-variance direction has three times the noncentrality because standard deviations enter linearly.
Explanation: 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=nh2/λ\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.

Question 7

Two independent multivariate normal samples have sizes n1=12n_1=12 and n2=15n_2=15. There are p=2p=2 response variables, the estimated common covariance matrix is Sp=(2112)S_p=\begin{pmatrix}2&1\\1&2\end{pmatrix} , and the difference in sample means is xˉ1xˉ2=(1,1)\bar{x}_1-\bar{x}_2=(1,-1)'.

For testing equality of the two population mean vectors, which statement gives the correct two-sample Hotelling statistic and its exact FF transformation?

  1. T2=40/3T^2=40/3 and F=6.4F=6.4 with degrees of freedom 22 and 2424 (correct answer)
  2. T2=40/3T^2=40/3 and F=20/3F=20/3 with degrees of freedom 22 and 2525
  3. T2=14.4T^2=14.4 and F=6.912F=6.912 with degrees of freedom 22 and 2424
  4. T2=40/3T^2=40/3 and F=12.8F=12.8 with degrees of freedom 22 and 2424
Explanation: 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=121527=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 41=34-1=3, you get Sp1=13(2112)S_p^{-1} = \frac{1}{3}\begin{pmatrix}2&-1\\-1&2\end{pmatrix} . The quadratic form is (1,1)Sp1(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=2032=403T^2 = \frac{20}{3}\cdot 2 = \frac{40}{3}. The exact FF transformation is F=n1+n2p1(n1+n22)pT2=2422403=640314=6.46F = \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=244403=610313F = \frac{24}{4}\cdot\frac{40}{3} = 6\cdot\frac{10}{3}\cdot\frac{1}{3}—let's be clean: F=2452403F = \frac{24}{52}\cdot\frac{40}{3}... The formula gives F=n1+n2p1(n1+n22)pT2=244403=64012F = \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: 244403=64012=24012\frac{24}{4}\cdot\frac{40}{3} = 6\cdot\frac{40}{12} = \frac{240}{12}... =24404312= \frac{24\cdot 40}{4\cdot 3\cdot 12}. Cleanly: 6×103=6031...6 \times \frac{10}{3} = \frac{60}{3}\cdot\frac{1}{...}. Simply: 244403=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+n2p1)(n1+n22)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+n2p1=24n_1+n_2-p-1=24 degrees of freedom, confirming answer A. Choice B uses df2=25df_2=25, which incorrectly applies n1+n2pn_1+n_2-p rather than n1+n2p1n_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+n22)(n_1+n_2-2) in the denominator, inflating the result. Remember: the FF degrees of freedom are always pp and n1+n2p1n_1+n_2-p-1

Question 8

Sixteen subjects are measured before and after an intervention on two outcomes. Let D=XYD=X-Y denote the within-subject difference. The sample mean difference is dˉ=(1,1)\bar{d}=(1,-1)'. The within-occasion covariance matrices are both (3113)\begin{pmatrix}3&1\\1&3\end{pmatrix}, and the sample cross-covariance between the two occasions is $$C=\begin{pmatrix}1&0.5\0.5&1\end{pmatrix}

Which value is the appropriate paired-sample Hotelling statistic?

  1. T2=8T^2=8, obtained by ignoring the cross-occasion covariance
  2. T2=64T^2=64, obtained by using the cross-covariance matrix alone
  3. T2=2/3T^2=2/3, obtained without the paired sample-size multiplier
  4. T2=32/3T^2=32/3, obtained from the covariance of the differences (correct answer)
Explanation: 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=XYD = X - Y. Using the standard formula for the variance of a difference: Then the test statistic is T2=ndˉSD1dˉT^2 = n\,\bar{d}'\,S_D^{-1}\,\bar{d}. The inverse of (4114)\begin{pmatrix}4&1\\1&4\end{pmatrix} is $$\frac{1}{15}\begin{pmatrix}4&-1\-1&4\end{pmatrix} $$\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 = 16$$ gives $$T^2 = \frac{32}{3}$$, confirming **D**. Choice **A** is wrong because it ignores cross-occasion covariance entirely — using $$S_X + S_Y$$ only — which overcounts variance and distorts the statistic. Choice **B** uses only $$C$$, discarding the within-occasion variances altogether, producing a nonsensical and inflated result. Choice **C** correctly computes $$\bar{d}'\,S_D^{-1}\,\bar{d} = 2/3$$ but forgets to multiply by $$n$$, omitting the sample-size scaling that makes the statistic comparable to its reference distribution. Your study tip: always derive $$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.

Question 9

For a one-sample problem, let d=xˉμ0d=\bar{x}-\mu_0 and suppose the sample covariance matrix SS is positive definite. After examining the data, an investigator searches over all nonzero vectors aa for the standardized linear combination that appears most inconsistent with the null.

Which statement correctly describes the relationship between this search and Hotelling's statistic?

  1. The maximum is T2T^2 and is attained by a vector proportional to S1dS^{-1}d. (correct answer)
  2. The maximum is T2T^2 and is attained by a vector proportional to dd regardless of covariance.
  3. The maximum is T2\sqrt{T^2} and is attained by a vector proportional to SdSd.
  4. The maximum is T2/pT^2/p and is attained by the eigenvector of SS with largest eigenvalue.
Explanation: 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(ad)2aSa\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 (ad)2(aSa)(dS1d)(a^\top d)^2 \leq (a^\top S a)(d^\top S^{-1} d), with equality when aS1da \propto S^{-1}d. Substituting back, the maximum value of the ratio is exactly ndS1d=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 aS1da \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 S1S^{-1}, not ignore it. C is wrong on two counts: the maximum is T2T^2, not its square root, and the optimal direction is S1dS^{-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.

Question 10

A random sample of size n=10n=10 is drawn from a bivariate normal population. The sample mean minus the hypothesized mean is xˉμ0=(1,2)\bar{x}-\mu_0=(1,2)', and the sample covariance matrix is $$S=\begin{pmatrix}4&1\1&2\end{pmatrix}

What is the value of the one-sample Hotelling statistic T2=n(xˉμ0)S1(xˉμ0)T^2=n(\bar{x}-\mu_0)'S^{-1}(\bar{x}-\mu_0)?

  1. 22
  2. 2020 (correct answer)
  3. 22.522.5
  4. 200200
Explanation: 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 S1S^{-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 S1=1det(S)(2114)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 S1=17(2114)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 S1d=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 dS1d=(1,2)(01)=2d'S^{-1}d = (1,2)\begin{pmatrix}0\\1\end{pmatrix} = 2. Finally, T2=n2=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 dS1dd'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 dSd=(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 S1S^{-1} as $$ \begin{pmatrix}2&-1\-1&4\end{pmatrix} 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^{-1}$$ is the single most common source of error on multivariate computation problems.