t-distribution in this visualization
When values are drawn independently from the same normal population , the standardized mean is standard normal. In practice is unknown and the sample’s own standard deviation takes its place; the result follows Student’s t-distribution with degrees of freedom. Its density is . Here it is drawn in red over the standard normal in ink, with the tails beyond a cutoff you choose and the two 95% critical values.
Why the tails are heavier
The sample standard deviation varies from sample to sample, and when it happens to come out small the ratio is blown up. Large values of are therefore more common than large values of a normal variable, and the gap grows the further out you look: the normal density falls like , the t density only like a power of . So the 95% critical value is larger than 1.96, and a confidence interval or a test that uses 1.96 with claims more confidence than it has.
As the degrees of freedom grow
With more data, settles close to , and the t-distribution approaches the standard normal. The approach is gradual: (with ) shrinks roughly in proportion to , so once is large each doubling about halves it; no particular sample size makes the two the same. The exact result needs independent values from one normal population; for other data the t-distribution is only an approximation, which improves as the sample mean becomes closer to normal.
Things to notice
- With one degree of freedom the t-distribution is the Cauchy distribution, whose mean does not exist.
- Thirty is not a magic number: at ν = 29 the critical value is still about 2.045.
Controls
- Drag the triangle on the axis to move the cutoff; the left and right arrow keys move it by 0.01.