Degrees of Freedom vs T-Distribution

Both terms below come up in the same part of the course, and students mix them up. Here is each one defined on its own, side by side, so you can see where they part company.

Degrees of freedom

Confidence intervals

Degrees of freedom are the number of values free to vary when computing a statistic, and they set the exact shape of a t or chi-square distribution.

Degrees of freedom count the independent pieces of information left after a statistic uses some up to estimate other quantities. For a one-sample tt procedure it is n1n - 1, because the sample mean has already been estimated from the nn values. For example, a sample of n=20n = 20 has 201=1920 - 1 = 19 degrees of freedom for the tt-distribution. For a chi-square test of a two-way table with rr rows and cc columns, the degrees of freedom are (r1)(c1)(r - 1)(c - 1).

Full entry for degrees of freedom

t-distribution

Random variables and distributions

The t-distribution is a symmetric, bell-shaped curve with heavier tails than the normal, used for inference about a mean when the population SD is unknown.

The tt-distribution accounts for the extra uncertainty of estimating the population standard deviation with the sample standard deviation ss. Its exact shape depends on the degrees of freedom: fewer degrees of freedom give fatter tails, and as they grow the curve approaches the standard normal. For example, a one-sample tt test with n=15n = 15 uses the tt model with 151=1415 - 1 = 14 degrees of freedom. The test statistic is t=xˉμ0s/nt = \frac{\bar{x} - \mu_0}{s / \sqrt{n}}, where xˉ\bar{x} is the sample mean and μ0\mu_0 the hypothesized mean.

Full entry for t-distribution

Where each one fits in the course