The story
When you standardise a sample mean using the sample standard deviation instead of the true , the extra uncertainty in makes extreme values more likely. William Gosset, writing as Student, worked out that for Normal data follows a distribution with degrees of freedom. Formally, is with standard Normal and an independent .
Small means heavy tails: at the mean does not even exist, and the variance is finite only when . As grows, becomes a reliable estimate of and the distribution closes in on the standard Normal; by the two are hard to tell apart by eye.
Formulas
Support
CDF
Expectation
Variance
Mode
Parameters
| Parameter | What it controls |
|---|---|
| The degrees of freedom. Small gives heavy tails and frequent extreme values; large makes the curve almost exactly standard Normal. |
Where it shows up
- One-sample and two-sample t-tests on small samples.
- Confidence intervals for a mean when is unknown.
- Testing regression coefficients in linear models.
- Robust modelling of noisy data with occasional outliers, such as financial returns.
Try this
- Shade from to at and you get about 0.94, a little under the Normal's 0.95. Now set : the same interval holds only about 0.70, because so much probability has moved into the tails.
- Set , switch to Sample means and increase . The histogram of averages refuses to narrow: the mean of Cauchy draws is itself Cauchy, so the Central Limit Theorem does not apply when the variance is not finite.
- Set and press Draw 1000 several times, clearing in between. The theoretical variance is 3, but the sample variance jumps around wildly as rare, huge draws come and go. Repeat at and see how much more stable it is.
Related distributions
- with degrees of freedom tends to the standard Normal as .
- It is built as , where is standard Normal and is an independent Chi-squared with degrees of freedom.
- With it is the Cauchy distribution, which has no mean and no variance.