Probability and Statistics 3 introduced the sample mean and sample variance , but only covered their expected values, not their own complete distributions as random variables. Building a confidence interval for a mean, or comparing whether two datasets’ variances differ, both require knowing the true sampling distribution of these statistics. The chi-square, t, and F distributions are three distribution families derived from the standard normal distribution, specifically for describing sample variance and for estimating a mean when the variance is unknown.
1. From the Standard Normal to the Chi-Square Distribution
1.1 Definition of the chi-square distribution
If are independent standard normal random variables, then the sum of squares follows the chi-square distribution, written , where is called the degrees of freedom. The chi-square distribution only takes nonnegative values, and its shape changes with the degrees of freedom: it’s noticeably right-skewed for small degrees of freedom, and approaches a normal distribution as the degrees of freedom grow. The chi-square distribution’s expected value is and its variance is ; for example, has an expected value of 9 and a variance of 18.
1.2 The sampling distribution of sample variance
For drawn independently, it can be shown that , where is the unbiased sample variance defined in Part 3 of this series. The degrees of freedom is rather than , for a reason consistent with ‘s own definition: the sample mean has already used up one degree of freedom from the data, leaving independent pieces of deviation-from-mean information. This relationship lets ‘s variability be described precisely by the chi-square distribution, and is the foundation for constructing a confidence interval for variance.
2. The t Distribution: Estimating a Mean When Variance Is Unknown
2.1 Definition and motivation
If the population variance is known, follows a standard normal distribution. But in practice is usually unknown, and can only be replaced with the sample variance — in that case, the statistic is no longer standard normal, but instead follows the t distribution (Student’s t-distribution) with degrees of freedom, written . The t distribution can be defined as a standard normal divided by the root-mean-square of an independent chi-square variable: , where and .
The t distribution’s shape resembles the normal distribution — symmetric around 0 — but with heavier tails than the normal; the smaller the degrees of freedom, the heavier the tails, because replacing with introduces extra uncertainty from estimating the variance. As the degrees of freedom go to infinity, the t distribution approaches the standard normal.
2.2 Building a confidence interval for a mean with the t distribution
When the sample size is small and is unknown, the 95% confidence interval for the mean is , where is the two-tailed critical value of the t distribution.
Suppose a measurement has samples, sample mean , sample standard deviation , and looking up the table gives . The margin of error for the confidence interval is , so the 95% confidence interval is approximately . With small degrees of freedom, is noticeably larger than the corresponding normal-distribution critical value of 1.96 — this is exactly the t distribution’s heavy-tail property showing up in the confidence interval: the smaller the sample size, the less certain the estimate of variance, so the confidence interval should widen accordingly.
3. The F Distribution: Comparing Two Variances
3.1 Definition of the F distribution
If and are independent, then the ratio follows the F distribution with degrees of freedom , written . The F distribution only takes nonnegative values, and its shape is determined jointly by the two degrees of freedom; like the chi-square and t distributions, it can also be derived from the standard normal — all three are natural results of the same “normal sampling theory.”
3.2 Comparing the variances of two samples
For two independent normal samples, their respective unbiased variances satisfy . If the two population variances are equal (), this statistic simplifies to , letting the observed variance ratio be used directly to judge whether the hypothesis “the two variances are equal” is reasonable.
Suppose two samples have sizes and , with sample variances and , giving a ratio . The critical value for degrees of freedom is . Since the observed ratio of 1.747 is less than the critical value of 2.475, this data isn’t enough to conclude, at the 5% significance level, that the two population variances differ. The F distribution is also the core distribution used by analysis of variance (ANOVA) when comparing means across multiple groups.
4. Summary: Sampling Distributions Connect Estimation and Inference
The , t, and F distributions are all built on “combinations of independent standard normal variables”: the chi-square distribution describes a sum of squares, the t distribution describes the ratio of a normal to a chi-square, and the F distribution describes the ratio of two chi-squares. The three correspond to the three most common problems in statistical inference: the chi-square distribution describes the sampling distribution of a single variance, the t distribution lets a mean still be estimated when variance is unknown, and the F distribution lets two variances be compared directly. These sampling distributions are the shared computational foundation for both confidence intervals and hypothesis testing.