The Student's t-distribution describes a standard normal random variable divided by an independent estimate of its scale. For any real , let have the standard normal distribution and let have the chi-squared distribution, with and independent. ThenThe parameter is called the number of statistical degrees of freedom. It need not be an integer: the chi-squared distribution is a gamma distribution with shape and rate . The independence assumption is essential; specifying only the two marginal distributions does not determine the probability distribution of their ratio.
Its probability density function on the whole real line iswhere is the gamma function. Every member is a symmetric distribution about zero. At it is the Standard Cauchy distribution; as it approaches the standard normal distribution. The essential shape change is the tail: at any fixed finite , decays like a constant times , much more slowly than the standard normal density's exponential decay. Thus it is a heavy-tailed distribution. [ref]
1.3.6.6.4. t Distribution. NIST and SEMATECH e-Handbook of Statistical Methods; NIST/SEMATECH e-Handbook, Section 1.3.6.6.4: density, Cauchy special case and normal limit; the ratio derivation here also permits noninteger degrees of freedom
The left panel shows the centers; the right panel uses a logarithmic scale to reveal the tails that a linear plot hides. All four curves have location zero and scale one. They do not have the same variance: the curve has no finite mean or variance, whereas has variance 3 and has variance .
More generally, the absolute moment for is finite exactly when , as follows by comparing the tail integrand with . ConsequentlyFor there is no finite mean; symmetry alone cannot supply one. For the mean exists but the variance is infinite. For even the centered definition of variance is unavailable because the mean does not exist.
A shifted and scaled version , , has probability density function . The scale is not its standard deviation: for ,For example, and scale give standard deviation , rather than 2. The distinction matters when using a Student's t-distribution to model data with occasional extreme values, as well as when interpreting a Student t confidence interval.
For independent and , the displayed ratio has the Student t-distribution with statistical degrees of freedom. Equivalently, conditional on , has normal distribution . This is a normal scale mixture representation of Student t: a small latent denominator occasionally produces a much larger spread. The result is a heavy-tailed distribution even though every conditional probability distribution is a normal distribution.
For a short derivation, independence lets us multiply the conditional normal density and the chi-squared distribution's probability density function, then integrate over the unobserved :The resulting gamma function integral has shape and rate , yielding the normalized probability density function above. Also, for , conditional expectation gives . Thus unit scale does not mean unit variance. Finally, and imply convergence in probability to 1 by Chebyshev's inequality; Slutsky's theorem then gives the standard normal distribution limit.
If and are independent, then has the noncentral t-distribution with statistical degrees of freedom and noncentrality . It describes the test statistic of a Student's t-test under a shifted alternative hypothesis. At it reduces to the Student's t-distribution. This is different from adding a constant to a central Student t-distribution: here the shift is inside the random denominator. For a normal distribution sample tested against null hypothesis , the noncentrality is .
Suppose , , are independent and identically distributed with normal distribution , where the mean and standard deviation are unknown. Define the sample mean and sample variance byUnder these assumptions,Substitution gives the exact ratioThe unknown cancels. The denominator estimates the standard error of the sample mean; its sampling variability is precisely why the Student's t-distribution has wider tails than the standard normal distribution.
The crucial independence has a geometric explanation. Apply an orthogonal transformation to the standardized observations , choosing its first coordinate along . That coordinate is ; the remaining coordinates are independent standard normal random variables whose squared sum is . Their joint probability density factorizes because the transformation preserves the squared length. This also explains the loss of one statistical degree of freedom when estimating the mean. Uncorrelatedness alone would not establish the required independence for arbitrary data.
The result is exact for every under the stated normal distribution model. A small sample size by itself does not justify it: a sample from an arbitrary probability distribution need not have the displayed chi-squared distribution or the necessary independence.
Under the studentized normal sample mean assumptions, let denote the quantile at cumulative probability of the Student's t-distribution. For , rearranging the event gives a Student t confidence interval for the unknown mean with exact coverage probability . [ref]
Choose the list as an original arithmetic example, not as reported measurements or a claim that these five numbers establish a normal distribution. If such values were obtained under the assumed independent and identically distributed normal distribution model with unknown , thenThere are four statistical degrees of freedom. For a 95% confidence interval, , soUsing the standard normal quantile with the same estimated standard error would give only . That underestimates the correct margin by about 29.4%. Indeed its actual coverage probability under this normal distribution model is , rather than 0.95.
The observations, the sample mean and the confidence interval all have different meanings. The bar estimates the population mean; it is not an interval intended to contain 95% of individual observations. In repeated independent samples of size five from the assumed normal distribution, 95% of intervals constructed using the exact quantile cover the same fixed . This is not a 95% posterior probability that the fixed statistical parameter lies in this particular realized interval. Such a probability requires a separate Bayesian inference model.
For this four-degree case, the cumulative distribution function has an especially simple form:One can check the formula by differentiation: , with limits zero and one at the two ends of the real line. Solving the increasing equation by the bisection method gives the quantile used above.
William Sealy Gosset worked at Guinness as a chemist and brewer and developed methods of statistical inference for small samples. He published under the pseudonym "Student". His employment as a chemist is independently recorded by MacTutor; the Dictionary of Irish Biography identifies him as an applied statistician and brewer and explains the pseudonym policy. [ref]
William Sealy Gosset by John Joseph O'Connor and Edmund Frederick Robertson. Biography, opening paragraphs and discussion of the name Student
[ref]Gosset, William Sealy (‘Student’) by Philip J. Boland. Philip J. Boland, Gosset, William Sealy ('Student'), opening paragraphs and pseudonym discussion; published and last revised October 2009
The 1908 paper The Probable Error of a Mean appeared in Biometrika 6(1), pages 1–25, with the byline "Student". Its introduction identifies the uncertainty introduced by estimating a standard deviation from few observations and explicitly assumes a normal distribution. Sections II and III develop the relation between sample spread and the standardized sample mean. Its notation uses a sample spread with divisor and calls the ratio ; with that convention, the modern equals . The modern exact independence argument is given under studentized normal sample mean. [ref]
The Probable Error of a Mean by William Sealy Gosset. 1908 original text: byline, Introduction, Section I definition of sample spread, and Sections II–III
Section VI describes a physical sampling check: 3,000 cards carrying existing paired measurements were shuffled, then divided into 750 groups of four. He compared observed frequencies of sample spread and standardized sample mean with theoretical frequencies. This was a check using finite, grouped, approximately normal distribution data; it did not prove exact calibration for arbitrary populations. [ref]
The Probable Error of a Mean by William Sealy Gosset. Section VI, Practical Test of the foregoing Equations: cards, groups of four and limitations from nonnormality and coarse grouping
Articles by others on the same topic
Student's t-distribution, commonly referred to as the t-distribution, is a probability distribution that is especially useful in statistics for estimating population parameters when the sample size is small and/or when the population standard deviation is unknown. It was first described by William Sealy Gosset under the pseudonym "Student" in the early 20th century.

