Why Calibration Details Matter
A one-sample Hotelling test combines the discrepancy between a sample mean vector and a hypothesized mean vector with an estimate of covariance. Its exact calibration is not obtained by comparing the statistic directly with an ordinary \(F\) distribution: a particular multiplier and a particular pair of degrees of freedom are required. Reversing that multiplier, using the wrong covariance divisor, or looking in the wrong tail can change the conclusion even when the underlying data summary is unchanged.
Let \(X_1,\ldots,X_n\) be independent observations from a \(p\)-dimensional normal distribution \(N_p(\mu,\Sigma)\), where \(\Sigma\) is positive definite. Write
For testing \(H_0:\mu=\mu_0\), the one-sample Hotelling statistic is
The statistic is defined in this form when \(S\) is invertible. The exact finite-sample calibration below additionally requires \(n>p\) and the stated independent multivariate-normal sampling model.
Deriving the Multiplier and Degrees of Freedom
The scale factor is easy to misremember, so it is useful to see where each part comes from. Under the null, define
Normal-sample theory gives \(Z\sim N_p(0,I_p)\), \(W\sim\operatorname{Wishart}_p(I_p,n-1)\), and independence of \(Z\) and \(W\). Substitution into \(T^2\) yields \(T^2=(n-1)Z'W^{-1}Z\).
For completeness, the distribution of this quadratic form can be obtained from the Wishart representation. Put \(m=n-1\). Conditional on a nonzero value of \(Z\), rotational invariance of \(W\) means that the distribution of \(Z'W^{-1}Z\) is the distribution of \(\|Z\|^2(W^{-1})_{11}\). This conditional distribution does not depend on the direction of \(Z\), so the factor \((W^{-1})_{11}\) in this representation is independent of \(\|Z\|^2\). Also, \(\|Z\|^2\sim\chi^2_p\).
To identify the other factor, represent \(W=Y'Y\), where \(Y\) is an \(m\)-by-\(p\) matrix of independent standard normal entries. Partition its first column \(y_1\) from the remaining columns \(Y_2\). The block inverse formula gives
The matrix in parentheses is an orthogonal projection of rank \(m-p+1\), with probability one. Conditional on \(Y_2\), \(y_1\) is an independent standard normal vector, so the displayed quadratic form has a \(\chi^2_{m-p+1}\) distribution. Its conditional distribution does not depend on \(Y_2\); therefore \((W^{-1})_{11}\) has the distribution of the reciprocal of an independent \(\chi^2_{m-p+1}\) variable. Consequently \(Z'W^{-1}Z\) has the distribution of a ratio of independent chi-square variables, with their degrees of freedom divided by those degrees of freedom:
Since \(m-p+1=n-p\), multiplying \(T^2=(n-1)Z'W^{-1}Z\) by \((n-p)/(p(n-1))\) gives the theorem. The numerator degrees of freedom are the dimension \(p\); the denominator degrees of freedom are \(n-p\). \(\square\)
Worked Example: Applying the Exact Scale and Upper Tail
Suppose \(n=12\), \(p=3\), and the observed statistic computed using the divisor-\((n-1)\) covariance matrix is \(T^2=18\). Find the calibrated statistic, its reference degrees of freedom, and the exact form of the p-value.
The multiplier is $$ \frac{n-p}{p(n-1)}=\frac{12-3}{3(12-1)}=\frac{9}{33}=\frac{3}{11}. $$ Therefore $$ F_{\mathrm{obs}}=\frac{3}{11}(18)=\frac{54}{11}\approx4.909. $$
The reference distribution is \(F_{3,9}\), not \(F_{3,11}\) or \(F_{9,3}\). Since larger values of \(T^2\) represent greater discrepancy from \(H_0\), the exact p-value is $$ P(F_{3,9}\ge 54/11)=1-F_{3,9}(54/11), $$ where \(F_{3,9}(x)\) denotes the \(F_{3,9}\) cumulative distribution function. Using a lower-tail probability would report the probability of a statistic no larger than the observed one, not the p-value for this test.
Changing the Covariance Divisor
Some software or hand calculations use the centered sum of products divided by \(n\), rather than by \(n-1\). Denote this matrix by
It is not the covariance matrix in the standard definition of \(T^2\) above. The relationship between the two matrices is exact:
Indeed, \(S_n^{-1}=\frac{n}{n-1}S^{-1}\), which gives \(T_n^2=\frac{n}{n-1}T^2\). Substituting \(T^2=\frac{n-1}{n}T_n^2\) into the standard calibration proves the second formula:
This conversion is not an optional small-sample refinement. Applying the usual multiplier to a statistic computed with \(S_n\) makes the calibrated value too large by a factor of \(n/(n-1)\).
Worked Example: Correcting a Divisor-\(n\) Calculation
Let \(n=8\), \(p=2\). Suppose the usual divisor-\((n-1)\) calculation gives \(T^2=14\). Then the statistic calculated with \(S_n\) is $$ T_n^2=\frac{8}{7}(14)=16. $$
The standard calibration gives $$ \frac{8-2}{2(8-1)}(14)=\frac{6}{14}(14)=6, $$ with reference distribution \(F_{2,6}\). Starting instead from \(T_n^2=16\), the corresponding multiplier is $$ \frac{8-2}{2(8)}=\frac{6}{16}=\frac{3}{8}, $$ so the calibrated value is \(\frac{3}{8}(16)=6\), as required.
A common incorrect calculation applies the standard multiplier \(6/14\) directly to \(T_n^2=16\), producing \(48/7\approx6.857\). That number does not have the claimed \(F_{2,6}\) calibration: the statistic and multiplier use inconsistent covariance conventions.
Degrees of Freedom, Tail Direction, and Invertibility
Three further checks prevent frequent errors. First, the \(F\) degrees of freedom are \(p\) and \(n-p\), in that order. The numerator degrees of freedom reflect the \(p\)-dimensional mean, while estimating the covariance from \(n\) observations leaves \(n-p\) in the denominator. Second, the test rejects for large \(T^2\), so the p-value and critical-value rule use the upper tail. The statistic is nonnegative and measures a squared, covariance-adjusted distance; there is no negative direction to test separately.
Third, \(S^{-1}\) exists only if \(S\) is nonsingular. For any centered data matrix, its rank is at most \(n-1\), because its \(n\) centered rows sum to zero. Its rank is also at most \(p\). Thus, if \(n\le p\), the rank is at most \(n-1<p\), and \(S\) must be singular. If \(n>p\), singularity is no longer forced by dimension. Under independent sampling from a multivariate normal distribution with positive-definite \(\Sigma\), \(S\) is nonsingular with probability one. For particular observed data, however, the matrix should still be checked; duplicated or linearly constrained observations can make it singular.
Worked Example: Detecting a Singular Sample Covariance
A researcher has \(p=4\) outcomes but only \(n=4\) independent subjects. Can the ordinary one-sample Hotelling statistic be computed?
No. The centered data matrix has four rows, but those rows sum to zero, so its rank is at most \(n-1=3\). It has four columns, and therefore cannot have column rank four. Equivalently, the sample covariance matrix has rank at most three and is singular. Its inverse in the ordinary \(T^2\) formula does not exist.
This is not fixed by using an \(F_{4,0}\) reference distribution: the denominator degrees of freedom \(n-p\) are zero, and the required statistic itself is undefined. The standard exact one-sample calibration requires \(n>p\). A different inferential method or a genuinely lower-dimensional analysis would be needed; silently substituting a generalized inverse does not produce the stated Hotelling test.
A Calibration Checklist
For a reported one-sample Hotelling result, check the ingredients in order. Confirm the dimension \(p\), sample size \(n\), null mean vector, and covariance divisor. Verify that \(n>p\) and that the observed covariance matrix is invertible. Then compute \(T^2\) with the divisor-\((n-1)\) covariance, multiply by \((n-p)/\{p(n-1)\}\), and use \(F_{p,n-p}\). Report the upper-tail probability, or reject when the calibrated statistic exceeds the upper \(\alpha\) critical value.
These conditions also mark the limits of the exact result. The \(F\) calibration is exact for independent multivariate-normal observations under the null. A covariance estimate alone does not make the result exact for nonnormal data, dependent observations, or a singular covariance matrix.
Check Your Understanding
For each question, identify the calibration issue and state the correction.
- For \(n=15\) and \(p=5\), what are the multiplier for the standard \(T^2\) statistic and the reference \(F\) degrees of freedom?
- A statistic was computed using a covariance matrix with divisor \(n\). How does it relate to the standard \(T^2\), and what multiplier should be used with it?
- Why is the exact p-value an upper-tail probability even though the alternative is written \(H_1:\mu\ne\mu_0\)?
- Can the ordinary one-sample Hotelling statistic be defined when \(n=p\)? Explain using the rank of the centered data matrix.
- Under what sampling assumptions does the stated \(F\) calibration hold exactly?