ArticleslgStudy

science

Hotelling's T-squared distribution

Hotelling's T-squared distribution is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Hotelling's T-squared distribution rather than just read about it. In short: In statistics, particularly in hypothesis testing, the Hotelling's T-squared distribution (T2), proposed by Harold Hotelling, is a multivariate probability distribution that is tightly related to the F-distribution and is most notable for arising as the distribution of a set of sample statistics that are natural generalizations of the statistics underlying the Student's t-distribution. The Hotelling's t-squared stat…

Hotelling's T-squared distribution — main illustration
Hotelling's T-squared distribution — illustration

Key takeaways

  • Hotelling's T-squared distribution belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Hotelling's T-squared distribution to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Hotelling's T-squared distribution from memory before moving on to harder problems.

Reference excerpt

In statistics, particularly in hypothesis testing, the Hotelling's T-squared distribution (T2), proposed by Harold Hotelling, is a multivariate probability distribution that is tightly related to the F-distribution and is most notable for arising as the distribution of a set of sample statistics that are natural generalizations of the statistics underlying the Student's t-distribution. The Hotelling's t-squared statistic (t2) is a generalization of Student's t-statistic that is used in multivariate hypothesis testing.

Motivation The distribution arises in multivariate statistics in undertaking tests of the differences between the (multivariate) means of different populations, where tests for univariate problems would make use of a t-test. The distribution is named for Harold Hotelling, who developed it as a generalization of Student's t-distribution.

Definition If the vector d is Gaussian multivariate-distributed with zero mean and unit covariance matrix N(𝟎p,𝐈p,p) and M is a p×p random matrix with a Wishart distribution W(𝐈p,p,m) with unit scale matrix and m degrees of freedom, and d and M are independent of each other, then the quadratic form X has a Hotelling distribution (with parameters p and m): X=mdTM−1d∼T2(p,m). It can be shown that if a random variable X has Hotelling's T-squared distribution, X∼Tp,m2, then: m−p+1pmX∼Fp,m−p+1 where Fp,m−p+1 is the F-distribution with parameters p and m − p + 1.

Hotelling t-squared statistic Let 𝜮̂ be the sample covariance: 𝜮̂=1n−1∑i=1n(𝐱i−𝐱‾)(𝐱i−𝐱‾)′ where we denote transpose by an apostrophe. It can be shown that 𝜮̂ is a positive (semi) definite matrix and (n−1)𝜮̂ follows a p-variate Wishart distribution with n − 1 degrees of freedom. The sample covariance matrix of the mean reads 𝜮̂𝐱‾=𝜮̂/n. The Hotelling's t-squared statistic is then defined as: t2=(𝐱‾−𝝁)′𝜮̂𝐱‾−1(𝐱‾−𝝁)=n(𝐱‾−𝝁)′𝜮̂−1(𝐱‾−𝝁), which is proportional to the Mahalanobis distance between the sample mean and 𝝁. Because of this, one should expect the statistic to assume low values if 𝐱‾≈𝝁, and high values if they are different. From the distribution, t2∼Tp,n−12=p(n−1)n−pFp,n−p, where Fp,n−p is the F-distribution with parameters p and n − p. In order to calculate a p-value (unrelated to p variable here), note that the distribution of t2 equivalently implies that n−pp(n−1)t2∼Fp,n−p. Then, use the quantity on the left hand side to evaluate the p-value corresponding to the sample, which comes from the F-distribution. A confidence region may also be determined using similar logic.

Motivation

Let 𝒩p(𝝁,𝜮) denote a p-variate normal distribution with location 𝝁 and known covariance 𝜮. Let 𝐱1,…,𝐱n∼𝒩p(𝝁,𝜮) be n independent identically distributed (iid) random variables, which may be represented as p×1 column vectors of real numbers. Define 𝐱‾=𝐱1+⋯+𝐱nn to be the sample mean with covariance 𝜮𝐱‾=𝜮/n. It can be shown that (𝐱‾−𝝁)′𝜮𝐱‾−1(𝐱‾−𝝁)∼χp2, where χp2 is the chi-squared distribution with p degrees of freedom.

Alternatively, one can argue using density functions and characteristic functions, as follows.

Two-sample statistic If 𝐱1,…,𝐱nx∼Np(𝝁,𝜮) and 𝐲1,…,𝐲ny∼Np(𝝁,𝜮), with the samples independently drawn from two independent multivariate normal distributions with the same mean and covariance, and we define 𝐱‾=1nx∑i=1nx𝐱i𝐲‾=1ny∑i=1ny𝐲i as the sample means, and 𝜮̂𝐱=1nx−1∑i=1nx(𝐱i−𝐱‾)(𝐱i−𝐱‾)′𝜮̂𝐲=1ny−1∑i=1ny(𝐲i−𝐲‾)(𝐲i−𝐲‾)′ as the respective sample covariance matrices. Then 𝜮̂=(nx−1)𝜮̂𝐱+(ny−1)𝜮̂𝐲nx+ny−2 is the unbiased pooled covariance matrix estimate (an extension of pooled variance). Finally, the Hotelling's two-sample t-squared statistic is t2=nxnynx+ny(𝐱‾−𝐲‾)′𝜮̂−1(𝐱‾−𝐲‾)∼T2(p,nx+ny−2)

Related concepts It can be related to the F-distribution by nx+ny−p−1(nx+ny−2)pt2∼F(p,nx+ny−1−p). The non-null distribution of this statistic is the noncentral F-distribution (the ratio of a non-central Chi-squared random variable and an independent central Chi-squared random variable) nx+ny−p−1(nx+ny−2)pt2∼F(p,nx+ny−1−p;δ), with δ=nxnynx+ny𝒅′𝜮−1𝒅, where 𝒅=𝐱‾−𝐲‾ is the difference vector between the population means. In the two-variable case, the formula simplifies nicely allowing appreciation of how the correlation, ρ, between the variables affects t2. If we define d1=x‾1−y‾1,d2=x‾2−y‾2 and s1=Σ11s2=Σ22ρ=Σ12/(s1s2)=Σ21/(s1s2) then t2=nxny(nx+ny)(1−ρ2)[(d1s1)2+(d2s2)2−2ρ(d1s1)(d2s2)] Thus, if the differences in the two rows of the vector 𝐝=𝐱‾−𝐲‾ are of the same sign, in general, t2 becomes smaller as ρ becomes more positive. If the differences are of opposite sign t2 becomes larger as ρ becomes more positive. A univariate special case can be found in Welch's t-test. More robust and powerful tests than the Hotelling's two-sample test have been proposed in the literature, see for example the interpoint distance based tests which can be applied also when the number of variables is comparable with, or even larger than, the number of subjects.

See also Student's t-test in univariate statistics Student's t-distribution in univariate probability theory Multivariate Student distribution F-distribution (commonly tabulated or available in software libraries, and hence used for testing the T-squared statistic using the relationship given above) Wilks's lambda distribution (in multivariate statistics, Wilks's Λ is to Hotelling's T2 as Snedecor's F is to Student's t in univariate statistics)

References

External links Prokhorov, A.V. (2001) [1994], T2-distribution "Hotelling T2-distribution", Encyclopedia of Mathematics, EMS Press

Illustrations

Hotelling's T-squared distribution illustration
Hotelling's T-squared distribution illustration

Worked examples

Example 1 — a first encounter with Hotelling's T-squared distribution

Start with the simplest possible case. Write down what Hotelling's T-squared distribution claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Hotelling's T-squared distribution before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Hotelling's T-squared distribution ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Hotelling's T-squared distribution

In research
Hotelling's T-squared distribution appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Hotelling's T-squared distribution in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Hotelling's T-squared distribution is common in secondary-school and first-year university syllabi. It links to neighbouring topics Continuous distributions, so understanding it makes those chapters shorter.
In everyday life
Look for Hotelling's T-squared distribution outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Hotelling's T-squared distribution” →

How to study Hotelling's T-squared distribution in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Hotelling's T-squared distribution means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Hotelling's T-squared distribution out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Hotelling's T-squared distribution in simple terms?

In statistics, particularly in hypothesis testing, the Hotelling's T-squared distribution (T2), proposed by Harold Hotelling, is a multivariate probability distribution that is tightly related to the F-distribution and is most notable for arising as the distribution of a set of sample statistics th…

Why does Hotelling's T-squared distribution matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Hotelling's T-squared distribution?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Hotelling's T-squared distribution.

Tags

  • Continuous distributions

Keep exploring