Student's t Distribution
A continuous random variable follows the Student’s distribution with degrees of freedom, written , if it can be expressed as
where is normally distributed, is Chi-Square distributed, and .Equivalently, is the distribution of a standardized normal random variable when the variance is estimated from data rather than known. For small , has heavier tails than , such that as , .
Its probability density function is
The cumulative distribution function of has no closed-form expression in general, but can be written in terms of the regularized incomplete Beta function as
A key characteristic of is robustness to outliers relative to the normal due to heavier tails, especially when is small. The tails decay polynomially as , in contrast to the exponential decay of the Gaussian.
Special cases:
If , then follows the Cauchy distribution, which has no finite mean or variance.
If , then , and in practice is nearly indistinguishable from the standard normal for .
Standard t-statistic with unknown , then where . This is the foundation of the one-sample t-test and the construction of confidence intervals for the mean when the population variance is unknown.
If
Intuition
The Student’s distribution arises from a simple question: what happens when you standardize a normal random variable but have to estimate the standard deviation from data? If were known, the standardized variable would be exactly . But replacing with the sample standard deviation introduces extra randomness in the denominator, which fattens the tails—extreme values become more probable because can be unusually small.
With few observations ( small), is a noisy estimate and the tails are substantially heavier. As grows, becomes a reliable estimate of , and collapses to . This is why the -distribution is central to inference with small samples: it correctly accounts for the uncertainty in estimating the spread.
Properties
(Mean) for . (Undefined for .)
(Variance) for . (Infinite for ; undefined for .)
As grows, the variance decreases toward , recovering the standard normal variance. For small , the inflated variance reflects the additional uncertainty from estimating .
(Symmetry) The density is symmetric about , so and are identically distributed and all odd moments vanish (when they exist).
(Kurtosis) for . (Infinite for .)
The excess kurtosis is always positive (leptokurtic), confirming heavier tails than the Gaussian. As , the kurtosis tends to .
(Scaling) If , then , where is the F-distribution with and degrees of freedom.
(Sum) The sum of independent -distributed random variables does not follow a -distribution. This is unlike the Gaussian, which is closed under addition.
(Gaussian Limit) For any fixed , as , since by the law of large numbers, so .
Examples
Confidence Interval for the Mean
A researcher measures the reaction time (in ms) of participants: . Assume the reaction times are normally distributed with unknown mean and unknown variance .
Construct a confidence interval for . First, compute the sample statistics: Since is unknown, we use the -distribution with degrees of freedom. The confidence interval is giving the interval . Had we incorrectly used (the normal critical value), the interval would have been —narrower, and thus overly confident for such a small sample.
One-Sample t-Test
A coffee machine is calibrated to dispense mL per cup. A quality inspector draws cups and measures a sample mean of mL with sample standard deviation mL.
At significance level , is there evidence that the machine is under-dispensing? We test against (one-sided). The test statistic is Under , . The critical value for a one-sided test at with degrees of freedom is . Since , we reject . There is statistically significant evidence at the level that the machine is dispensing less than mL.